Hello Just a quick thought before I go home. Do you write the NAND OOB data with the ECC checksum? Does the RBL and ubl_nand expect a valid ECC checksum? I write the checksum (4 bytes starting at page offset 512).
Cheers Rudy. > -----Original Message----- > From: Carlos Ojea [mailto:[EMAIL PROTECTED] > Sent: 05 October 2006 12:13 > To: Allred, Daniel > Cc: Rudy Reinsch; [email protected] > Subject: Re: Writing UBL and UBOOT in NAND > > > Hello. Thank you so much for your crucial help and patience. > > I reversed my header bytes. > > I also noticed that you see e1a00000 for a nop (807000f0: > ee070f15 e1a00000 e1a00000 e1a00000 ................) So I > think my program's byte order is also ok as I see e1a00000 > for a nop, and I could also see some readable text at certain > addresses. > > I don't know if I am writing the header and the ubl_nand.bin > at the righ nand addresses. I am using a 0x4000 offset for > the header and 0x4200 for ubl_nand.bin I also put nops > between the header and ubl_nand.bin, who really starts at > 0x4200, and I have S3:0000111110 and J4:NAND. > > This is my dump for nand's offset 0x4000. Now I think it > *SHOULD* boot (but it doesn't): > DaVinci EVM # nand read 0x80000000 0x4000 0x4000 > > NAND read: device 0 offset 16384, size 16384 ... 16384 bytes > read: OK DaVinci EVM # md 0x80000000 > 80000000: a1aced00 00000020 0000001c 00000001 .... ........... > 80000010: 00000001 00000000 e1a00000 e1a00000 ................ > 80000020: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 80000030: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 80000040: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 80000050: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 80000060: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 80000070: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 80000080: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 80000090: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 800000a0: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 800000b0: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 800000c0: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 800000d0: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 800000e0: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 800000f0: e1a00000 e1a00000 e1a00000 e1a00000 ................ > DaVinci EVM # > 80000100: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 80000110: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 80000120: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 80000130: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 80000140: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 80000150: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 80000160: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 80000170: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 80000180: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 80000190: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 800001a0: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 800001b0: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 800001c0: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 800001d0: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 800001e0: e1a00000 e1a00000 e1a00000 e1a00000 ................ > 800001f0: e1a00000 e1a00000 e1a00000 e1a00000 ................ > DaVinci EVM # > 80000200: ee193f31 e1a00000 e3a00001 ee090f31 1?..........1... > 80000210: e1a00000 e1a00000 ee194f31 e1a00000 ........1O...... > 80000220: e1a00000 e59f001c e59f101c e59f301c .............0.. > 80000230: e4904004 e4814004 e2533004 1afffffb [EMAIL PROTECTED]@...0S..... > 80000240: e3a01020 e1a0f001 02000100 00008020 ........... ... > 80000250: 00003800 00000000 00000000 00000000 .8.............. > 80000260: 00000000 00000000 00000000 00000000 ................ > 80000270: 00000000 00000000 00000000 00000000 ................ > 80000280: 00000000 00000000 00000000 00000000 ................ > 80000290: 00000000 00000000 00000000 00000000 ................ > 800002a0: 00000000 00000000 00000000 00000000 ................ > 800002b0: 00000000 00000000 00000000 00000000 ................ > 800002c0: 00000000 00000000 00000000 00000000 ................ > 800002d0: 00000000 00000000 00000000 00000000 ................ > 800002e0: 00000000 00000000 00000000 00000000 ................ > 800002f0: 00000000 00000000 00000000 00000000 ................ > DaVinci EVM # md 0x80001700 > 80001700: e5940000 eb00032e e3500000 1affffe2 ..........P..... > 80001710: e8bd8030 e59fc07c e59c0000 e12fff1e 0...|........./. > 80001720: 20202020 004b4341 30303030 a0000000 ACK.0000.... > 80001730: 44414220 00544e43 41444142 00524444 BADCNT.BADADDR. > 80001740: 45422020 004e4947 41550a0d 52205452 BEGIN...UART R > 80001750: 69656365 45206576 726f7272 00000a0d eceive Error.... > 80001760: 4f4f4220 50535054 a0000000 44202020 BOOTPSP.... D > 80001770: 00454e4f 01c40004 01c20401 080befc0 ONE............. > 80001780: 01c4800c 01c20014 0000b81c 0000b818 ................ > 80001790: 0000b820 0000b800 0000b824 e3a01000 .......$....... > 800017a0: e59f0548 e5801000 e59f0544 e5801000 H.......D....... > 800017b0: e59f854c e59f65f4 e5967000 e0077008 L....e...p...p.. > 800017c0: e5867000 e59f65f4 e5967000 e3877002 .p...e...p...p.. > 800017d0: e5867000 e59f65e8 e5967000 e2077002 .p...e...p...p.. > 800017e0: e3570000 1afffffa e59f65c4 e5967000 ..W......e...p.. > 800017f0: e2077c01 e3570000 1afffffa e59f6560 .|....W.....`e.. > DaVinci EVM # > _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
