RFC Support SPI NAND booting on the T113
Get series with b4
b4 am [email protected] change-id 20240411-spinand-eb7d8319813bVersions newest first
- v1 RFC Latest15 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | sunxi: SPL SPI: Add SPI boot support for the Allwinner R528/T113 SoCsarch/ arch/ | +58 | 0 replies | |
| 2/15 | sunxi: SPL SPI: extract code for doing SPI transferarch/ | +59 | 0 replies | |
| 3/15 | sunxi: SPL SPI: add support for read command with 2 byte addressarch/ | +13 | 0 replies | |
| 4/15 | sunxi: SPL SPI: allow multiple boot attemptarch/ | +34 | 0 replies | |
| 5/15 | sunxi: SPL SPI: add initial support for booting from SPI NANDarch/ arch/ | +91 | 0 replies | |
| 6/15 | sunxi: enable support for SPI NAND booting on SUNIVarch/ | +1 | 0 replies | |
| 7/15 | sunxi: Separate boot device and boot positionarch/ arch/ | +13 | 0 replies | |
| 8/15 | spl: Add BOOT_DEVICE_SPINAND optionarch/ arch/ arch/ +1 more | +4 | 0 replies | |
| 9/15 | sunxi: Implement BOOT_DEVICE_SPINAND in SPLarch/ arch/ arch/ | +23 | 0 replies | |
| 10/15 | spl: Add SPL_SPINAND configuration optionscommon/ | +21 | 0 replies | |
| 11/15 | sunxi: Use SPL_SPINAND for configurationarch/ arch/ | +5 | 0 replies | |
| 12/15 | nand: Add spinand_ helper functionsinclude/ | +3 | 0 replies | |
| 13/15 | sunxi: Implement spinand_ helpersarch/ | +21 | 0 replies | |
| 14/15 | spl: Support SPI NAND boot in UBIcommon/ | +14 | 0 replies | |
| 15/15 | spl: Support loading FIT images in UBIcommon/ | +30 | 0 replies |
Reviews trailers per patch
4 of 15 patches have a Reviewed-by or Acked-by.
| Patch | Sam Edwards | Samuel Holland |
|---|---|---|
| 1/15 | T-b | |
| 2/15 | R-b T-b | |
| 3/15 | R-b T-b | |
| 4/15 | R-b T-b | |
| 5/15 | T-b | |
| 6/15 | R-b | |
| 7/15 | ||
| 8/15 | ||
| 9/15 | ||
| 10/15 | ||
| 11/15 | ||
| 12/15 | ||
| 13/15 | ||
| 14/15 | ||
| 15/15 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH RFC 00/15] Support SPI NAND booting on the T113
This series is my current working and tested setup for booting from SPI NAND chips on the Allwinner T113.
I have included the following patches from others. I may have modified them to work with the latest mainline:
https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/[email protected]/
Hopefully this can get the ball rolling on how to properly implement SPI NAND support in mainline U-Boot.
---
Icenowy Zheng (5):
sunxi: SPL SPI: extract code for doing SPI transfer
sunxi: SPL SPI: add support for read command with 2 byte address
sunxi: SPL SPI: allow multiple boot attempt
sunxi: SPL SPI: add initial support for booting from SPI NAND
sunxi: enable support for SPI NAND booting on SUNIV
John Watts (9):
sunxi: Separate boot device and boot position
spl: Add BOOT_DEVICE_SPINAND option
sunxi: Implement BOOT_DEVICE_SPINAND in SPL
spl: Add SPL_SPINAND configuration options
sunxi: Use SPL_SPINAND for configuration
nand: Add spinand_ helper functions
sunxi: Implement spinand_ helpers
spl: Support SPI NAND boot in UBI
spl: Support loading FIT images in UBI
Maksim Kiselev (1):
sunxi: SPL SPI: Add SPI boot support for the Allwinner R528/T113 SoCs
arch/arm/include/asm/arch-sunxi/spl.h | 3 +- arch/arm/include/asm/spl.h | 1 + arch/arm/mach-sunxi/Kconfig | 2 +- arch/arm/mach-sunxi/board.c | 31 +-- arch/arm/mach-sunxi/spl_spi_sunxi.c | 348 +++++++++++++++++++++++++--------- arch/mips/include/asm/spl.h | 1 + arch/riscv/include/asm/spl.h | 1 + arch/sandbox/include/asm/spl.h | 1 + common/spl/Kconfig | 21 ++ common/spl/spl_ubi.c | 49 ++++- include/nand.h | 3 + 11 files changed, 354 insertions(+), 107 deletions(-)
---
base-commit: 777c28460947371ada40868dc994dfe8537d7115
change-id: 20240411-spinand-eb7d8319813b
Best regards,
Signature · 1 line
John Watts <[email protected]>