On Jan 20, 2013 12:06 AM, "newbiex" <[email protected]> wrote:
>
> Hi group,
>
> I am a hardware engineer. I am new to embedded linux.
> I need some help in understanding the messages during embedded linux boot
-
> One of our board is not booting up. The CPU we are using is Atmel SAM9G45
>
> Here's the boot message. Can some one explain what's happening at the end
-
>
>
> -- pico-SAM9G45 Bootstrap 3.0 --
>
> -- AT91SAM9G45-EK
>
> -- Compiled: Jan 27 2011 09:45:18 --
>
> -I- RTC Config: rcen: 1 osc32en: 0 osc32byp: 0 oscsel: 0
>
> -I- RTC Config: rcen: 0 osc32en: 1 osc32byp: 0 oscsel: 1
>
> -I- Setting: MCK = 133MHz
>
> -I- Init DDRAM
>
> -I- Init second bank SDRAM
>
> -I- Loading to 0x70000000
>
> -I- MEDSdcard init
>
> -I- DMAD_Initialize channel 0
>
> -I- Card Type 2, CSD_STRUCTURE 1
>
> -I- SD/MMC TRANS SPEED 25000 KBit/s
>
> -I- SD 4-BITS BUS
>
> -I- CMD6(2) arg 0x80FFFF01
>
> -I- SD HS Enable
>
> -I- SD/MMC TRANS SPEED 50000 KBit/s
>
> -I- SD/MMC card initialization successful
>
> -I- Card size: 3781 MB
>
> -I- Copy "linux.bin" from SdCard to 0x70000000
>
> -E- File size 2584408 <-> Max allowed size 32
>
> -I- Loading to 0xffffffbf with size 0x0000003f
>
> -I- MEDSdcard init
>
> -I- DMAD_Initialize channel 0
>
> -I- Card Type 2, CSD_STRUCTURE 1
>
> -I- SD/MMC TRANS SPEED 25000 KBit/s
>
> -I- SD 4-BITS BUS
>
> -I- CMD6(2) arg 0x80FFFF01
>
> -I- SD HS Enable
>
> -I- SD/MMC TRANS SPEED 50000 KBit/s
>
> -I- SD/MMC card initialization successful
>
> -I- Card size: 3781 MB
>
> -I- Copy "linux.bin" from SdCard to 0xffffffbf
>
> -E- File size 2584408 <-> Max allowed size 63
>
> -I- Modified jump to 0xffffffff
>
> The messages stop here.
>
> In a good board the copy destination location of linux.bin is 0x70007fc0
(as seen below).
> Why is the location incorrect in the bad board.
> -I- Copy "linux.bin" from SdCard to 0x70007fc0
>
> -I- Modified jump to 0x70008000
>
> Uncompressing Linux... done, booting the kernel.
>

as i can guess, that your board is initiallising your 4gb high speed sd-
card  but not able to jump to the specific address.
Do check the linux.bin image, it may be incorrect.  Try recompiling that
image.
Also, if you can get the bootloader shell then from there you may try to
load the image at ram and try to execute there.  Do check the footprint of
the image in both the cases.  The address to place the image is very
specific to harware/board so just give a look to the documentation of the
board.
And yes, any docs. & full boot up messages for a working board is really
needed for debugging.
Try pastebin.

>
> --
> Mailing list guidelines and other related articles:
http://lug-iitd.org/Footer

-- 
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer

Reply via email to