From mboxrd@z Thu Jan 1 00:00:00 1970 From: r315 Date: Sat, 1 May 2021 15:48:05 -0700 (MST) Subject: sunxi_nand_spl reading zeros on NextThing C.H.I.P. In-Reply-To: <1619126483668-0.post@n7.nabble.com> References: <1619126483668-0.post@n7.nabble.com> Message-ID: <1619909285839-0.post@n7.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Replying to myself, I'm using sunxi driver for nand spl, had to remove ECC from "nand_read_page" function, after that I was able to proceed to second stage of boot. Not sure of the cause, maybe the u-boot_SPL ECC algorithm is different of the one on u-boot, which is used to write u-boot on nand as described by board/sunxi/README.md -- Sent from: http://u-boot.10912.n7.nabble.com/