Help needed with uboot for CHIP
maxime at cerno.tech
Mon Mar 22 19:28:09 CET 2021
On Sun, Mar 21, 2021 at 08:04:08PM +0530, Gunjan Gupta wrote:
> I figured out the why SPL was not loading U-Boot from NAND.
> Apparently the logic to use PIO instead of DMA that was introduced in
> be was not as generic as it was supposed to be. I tried adding hexdump in
> nand_read_page and found that on CHIP the logic was not reading and real
> data. Instead all of the bytes were set to 0s.
> I have created a patch to provide an option to use the older version of
> nand_read_page function that was present just before the above mentioned
> With the attached patches and some config changes the Upstream U-Boot works
> fine on CHIP. I have tested the attached patches on CHIP with 8GB Hynix
> nand along with the following extra configurations.
An MLC NAND without proper support will work fine until it won't. I
would strongly discourage you to use it.
> @Andre will it be possible to get the attached patches merged into the
And we definitely shouldn't make it easy
More information about the U-Boot