I added nand and ubi in my machine conf file to extend support ubi from imx6ullevk.conf:
UBOOT_CONFIG = "nand"
UBOOT_CONFIG[nand] = "mx6ull_14x14_evk_nand_config,ubifs"
It built the u-boot.imx-nand, but the ubi was still not included in the u-boot.imx-nand:
is still an error of "Unknown command 'ubi'" in u-boot, how to fix it?
Also, how to get fw_printenv and fw_setenv work in u-boot and Linux? I followed instructions from a link Linux For Engineers: Modify U-boot Configuration in Linux User Space! , that doesn't work.