Add Rockchip u-boot "binman" BOOT_SCENARIO (#7505)

* rockchip64: add `BOOT_SCENARIO=binman` for mainline u-boot

- drop special handling for 3308's `legacy` branch
- rpardini: note how SPI/mtd is not yet supported for this scenario

Co-authored-by: Ricardo Pardini <ricardo@pardini.net> (squash/splits, shellfmt)

* `rock-s0`/`rockpi-s`: use `BOOT_SCENARIO=binman`; move blobs to armbian/rkbin

- Move rk3308 boot blobs to armbian/rkbin
  - delete obsolete ones
- Alter rock-s0 and rockpi-s to use the new "binman" BOOT_SCENARIO

Co-authored-by: Ricardo Pardini <ricardo@pardini.net> (shellfmt; small fixes; squashes)
This commit is contained in:
brentr
2024-11-22 23:31:39 -08:00
committed by GitHub
parent cc4513958f
commit fc54623c4a
6 changed files with 149 additions and 121 deletions

View File

@@ -0,0 +1,42 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Brent Roman <genosenosor@gmail.com>
Date: Sat, 16 Nov 2024 20:50:41 -0800
Subject: Ensure Rock S0 v1.1 boards u-boot SPL can access MMC card
Signed-off-by: Brent Roman <genosenosor@gmail.com>
---
arch/arm/dts/rk3308-rock-s0-u-boot.dtsi | 15 ++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/dts/rk3308-rock-s0-u-boot.dtsi b/arch/arm/dts/rk3308-rock-s0-u-boot.dtsi
index 84ca2ee0d5..c0d7f7b651 100644
--- a/arch/arm/dts/rk3308-rock-s0-u-boot.dtsi
+++ b/arch/arm/dts/rk3308-rock-s0-u-boot.dtsi
@@ -5,10 +5,25 @@
&emmc_pwren {
bootph-pre-ram;
bootph-some-ram;
};
+&pcfg_pull_down {
+ bootph-pre-ram;
+ bootph-some-ram;
+};
+
+&sdmmc {
+ pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_det &sdmmc_pwren &sdmmc_bus4>;
+};
+
+&sdmmc_pwren {
+ bootph-pre-ram;
+ bootph-some-ram;
+ rockchip,pins = <4 RK_PD6 0 &pcfg_pull_down>;
+};
+
&uart0 {
bootph-all;
clock-frequency = <24000000>;
};
--
Created with Armbian build tools https://github.com/armbian/build