Skip to contentSkip to conversation

configs: rockchip: add DOS_PARTITION to RK3308 boards defconfig

PATCH In review Massimo Pegorer 2 participants 5 messages Sep 2, 2023 – Oct 7, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 configs: rockchip: add DOS_PARTITION to RK3308 boards defconfig

Without DOS_PARTITION support U-Boot is not able to boot an OS stored into an SD card with MBR partitions table. This is still a quite common case, so add DOS_PARTITION (only for U-Boot proper build) to Rockchip RK3308 EVB and Firefly roc-rk3308-cc board: they are the only RK boards missing of DOS_PARTITION.

---
 configs/evb-rk3308_defconfig    | 2 +-
 configs/roc-cc-rk3308_defconfig | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
configs/evb-rk3308_defconfig +1 -1
index a13a809c1e..c6472a2c9c 100644
@@ -47,7 +47,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_SLEEP is not set
-# CONFIG_DOS_PARTITION is not set
+# CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_ISO_PARTITION is not set
 CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=64
 CONFIG_SPL_OF_CONTROL=y
configs/roc-cc-rk3308_defconfig +1 -1
index 9a789b212f..ca92b8f744 100644
@@ -47,7 +47,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_SLEEP is not set
-# CONFIG_DOS_PARTITION is not set
+# CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_ISO_PARTITION is not set
 CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=64
 CONFIG_SPL_OF_CONTROL=y
Signature · 1 line
2.34.1
#1 lore raw

Hi Massimo,

    This patch is fine to me, but you can merge these two patch into one, because they

are all rk3308 boards.

    And if you have more than one patch, it'd better to use --in-reply-to for follow up patches

so that the mail system know this is a patch set and grab them together.

Thanks,

- Kever

Quoted 38 lines · Massimo Pegorer

Without DOS_PARTITION support U-Boot is not able to boot an OS stored into an SD card with MBR partitions table. This is still a quite common case, so add DOS_PARTITION (only for U-Boot proper build) to Rockchip RK3308 EVB and Firefly roc-rk3308-cc board: they are the only RK boards missing of DOS_PARTITION.

---
  configs/evb-rk3308_defconfig    | 2 +-
  configs/roc-cc-rk3308_defconfig | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
configs/evb-rk3308_defconfig +1 -1
index a13a809c1e..c6472a2c9c 100644
@@ -47,7 +47,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y
  # CONFIG_CMD_ITEST is not set
  # CONFIG_CMD_SETEXPR is not set
  # CONFIG_CMD_SLEEP is not set
-# CONFIG_DOS_PARTITION is not set
+# CONFIG_SPL_DOS_PARTITION is not set
  # CONFIG_ISO_PARTITION is not set
  CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=64
  CONFIG_SPL_OF_CONTROL=y
configs/roc-cc-rk3308_defconfig +1 -1
index 9a789b212f..ca92b8f744 100644
@@ -47,7 +47,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y
  # CONFIG_CMD_ITEST is not set
  # CONFIG_CMD_SETEXPR is not set
  # CONFIG_CMD_SLEEP is not set
-# CONFIG_DOS_PARTITION is not set
+# CONFIG_SPL_DOS_PARTITION is not set
  # CONFIG_ISO_PARTITION is not set
  CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=64
  CONFIG_SPL_OF_CONTROL=y
#2 lore raw

Hi Kever,

Il giorno mer 27 set 2023 alle ore 05:10 Kever Yang <[email protected]> ha scritto:

Quoted 7 lines

Hi Massimo,

This patch is fine to me, but you can merge these two patch into
one, because they

are all rk3308 boards.

OK, I will merge them in a single v2 patch. Thanks.

I had split them because I had chance to test it only on rock-pi-s, so I was not sure everybody would have agreed to change also evb and firefly boards defconfigs.

Regards,
Massimo

Quoted 50 lines

And if you have more than one patch, it'd better to use
--in-reply-to for follow up patches

so that the mail system know this is a patch set and grab them together.

Thanks,

- Kever

Quoted 38 lines · Massimo Pegorer

Without DOS_PARTITION support U-Boot is not able to boot an OS stored into an SD card with MBR partitions table. This is still a quite common case, so add DOS_PARTITION (only for U-Boot proper build) to Rockchip RK3308 EVB and Firefly roc-rk3308-cc board: they are the only RK boards missing of DOS_PARTITION.

---
  configs/evb-rk3308_defconfig    | 2 +-
  configs/roc-cc-rk3308_defconfig | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
configs/evb-rk3308_defconfig +1 -1
index a13a809c1e..c6472a2c9c 100644
@@ -47,7 +47,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y
  # CONFIG_CMD_ITEST is not set
  # CONFIG_CMD_SETEXPR is not set
  # CONFIG_CMD_SLEEP is not set
