From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikolai Zhubr Date: Sat, 29 Dec 2018 23:08:33 +0300 Subject: [U-Boot] SPL variant of sunxi nand module In-Reply-To: <5C200287.2040106@yandex.ru> References: <5C1F8DBC.1010304@yandex.ru> <5C1FB1F2.8040908@yandex.ru> <5C1FCFB7.1070809@yandex.ru> <5C1FDABF.5050407@yandex.ru> <5C1FF78A.6000009@yandex.ru> <5C200287.2040106@yandex.ru> Message-ID: <5C27D441.6070603@yandex.ru> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 >