ADS860 - unable to load kernel- Bad magic number
Dan Malek
dan at embeddededge.com
Sat Feb 28 08:05:22 EST 2004
Bob Beck wrote:
> Does this mean I should put zImage.embedded into 1 place in memory,
> vmlinux.gz into a different place in memory and jump to the start of
> zImage.embedded ?
No. zImage.embedded contains everything.
objcopy -O binary zImage.embedded zImage.bin
load zImage.bin at a high address like 4MB or above.
Jump to the first location.
You will have to update some of the files in arch/ppc/boot/simple
to create a configuration descriptor for your board. There are
plenty of examples to copy.
> Currently, we are not using U-Boot. We load the binaries into RAM
> using a hand rolled program and jump to 0x10000.
That's guaranteed not to work. Something has to initialize the
environment before the Linux kernel starts running. This is
accomplished by the boot roms (u-boot is good for this), or the
bootloader wrappers in the arch/ppc/boot directories.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list