Hello When I program the NAND I erase the whole chip, Then write header+nand_ubl,header(s)+u-boot and Linux kernel In that order. Exactly how do you write the u-boot binary? Which version of u-boot are you using (I made my own nand version).
Another idea...If TI could prepare a binary image file of say the first 200K of a bootable NAND (ubl+u-boot+headers) then you could simply Erase and write that file! P.s. your dump looks ok. Regards Rudy. > -----Original Message----- > From: Carlos Ojea [mailto:[EMAIL PROTECTED] > Sent: 09 October 2006 09:32 > To: Rudy Reinsch > Cc: Allred, Daniel; [email protected] > Subject: Re: Writing UBL and UBOOT in NAND > > Hello! > I wrote same U-Boot header to NAND blocks 2,3,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. > And then write the U-boot image starting at block 16... but > it doesn't start yet! > Can't figure why. Should I erase U-Boot header at blocks 2,3 ? > > > DaVinci EVM # nand read 0x81000000 0x8000 0x4000 NAND read: > device 0 offset 32768, size 16384 ... 16384 bytes read: OK > DaVinci EVM # md 0x81000000 > 81000000: a1aced11 81080000 000000d3 00000010 ................ > 81000010: 00000000 81080000 00000000 00000000 ................ > > The same result reading at 0xC000, 0x10000, 0x14000, 0x18000, > 0x1C000, 0x20000, 0x24000, 0x28000 and 0x2C000 > > > > Then I wrote u-boot at block 16, page 0 (0x40000): > DaVinci EVM # nand read 0x81000000 0x40000 0x1A600 > > NAND read: device 0 offset 262144, size 108032 ... 108032 > bytes read: OK DaVinci EVM # md 0x81000000 > 81000000: ea000012 e59ff014 e59ff014 e59ff014 ................ > 81000010: e59ff014 e59ff014 e59ff014 e59ff014 ................ > 81000020: 81080100 81080160 810801c0 81080220 ....`....... ... > 81000030: 81080280 810802e0 81080340 deadbeef [EMAIL PROTECTED] > 81000040: 81080000 81080000 8109a448 810a2eb4 ........H....... > 81000050: e10f0000 e3c0001f e38000d3 e129f000 ..............). > 81000060: e24f0068 e51f102c e1500001 0a000007 h.O.,.....P..... > 81000070: e51f2034 e51f3034 e0432002 e0802002 4 ..40... C.. .. > 81000080: e8b007f8 e8a107f8 e1500002 dafffffb ..........P..... > 81000090: e51f0058 e2400803 e2400080 e240d00c [EMAIL PROTECTED]@[EMAIL > PROTECTED] > 810000a0: e51f0060 e51f1060 e3a02000 e5802000 `...`.... ... .. > 810000b0: e2800004 e1500001 dafffffb e51ff004 ......P......... > 810000c0: 810810d8 e3a00000 ee070f17 ee080f17 ................ > 810000d0: ee110f10 e3c00c23 e3c00087 e3800002 ....#........... > 810000e0: e3800a01 ee010f10 e1a0c00e eb0000b5 ................ > 810000f0: e1a0e00c e1a0f00e 00000000 00000000 ................ > DaVinci EVM # md 0x81015500 > 81015500: 65766967 00000a6e 202a2a2a 4f525245 given...*** ERRO > 81015510: 60203a52 76726573 70697265 6f6e2027 R: `serverip' no > 81015520: 65732074 00000a74 202a2a2a 4f525245 t set...*** ERRO > 81015530: 60203a52 64617069 20277264 20746f6e R: `ipaddr' not > 81015540: 0a746573 00000000 202a2a2a 4f525245 set.....*** ERRO > 81015550: 60203a52 61687465 27726464 746f6e20 R: `ethaddr' not > 81015560: 74657320 0000000a 6f62410a 000a7472 set.....Abort.. > 81015570: 65747942 72742073 66736e61 65727265 Bytes transferre > 81015580: 203d2064 20646c25 786c2528 78656820 d = %ld (%lx hex > 81015590: 00000a29 00786c25 656c6966 657a6973 )...%lx.filesize > 810155a0: 00000000 00586c25 656c6966 72646461 ....%lX.fileaddr > 810155b0: 00000000 64616f4c 64646120 73736572 ....Load address > 810155c0: 7830203a 0a786c25 00000000 64616f4c : 0x%lx.....Load > 810155d0: 3a676e69 00082a20 6574636f 00000074 ing: *..octet... > 810155e0: 656d6974 0074756f 656c6946 6f6f7420 timeout.File too > 810155f0: 72616c20 00006567 656c6946 73616820 large..File has > DaVinci EVM # > > > Any Ideas? > Thank you, > Carlos > _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
