raspberrypi-bootloader: support Raspberry Pi 3 w/o U-Boot and explicitly support

Raspberry Pi Zero
This commit is contained in:
Ben Wolsieffer
2018-09-10 23:21:41 -04:00
committed by Tuomas Tynkkynen
parent bcb9e17bba
commit 1afff7c10b
5 changed files with 18 additions and 19 deletions

View File

@@ -85,13 +85,9 @@ addEntry() {
echo $kernel > $outdir/$generation-kernel
if test "$generation" = "default"; then
if [ @version@ -eq 1 ]; then
copyForced $kernel $target/kernel.img
else
copyForced $kernel $target/kernel7.img
fi
copyForced $kernel $target/kernel.img
copyForced $initrd $target/initrd
for dtb in $dtb_path/bcm*.dtb; do
for dtb in $dtb_path/{broadcom,}/bcm*.dtb; do
dst="$target/$(basename $dtb)"
copyForced $dtb "$dst"
filesCopied[$dst]=1