Hello 

If the UBL (ubl_nand) has not loaded and excuted correctly 
(Header problem?) the RBL reverts to UART boot and BOOTME message.
If the UBL has loaded correctly but the u-boot does not correctly
Load, the ubl_nand reverts to UART boot, but this
Time you get a BOOTPSP message.
Also you may have the same problem as me when one of the early
NAND blocks Was BAD! (The RBL and UBL should allow for this).


Thanks
Rudy.

> -----Original Message-----
> From: Carlos Ojea [mailto:[EMAIL PROTECTED] 
> Sent: 04 October 2006 09:20
> To: Allred, Daniel
> Cc: Rudy Reinsch; [email protected]
> Subject: Re: Writing UBL and UBOOT in NAND
> 
> Hello. Thank you very much for your explanation Daniel!
> It is very helpful. However, I still can't boot from NAND and 
> always see the BOOTME message again.. can't figure why.
> 
> 
> I am writing all this binary files in nand:
> ubl descriptor (ubl_desc.bin): 0x4000 - 0x4014 (size 0x14)
> ubl_nand.bin: 0x4200 - 0x7A00 (size 0x3800) uboot descriptor 
> (uboot_desc_06.bin): 0x18000 - 0x18018 (size 0x18)
> u-boot-567-nand.bin: 0x18200 - 0x325DC (size 0x1a3dc)
> 
> 
> This is my ubl_desc_01.bin:
> a1 ac ed 00 00 00 00 20 00 00 00 1c 00 00 00 01 00 00 00 01 
> magic number: 0xA1ACED00 Entry address: 0x00000020 pages in 
> ubl: 0x0000001C (0x1C=28 pages, (28*512bytes) = 0x3800, ubl's 
> size) starting block of UBL: 0x00000001 starting page of UBL: 
> 0x00000001
> 
> 
> And this is my uboot_desc_06.bin:
> a1 ac ed 11 81 08 00 00 00 00 00 d2 00 00 00 06 00 00 00 01 
> 81 08 00 00 magic number: 0xA1ACED11 Entry address: 
> 0x81080000 pages in ubl: 0x000000D2 (0xD2*0x200=0x1A400 
> (uboot's size: 0x1a3dc)) starting block of UBOOT: 0x00000006 
> starting page of UBOOT: 0x00000001 load address of U-boot: 0x81080000
> 
> 
> Here is all what I get via uart... any clue?:
> BOOTME BOOTME BOOTMERboot->lDone.
> #
> Rboot->g
> 
> U-Boot 1.1.3 (Mar  3 2006 - 01:18:40)
> 
> U-Boot code: 81080000 -> 8109A3DC  BSS: -> 810A3368 RAM Configuration:
> Bank #0: 80000000 256 MB
> unknown vendor=0 Flash:  0 kB
> NAND:64 MB
> In:    serial
> Out:   serial
> Err:   serial
> ARM Clock :- 283MZ
> DDR Clock :- 189MZ
> Hit any key to stop autoboot:  0
> DaVinci EVM # setenv serverip 192.168.1.17 DaVinci EVM # 
> setenv bootfile ubl_desc_01.bin DaVinci EVM # tftp TFTP from 
> server 192.168.1.17; our IP address is 192.168.1.33 Filename 
> 'ubl_desc_01.bin'.
> Load address: 0x80700000
> Loading: #
> done
> Bytes transferred = 20 (14 hex)
> DaVinci EVM # nand erase 0x4000 0x4000
> 
> NAND erase: device 0 offset 16384, size 16384 ... OK DaVinci 
> EVM # nand write 0x80700000 0x4000 0x200
> 
> NAND write: device 0 offset 16384, size 512 ...  512 bytes written: OK
> 
> 
> 
> DaVinci EVM # setenv bootfile ubl_nand.bin DaVinci EVM # tftp 
> TFTP from server 192.168.1.17; our IP address is 192.168.1.33 
> Filename 'ubl_nand.bin'.
> Load address: 0x80700000
> Loading: ###
> done
> Bytes transferred = 14336 (3800 hex)
> DaVinci EVM # nand write 0x80700000 0x4200 0x3800
> 
> NAND write: device 0 offset 16896, size 14336 ...  14336 
> bytes written: OK
> 
> 
> 
> DaVinci EVM # setenv bootfile uboot_desc_06.bin DaVinci EVM # 
> tftp TFTP from server 192.168.1.17; our IP address is 
> 192.168.1.33 Filename 'uboot_desc_06.bin'.
> Load address: 0x80700000
> Loading: #
> done
> Bytes transferred = 24 (18 hex)
> DaVinci EVM # nand erase 0x18000 0x20000
> 
> NAND erase: device 0 offset 98304, size 131072 ... OK DaVinci 
> EVM # nand write 0x80700000 0x18000 0x200
> 
> NAND write: device 0 offset 98304, size 512 ...  512 bytes written: OK
> 
> 
> 
> DaVinci EVM # setenv bootfile u-boot-567-nand.bin DaVinci EVM 
> # tftp TFTP from server 192.168.1.17; our IP address is 
> 192.168.1.33 Filename 'u-boot-567-nand.bin'.
> Load address: 0x80700000
> Loading: #####################
> done
> Bytes transferred = 107484 (1a3dc hex)
> DaVinci EVM # nand write 0x80700000 0x18200 0x1a3dc
> 
> NAND write: device 0 offset 98816, size 107484 ...  107484 
> bytes written: OK DaVinci EVM #
> 
> 
> 
> Now, if I cycle power my DVEVM I see the BOOTME message again...
> Regards,
> Carlos
> 
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to