From a9573f51f659e1d87052a5046faabd0cd2664a8d Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Wed, 4 Nov 2020 20:13:09 +0000 Subject: [PATCH] sysutils/u-boot-rock-pi-4: Add new port RockPi4 is a RK3399-based SBC, u-boot supports it so add a port for it. See https://rockpi.org/rockpi4 for the board description. Submitted by: Daniel Engberg --- sysutils/Makefile | 1 + sysutils/u-boot-rock-pi-4/Makefile | 9 +++++++++ sysutils/u-boot-rock-pi-4/pkg-descr | 7 +++++++ 3 files changed, 17 insertions(+) create mode 100644 sysutils/u-boot-rock-pi-4/Makefile create mode 100644 sysutils/u-boot-rock-pi-4/pkg-descr diff --git a/sysutils/Makefile b/sysutils/Makefile index 4ba5f820dcf1..1f66d2987c83 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1378,6 +1378,7 @@ SUBDIR += u-boot-qemu-arm64 SUBDIR += u-boot-qemu-riscv64 SUBDIR += u-boot-riotboard + SUBDIR += u-boot-rock-pi-4 SUBDIR += u-boot-rock64 SUBDIR += u-boot-rockpro64 SUBDIR += u-boot-rpi diff --git a/sysutils/u-boot-rock-pi-4/Makefile b/sysutils/u-boot-rock-pi-4/Makefile new file mode 100644 index 000000000000..aeb85525cfa8 --- /dev/null +++ b/sysutils/u-boot-rock-pi-4/Makefile @@ -0,0 +1,9 @@ +# $FreeBSD$ + +MASTERDIR= ${.CURDIR}/../u-boot-master + +MODEL= rock-pi-4 +BOARD_CONFIG= rock-pi-4-rk3399_defconfig +FAMILY= rk3399 + +.include "${MASTERDIR}/Makefile" diff --git a/sysutils/u-boot-rock-pi-4/pkg-descr b/sysutils/u-boot-rock-pi-4/pkg-descr new file mode 100644 index 000000000000..64360a1ab4f2 --- /dev/null +++ b/sysutils/u-boot-rock-pi-4/pkg-descr @@ -0,0 +1,7 @@ +U-Boot loader and related files for the Radxa Rock Pi 4. + +To install this bootloader on an sdcard just do: +dd if=/usr/local/share/u-boot/u-boot-rock-pi-4/idbloader.img of=/path/to/sdcarddevice seek=64 bs=512 conv=sync +dd if=/usr/local/share/u-boot/u-boot-rock-pi-4/u-boot.itb of=/path/to/sdcarddevice seek=16384 bs=512 conv=sync + +WWW: https://www.denx.de/wiki/U-Boot