Hi I will drop my request now, and prepare a new one and including this one
Michael On Mon, Jan 19, 2026 at 12:14 PM Richard GENOUD <[email protected]> wrote: > > Hi Michael, > Le 28/10/2025 à 10:40, Miquel Raynal a écrit : > > Hi Richard, > > > > On 28/10/2025 at 09:37:33 +01, Richard Genoud <[email protected]> > > wrote: > > > >> The H6/H616 boot ROM doesn't expect a SPL scrambled the same way as > >> older SoCs. > >> It doesn't use a specific seeds table, it expects a maximized ECC > >> (BCH-80), a specific BBM (FF000301) and doesn't work if empty pages are > >> skipped (it needs its specific BBM, even in the padding). > >> > >> So, add a --soc=h6 option to support H6/616 with: > >> - more ECC strengths > >> - specific BBM > >> - default_scrambler_seeds[] with all values > >> - no empty pages skip > >> > >> In Kconfig, select BCH-80 by default for SUNXI_SPL_ECC_STRENGTH to make > >> BROM happy. > >> > >> And in scripts/Makefile.xpl, use --soc=h6 option when building for a > >> SUN50I_GEN_H6 SoC. > >> > >> Tested on Whatsminer H616 board, booting from NAND. > >> > >> Co-developed-by: James Hilliard <[email protected]> > >> Signed-off-by: James Hilliard <[email protected]> > >> Signed-off-by: Richard Genoud <[email protected]> > >> --- > > > > Reviewed-by: Miquel Raynal <[email protected]> > > > > Thanks, > > Miquèl > > Sorry, I didn't remembered until now, but it seems this patch also got > forgotten. > > Regards, > Richard > -- Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2170 [email protected] __________________________________ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9172 [email protected] www.amarulasolutions.com

