linux kernel - using the same rootfs for different ARM SOCs -
i'm trying use userspace built i.mx53 on identical board i.mx6. i.mx6 board differs in cpu used. built new kernel , appropriate dtb, can load uboot , starts fine. however, when try use rootfs had i.mx53 board following jffs error:
jffs2: inconsistent device description
which has flash oob not containing valid information. write rootfs flash partition nand write.trimffs
command. need initialize oob somehow? don't remember doing on old board. can error come from?
turns out i.mx6 nand controller (gpmi driver) uses entire oob space ecc , jffs2 cannot fit it's markers there. possible communicate kernel weaker requirements ecc based on nand chip specification , use fsl,use-minimum-ecc
device tree option save oob. however, u-boot
not seem have support such ecc reconfiguration , becomes impossible use nand in both bootloader , linux. best way forward in situation ditch jffs2 , use ubifs instead.
note: i've seen jffs2 patches make not use oob, haven't tried them.
Comments
Post a Comment