kexec for Bifferboard

0 views
Skip to first unread message

Razvan Dragomirescu

unread,
Aug 30, 2009, 6:51:17 AM8/30/09
to biffe...@googlegroups.com
Hello everyone,
 
Has anyone else tried to use the kexec call on the Bifferboard to start a new kernel to replace the existing one? I've compiled the "kexec" utility from kexec-tools 2.0.1 (a statically linked version is at http://www.cayennegraphics.com/kexec if anyone else needs it) and also compiled the kernel with KEXEC enabled.
 
Then I tried to load a kernel
 
kexec --append="`cat /proc/cmdline`" -l bzImage
 
This worked fine, no errors.
 
But when I tried to execute the new kernel with "kexec -e", the console displays a message "Starting new kernel" and then freezes. The new kernel doesn't get booted at all and the Bifferboard is completely frozen. I suspect this has to do with the specific hardware of the Bifferboard. Has anyone else been successful at loading a new kernel with kexec? This would be very useful if you wanted to not touch the internal flash and simply place a generic kernel there and kexec a new kernel + initrd from the USB disk.
 
Thanks,
Razvan

--
Razvan Dragomirescu
Chief Technology Officer
Cayenne Graphics SRL

bifferos

unread,
Aug 30, 2009, 7:20:31 AM8/30/09
to Bifferboard
The place I'd start looking would be the config for the new kernel.
One example: none of the kernels I use are relocatable - this saves
about 5-10% on the kernel size, but may present a problem for kexec -
e. I'm only guessing, and I suspect you want to take this up with the
kexec people as they'll have a better idea of what you need to do.

cheers,
Biff.

On Aug 30, 11:51 am, Razvan Dragomirescu
<razvan.dragomire...@gmail.com> wrote:
> Hello everyone,
>
> Has anyone else tried to use the kexec call on the Bifferboard to start a
> new kernel to replace the existing one? I've compiled the "kexec" utility
> from kexec-tools 2.0.1 (a statically linked version is athttp://www.cayennegraphics.com/kexecif anyone else needs it) and also
Reply all
Reply to author
Forward
0 new messages