aboutsummaryrefslogtreecommitdiff
path: root/sysutils/rpi-firmware
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2020-12-15 15:07:07 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2020-12-15 15:07:07 +0000
commit4327443005cc8e8dac42f1bac6f1bfd6515a5cdf (patch)
tree746766eb53dbb59eabd368fa3f110d483b7c0655 /sysutils/rpi-firmware
parent769c5625658bb8b3a158c9739506417cfb6ba7cd (diff)
downloadports-4327443005cc8e8dac42f1bac6f1bfd6515a5cdf.tar.gz
ports-4327443005cc8e8dac42f1bac6f1bfd6515a5cdf.zip
sysutils/rpi-firmware: Add a generic config file for 64bits variant of RPIs
Submitted by: kevans (original version)
Notes
Notes: svn path=/head/; revision=558163
Diffstat (limited to 'sysutils/rpi-firmware')
-rw-r--r--sysutils/rpi-firmware/Makefile4
-rw-r--r--sysutils/rpi-firmware/files/config_arm64.txt10
-rw-r--r--sysutils/rpi-firmware/pkg-plist1
3 files changed, 14 insertions, 1 deletions
diff --git a/sysutils/rpi-firmware/Makefile b/sysutils/rpi-firmware/Makefile
index b2a6109d6294..6de173cb4fc2 100644
--- a/sysutils/rpi-firmware/Makefile
+++ b/sysutils/rpi-firmware/Makefile
@@ -2,6 +2,7 @@
PORTNAME= rpi-firmware
PORTVERSION= 1.20201201.g20201201
+PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= uboot@FreeBSD.org
@@ -29,7 +30,8 @@ CONFIG_TXT_FILES= config.txt \
config_rpi_0_w.txt \
config_rpi3.txt \
config_rpi3_edk2.txt \
- config_rpi4.txt
+ config_rpi4.txt \
+ config_arm64.txt
do-patch:
.for i in ${CONFIG_TXT_FILES}
diff --git a/sysutils/rpi-firmware/files/config_arm64.txt b/sysutils/rpi-firmware/files/config_arm64.txt
new file mode 100644
index 000000000000..83c7a9ef7c13
--- /dev/null
+++ b/sysutils/rpi-firmware/files/config_arm64.txt
@@ -0,0 +1,10 @@
+[all]
+arm_control=0x200
+dtparam=audio=on,i2c_arm=on,spi=on
+dtoverlay=mmc
+dtoverlay=disable-bt
+device_tree_address=0x4000
+kernel=u-boot.bin
+
+[pi4]
+armstub=armstub8-gic.bin
diff --git a/sysutils/rpi-firmware/pkg-plist b/sysutils/rpi-firmware/pkg-plist
index a0e7d1d23721..47022881e933 100644
--- a/sysutils/rpi-firmware/pkg-plist
+++ b/sysutils/rpi-firmware/pkg-plist
@@ -22,6 +22,7 @@
%%DATADIR%%/config_rpi3_edk2.txt
%%DATADIR%%/config_rpi4.txt
%%DATADIR%%/config_rpi_0_w.txt
+%%DATADIR%%/config_arm64.txt
%%DATADIR%%/fixup.dat
%%DATADIR%%/fixup4.dat
%%DATADIR%%/fixup4cd.dat