On Tuesday 25 August 2009 11:46:40 am Steve Grubb wrote:
> As the kernel, you have to load that image into memory, and then
pass
> that address as a second parameter to bootm. The first parameter is
> the memory address of the kernel. If the fedora people provide also an
> initrd, pass its memory address as the second parameter to bootm.
Just to document this farther. Here's what I am doing:
in uBoot:
setenv mainlineLinux yes
setenv arcNumber 2097
setenv bootargs_root 'root=/dev/sda1 rootdelay=10'
setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x6400000
/boot/uImage-2.6.30'
setenv bootcmd 'setenv bootargs $(console) $(bootargs_root); run bootcmd_usb;
bootm 0x6400000
saveenv
run bootcmd
It almost works...but ends like this:
2096012 bytes read
## Booting image at 06400000 ...
Image Name: Linux-2.6.30-00000-v2.6.30
Created: 2009-06-26 5:29:13 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2095948 Bytes = 2 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
Starting kernel ...
Uncompressing
Linux........................................................................................................................................
done, booting the kernel.
Error: unrecognized/unsupported machine ID (r1 = 0x0000020f).
Available machine support:
ID (hex) NAME
00000690 Marvell DB-88F6281-BP Development Board
00000691 Marvell RD-88F6192-NAS Development Board
00000692 Marvell RD-88F6281 Reference Board
00000831 Marvell SheevaPlug Reference Board
0000085b QNAP TS-119/TS-219
Please check your kernel config and/or bootloader.
Any ideas about what might be going on here?
Thanks,
-Steve