Convert Lichee Pi 4A to use S-Mode proper U-Boot
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | riscv: cpu: th1520: Build spl.c for SPL onlyarch/ | +1 | 1 reply | |
| 2/5 | riscv: cpu: th1520: Support cache enabling/disabling in M mode onlyarch/ | +2 | 1 reply | |
| 3/5 | riscv: dts: th1520: Prepare binman configuration for loading OpenSBIarch/ | +28 | 1 reply | |
| 4/5 | board: thead: licheepi4a: Run proper U-Boot in S-Modeconfigs/ | +1 | 1 reply | |
| 5/5 | doc: thead: lpi4a: Update for S-Mode proper U-Boot supportdoc/ | +36 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Leo Yu-Chi Liang | Tom Plant | Ricardo B. Marlière |
|---|---|---|---|
| Series | T-b | T-b | |
| 1/5 | R-b | ||
| 2/5 | R-b | ||
| 3/5 | R-b | ||
| 4/5 | R-b | ||
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/5] Convert Lichee Pi 4A to use S-Mode proper U-Boot
RISC-V software usually expects that HARTs are running under S mode when leaving the firmware, for example, the UEFI specification explicitly states requirements for S mode.
This series separates M-mode-only code for TH1520 port out, and configures binman to pack the OpenSBI firmware to initialize the S-mode environment. Then S-mode proper U-Boot is enabled on our Lichee Pi 4A port.
Note that booting on Lichee Pi 4A is broken between PATCH 3 and 4, affecting bisectability. Considering TH1520 port is still in an early stage and separating the changes make the commit cleaner, I personally consider it's acceptable.
Yao Zi (5):
riscv: cpu: th1520: Build spl.c for SPL only
riscv: cpu: th1520: Support cache enabling/disabling in M mode only
riscv: dts: th1520: Prepare binman configuration for loading OpenSBI
board: thead: licheepi4a: Run proper U-Boot in S-Mode
doc: thead: lpi4a: Update for S-Mode proper U-Boot support
arch/riscv/cpu/th1520/Makefile | 2 +- arch/riscv/cpu/th1520/cache.c | 2 + arch/riscv/dts/thead-th1520-binman.dtsi | 32 +++++- configs/th1520_lpi4a_defconfig | 1 + doc/board/thead/lpi4a.rst | 125 +++++++----------------- 5 files changed, 68 insertions(+), 94 deletions(-)
Signature · 1 line
2.49.0