Hello guys,
I'd like to know how to calculate the rootfs.jffs2 to burn it in NAND.
My rootfs.jffs2 is 151363884 ( 0x905A12C)
and i'm trying to add 2kb 151365932 (0x905A92C)
mmc1 is available
reading rootfs.jffs2
151363884 bytes read
NAND erase: device 0 offset 0x780000, size 0xf880000
Erasing at 0xffe0000 -- 100% complete.
OK
4 BIT SW ECC selected
NAND write: device 0 offset 0x780000, size 0x905A92C
Attempt to write non page aligned data
151365932 bytes written: ERROR
Command used in u-boot: mw.b 0x81600000 0xff 0xA000000;mmc init;fatload mmc 1 0x81600000 rootfs.jffs2;nand erase 780000;nandecc bch4_sw ;nand write.i 0x81600000 780000 905A92C
CPU: Variscite AM3517
Is there anything wrong ?
Thanks