mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-17 19:39:43 +00:00
sysutils/nanopi-r5s: Add new port
Add a new u-boot port for FriendlyElelc Nanopi R5S Sponsored by: Beckhoff Automation GmbH & Co. KG
This commit is contained in:
parent
48e323d200
commit
9433da0bcb
@ -1512,6 +1512,7 @@
|
||||
SUBDIR += u-boot-nanopi-neo2
|
||||
SUBDIR += u-boot-nanopi-r2s
|
||||
SUBDIR += u-boot-nanopi-r4s
|
||||
SUBDIR += u-boot-nanopi-r5s
|
||||
SUBDIR += u-boot-olimex-a20-som-evb
|
||||
SUBDIR += u-boot-olinuxino-lime
|
||||
SUBDIR += u-boot-olinuxino-lime2
|
||||
|
@ -104,6 +104,10 @@ UBOOT_ARCH_RK3328= aarch64
|
||||
UBOOT_PLIST_RK3399= idbloader.img u-boot.itb
|
||||
UBOOT_ARCH_RK3399= aarch64
|
||||
|
||||
# Override for RK356X family
|
||||
UBOOT_PLIST_RK356X= idbloader.img u-boot.itb
|
||||
UBOOT_ARCH_RK356X= aarch64
|
||||
|
||||
# Override for ARMADA38X family
|
||||
UBOOT_PLIST_ARMADA38X= u-boot-with-spl.kwb
|
||||
UBOOT_METADATA_ARMADA38X_FILES= ${UBOOT_PLIST_ARMADA38X}
|
||||
@ -181,6 +185,13 @@ BUILD_DEPENDS+= ${LOCALBASE}/share/atf-rk3399/bl31.elf:sysutils/atf-rk3399 \
|
||||
MAKE_ENV+= BL31=${LOCALBASE}/share/atf-rk3399/bl31.elf
|
||||
.endif
|
||||
|
||||
.if defined(FAMILY) && ${FAMILY} == rk356X
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/share/rkbin/rk35/rk3566_ddr_1056MHz_v1.21.bin:sysutils/rkbin \
|
||||
${PYTHON_PKGNAMEPREFIX}pyelftools>0:devel/py-pyelftools@${PY_FLAVOR}
|
||||
MAKE_ENV+= BL31=${LOCALBASE}/share/rkbin/rk35/rk3568_bl31_v1.44.elf \
|
||||
ROCKCHIP_TPL=${LOCALBASE}/share/rkbin/rk35/rk3566_ddr_1056MHz_v1.21.bin
|
||||
.endif
|
||||
|
||||
# Each u-boot family has different files to include, bring them in.
|
||||
.for i in ${UBOOT_PLIST}
|
||||
PLIST_FILES+= ${UBOOT_DIR}/${i}
|
||||
|
7
sysutils/u-boot-nanopi-r5s/Makefile
Normal file
7
sysutils/u-boot-nanopi-r5s/Makefile
Normal file
@ -0,0 +1,7 @@
|
||||
MASTERDIR= ${.CURDIR}/../u-boot-master
|
||||
|
||||
MODEL= nanopi-r5s
|
||||
BOARD_CONFIG= nanopi-r5s-rk3568_defconfig
|
||||
FAMILY= rk356X
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
6
sysutils/u-boot-nanopi-r5s/pkg-descr
Normal file
6
sysutils/u-boot-nanopi-r5s/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
U-Boot loader and related files for the FriendlyARM NanoPi-R5S
|
||||
|
||||
To install this bootloader on an sdcard just do:
|
||||
|
||||
dd if=/usr/local/share/u-boot/u-boot-nanopi-r5s/idbloader.img of=/path/to/sdcarddevice seek=64 bs=512 conv=sync
|
||||
dd if=/usr/local/share/u-boot/u-boot-nanopi-r5s/u-boot.itb of=/path/to/sdcarddevice seek=16384 bs=512 conv=sync
|
Loading…
Reference in New Issue
Block a user