I'm using A13 and the steps posted in board/sunxi/README.nand don't even make the board run SPL (it jumps to FEX every time).
The Linux NAND driver works - at least from what I tried. My idea was to use the NAND in SLC mode (which decreases the capacity twice, afaik) with UBI and that part works under Linux. U-boot doesn't want to read it, but that's actually not a problem, since I can store the kernel directly in NAND, without a filesystem (U-boot reads NAND properly). The only problem is that SPL won't read NAND, it only reads 0s - just like in that mail you linked. Do you think that reversing this patch could fix the issue? czwartek, 2 czerwca 2022 o 11:57:37 UTC+2 max...@cerno.tech napisał(a): > > On Fri, May 27, 2022 at 10:08:16AM -0700, Oranż Metylowy wrote: > > Yes, it doesn't work, at least for me. I tried it a million times. > > If you're using an A20, this is likely to be due to: > https://lore.kernel.org/u-boot/20210624120540.7oyhdmerjndsylbq@gilmour/ > > However, I must emphathize that using an MLC NAND is a terrible idea > with the current state of UBI and UBIFS, and really shouldn't be > encouraged. > > Maxime > -- 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/658a7319-1f5d-464f-9f0f-f9dc4a9c8764n%40googlegroups.com.