configs/nexbox_a95x_defconfig: bump to kernel 5.10.12
authorPeter Korsgaard <peter@korsgaard.com>
Tue, 2 Feb 2021 10:05:08 +0000 (11:05 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 4 Feb 2021 17:15:09 +0000 (18:15 +0100)
The mmc probing order has changed since commit 21b2cec61c04bd1 (mmc: Set
PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.4), so get rid of
the hardcoded root=/dev/mmcblk1p2.  The old vendor U-Boot unfortunately does
not have GPT support, so stick to MBR and use the legacy
root=PARTUUID=<disksignature>-<partition> format and set a fixed disk
signature, similar to how it was done for orangepi-r1 in commit 34cce93adb
(configs/orangepi_r1_defconfig: bump kernel to 5.10.10, u-boot to 2020.10).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
board/nexbox/a95x/boot.txt
board/nexbox/a95x/genimage.cfg
configs/nexbox_a95x_defconfig

index f388ba814ab940d6919308d67e4ffbd5c9b1a791..eef1c8ca55c0f8728dcc4754f7223825f056b324 100644 (file)
@@ -1,4 +1,4 @@
-setenv bootargs console=ttyAML0,115200 earlyprintk root=/dev/mmcblk1p2 rootwait
+setenv bootargs console=ttyAML0,115200 earlyprintk root=PARTUUID=feedc0de-02 rootwait
 
 fatload mmc 0:1 0x01080000 uImage
 
index 74e2d3a6f9e844f76c597efdcf2e9a2e450c1cf5..63b96107c9615a4f2db3d7a183897ebda5865c9f 100644 (file)
@@ -12,6 +12,8 @@ image boot.vfat {
 
 image sdcard.img {
        hdimage {
+               # for root=PARTUUID support
+               disk-signature = 0xfeedc0de
        }
 
        partition boot {
index 4820d47d52369bafdba89b2df4ba00f2e9ef1eb2..69f8b9078f2e91e227a371314f54d28500e2759b 100644 (file)
@@ -1,13 +1,13 @@
 BR2_aarch64=y
 BR2_cortex_a53=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
 BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
 BR2_SYSTEM_DHCP="eth0"
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/nexbox/a95x/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/nexbox/a95x/post-image.sh"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.8"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.12"
 BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="amlogic/meson-gxbb-nexbox-a95x amlogic/meson-gxl-s905x-nexbox-a95x"