Skip to contentSkip to conversation

rockchip: dts: rk3328: rock64: Add same-as-spl order

PATCH New Emmanuel Vadot 3 participants 4 messages Oct 8, 2019 – Oct 14, 2019 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rockchip: dts: rk3328: rock64: Add same-as-spl order

rk3328 can use same-as-spl option so next loaders are loaded from the same medium.
Add the boot order in the rock64 dts otherwise booting from sdcard will result in u-boot looking into the eMMC.

---
 arch/arm/dts/rk3328-rock64-u-boot.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm/dts/rk3328-rock64-u-boot.dtsi +5 -0
index 1d441f7124..e5946d2d2d 100644
@@ -5,6 +5,11 @@
 
 #include "rk3328-u-boot.dtsi"
 #include "rk3328-sdram-lpddr3-1600.dtsi"
+/ {
+	chosen {
+		u-boot,spl-boot-order = "same-as-spl", &sdmmc, &emmc;
+	};
+};
 
 &usb_host0_xhci {
 	status = "okay";
Signature · 1 line
2.22.0
#1 lore raw

PATCH 1/1 rockchip: dts: rk3328: rock64: Add same-as-spl order

Quoted 7 lines · Emmanuel Vadot

rk3328 can use same-as-spl option so next loaders are loaded from the same medium.
Add the boot order in the rock64 dts otherwise booting from sdcard will result in u-boot looking into the eMMC.

Tested on Rock64 device.

Quoted 27 lines
---
 arch/arm/dts/rk3328-rock64-u-boot.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm/dts/rk3328-rock64-u-boot.dtsi +5 -1
index 1d441f7124..e5946d2d2d 100644
@@ -5,6 +5,11 @@
 
 #include "rk3328-u-boot.dtsi"
 #include "rk3328-sdram-lpddr3-1600.dtsi"
+/ {
+       chosen {
+               u-boot,spl-boot-order = "same-as-spl", &sdmmc, &emmc;
+       };
+};
 
 &usb_host0_xhci {
        status = "okay";
--

2.22.0

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://lists.denx.de/listinfo/u-boot

#2 lore raw

PATCH 1/1 rockchip: dts: rk3328: rock64: Add same-as-spl order【请注意,邮件由[email protected]代发】 order

In reply to Emmanuel Vadot
Quoted 6 lines · Emmanuel Vadot

rk3328 can use same-as-spl option so next loaders are loaded from the same medium.
Add the boot order in the rock64 dts otherwise booting from sdcard will result in u-boot looking into the eMMC.

Thanks,
- Kever

Quoted 20 lines
---
  arch/arm/dts/rk3328-rock64-u-boot.dtsi | 5 +++++
  1 file changed, 5 insertions(+)
arch/arm/dts/rk3328-rock64-u-boot.dtsi +5 -0
index 1d441f7124..e5946d2d2d 100644
@@ -5,6 +5,11 @@
 
  #include "rk3328-u-boot.dtsi"
  #include "rk3328-sdram-lpddr3-1600.dtsi"
+/ {
+	chosen {
+		u-boot,spl-boot-order = "same-as-spl", &sdmmc, &emmc;
+	};
+};
 
  &usb_host0_xhci {
  	status = "okay";
#3 lore raw

PATCH 1/1 rockchip: dts: rk3328: rock64: Add same-as-spl order【请注意,邮件由[email protected]代发】 order

Quoted 8 lines · Kever Yang
Quoted 6 lines · Emmanuel Vadot

rk3328 can use same-as-spl option so next loaders are loaded from the same
medium.
Add the boot order in the rock64 dts otherwise booting from sdcard will result in u-boot looking into the eMMC.

Quoted 5 lines
Quoted 1 line

Applied to u-boot-rockchip master.

Quoted 28 lines

Thanks,
- Kever

Quoted 10 lines

---
  arch/arm/dts/rk3328-rock64-u-boot.dtsi | 5 +++++

  1 file changed, 5 insertions(+)
arch/arm/dts/rk3328-rock64-u-boot.dtsi +0 -0
index 1d441f7124..e5946d2d2d 100644

arch/arm/dts/rk3328-rock64-u-boot.dtsi line 13

Quoted 9 lines
arch/arm/dts/rk3328-rock64-u-boot.dtsi +5 -0
@@ -5,6 +5,11 @@
     #include "rk3328-u-boot.dtsi"
   #include "rk3328-sdram-lpddr3-1600.dtsi"
+/ {
+    chosen {
+        u-boot,spl-boot-order = "same-as-spl", &sdmmc, &emmc;
+    };
+};
     &usb_host0_xhci {
       status = "okay";

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://lists.denx.de/listinfo/u-boot