aboutsummaryrefslogtreecommitdiff
path: root/sysutils/u-boot-pinebookpro
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2020-04-25 16:39:31 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2020-04-25 16:39:31 +0000
commitf520f7d04fda3fd8723da4e68514090d4c87919a (patch)
tree3b33d90aaeab55ef07c38965092827df7e3d212b /sysutils/u-boot-pinebookpro
parent13f080cf9f1ba4d264be67e780a5953ec4c0b46f (diff)
downloadports-f520f7d04fda3fd8723da4e68514090d4c87919a.tar.gz
ports-f520f7d04fda3fd8723da4e68514090d4c87919a.zip
sysutils/u-boot-pinebookpro: Add new port
This is a u-boot slave port for the Pine64 PineBookPro, an RK3399 ARM64 laptop. The patches have been submitted upstream and will probably be part of the next u-boot release, but add the port in the meantime in case anyone wants to start testing/dev FreeBSD on this laptop. It doesn't have video support for now so one want to use a serial cable.
Notes
Notes: svn path=/head/; revision=532960
Diffstat (limited to 'sysutils/u-boot-pinebookpro')
-rw-r--r--sysutils/u-boot-pinebookpro/Makefile16
-rw-r--r--sysutils/u-boot-pinebookpro/pkg-descr7
2 files changed, 23 insertions, 0 deletions
diff --git a/sysutils/u-boot-pinebookpro/Makefile b/sysutils/u-boot-pinebookpro/Makefile
new file mode 100644
index 000000000000..fadd625bd5e4
--- /dev/null
+++ b/sysutils/u-boot-pinebookpro/Makefile
@@ -0,0 +1,16 @@
+# $FreeBSD$
+
+MASTERDIR= ${.CURDIR}/../u-boot-master
+
+MODEL= pinebookpro
+BOARD_CONFIG= pinebook-pro-rk3399_defconfig
+FAMILY= rk3399
+
+PATCHFILES+= 1273633/raw \
+ 1273674/raw \
+ 1273675/raw \
+ 1273676/raw \
+ 1273677/raw \
+ 1273678/raw
+
+.include "${MASTERDIR}/Makefile"
diff --git a/sysutils/u-boot-pinebookpro/pkg-descr b/sysutils/u-boot-pinebookpro/pkg-descr
new file mode 100644
index 000000000000..663cb49a2403
--- /dev/null
+++ b/sysutils/u-boot-pinebookpro/pkg-descr
@@ -0,0 +1,7 @@
+U-Boot loader and related files for the Pine64 RockPro64.
+
+To install this bootloader on an sdcard just do:
+dd if=/usr/local/share/u-boot/u-boot-rockpro64/idbloader.img of=/path/to/sdcarddevice seek=64 bs=512 conv=sync
+dd if=/usr/local/share/u-boot/u-boot-rockpro64/u-boot.itb of=/path/to/sdcarddevice seek=16384 bs=512 conv=sync
+
+WWW: https://www.denx.de/wiki/U-Boot