Richard Genoud
800ebf7e94
tools: sunxi-spl-image-builder: support H6/H616 NAND boot
...
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.
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com >
Co-developed-by: James Hilliard <james.hilliard1@gmail.com >
Signed-off-by: James Hilliard <james.hilliard1@gmail.com >
Signed-off-by: Richard Genoud <richard.genoud@bootlin.com >
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com >
2026-02-03 21:45:27 +01:00
..
2026-02-02 09:15:52 -06:00
2026-01-19 13:08:19 -06:00
2025-12-01 14:01:12 +08:00
2026-01-23 14:55:32 -06:00
2025-12-10 09:28:43 -06:00
2026-01-02 10:28:14 -06:00
2026-01-02 10:28:14 -06:00
2026-01-05 09:01:59 -06:00
2025-12-06 11:32:02 +01:00
2025-12-10 09:28:43 -06:00
2025-12-10 09:28:43 -06:00
2025-02-28 16:51:01 -06:00
2025-08-19 11:25:23 -06:00
2026-01-19 13:08:19 -06:00
2021-09-30 08:08:56 -04:00
2023-04-13 11:34:47 +02:00
2025-07-14 15:16:33 -06:00
2023-08-08 17:41:52 -04:00
2022-02-28 10:33:11 -05:00
2024-09-12 17:35:37 +02:00
2021-01-13 02:38:00 +01:00
2020-06-29 22:36:35 +02:00
2025-06-20 12:15:08 -06:00
2024-10-18 14:10:22 -06:00
2023-04-06 19:10:08 -04:00
2022-01-26 08:50:43 -07:00
2025-09-09 12:44:07 -06:00
2025-09-09 12:44:07 -06:00
2024-04-17 17:06:01 -06:00
2023-04-13 11:34:47 +02:00
2026-02-02 09:15:52 -06:00
2025-09-09 12:44:07 -06:00
2025-07-14 15:16:40 -06:00
2023-04-13 11:34:47 +02:00
2025-06-03 17:18:02 -06:00
2023-01-27 12:51:26 -05:00
2026-01-28 14:41:21 -06:00
2024-10-21 17:52:52 -06:00
2023-04-13 11:34:47 +02:00
2025-12-06 11:46:09 -06:00
2024-07-15 12:12:18 -06:00
2026-01-17 15:01:00 -03:00
2021-10-21 13:59:26 +02:00
2025-09-09 12:44:07 -06:00
2025-05-03 16:55:32 -03:00
2024-11-25 23:07:37 -03:00
2025-02-27 09:53:10 -03:00
2023-10-09 15:24:31 -04:00
2025-11-11 14:53:25 -06:00
2025-11-10 11:30:56 -06:00
2025-02-18 16:32:24 -06:00
2025-01-18 17:12:47 -06:00
2023-04-13 11:34:47 +02:00
2023-04-13 11:34:47 +02:00
2026-01-02 10:28:14 -06:00
2025-02-21 08:24:37 -06:00
2025-07-29 16:48:10 -06:00
2025-08-08 08:44:52 +02:00
2025-07-14 15:16:35 -06:00
2024-05-24 13:40:04 -06:00
2025-12-06 11:46:09 -06:00
2025-02-28 16:51:01 -06:00
2021-10-25 14:49:58 +01:00
2023-08-03 09:40:50 -04:00
2023-08-03 09:40:50 -04:00
2022-09-23 15:09:16 -04:00
2022-09-23 15:09:16 -04:00
2023-12-13 15:33:57 -03:00
2024-07-15 12:12:18 -06:00
2021-12-02 08:34:01 +02:00
2023-04-13 11:34:47 +02:00
2020-04-24 10:51:56 -04:00
2020-04-24 10:51:56 -04:00
2019-12-02 18:23:08 -05:00
2025-01-26 11:35:46 -06:00
2022-02-28 12:01:02 +05:30
2023-04-20 20:45:08 +08:00
2023-04-20 20:45:08 +08:00
2025-02-28 16:51:01 -06:00
2022-12-08 09:29:02 -05:00
2025-02-11 08:17:23 -06:00
2025-04-11 12:16:44 -06:00
2023-09-06 13:28:29 +02:00
2023-11-20 19:06:22 +01:00
2025-01-18 17:12:47 -06:00
2025-12-14 00:02:10 +08:00
2023-04-13 11:34:47 +02:00
2019-12-27 15:17:07 +08:00
2019-11-04 18:15:32 -07:00
2019-12-27 15:17:07 +08:00
2019-12-27 15:17:07 +08:00
2025-06-27 10:02:19 -06:00
2025-03-18 08:17:32 -06:00
2023-04-13 11:34:47 +02:00
2019-10-08 16:36:37 +02:00
2025-06-11 09:42:56 +02:00
2023-04-13 11:34:47 +02:00
2024-08-06 00:19:57 +01:00
2026-02-03 21:45:27 +01:00
2025-07-08 18:15:20 -06:00
2025-07-14 15:16:38 -06:00
2020-11-30 18:32:09 +01:00
2024-07-31 11:20:36 -06:00
2023-04-13 11:34:47 +02:00
2023-04-13 11:34:47 +02:00
2022-02-15 12:41:00 +01:00
2025-09-16 13:45:00 -06:00
2019-10-28 13:32:51 -04:00
2024-01-10 09:27:12 +01:00
2024-01-10 09:27:12 +01:00