-# CONFIG_DOS_PARTITION is not set
+# CONFIG_SPL_DOS_PARTITION is not set
  # CONFIG_ISO_PARTITION is not set
  CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=64
  CONFIG_SPL_OF_CONTROL=y
configs/roc-cc-rk3308_defconfig +1 -1
index 9a789b212f..ca92b8f744 100644
@@ -47,7 +47,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y
  # CONFIG_CMD_ITEST is not set
  # CONFIG_CMD_SETEXPR is not set
  # CONFIG_CMD_SLEEP is not set
-# CONFIG_DOS_PARTITION is not set
+# CONFIG_SPL_DOS_PARTITION is not set
  # CONFIG_ISO_PARTITION is not set
  CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=64
  CONFIG_SPL_OF_CONTROL=y
#3 lore raw

PATCH v2 1/1 configs: rockchip: add DOS_PARTITION to RK3308 boards defconfig

In reply to Massimo Pegorer

Without DOS_PARTITION support U-Boot is not able to boot an OS stored into an SD card with MBR partitions table. This is still a quite common case so add DOS_PARTITION (only for U-Boot proper build) to Rockchip RK3308 EVB, Radxa ROCK Pi S and Firefly roc-rk3308-cc boards: they are the only RK boards missing of DOS_PARTITION.

---
 configs/evb-rk3308_defconfig       | 2 +-
 configs/roc-cc-rk3308_defconfig    | 2 +-
 configs/rock-pi-s-rk3308_defconfig | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
configs/evb-rk3308_defconfig +1 -1
index a13a809c1e..c6472a2c9c 100644
@@ -47,7 +47,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_SLEEP is not set
-# CONFIG_DOS_PARTITION is not set
+# CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_ISO_PARTITION is not set
 CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=64
 CONFIG_SPL_OF_CONTROL=y
configs/roc-cc-rk3308_defconfig +1 -1
index 9a789b212f..ca92b8f744 100644
@@ -47,7 +47,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_SLEEP is not set
-# CONFIG_DOS_PARTITION is not set
+# CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_ISO_PARTITION is not set
 CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=64
 CONFIG_SPL_OF_CONTROL=y
configs/rock-pi-s-rk3308_defconfig +1 -1
index cc3274a98b..1c1fdc6611 100644
@@ -48,7 +48,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_SLEEP is not set
-# CONFIG_DOS_PARTITION is not set
+# CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_ISO_PARTITION is not set
 CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=64
 CONFIG_SPL_OF_CONTROL=y
Signature · 1 line
2.34.1
Reviewed-by on v2 1/1
#4 lore raw
Quoted 8 lines · Massimo Pegorer

Without DOS_PARTITION support U-Boot is not able to boot an OS stored into an SD card with MBR partitions table. This is still a quite common case so add DOS_PARTITION (only for U-Boot proper build) to Rockchip RK3308 EVB, Radxa ROCK Pi S and Firefly roc-rk3308-cc boards: they are the only RK boards missing of DOS_PARTITION.

Thanks,
- Kever

Quoted 45 lines
---
  configs/evb-rk3308_defconfig       | 2 +-
  configs/roc-cc-rk3308_defconfig    | 2 +-
  configs/rock-pi-s-rk3308_defconfig | 2 +-
  3 files changed, 3 insertions(+), 3 deletions(-)
configs/evb-rk3308_defconfig +1 -1
index a13a809c1e..c6472a2c9c 100644
@@ -47,7 +47,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y
  # CONFIG_CMD_ITEST is not set
  # CONFIG_CMD_SETEXPR is not set
  # CONFIG_CMD_SLEEP is not set
-# CONFIG_DOS_PARTITION is not set
+# CONFIG_SPL_DOS_PARTITION is not set
  # CONFIG_ISO_PARTITION is not set
  CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=64
  CONFIG_SPL_OF_CONTROL=y
configs/roc-cc-rk3308_defconfig +1 -1
index 9a789b212f..ca92b8f744 100644
@@ -47,7 +47,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y
  # CONFIG_CMD_ITEST is not set
  # CONFIG_CMD_SETEXPR is not set
  # CONFIG_CMD_SLEEP is not set
-# CONFIG_DOS_PARTITION is not set
+# CONFIG_SPL_DOS_PARTITION is not set
  # CONFIG_ISO_PARTITION is not set
  CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=64
  CONFIG_SPL_OF_CONTROL=y
configs/rock-pi-s-rk3308_defconfig +1 -1
index cc3274a98b..1c1fdc6611 100644
@@ -48,7 +48,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y
  # CONFIG_CMD_ITEST is not set
  # CONFIG_CMD_SETEXPR is not set
  # CONFIG_CMD_SLEEP is not set
-# CONFIG_DOS_PARTITION is not set
+# CONFIG_SPL_DOS_PARTITION is not set
  # CONFIG_ISO_PARTITION is not set
  CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=64
  CONFIG_SPL_OF_CONTROL=y