mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
sysutils/u-boot-nanopi-r6s: Add new port
Add new u-boot port targetting the RK3588s NanoPi R6s.
This commit is contained in:
parent
f2e92d313f
commit
e6f58d0eca
4 changed files with 25 additions and 0 deletions
|
@ -1423,6 +1423,7 @@
|
|||
SUBDIR += u-boot-nanopi-r2s
|
||||
SUBDIR += u-boot-nanopi-r4s
|
||||
SUBDIR += u-boot-nanopi-r5s
|
||||
SUBDIR += u-boot-nanopi-r6s
|
||||
SUBDIR += u-boot-olimex-a20-som-evb
|
||||
SUBDIR += u-boot-olinuxino-lime
|
||||
SUBDIR += u-boot-olinuxino-lime2
|
||||
|
|
|
@ -110,6 +110,10 @@ UBOOT_ARCH_RK3399= aarch64
|
|||
UBOOT_PLIST_RK356X= idbloader.img u-boot.itb
|
||||
UBOOT_ARCH_RK356X= aarch64
|
||||
|
||||
# Override for RK3588 family
|
||||
UBOOT_PLIST_RK3588= idbloader.img u-boot.itb
|
||||
UBOOT_ARCH_RK3588= aarch64
|
||||
|
||||
# Override for ARMADA38X family
|
||||
UBOOT_PLIST_ARMADA38X= u-boot-with-spl.kwb
|
||||
UBOOT_METADATA_ARMADA38X_FILES= ${UBOOT_PLIST_ARMADA38X}
|
||||
|
@ -194,6 +198,13 @@ 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
|
||||
|
||||
.if defined(FAMILY) && ${FAMILY} == rk3588
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/share/rkbin/rk35/rk3588_ddr_lp4_2112MHz_lp5_2400MHz_v1.18.bin:sysutils/rkbin \
|
||||
${PYTHON_PKGNAMEPREFIX}pyelftools>0:devel/py-pyelftools@${PY_FLAVOR}
|
||||
MAKE_ENV+= BL31=${LOCALBASE}/share/rkbin/rk35/rk3588_bl31_v1.47.elf \
|
||||
ROCKCHIP_TPL=${LOCALBASE}/share/rkbin/rk35/rk3588_ddr_lp4_2112MHz_lp5_2400MHz_v1.18.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-r6s/Makefile
Normal file
7
sysutils/u-boot-nanopi-r6s/Makefile
Normal file
|
@ -0,0 +1,7 @@
|
|||
MASTERDIR= ${.CURDIR}/../u-boot-master
|
||||
|
||||
MODEL= nanopi-r6s
|
||||
BOARD_CONFIG= nanopi-r6s-rk3588s_defconfig
|
||||
FAMILY= rk3588
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
6
sysutils/u-boot-nanopi-r6s/pkg-descr
Normal file
6
sysutils/u-boot-nanopi-r6s/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
|||
U-Boot loader and related files for the FriendlyARM NanoPi-R6S
|
||||
|
||||
To install this bootloader on an sdcard just do:
|
||||
|
||||
dd if=/usr/local/share/u-boot/u-boot-nanopi-r6s/idbloader.img of=/path/to/sdcarddevice seek=64 bs=512 conv=sync
|
||||
dd if=/usr/local/share/u-boot/u-boot-nanopi-r6s/u-boot.itb of=/path/to/sdcarddevice seek=16384 bs=512 conv=sync
|
Loading…
Add table
Reference in a new issue