Re: [U-Boot] Load kernel from JFFS2 / Bad Data CRC

2014-03-26 Thread sophie bonnouvrier
More information : when I compare the file download in ram with fsload and
nand read I have a word of difference ...
If someone have an idea ...
thanks

sophie

fsload 100 uImage
### JFFS2 loading 'uImage' to 0x100
### JFFS2 load complete: 3287019 bytes loaded to 0x100
One9x> nand read 200 $nandbootaddr $nandimgsize

NAND read: device 0 offset 0x1010, size 0x40
 4194304 bytes read: OK

One9x> cmp 100 200 $nandimgsize
word at 0x01013a48 (0x490daeaf) != word at 0x02013a48 (0x490d00ae)
Total of 20114 word(s) were the same
One9x> fsload c0 rootfs
### JFFS2 loading 'rootfs' to 0xc0
### JFFS2 load complete: 24973697 bytes loaded to 0xc0
One9x> nand read 200 $nandramfsaddr $nandramfssize

NAND read: device 0 offset 0x1050, size 0x180
 25165824 bytes read: OK
One9x> cmp c0 200 nandramfssize
Total of 0 word(s) were the same
One9x> cmp c0 200 $nandramfssize
word at 0x00c0fcd0 (0xfdf0ddf) != word at 0x0200fcd0 (0xfdf0d00)
Total of 16180 word(s) were the same
One9x> fsload c0 dtb
### JFFS2 loading 'dtb' to 0xc0
### JFFS2 load complete: 14843 bytes loaded to 0xc0
One9x> nand read 200 $nandfdtaddr $nandfdtsize

NAND read: device 0 offset 0x11d0, size 0x10
 1048576 bytes read: OK
One9x> cmp c0 200 $nandfdtsize
word at 0x00c01580 (0x2ab73) != word at 0x02001580 (0x2ab)
Total of 1376 word(s) were the same



--
View this message in context: 
http://u-boot.10912.n7.nabble.com/Load-kernel-from-JFFS2-Bad-Data-CRC-tp176605p176607.html
Sent from the U-Boot mailing list archive at Nabble.com.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Load kernel from JFFS2 / Bad Data CRC

2014-03-26 Thread sophie bonnouvrier
Ok, I've found my error 

I don't used FTP in binary mode when I download file in filesystem.

Sorry, for the disruption.

Sophie



--
View this message in context: 
http://u-boot.10912.n7.nabble.com/Load-kernel-from-JFFS2-Bad-Data-CRC-tp176605p176610.html
Sent from the U-Boot mailing list archive at Nabble.com.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot