[U-Boot] Set up NAND UBIFS partitions

JH jupiter.hce at gmail.com
Mon Sep 23 01:28:02 UTC 2019


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


More information about the U-Boot mailing list