add raspberry pi 4 kernel and bootloader to pi3.img target
This commit is contained in:
parent
f35d5ee5b0
commit
534be5aeb3
2 changed files with 7 additions and 4 deletions
9
sys/lib/dist/mkfile
vendored
9
sys/lib/dist/mkfile
vendored
|
@ -53,15 +53,18 @@ cd:V: /tmp/9front.386.iso.gz
|
||||||
%.pi3.img:
|
%.pi3.img:
|
||||||
@{
|
@{
|
||||||
objtype=arm64
|
objtype=arm64
|
||||||
bootcode=/sys/src/boot/bcm/^(bootcode.bin fixup_cd.dat start_cd.elf LICENCE.broadcom)
|
bootcode=/sys/src/boot/bcm/^(bootcode.bin fixup_cd.dat start_cd.elf fixup4cd.dat start4cd.elf LICENCE.broadcom)
|
||||||
kernel=/n/src9/$objtype/9pi3
|
kernel=/n/src9/$objtype/^(9pi3 9pi4)
|
||||||
> /env/config.txt {
|
> /env/config.txt {
|
||||||
|
echo '[pi4]'
|
||||||
|
echo 'kernel=9pi4'
|
||||||
|
echo 'arm_64bit=1'
|
||||||
echo '[pi3]'
|
echo '[pi3]'
|
||||||
echo 'kernel=9pi3'
|
echo 'kernel=9pi3'
|
||||||
echo 'arm_64bit=1'
|
echo 'arm_64bit=1'
|
||||||
echo 'core_freq=250'
|
|
||||||
echo '[all]'
|
echo '[all]'
|
||||||
echo 'gpu_mem=16'
|
echo 'gpu_mem=16'
|
||||||
|
echo 'core_freq=250'
|
||||||
echo 'enable_uart=1'
|
echo 'enable_uart=1'
|
||||||
echo 'boot_delay=1'
|
echo 'boot_delay=1'
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
URL=https://github.com/raspberrypi/firmware/raw/master/boot
|
URL=https://github.com/raspberrypi/firmware/raw/master/boot
|
||||||
FILES=bootcode.bin fixup_cd.dat start_cd.elf LICENCE.broadcom
|
FILES=bootcode.bin fixup_cd.dat start_cd.elf fixup4cd.dat start4cd.elf LICENCE.broadcom
|
||||||
|
|
||||||
all:V: $FILES
|
all:V: $FILES
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue