Skip to content

Commit

Permalink
u-boot: fix variable names in dockerfile
Browse files Browse the repository at this point in the history
Use better variable names for rpi5 firmware files

Signed-off-by: Dimitrios Poulios <[email protected]>
  • Loading branch information
dpoulios authored and rene committed Dec 17, 2024
1 parent ec4c8f1 commit cb623a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/u-boot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SHELL ["/bin/bash", "-eo", "pipefail", "-c"]
ENV VERSION v2024.10-rc2
ENV SOURCE_URL https://github.com/u-boot/u-boot/archive/${VERSION}.tar.gz
ENV RASPBERRY_FIRMWARE_BLOBS_VERSION 1.20211007
ENV RASPBERRY_FIRMWARE_BLOBS_VERSION2 1.20240306
ENV RASPBERRY_FIRMWARE_BLOBS_VERSION_RPI5 1.20240306
ENV RASPBERRY_FIRMWARE_BLOBS https://github.com/raspberrypi/firmware/raw/${RASPBERRY_FIRMWARE_BLOBS_VERSION}
ENV RASPBERRY_FIRMWARE_BLOBS2 https://github.com/raspberrypi/firmware/raw/${RASPBERRY_FIRMWARE_BLOBS_VERSION2}
ENV RASPBERRY_FIRMWARE_BLOBS_RPI5 https://github.com/raspberrypi/firmware/raw/${RASPBERRY_FIRMWARE_BLOBS_VERSION_RPI5}

# hadolint ignore=DL3020
ADD ${SOURCE_URL} /uboot.tar.gz
Expand Down Expand Up @@ -42,7 +42,7 @@ ADD ${RASPBERRY_FIRMWARE_BLOBS}/boot/start4.elf /tmp/rpi/start4.elf
# hadolint ignore=DL3020
ADD ${RASPBERRY_FIRMWARE_BLOBS}/boot/bcm2711-rpi-cm4.dtb /tmp/rpi/bcm2711-rpi-cm4.dtb
# hadolint ignore=DL3020
ADD ${RASPBERRY_FIRMWARE_BLOBS2}/boot/bcm2712-rpi-5-b.dtb /tmp/rpi/bcm2712-rpi-5-b.dtb
ADD ${RASPBERRY_FIRMWARE_BLOBS_RPI5}/boot/bcm2712-rpi-5-b.dtb /tmp/rpi/bcm2712-rpi-5-b.dtb
# hadolint ignore=DL3020,SC3060
RUN for i in /tmp/rpi/overlays/*.dts ; do \
dtc -@ -I dts -O dtb -o "${i/.dts/.dtbo}" "$i" && rm "$i" ;\
Expand Down

0 comments on commit cb623a9

Please sign in to comment.