2011/9/11 Andrea Bolognani <[email protected]>:
> I played a bit with kexec on the NanoNote today.
>
> The first thing I noticed is that, despite the fact that both kexec-tools
> and kexecboot are included in the software image, the current kernel does
> not have kexec support, so I’ve built a kernel with CONFIG_KEXEC=y.
>
> I copied the uncompressed kernel[1] to the NanoNote and ran
>
>        $ kexec -l /boot/vmlinux --append="$(cat /proc/cmdline)"
>
> to load the kernel into memory: the command completes succesfully, as can
> be seen by looking at the contents of /sys/kernel/kexec_loaded.
>
> To make the new kernel boot I added the command
>
>        kexec -e
>
> at the end of the stop() function in /etc/init.d/umount, after all
> filesystems have been sync'ed and umount'ed, but when I poweroff
> the system hangs instead of rebooting.
>
> Have anybody else ever tried kexec on the NanoNote? Did you manage to
> get it to work, and how?

Hello! Me and kyak are spend some time to get kexec working on NN some
time ago (about 2.6.35 kernel). Main problem was kernel cmdline. Some
desync was found between kernel sources and kexec-tools. So cmdline
was not passed to kernel. Not sure anybody tried it after again with
more recent kernel.

Don't forget to pass 'mem=32M' to kexec'ed kernel. This fixes error
about some memory regions.

-- 
Yury Bushmelev

_______________________________________________
Qi Hardware Discussion List
Mail to list (members only): [email protected]
Subscribe or Unsubscribe: 
http://lists.en.qi-hardware.com/mailman/listinfo/discussion

Reply via email to