[U-Boot] Nand boot on imx6q board is broken
Shyam Saini
shyam at amarulasolutions.com
Thu Jan 31 07:38:57 UTC 2019
Hi Everyone,
I'm trying to boot imx6q board from nand but it seems like mainline
u-boot nand boot support for imx6q board is broken.
It is working till v2017.05 with this fix [1].
I'm using this as my stub:
https://github.com/openedev/u-boot-amarula/tree/icore-nand
When I git bisect between v2017.05 and v2017.07, found this commit
which is further breaking the nand boot support:
------
ommit bc1fe9006dfaacc5103b5c7057a62215844957b7
Author: Jagan Teki <jagan at amarulasolutions.com>
Date: Sun May 7 02:43:05 2017 +0530
icorem6: Make SPL to pick suitable fdt
SPL FIT is able to pick the suitable fdt file for u-boot,
so add that function through board_fit_config_name_match.
Cc: Stefano Babic <sbabic at denx.de>
Cc: Matteo Lisi <matteo.lisi at engicam.com>
Cc: Michael Trimarchi <michael at amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
-----
And It is fixed with this [2].
In mainline u-boot we already have fix [1] and [2] available but nand
boot is still broken. It seems like problem is some where else, fix
[1] and [2] are just making the bug appear less frequently.
logs:
[3] nand boot working
[4] Nand boot not working
Has anyone else faced or fixed the same issue on imx6 board.
Please let me know.
[1] https://paste.ubuntu.com/p/nKq7SNWDrn/
[2] https://paste.ubuntu.com/p/tXqbx5dVPJ/
[3] https://paste.ubuntu.com/p/DcBQ4gcSCM/
[4] https://paste.ubuntu.com/p/WVtrqfdVQT/
Thanks a lot,
Shyam
More information about the U-Boot
mailing list