AnsweredAssumed Answered

Has anyone successfully used UBI on UBIFS in u-boot on the i.mx6?

Question asked by Kevin Herbert on May 3, 2019
Latest reply on May 3, 2019 by igorpadykov

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).