Thanks for sharing that info!

U-Boot mainline has a fix now (2023.07):
https://source.denx.de/u-boot/u-boot/-/commit/5fd30ed78539e11c2c155001a88f483441a96ebd

On Saturday, December 29, 2018 at 11:51:00 PM UTC+4 Nikolai Zhubr wrote:

> Hi,
>
> Its just to remind sunxi_nand_spl.c is still broken. (And probably has 
> been for a couple releases or so).
> I'm unable to fix it myself (other than reverting the mentioned commit 
> locally.)
>
>
> Thank you,
>
> Regards,
> Nikolai
>
> 24.12.2018 0:47, Nikolai Zhubr:
> > Hi again,
> >
> > The following commit (titled "use PIO instead of DMA") apparently broke
> > actual reading of nand pages in SPL at least for A20:
> >
> > 
> http://git.denx.de/?p=u-boot.git;a=commit;h=6ddbb1e936c78cdef1e7395039fa7020c5c75326
> >
> >
> > Instead of reading page contents, non-dma (current) version just feeds
> > zeroes here.
> > Tested on A20-olinuxino-micro with a Hynix 4GB nand chip.
> >
> > It'd be nice to somehow fix it back eventually :)
> >
> > Other than that, nand boot seems usable (with added necessary chip id).
> >
> >
> > Thank you,
> >
> > Regards,
> > Nikolai
> >
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/d3958e3a-14c5-4871-b098-3c17c4354edcn%40googlegroups.com.

Reply via email to