Evening all,

OK What I did was to write the same U-Boot header to NAND blocks
4,5,6,7,8,9,10 and 11 (all page 0). These all pointed to a u-boot image
starting at NAND block 16 page 0. I repeated the headers because
Of possible "BAD" blocks. Then write the U-boot image starting at block
16.

The header(s) should look like this:

81000000: a1aced11 81080000 000000d2 00000010    ................
81000010: 00000000 81080000 00000000 etc.

This worked for me.
Cheers
Rudy.

>
> -----Original Message-----
> From: Carlos Ojea [mailto:[EMAIL PROTECTED] 
> Sent: 06 October 2006 14:34
> To: Rudy Reinsch
> Cc: Allred, Daniel; [email protected]
> Subject: Re: Writing UBL and UBOOT in NAND
> 
> Um, I wrote u-boot-567-nand.bin (and the header) as I did 
> with ubl_nand.bin.
> The header starting at 0x18000 and u-boot-567-nand.bin 
> starting at 0x18200, but I get :
> Booting PSP Boot Loader
> 
> Starting NAND Copy
> 
> NAND Boot failed. Starting UART
>  BOOTPSP BOOTPSP
> 
> Could I have an error on the header?
> This is my memory dump:
> 
> DaVinci EVM # nand read 0x81000000 0x18000 0x1B000
> 
> NAND read: device 0 offset 98304, size 110592 ...  110592 
> bytes read: OK DaVinci EVM # md 0x81000000
> 81000000: a1aced11 81080000 000000d2 00000006    ................
> 81000010: 00000001 81080000 00000000 01000000    ................
> 81000020: 00000000 00000000 00000000 00000000    ................
> 81000030: 00000000 00000080 00000000 00000000    ................
> 81000040: 00000000 00000000 00000000 00000000    ................
> 81000050: 00000000 00000000 01000000 00000000    ................
> 81000060: 20400000 00000000 00000000 00002000    ..@ ......... ..
> 81000070: 00000000 00000000 00000000 00000000    ................
> 81000080: 00000200 00000000 00000000 40000040    [EMAIL PROTECTED]@
> 81000090: 00000000 00000000 00000000 00000000    ................
> 810000a0: 00040000 00000000 00000000 00000000    ................
> 810000b0: 00800000 00000000 00000000 04000000    ................
> 810000c0: 00000000 00000000 00040000 20000000    ...............
> 810000d0: 80000000 00000800 00000000 00000000    ................
> 810000e0: 00000201 00000000 00000000 00000040    [EMAIL PROTECTED]
> 810000f0: 00000000 00000000 00000000 00000000    ................
> DaVinci EVM #
> 81000100: 00040000 00000000 00000000 00000000    ................
> 81000110: 00010000 00810000 00000000 00000000    ................
> 81000120: 00000001 00000000 00040000 00000000    ................
> 81000130: 01000000 00000000 00000000 00000000    ................
> 81000140: 00000040 00000000 40000000 00000000    @[EMAIL PROTECTED]
> 81000150: 00000000 00000000 00000000 00000000    ................
> 81000160: 00000000 00000000 00000000 00040000    ................
> 81000170: 00000000 00000000 00000000 00000000    ................
> 81000180: 00000000 00000000 00141000 00000000    ................
> 81000190: 00000000 00020000 00000008 80000000    ................
> 810001a0: 00000000 00000000 00040000 00000000    ................
> 810001b0: 00000000 00000000 00000000 00000000    ................
> 810001c0: 00000000 00000000 02000000 00000000    ................
> 810001d0: 00000000 00800000 00000000 00000000    ................
> 810001e0: 40000000 00000000 02000000 00000000    [EMAIL PROTECTED]
> 810001f0: 00000020 00000000 00000008 00000000     ...............
> DaVinci EVM #
> 81000200: ea000012 e59ff014 e59ff014 e59ff014    ................
> 81000210: e59ff014 e59ff014 e59ff014 e59ff014    ................
> 81000220: 81080100 81080160 810801c0 81080220    ....`....... ...
> 81000230: 81080280 810802e0 81080340 deadbeef    [EMAIL PROTECTED]
> 81000240: 81080000 81080000 8109a3dc 810a3368    ............h3..
> 81000250: e10f0000 e3c0001f e38000d3 e129f000    ..............).
> 81000260: e24f0068 e51f102c e1500001 0a000007    h.O.,.....P.....
> 81000270: e51f2034 e51f3034 e0432002 e0802002    4 ..40... C.. ..
> 81000280: e8b007f8 e8a107f8 e1500002 dafffffb    ..........P.....
> 81000290: e51f0058 e2400803 e2400080 e240d00c    [EMAIL PROTECTED]@[EMAIL 
> PROTECTED]
> 810002a0: e51f0060 e51f1060 e3a02000 e5802000    `...`.... ... ..
> 810002b0: e2800004 e1500001 dafffffb e51ff004    ......P.........
> 810002c0: 81081024 e3a00000 ee070f17 ee080f17    $...............
> 810002d0: ee110f10 e3c00c23 e3c00087 e3800002    ....#...........
> 810002e0: e3800a01 ee010f10 e1a0c00e eb0000b4    ................
> 810002f0: e1a0e00c e1a0f00e 00000000 00000000    ................
> DaVinci EVM # md 0x81015500
> 81015500: 2009786c 3a203172 38302520 2020786c    lx. r1 : %08lx
> 81015510: 3a203072 38302520 000a786c 67616c46    r0 : %08lx..Flag
> 81015520: 25203a73 25632563 00632563 0066666f    s: %c%c%c%c.off.
> 81015530: 65646e75 656e6966 6e692064 75727473    undefined instru
> 81015540: 6f697463 00000a6e 74666f73 65726177    ction...software
> 81015550: 746e6920 75727265 000a7470 66657270     interrupt..pref
> 81015560: 68637465 6f626120 000a7472 61746164    etch abort..data
> 81015570: 6f626120 000a7472 20746f6e 64657375     abort..not used
> 81015580: 0000000a 74736166 746e6920 75727265    ....fast interru
> 81015590: 72207470 65757165 000a7473 65746e69    pt request..inte
> 810155a0: 70757272 65722074 73657571 00000a74    rrupt request...
> 810155b0: 64756162 65746172 00000000 73250a0a    baudrate......%s
> 810155c0: 00000a0a 6f422d55 6320746f 3a65646f    ....U-Boot code:

> 810155d0: 38302520 2d20586c 3025203e 20586c38     %08lX -> %08lX
> 810155e0: 53534220 3e2d203a 38302520 000a586c     BSS: -> %08lX..
> 810155f0: 204d4152 666e6f43 72756769 6f697461    RAM Configuratio
> DaVinci EVM #
> 
> Thanks, and best regards,
> Carlos
> 
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to