[U-Boot] Set up NAND UBIFS partitions

23 Sep
2019
23 Sep
'19
3:28 a.m.
Hi,
I have to start u-boot in initram ramdisk to create NAND partitions and burn the Yocto image to NAND flash in iMX6, is there a simple way to partition NAND and burn image to NAND without running the u-boot in an intermediate initram stage?
The second issue is in the current method to run u-boot in initram, I created two NAND UBIFS partitions, one was the rootfs, one is the data storage, but when the system booted from NAND rootfs, the data storage /dev/ubi1_0 was no longer visiable in rootfs partition. So I have to create the /dev/ubi1_0 again, attach it and mount it in rootfs partition every time in rootfs partition boot that is definitely a wrong way. What is a proper way to fix it?
Thank you.
Kind regards,
- jh
2056
Age (days ago)
2056
Last active (days ago)
0 comments
1 participants
participants (1)
-
JH