Skip to content

Enable booting from SPI flash on ROCK Pi 4

Christopher Obbard u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v12 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Collect Reviewed-by tags.
- Rebase on top of rockchip/for-next.
- Sync configuration changes with savedefconfig.
- Remove GigaDevice SPI flash chip support (suggested by Kever Y).
- Re-enable CONFIG_SPL_FIT_SIGNATURE=y (fixed in rockchip/for-next, solves multiple problems mentioned in v1. Thanks Jonas!).
- Remove spl-boot-order from rk3399-rock-pi-4a-u-boot.dtsi (suggested by Jonas K).
- Enable CONFIG_SPI_FLASH_SFDP_SUPPORT=y (suggested by Jonas K).
- v1: https://lists.denx.de/pipermail/u-boot/2024-March/547173.html

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm: rockchip: sync ROCK Pi 4A DTS from Linuxarch/arm/dts/rk3399-rock-pi-4a.dts+10 -01 reply
2/2rockchip: rock-pi-4-rk3399: enable booting from SPI flasharch/arm/dts/rk3399-rock-pi-4a-u-boot.dtsi configs/rock-pi-4-rk3399_defconfig+21 -32 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchKever YangJonas Karlman
1/2R-b R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Enable booting from SPI flash on ROCK Pi 4

This series brings up and enables booting from the SPI flash present on some variants of the ROCK Pi 4 in U-Boot.

The first patch syncs the ROCK Pi 4A devicetree from Linux, which contains the SPI flash node.

The second patch enables support in U-Boot for the SPI flash chip and booting U-Boot from the SPI flash on the Radxa ROCK Pi 4.

This series may be found at [0].

[0]: https://gitlab.collabora.com/obbardc/u-boot/-/tree/wip/obbardc/rockchip-rock4-enable-spi-boot-v2

Changes in v2:
- Collect Reviewed-by tags.
- Rebase on top of rockchip/for-next.
- Sync configuration changes with savedefconfig.
- Remove GigaDevice SPI flash chip support (suggested by Kever Y).
- Re-enable CONFIG_SPL_FIT_SIGNATURE=y (fixed in rockchip/for-next, solves multiple problems mentioned in v1. Thanks Jonas!).
- Remove spl-boot-order from rk3399-rock-pi-4a-u-boot.dtsi (suggested by Jonas K).
- Enable CONFIG_SPI_FLASH_SFDP_SUPPORT=y (suggested by Jonas K).
- v1: https://lists.denx.de/pipermail/u-boot/2024-March/547173.html

Christopher Obbard (2):
arm: rockchip: sync ROCK Pi 4A DTS from Linux
rockchip: rock-pi-4-rk3399: enable booting from SPI flash

 arch/arm/dts/rk3399-rock-pi-4a-u-boot.dtsi |  7 +++++++
 arch/arm/dts/rk3399-rock-pi-4a.dts         | 10 ++++++++++
 configs/rock-pi-4-rk3399_defconfig         | 17 ++++++++++++++---
 3 files changed, 31 insertions(+), 3 deletions(-)
Signature · 1 line
2.43.0