> this is the second time i try to use the kernel in flash only to
> access to the external usb drive and start from there a second kernel
> completely from usb hdd.
> My problem is that the passing the atags including cmdline from the
> flashed kernel to the kexec-kernel is not working. But when i start a
> third kernel (same kexec-kernel as before) then the atags are
> successfully passed to this kernel.
> Is there any idea why?
> System information:
> - FatSlug with Apex as first an second stage bootloader
> - In flash: SlugOS build 06/01/08 with mastermakefile and kernel 2.6.24-7
> - Load with kexec: Kernel 2.6.24-7 or 2.6.25-3 build from trunk.
> All kernels have CONFIG_ATAGS_PROC and CONFIG_KEXEC enabled.
This sounds very much like the "atag_empty_core.patch" patch is missing from the
kernel in flash or perhaps the other kernels you've built.
The problem is that Apex passes in an empty ATAG_CORE tag, which is permissible
according to the spec. However, the code that validates atags in the kernel
will reject the atags erroneously, resulting in symptoms similar to what you are
Check your kernels to make sure that all three have that patch (it's in the svn
repository used by the mastermakefile).