Browse Source

MEN-2794: Adjust the expected S3 locations for the binaries

The S3 path now follows the pattern:
/mender/mender-convert/uboot/<dev-family>/<dev-config>-<uboot-ver>.tar

For RPi and BBB these are automatically published form the CI Pipeline
of repo mender-convert-integration-scripts while for RockPro64 they have
been manually moved (as we expect this to be a one time integration).

Reworked a bit also the *_BINARIES variable so that we can keep the
u-boot version in the base config files and let the childs only define
the a config name.

Changelog: None

Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
2.0.x
Lluis Campos 5 years ago
parent
commit
68b91cbeb2
  1. 7
      configs/beaglebone_black_base_config
  2. 7
      configs/beaglebone_black_debian_emmc_config
  3. 6
      configs/beaglebone_black_debian_sdcard_config
  4. 5
      configs/raspberrypi0w_config
  5. 5
      configs/raspberrypi3_config
  6. 5
      configs/raspberrypi4_config
  7. 6
      configs/raspberrypi_config
  8. 6
      configs/rockpro64_config
  9. 6
      configs/rockpro64_emmc_config
  10. 5
      configs/rockpro64_sd_config

7
configs/beaglebone_black_base_config

@ -1,7 +1,5 @@
# Binaries generated with the following script:
#
# https://github.com/drewmoseley/mender-convert-integration-scripts/blob/master/build-uboot-bbb.sh
#
# https://github.com/mendersoftware/mender-convert-integration-scripts/blob/master/build-uboot-bbb.sh
# There are reported issues with GRUB bootloader integration, fallback to U-boot.
MENDER_GRUB_EFI_INTEGRATION=n
@ -12,7 +10,8 @@ MENDER_COPY_BOOT_GAP=n
# 4MB alignment
MENDER_PARTITION_ALIGNMENT="4194304"
BEAGLEBONE_BLACK_BINARIES_URL="${MENDER_STORAGE_URL}/mender-convert/beaglebone/${BEAGLEBONE_BLACK_BINARIES}"
BEAGLEBONE_BLACK_BINARIES="${BEAGLEBONE_BLACK_CONFIG}-2018.07.004.tar"
BEAGLEBONE_BLACK_BINARIES_URL="${MENDER_STORAGE_URL}/mender-convert/uboot/beaglebone/${BEAGLEBONE_BLACK_BINARIES}"
function platform_modify() {
mkdir -p work/bbb/binaries

7
configs/beaglebone_black_debian_emmc_config

@ -1,8 +1,7 @@
# Binaries generated with the following script:
#
# https://github.com/drewmoseley/mender-convert-integration-scripts/blob/master/build-uboot-bbb.sh
#
BEAGLEBONE_BLACK_BINARIES="beaglebone-black-integration-debian-emmc-2018.07.004.tar"
# https://github.com/mendersoftware/mender-convert-integration-scripts/blob/master/build-uboot-bbb.sh
BEAGLEBONE_BLACK_CONFIG="beaglebone_black_debian_emmc"
source configs/beaglebone_black_base_config
MENDER_STORAGE_TOTAL_SIZE_MB="3648"
MENDER_DEVICE_TYPE="beaglebone-emmc"

6
configs/beaglebone_black_debian_sdcard_config

@ -1,8 +1,4 @@
# Binaries generated with the following script:
#
# https://github.com/drewmoseley/mender-convert-integration-scripts/blob/master/build-uboot-bbb.sh
#
BEAGLEBONE_BLACK_BINARIES="beaglebone-black-integration-debian-sdcard-2018.07.004.tar"
BEAGLEBONE_BLACK_CONFIG="beaglebone_black_debian_sdcard"
source configs/beaglebone_black_base_config
MENDER_DEVICE_TYPE="beaglebone-sdcard"
MENDER_STORAGE_DEVICE="/dev/mmcblk0p"

5
configs/raspberrypi0w_config

@ -1,7 +1,4 @@
# Binaries generated with the following script:
#
# https://github.com/drewmoseley/mender-convert-integration-scripts/blob/master/build-uboot-rpi.sh
RASPBERRYPI_BINARIES="raspberrypi0w-integration-2019.01.tar.gz"
RASPBERRYPI_CONFIG="raspberrypi0w"
RASPBERRYPI_KERNEL_IMAGE="kernel.img"
MENDER_KERNEL_IMAGETYPE=zImage

5
configs/raspberrypi3_config

@ -1,7 +1,4 @@
# 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="raspberrypi3-integration-2019.01.tar.gz"
RASPBERRYPI_CONFIG="raspberrypi3"
RASPBERRYPI_KERNEL_IMAGE="kernel7.img"
MENDER_KERNEL_IMAGETYPE="zImage"

5
configs/raspberrypi4_config

@ -1,7 +1,4 @@
# 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_CONFIG="raspberrypi4"
RASPBERRYPI_KERNEL_IMAGE="kernel7l.img"
MENDER_KERNEL_IMAGETYPE="zImage"

6
configs/raspberrypi_config

@ -1,3 +1,6 @@
# Binaries generated with the following script:
# https://github.com/mendersoftware/mender-convert-integration-scripts/blob/master/build-uboot-rpi.sh
# Raspberry Pi does not support GRUB bootloader integration, fallback to U-boot.
MENDER_GRUB_EFI_INTEGRATION=n
@ -7,7 +10,8 @@ MENDER_COPY_BOOT_GAP=n
# 4MB alignment
MENDER_PARTITION_ALIGNMENT="4194304"
RASPBERRYPI_BINARIES_URL="${MENDER_STORAGE_URL}/mender-convert/raspberrypi/${RASPBERRYPI_BINARIES}"
RASPBERRYPI_BINARIES="${RASPBERRYPI_CONFIG}-2019.01.tar.gz"
RASPBERRYPI_BINARIES_URL="${MENDER_STORAGE_URL}/mender-convert/uboot/raspberrypi/${RASPBERRYPI_BINARIES}"
function platform_modify() {
mkdir -p work/rpi/binaries

6
configs/rockpro64_config

@ -1,10 +1,14 @@
# Binaries generated with the following script:
# https://d1b0l86ne08fsf.cloudfront.net/mender-convert/uboot/rockpro64/integration-scripts.tar.gz
# ROCKPro64 do not support GRUB bootloader integration, fallback to U-boot.
MENDER_GRUB_EFI_INTEGRATION=n
# We will write a modified bootloader
MENDER_COPY_BOOT_GAP=n
ROCKPRO64_BINARIES_URL="${MENDER_STORAGE_URL}/mender-convert/armbian/rockpro64/${ROCKPRO64_BINARIES}"
ROCKPRO64_BINARIES="${ROCKPRO64_CONFIG}-2017.09.tar.gz"
ROCKPRO64_BINARIES_URL="${MENDER_STORAGE_URL}/mender-convert/uboot/rockpro64/${ROCKPRO64_BINARIES}"
function platform_modify() {
mkdir -p work/rockpro64

6
configs/rockpro64_emmc_config

@ -1,8 +1,4 @@
ROCKPRO64_CONFIG="rockpro64_emmc"
MENDER_STORAGE_DEVICE=/dev/mmcblk1p
# Binaries generated with the following script:
#
# https://d1b0l86ne08fsf.cloudfront.net/mender-convert/armbian/rockpro64/integration-scripts.tar.gz
ROCKPRO64_BINARIES="emmc-boot-integration-2017.09.tar.gz"
source configs/rockpro64_config

5
configs/rockpro64_sd_config

@ -1,6 +1,3 @@
# Binaries generated with the following script:
#
# https://d1b0l86ne08fsf.cloudfront.net/mender-convert/armbian/rockpro64/integration-scripts.tar.gz
ROCKPRO64_BINARIES="sd-boot-integration-2017.09.tar.gz"
ROCKPRO64_CONFIG="rockpro64_sd"
source configs/rockpro64_config

Loading…
Cancel
Save