packaging: Remove bootcode.bin from the boot image
authorJunghoon Kim <jhoon20.kim@samsung.com>
Fri, 27 Mar 2020 06:49:54 +0000 (15:49 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Tue, 30 Mar 2021 01:39:32 +0000 (10:39 +0900)
The RPI4 has an SPI-attached EEPROM, which contains code to boot up the
system and replaces bootcode.bin previously found in the boot partition
of the SD card. So, remove the unnecessary bootcode.bin from the rpi4
boot image.

Change-Id: I3a7a783ccdbf81e367eb8cbbd2ce49c248976385
Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
packaging/linux-rpi4.spec
rpi4/boot/bootcode.bin [deleted file]
scripts/mkbootimg_rpi4.sh

index f657cd1..8542a0f 100644 (file)
@@ -114,7 +114,6 @@ make INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=%{buildroot} modules_install
 # 2-4. Install boot binary files
 install -m 644 rpi4/boot/config.txt %{buildroot}/boot/
 install -m 644 rpi4/boot/LICENCE.broadcom %{buildroot}/boot/
-install -m 644 rpi4/boot/bootcode.bin %{buildroot}/boot/
 install -m 644 rpi4/boot/start*.elf %{buildroot}/boot/
 install -m 644 rpi4/boot/fixup*.dat %{buildroot}/boot/
 
@@ -165,7 +164,6 @@ rm -rf %{_builddir}/usr
 /boot/bcm*.dtb
 /boot/config.txt
 /boot/LICENCE.broadcom
-/boot/bootcode.bin
 /boot/start*.elf
 /boot/fixup*.dat
 
diff --git a/rpi4/boot/bootcode.bin b/rpi4/boot/bootcode.bin
deleted file mode 100644 (file)
index 944263a..0000000
Binary files a/rpi4/boot/bootcode.bin and /dev/null differ
index 896b0e7..42d0443 100755 (executable)
@@ -14,7 +14,6 @@ sudo mount -o loop,uid=$USER_ID,gid=$GROUP_ID,showexec boot.img ./tmp
 
 cp -a $BOOT_PATH/config.txt ./tmp
 cp -a $BOOT_PATH/LICENCE.broadcom ./tmp
-cp -a $BOOT_PATH/bootcode.bin ./tmp
 cp -a $BOOT_PATH/start*.elf ./tmp
 cp -a $BOOT_PATH/fixup*.dat ./tmp
 cp -a arch/arm/boot/zImage ./tmp