From: Hiroyuki Ishii Date: Thu, 9 Sep 2021 01:43:22 +0000 (+0900) Subject: raspberrypi: Upgrade to u-boot v2021.07 for latest 4B boards X-Git-Tag: 12.1.0~14 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=7728bfe4d6431c835b9f3f32b8c952b027701795;p=AGL%2Fmeta-agl.git raspberrypi: Upgrade to u-boot v2021.07 for latest 4B boards The latest revision (1.4) of raspberry pi 4B board can't be boot by using current version of u-boot with showing "No partition table" message. This can be related to the change of DMA hardware on the new SoC (2711ZPKFSB06C0T) and we've confirmed upgrading u-boot to newer version than 2021.04 which has several fixes around Broadcom's DMA solves the issue. Also, we'd like to choice 2021.07 rather than 2021.04 since it's going to be supported for longer in yocto project. Bug-AGL: SPEC-4072 Signed-off-by: Hiroyuki Ishii Signed-off-by: Jan-Simon Moeller Change-Id: I0f396611cb76230dd91c6d42b9f2a7cfb92909df Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26664 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Scott Murray --- diff --git a/meta-agl-bsp/conf/include/agl_raspberrypi4.inc b/meta-agl-bsp/conf/include/agl_raspberrypi4.inc index e590cb2f9..0d263f421 100644 --- a/meta-agl-bsp/conf/include/agl_raspberrypi4.inc +++ b/meta-agl-bsp/conf/include/agl_raspberrypi4.inc @@ -30,6 +30,6 @@ IMAGE_INSTALL_append = " ${@bb.utils.contains('AGL_XEN_WANTED', '1', 'xen-tools # Add xen-raspberry binary to boot files IMAGE_BOOT_FILES_append = " ${@bb.utils.contains('AGL_XEN_WANTED','1', 'xen-${MACHINE}', '',d)}" -PREFERRED_VERSION_u-boot = "2020.10" -PREFERRED_VERSION_u-boot-tools = "2020.10" +PREFERRED_VERSION_u-boot = "2021.07" +PREFERRED_VERSION_u-boot-tools = "2021.07" UBOOT_MACHINE_rpi = "rpi_arm64_config" diff --git a/meta-agl-bsp/meta-raspberrypi/recipes-bsp/u-boot/u-boot-2021.07.inc b/meta-agl-bsp/meta-raspberrypi/recipes-bsp/u-boot/u-boot-2021.07.inc new file mode 100644 index 000000000..abf7474c9 --- /dev/null +++ b/meta-agl-bsp/meta-raspberrypi/recipes-bsp/u-boot/u-boot-2021.07.inc @@ -0,0 +1,3 @@ +SRC_URI = "git://git.denx.de/u-boot.git" +SRCREV = "840658b093976390e9537724f802281c9c8439f5" +LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025" diff --git a/meta-agl-bsp/meta-raspberrypi/recipes-bsp/u-boot/u-boot-tools_2021.07.bb b/meta-agl-bsp/meta-raspberrypi/recipes-bsp/u-boot/u-boot-tools_2021.07.bb new file mode 100644 index 000000000..a963d3fff --- /dev/null +++ b/meta-agl-bsp/meta-raspberrypi/recipes-bsp/u-boot/u-boot-tools_2021.07.bb @@ -0,0 +1,2 @@ +require recipes-bsp/u-boot/u-boot-tools_2020.01.bb +require u-boot-2021.07.inc diff --git a/meta-agl-bsp/meta-raspberrypi/recipes-bsp/u-boot/u-boot_2021.07.bb b/meta-agl-bsp/meta-raspberrypi/recipes-bsp/u-boot/u-boot_2021.07.bb new file mode 100644 index 000000000..2077262a3 --- /dev/null +++ b/meta-agl-bsp/meta-raspberrypi/recipes-bsp/u-boot/u-boot_2021.07.bb @@ -0,0 +1,2 @@ +require recipes-bsp/u-boot/u-boot_2020.01.bb +require u-boot-2021.07.inc