Support loading correct DTB for RPi 3 model B+

U-Boot sets the variable fdtfile to the correct file name for the
detected hardware revision. Use this in the boot script to load either
the 3-b or 3-b-plus DTB

Signed-off-by: Richard Connon <richard@connon.me.uk>
This commit is contained in:
Richard Connon
2019-05-26 10:05:10 +01:00
parent b97f47b0aa
commit 5ffbfbbf67
3 changed files with 7 additions and 7 deletions

View File

@@ -24,8 +24,7 @@ RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
# u-boot compile. The patch is needed to handle larger kernels
ENV UBOOT_COMMIT=v2019.04
COPY u-boot.patch .
RUN git clone -b $UBOOT_COMMIT --depth 1 https://github.com/u-boot/u-boot.git && \
cd /u-boot
RUN git clone -b $UBOOT_COMMIT --depth 1 https://github.com/u-boot/u-boot.git
WORKDIR /u-boot
RUN patch -p 1 < /u-boot.patch && \
make rpi_3_defconfig all && \