Skip to contentSkip to conversation

Align Amarula Vyasa with latest U-Boot and Linux

PATCH New Giulio Benetti 2 participants 7 messages Apr 2, 2021 – Apr 3, 2021

lore
Share & tools
lore
#0 lore raw

cover Align Amarula Vyasa with latest U-Boot and Linux

This patchset bump to latest versions of U-Boot and Linux. It also set sd-card as bootable media where to search extlinux.conf.

Giulio Benetti (3):
configs/amarula_vyasa_rk3288: bump u-boot version to 2021.01 configs/amarula_vyasa_rk3288: vyasa: bump Linux version to 5.11 board/amarula/vyasa: set sd-card as boot media

 board/amarula/vyasa/extlinux.conf      | 2 +-
 configs/amarula_vyasa_rk3288_defconfig | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/3 configs/amarula_vyasa_rk3288: bump u-boot version to 2021.01

---
 configs/amarula_vyasa_rk3288_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/amarula_vyasa_rk3288_defconfig +1 -1
index 760ad3f9f4..3403589253 100644
@@ -10,7 +10,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.01"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.01"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="vyasa-rk3288"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
Signature · 1 line
2.25.1
#2 lore raw

PATCH 1/3 configs/amarula_vyasa_rk3288: bump u-boot version to 2021.01

Quoted 4 lines · On Sat, 3 Apr 2021 00:20:37 +0200 Giulio Benetti…
---
 configs/amarula_vyasa_rk3288_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw

PATCH 2/3 configs/amarula_vyasa_rk3288: vyasa: bump Linux version to 5.11

In reply to Giulio Benetti

Bump Linux and headers version to 5.11

---
 configs/amarula_vyasa_rk3288_defconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
configs/amarula_vyasa_rk3288_defconfig +3 -3
index 3403589253..3b12da077c 100644
@@ -3,8 +3,8 @@ BR2_arm=y
 BR2_cortex_a17=y
 BR2_ARM_FPU_NEON_VFPV4=y
 
-# Linux headers same as kernel, a 5.0 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y
+# Linux headers same as kernel, a 5.11 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_11=y
 
 # Bootloader
 BR2_TARGET_UBOOT=y
@@ -22,7 +22,7 @@ BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl-dtb.bin tpl/u-boot-tpl.bin"
 # Kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.11"
 BR2_LINUX_KERNEL_DEFCONFIG="multi_v7"
 BR2_LINUX_KERNEL_UIMAGE=y
 BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x02000000"
Signature · 1 line
2.25.1
#4 lore raw

PATCH 2/3 configs/amarula_vyasa_rk3288: vyasa: bump Linux version to 5.11

Quoted 6 lines · On Sat, 3 Apr 2021 00:20:38 +0200 Giulio Benetti…

Bump Linux and headers version to 5.11

---
 configs/amarula_vyasa_rk3288_defconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#5 lore raw

PATCH 3/3 board/amarula/vyasa: set sd-card as boot media

In reply to Giulio Benetti

I find easier to test using sd-card(mmcblk1p1) than eMMC(mmcblk0p1) to test this board. If needed one can swap back to mmcblk0p1 for using eMMC, or set a unique UUID for partition, so both sd-card or eMMC can be booted if that UUID partitions is found.

---
 board/amarula/vyasa/extlinux.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/amarula/vyasa/extlinux.conf +1 -1
index a8fcc35f5a..e7e12ab9bc 100644
@@ -1,4 +1,4 @@
 label Vyasa linux-next
   kernel /boot/uImage
   devicetree /boot/rk3288-vyasa.dtb
-  append console=ttyS2,115200n8 root=/dev/mmcblk0p1 rootwait
+  append console=ttyS2,115200n8 root=/dev/mmcblk1p1 rootwait
Signature · 1 line
2.25.1
#6 lore raw

PATCH 3/3 board/amarula/vyasa: set sd-card as boot media

Hi,

please drop this patch. Sd-card when jumper JP4 is closed makes eMMC not available, so sd-card will be registered as mmcblk0.

Thank you

Signature · 2 lines
Giulio Benetti
Benetti Engineering sas
Quoted 21 lines · Giulio Benetti

I find easier to test using sd-card(mmcblk1p1) than eMMC(mmcblk0p1) to test this board. If needed one can swap back to mmcblk0p1 for using eMMC, or set a unique UUID for partition, so both sd-card or eMMC can be booted if that UUID partitions is found.

---
  board/amarula/vyasa/extlinux.conf | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
board/amarula/vyasa/extlinux.conf +1 -1
index a8fcc35f5a..e7e12ab9bc 100644
@@ -1,4 +1,4 @@
  label Vyasa linux-next
    kernel /boot/uImage
    devicetree /boot/rk3288-vyasa.dtb
-  append console=ttyS2,115200n8 root=/dev/mmcblk0p1 rootwait
+  append console=ttyS2,115200n8 root=/dev/mmcblk1p1 rootwait