Carlos,

The byte order should be reversed - the ARM core is a little-endian
device which means the Most significant byte should be in the least
significant memory location.  In addition your entry point address
should be an address in IRAM, not in the flash memory space (as
0x20000000 is).  For example here is my dump of that same info (and mine
does work):

80700000: a1aced00 00000100 0000001c 00000001    ................
80700010: 00000001 00000000 e58d3000 e59c3000    .........0...0..
80700020: e1130012 0a000016 e59d3000 e3530000    .........0....S.
80700030: 0a000013 e59d3000 e2433001 e58d3000    .....0...0C..0..
80700040: eafffff5 e3a02001 e59fe2e4 e1a03012    ..... .......0..
80700050: e58e3000 e3a03b0a e58d3000 ea000002    .0...;...0......
80700060: e59d3000 e2433001 e58d3000 e59c3000    .0...0C..0...0..
80700070: e1130012 0a000002 e59d3000 e3530000    .........0....S.
80700080: 1afffff6 e59dc000 e35c0000 0a000013    ..........\.....
80700090: e3a0cb0a e58dc000 ea000002 e59dc000    ................
807000a0: e24cc001 e58dc000 e3a0cb06 e28cc771    ..L.........q...
807000b0: e79cc101 e20cc01f e35c0003 0a000002    ..........\.....
807000c0: e59dc000 e35c0000 1afffff3 e59dc000    ......\.........
807000d0: e35c0000 0a000001 e3a00000 e8bd8018    ..\.............
807000e0: e3a00002 e8bd8018 e92d0003 e3a00000    ..........-.....
807000f0: ee070f15 e1a00000 e1a00000 e1a00000    ................

Regards,
Daniel


Daniel J. Allred
Software Applications
Catalog DSP / End Emerging Equipment

-----Original Message-----
From: Carlos Ojea [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 04, 2006 9:19 AM
To: Rudy Reinsch
Cc: Allred, Daniel; [email protected]
Subject: Re: Writing UBL and UBOOT in NAND

Reading the ubl descriptor and the fist bytes of ubl_nand.bin stored
in NAND I think see everthing ok... I am puzzled :

DaVinci EVM # nand read 0x80700000 0x4000 0x4000
NAND read: device 0 offset 16384, size 16384 ...  16384 bytes read: OK
DaVinci EVM # md 0x80700000
80700000: 00edaca1 20000000 1c000000 01000000    ....... ........
80700010: 01000000 ffffffff ffffffff ffffffff    ................
80700020: ffffffff ffffffff ffffffff ffffffff    ................
80700030: ffffffff ffffffff ffffffff ffffffff    ................
80700040: ffffffff ffffffff ffffffff ffffffff    ................
80700050: ffffffff ffffffff ffffffff ffffffff    ................
80700060: ffffffff ffffffff ffffffff ffffffff    ................
80700070: ffffffff ffffffff ffffffff ffffffff    ................
80700080: ffffffff ffffffff ffffffff ffffffff    ................
80700090: ffffffff ffffffff ffffffff ffffffff    ................
807000a0: ffffffff ffffffff ffffffff ffffffff    ................
807000b0: ffffffff ffffffff ffffffff ffffffff    ................
807000c0: ffffffff ffffffff ffffffff ffffffff    ................
807000d0: ffffffff ffffffff ffffffff ffffffff    ................
807000e0: ffffffff ffffffff ffffffff ffffffff    ................
807000f0: ffffffff ffffffff ffffffff ffffffff    ................
DaVinci EVM # md 0x80700100
80700100: ffffffff ffffffff ffffffff ffffffff    ................
80700110: ffffffff ffffffff ffffffff ffffffff    ................
80700120: ffffffff ffffffff ffffffff ffffffff    ................
80700130: ffffffff ffffffff ffffffff ffffffff    ................
80700140: ffffffff ffffffff ffffffff ffffffff    ................
80700150: ffffffff ffffffff ffffffff ffffffff    ................
80700160: ffffffff ffffffff ffffffff ffffffff    ................
80700170: ffffffff ffffffff ffffffff ffffffff    ................
80700180: ffffffff ffffffff ffffffff ffffffff    ................
80700190: ffffffff ffffffff ffffffff ffffffff    ................
807001a0: ffffffff ffffffff ffffffff ffffffff    ................
807001b0: ffffffff ffffffff ffffffff ffffffff    ................
807001c0: ffffffff ffffffff ffffffff ffffffff    ................
807001d0: ffffffff ffffffff ffffffff ffffffff    ................
807001e0: ffffffff ffffffff ffffffff ffffffff    ................
807001f0: ffffffff ffffffff ffffffff ffffffff    ................
DaVinci EVM # md 0x80700200
80700200: ee193f31 e1a00000 e3a00001 ee090f31    1?..........1...
80700210: e1a00000 e1a00000 ee194f31 e1a00000    ........1O......
80700220: e1a00000 e59f001c e59f101c e59f301c    .............0..
80700230: e4904004 e4814004 e2533004 1afffffb    [EMAIL PROTECTED]@...0S.....
80700240: e3a01020 e1a0f001 02000100 00008020     ........... ...
80700250: 00003800 00000000 00000000 00000000    .8..............
80700260: 00000000 00000000 00000000 00000000    ................
80700270: 00000000 00000000 00000000 00000000    ................
80700280: 00000000 00000000 00000000 00000000    ................
80700290: 00000000 00000000 00000000 00000000    ................
807002a0: 00000000 00000000 00000000 00000000    ................
807002b0: 00000000 00000000 00000000 00000000    ................
807002c0: 00000000 00000000 00000000 00000000    ................
807002d0: 00000000 00000000 00000000 00000000    ................
807002e0: 00000000 00000000 00000000 00000000    ................
807002f0: 00000000 00000000 00000000 00000000    ................

The words seem to have 'reversed' bytes, but I saw the same effect
when reading u-boot from NOR to memory (and NOR boots fine).

Any idea?

Thanks and regards,
Carlos
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to