-# $OpenBSD: Makefile,v 1.4 2023/02/10 15:54:33 krw Exp $
+# $OpenBSD: Makefile,v 1.5 2023/04/03 10:51:50 kn Exp $
FS= install${OSrev}.img
FSSIZE= 1032192
cp /usr/mdec/BOOTAA64.EFI ${MOUNT_POINT}/efi/boot/bootaa64.efi
echo bootaa64.efi > ${MOUNT_POINT}/efi/boot/startup.nsh
echo 'arm_64bit=1\nenable_uart=1\ndtoverlay=disable-bt\nkernel=u-boot.bin' > ${MOUNT_POINT}/config.txt
- dd if=${PUBOOT}/pine64_plus/u-boot-sunxi-with-spl.bin \
- of=/dev/r`cat vnd`c bs=1024 seek=8 conv=sync
umount ${MOUNT_POINT}
newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a
-# $OpenBSD: Makefile,v 1.25 2023/02/10 15:54:33 krw Exp $
+# $OpenBSD: Makefile,v 1.26 2023/04/03 10:51:50 kn Exp $
FS= miniroot${OSrev}.img
FSSIZE= 88064
cp /usr/mdec/BOOTAA64.EFI ${MOUNT_POINT}/efi/boot/bootaa64.efi
echo bootaa64.efi > ${MOUNT_POINT}/efi/boot/startup.nsh
echo 'arm_64bit=1\nenable_uart=1\ndtoverlay=disable-bt\nkernel=u-boot.bin' > ${MOUNT_POINT}/config.txt
- dd if=${PUBOOT}/pine64_plus/u-boot-sunxi-with-spl.bin \
- of=/dev/r`cat vnd`c bs=1024 seek=8 conv=sync
umount ${MOUNT_POINT}
newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a
mount /dev/`cat vnd`a ${MOUNT_POINT}
-# $OpenBSD: install.md,v 1.41 2023/03/29 16:20:17 kn Exp $
+# $OpenBSD: install.md,v 1.42 2023/04/03 10:51:50 kn Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
case $(sysctl -n machdep.compatible) in
apple,*) _plat=apple;;
- pine64,pine64*(+)) _plat=pine64;;
raspberrypi,*) _plat=rpi;;
esac
[[ -d $_dir ]] && pax -rw $_dir /mnt/etc/firmware
done)
;;
- pine64)
- dd if=$_mdec/u-boot-sunxi-with-spl.bin of=/dev/r${_disk}c \
- bs=1024 seek=8 status=none
- ;;
rpi)
mount ${MOUNT_ARGS_msdos} /dev/${_disk}i /mnt/mnt
cp $_mdec/{bootcode.bin,start*.elf,fixup*.dat,*.dtb} /mnt/mnt/
-# $OpenBSD: list,v 1.20 2023/01/28 18:40:53 phessler Exp $
+# $OpenBSD: list,v 1.21 2023/04/03 10:51:50 kn Exp $
SRCDIRS distrib/special
COPY /usr/local/share/raspberrypi-firmware/boot/overlays/disable-bt.dtbo usr/mdec/rpi/disable-bt.dtbo
COPY /usr/local/share/u-boot/rpi_arm64/u-boot.bin usr/mdec/rpi/u-boot.bin
-MKDIR usr/mdec/pine64
-COPY /usr/local/share/u-boot/pine64_plus/u-boot-sunxi-with-spl.bin usr/mdec/pine64/u-boot-sunxi-with-spl.bin
-
# copy the MAKEDEV script and make some devices
SCRIPT ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV
SPECIAL cd dev; sh MAKEDEV ramdisk