From e19dd76a2bdcf5b0885f1c947f4758bb7321e835 Mon Sep 17 00:00:00 2001 From: Mirza Krak Date: Fri, 29 Nov 2019 19:48:00 +0000 Subject: [PATCH 1/4] Raspberry Pi 3: Update U-Boot to 2019.01 Changelog: Title Signed-off-by: Mirza Krak --- configs/raspberrypi3_config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/raspberrypi3_config b/configs/raspberrypi3_config index cce6d89..d2a3c40 100644 --- a/configs/raspberrypi3_config +++ b/configs/raspberrypi3_config @@ -1,7 +1,7 @@ # Binaries generated with the following script: # -# https://d1b0l86ne08fsf.cloudfront.net/mender-convert/raspberrypi/raspberrypi-integration-scripts.tar.gz -RASPBERRYPI_BINARIES="raspberrypi3-integration-2018.07.002.tar.gz" +# https://github.com/drewmoseley/mender-convert-integration-scripts/blob/master/build-uboot-rpi.shraspberrypi-integration-scripts.tar.gz +RASPBERRYPI_BINARIES="raspberrypi3-integration-2019.01.tar.gz" RASPBERRYPI_KERNEL_IMAGE="kernel7.img" MENDER_KERNEL_IMAGETYPE="zImage" From e97a1ede1fcbbb59c69055d33d61b5d8faa28ecb Mon Sep 17 00:00:00 2001 From: Mirza Krak Date: Fri, 29 Nov 2019 19:48:45 +0000 Subject: [PATCH 2/4] Raspberry Pi 0 WiFi: Update U-Boot to 2019.01 Changelog: Title Signed-off-by: Mirza Krak --- configs/raspberrypi0w_config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/raspberrypi0w_config b/configs/raspberrypi0w_config index 7f1ccab..e4dd478 100644 --- a/configs/raspberrypi0w_config +++ b/configs/raspberrypi0w_config @@ -1,7 +1,7 @@ # Binaries generated with the following script: # # https://github.com/drewmoseley/mender-convert-integration-scripts/blob/master/build-uboot-rpi.sh -RASPBERRYPI_BINARIES="raspberrypi0w-integration-2018.07.003.tar.gz" +RASPBERRYPI_BINARIES="raspberrypi0w-integration-2019.01.tar.gz" RASPBERRYPI_KERNEL_IMAGE="kernel.img" MENDER_KERNEL_IMAGETYPE=zImage From d095af3705c28449b296d1b7a3d625c1e83b81ad Mon Sep 17 00:00:00 2001 From: Mirza Krak Date: Fri, 29 Nov 2019 19:49:08 +0000 Subject: [PATCH 3/4] Raspberry Pi: Add U-Boot version to image boot partition Changelog: Title Signed-off-by: Mirza Krak --- configs/raspberrypi_config | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/raspberrypi_config b/configs/raspberrypi_config index 655fc34..f3951f6 100644 --- a/configs/raspberrypi_config +++ b/configs/raspberrypi_config @@ -64,6 +64,7 @@ function platform_modify() { run_and_log_cmd "sudo cp work/rpi/binaries/u-boot.bin work/boot/${RASPBERRYPI_BOOTLOADER_IMAGE}" run_and_log_cmd "sudo cp work/rpi/binaries/boot.scr work/boot" run_and_log_cmd "sudo cp work/rpi/binaries/fw_env.config work/rootfs/etc/" + run_and_log_cmd "sudo cp work/rpi/binaries/uboot-git-log.txt work/boot" # Raspberry Pi applications expect to find this on the device and in some # cases parse the options to determinate functionality. From 20308d4bb8820fb5ba9a571ce439fc006ddafbcf Mon Sep 17 00:00:00 2001 From: Mirza Krak Date: Fri, 29 Nov 2019 19:49:32 +0000 Subject: [PATCH 4/4] Add support for Raspberry Pi 4 Model B Changelog: Title Signed-off-by: Mirza Krak --- configs/raspberrypi4_config | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 configs/raspberrypi4_config diff --git a/configs/raspberrypi4_config b/configs/raspberrypi4_config new file mode 100644 index 0000000..299b87f --- /dev/null +++ b/configs/raspberrypi4_config @@ -0,0 +1,8 @@ +# Binaries generated with the following script: +# +# https://github.com/drewmoseley/mender-convert-integration-scripts/blob/master/build-uboot-rpi.shraspberrypi-integration-scripts.tar.gz +RASPBERRYPI_BINARIES="raspberrypi4-integration-2019.01.tar.gz" +RASPBERRYPI_KERNEL_IMAGE="kernel7l.img" +MENDER_KERNEL_IMAGETYPE="zImage" + +source configs/raspberrypi_config