[U-Boot] Unable to boot Linux Kernel on Media5200
Christopher Beley
cbeley at wisc.edu
Sun Oct 4 21:45:02 CEST 2009
Hi,
Thanks for the response. I think that was it and also, I now see I
missed the FAQ that was similar to my question. Sorry for not noticing
that.
Anyway, I haven't gotten things working just yet though. I try to do
(for example):
setenv bootargs console=ttyPSC5,115200 root=/dev/nfs rw
nfsroot=$(serverip):$(rootpath)
tftp 900000 /tftpboot/media5200.dtb
tftp 500000 /tftpboot/uImage
bootm 500000 - 900000
However, after it uncompresses the kernel I get:
## Loading RAMDisk Image at 00000000 ...
Bad Magic Number
However, I do not have/want a RAMDisk and according to the FAQ I should
just be able to use a - to say I don't have one (since I need to specify
in the third argument the address of the dtb). Any idea what I could be
doing wrong? I guess I could always create a dummy ram disk and see if
it works...but...I shouldn't have to do that.
Also, more for curiosities sake, but I'm a little confused why I don't
need to upload a dtb when using the kernel freescale supplies and many
of the instructions I see online for different boards make no mention of
the dtb. Is it just that the dtb is being appened to the end of the
kernel image in those cases maybe?
Thanks,
Chris
Wolfgang Denk wrote:
> Dear Christopher Beley,
>
> In message <4AC7ADA4.2080404 at wisc.edu> you wrote:
>
>> I'm trying to gentoo running on the Media5200 but am running into issues
>> getting my kernel to boot. I am able to boot the kernel that came with
>> freescale's BSP for the device, but when I boot my kernel things stall
>> after Uncompressing Kernel Image:
>>
>> ## Booting image at 00400000 ...
>> Image Name: Linux-2.6.30-mpc52xx
>> Image Type: PowerPC Linux Kernel Image (gzip compressed)
>> Data Size: 2315154 Bytes = 2.2 MB
>> Load Address: 00000000
>> Entry Point: 00000000
>> Verifying Checksum ... OK
>> Uncompressing Kernel Image ... OK
>>
>
> I don't see any message about loading the device tree blob here?
>
>
>> I'm not completely sure why my kernel isn't booting while freescale's is. I should have all the correct drivers enabled, but after uncompress kernel Image nothing shows up in the console or on screen (the freescale logo/u-boot screen stays on the scree
>> n though). I tried increasing the starting address for kicks, but that made no differnce. I also tried doing something like:
>>
>
> Maybe you are using different image types?
>
>
>> tftp 400000; bootm 400000
>>
>> but that gave me the same results as well.
>>
>> Yes, I am using uImage and not cuImage.
>>
>
> With uImage, you need to load the device tree as well and pass it's
> address as argument to bootm .
>
> Best regards,
>
> Wolfgang Denk
>
>
More information about the U-Boot
mailing list