Hi, i work with two SOM one with imx6solo and other one with imx6quad, both SOM have with same nand flash.
With a MicroSD card update the SOM; with imx6quad I always have success, but with imx6solo sometimes don't have success.
For update the rootfs I use a script with this instructions:
ubiformat -y /dev/mtd3
ubiattach /dev/ubi_ctrl -m 3
ubimkvol /dev/ubi0 -N rootfs -s445000000
mkdir /rootfs
mount -t ubifs ubi0:rootfs /rootfs
tar xvf /rootfs.tar.bz2 -C /rootfs
sync
When I boot from nand flash I have some errors of this type:
UBIFS error (ubi0:0 pid 277): ubifs_read_node: bad node type (255 but expected 1)
UBIFS error (ubi0:0 pid 277): ubifs_read_node: bad node at LEB 394:119808, LEB mapping status 0
Not a node, first 24 bytes:
00000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ........................
I don't understand what the problem could be due to and what settings to check.
Note: I use a yocto pyro distribution
Can you help me?
Thanks,
Alessandro