Uboot doesn't know the 0x notation... All values are in hex I believe, so: nand erase 100000 3f00000
On the u-boot version I'm using (u-boot-1.1.4, quite old), u-boot does understand 0x notation. "nand erase 100000 3f00000" and "nand erase 0x100000 0x3f00000" mean the same thing. Re: OP, nand address and size must be page-aligned (usually 512 bytes). -Ronald ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pieter Voorthuijsen Sent: Tuesday, October 16, 2007 3:19 PM To: Will Tucker; davinci-linux-open-source@linux.davincidsp.com Subject: RE: RAMDISK - nand_write_ecc: Attempt to write not page aligned data Hi Will, Uboot doesn't know the 0x notation... All values are in hex I believe, so: nand erase 100000 3f00000 Regards, Pieter ________________________________ From: [EMAIL PROTECTED] davincidsp.com [mailto:davinci-linux-open-source-bounces+pieter.voorthuijsen=prodrive.n [EMAIL PROTECTED] On Behalf Of Will Tucker Sent: maandag 15 oktober 2007 18:44 To: davinci-linux-open-source@linux.davincidsp.com Subject: RAMDISK - nand_write_ecc: Attempt to write not page aligned data Setting up a RAMDISK. Anyone know how to fix this? kernel is git 2.6.21 Using the DVEVM to test with. U-Boot 1.3.0-rc2-g527c80f0-dirty (Oct 11 2007 - 16:52:51) U-Boot > nand erase 0x100000 0x3F00000 NAND erase: device 0 offset 0x100000, size 0x3f00000 Erasing at 0x3ffc000 -- 100% complete. OK U-Boot > setenv autostart no U-Boot > setenv serverip 192.168.0.114 U-Boot > setenv bootfile uImage U-Boot > dhcp BOOTP broadcast 1 DHCP client bound to address 192.168.0.115 TFTP from server 192.168.0.114; our IP address is 192.168.0.115 Filename 'uImage'. Load address: 0x80700000 Loading: ################################################################# ##################################### done Bytes transferred = 1493964 (16cbcc hex) U-Boot > nand write 0x80700000 0x104000 0x16CBCC NAND write: device 0 offset 0x104000, size 0x16cbcc nand_write_ecc: Attempt to write not page aligned data 0 bytes written: ERROR U-Boot > ________________________________ Pinpoint customers <http://us.rd.yahoo.com/evt=48250/*http:/searchmarketing.yahoo.com/arp/s ponsoredsearch_v9.php?o=US2226&cmp=Yahoo&ctv=AprNI&s=Y&s2=EM&b=50> who are looking for what you sell.
_______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source