Running the latest upstream u-boot (2019.04) and older versions, I am unable to successfully use UBI and enable the 'environment is in UBI' feature CONFIG_ENV_IS_IN_UBI.
To get UBI to work at all, I needed to add a 250μS delay to the QSPI driver, or I would get nothing but I/O errors, so it seems that this is an untested path at all.
I have no issues doing basic I/O to the QSPI via the 'sf' commands, and I use the same device tree in u-boot as I do in Linux, where the QSPI controller works flawlessly (including for UBI), so I do think that I have programmed the controller appropriately for my QSPI FLASH (S25FL512SAGMFI013).
Thanks,
Kevin
Hi Kevin
seems you are right, nxp uboot does not support (not tested) ubifs and this may be
posted on uboot mail list
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------