Will,

 

What is the page size of your NAND?  Can you do a "nand info" command
from your u-boot prompt and give me the output?

 

Sincerely,

Chase Maupin

Software Applications

Catalog DSP Products

e-mail: [EMAIL PROTECTED]

phone: (281) 274-3285

________________________________

From:
[EMAIL PROTECTED]
om
[mailto:[EMAIL PROTECTED]
ncidsp.com] On Behalf Of Will Tucker
Sent: Monday, October 15, 2007 11:44 AM
To: [email protected]
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
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to