1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

sysutils/linux-rkbin: Add new port for RockChip SoC firmware and utils

This contain some firmware and tools needed to build a bootloader for
some RockChip SoCs.
Only include the firmware needed for RK33* as those are the only SoC
that we support right now.
This commit is contained in:
Emmanuel Vadot 2019-07-27 14:51:48 +00:00
parent 48f624f9a0
commit 181a418ce4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=507457
6 changed files with 153 additions and 0 deletions

1
LEGAL
View File

@ -137,6 +137,7 @@ libamrnb/26104-*.zip audio/libamrnb unclear legal status, probably need license
libamrwb/26204-*.zip audio/libamrwb unclear legal status, probably need licenses from 3GPP and more
libdvdcss-*.tar.bz2 multimedia/libdvdcss CSS code may violate the DMCA
linux-nwnclient/* games/linux-nwnclient Distribution not allowed
linux-rkbin/* sysutils/linux-rkbin Unknown license
linux-unrealgold* games/linux-unrealgold Redistribution limited
linux-ut/* games/linux-ut Redistribution is limited, see license
linuxq3ademo-* games/linux-quake3 Restrictive license by Loki Software

View File

@ -590,6 +590,7 @@
SUBDIR += linux-c7-lttng-ust
SUBDIR += linux-c7-userspace-rcu
SUBDIR += linux-crashplan
SUBDIR += linux-rkbin
SUBDIR += linuxfdisk
SUBDIR += livecd
SUBDIR += lizardfs

View File

@ -0,0 +1,34 @@
# $FreeBSD$
PORTNAME= linux-rkbin
DISTVERSION= g20190719
CATEGORIES= sysutils linux
MAINTAINER= uboot@FreeBSD.org
COMMENT= Firmware and tools for RockChip SoCs
ONLY_FOR_ARCH= amd64
LEGAL_TEXT= No license
NO_BUILD= yes
USE_GITHUB= yes
GH_ACCOUNT= rockchip-linux
GH_PROJECT= rkbin
GH_TAGNAME= 890556f
post-patch:
@${REINPLACE_CMD} -e "s|PATH=bin|PATH=${LOCALBASE}/share/${PORTNAME}/bin|" ${WRKSRC}/RKTRUST/RK3399TRUST.ini
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}/${DATADIR}/bin/rk33
${MKDIR} ${STAGEDIR}/${DATADIR}/rktrust
cd ${WRKSRC}/bin/rk33 && ${COPYTREE_SHARE} . ${STAGEDIR}/${DATADIR}/bin/rk33
cd ${WRKSRC}/RKTRUST/ && ${COPYTREE_SHARE} . ${STAGEDIR}/${DATADIR}/rktrust
cd ${WRKSRC}/tools && ${INSTALL_PROGRAM} loaderimage ${STAGEDIR}${PREFIX}/bin/rk-loaderimage
cd ${WRKSRC}/tools && ${INSTALL_PROGRAM} trust_merger ${STAGEDIR}${PREFIX}/bin/rk-trust_merger
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1563981592
SHA256 (rockchip-linux-rkbin-g20190719-890556f_GH0.tar.gz) = 135185c5706f8cad7ef39d4cb5cb37b3c63a3b8acfb0d7731fdd1a4885020bd4
SIZE (rockchip-linux-rkbin-g20190719-890556f_GH0.tar.gz) = 10550063

View File

@ -0,0 +1,6 @@
Firmware files and tools for RockChip SoC
This package contain the tools and firmware files needed for booting
on a rockchip SoC board using their miniloader.
WWW: https://github.com/rockchip-linux/rkbin

View File

@ -0,0 +1,108 @@
bin/rk-loaderimage
bin/rk-trust_merger
%%DATADIR%%/bin/rk33/px30_bl31_v1.15.elf
%%DATADIR%%/bin/rk33/px30_bl32_v1.11.bin
%%DATADIR%%/bin/rk33/px30_ddr_333MHz_v1.12.bin
%%DATADIR%%/bin/rk33/px30_miniloader_slc_v1.15.bin
%%DATADIR%%/bin/rk33/px30_miniloader_v1.15.bin
%%DATADIR%%/bin/rk33/px30_usbplug_slc_v1.15.bin
%%DATADIR%%/bin/rk33/px30_usbplug_v1.15.bin
%%DATADIR%%/bin/rk33/rk322xh_bl31_v1.41.elf
%%DATADIR%%/bin/rk33/rk322xh_bl32_v1.51.bin
%%DATADIR%%/bin/rk33/rk322xh_ddr_333MHz_v1.16.bin
%%DATADIR%%/bin/rk33/rk322xh_miniloader_v2.50.bin
%%DATADIR%%/bin/rk33/rk322xh_usbplug_v2.50.bin
%%DATADIR%%/bin/rk33/rk3308_bl31_aarch32_v2.21.elf
%%DATADIR%%/bin/rk33/rk3308_bl31_v2.21.elf
%%DATADIR%%/bin/rk33/rk3308_bl32_v1.11.bin
%%DATADIR%%/bin/rk33/rk3308_ddr_393MHz_uart0_m0_v1.26.bin
%%DATADIR%%/bin/rk33/rk3308_ddr_393MHz_uart1_m0_v1.26.bin
%%DATADIR%%/bin/rk33/rk3308_ddr_393MHz_uart2_m0_v1.26.bin
%%DATADIR%%/bin/rk33/rk3308_ddr_393MHz_uart2_m1_v1.26.bin
%%DATADIR%%/bin/rk33/rk3308_ddr_393MHz_uart3_m0_v1.26.bin
%%DATADIR%%/bin/rk33/rk3308_ddr_393MHz_uart4_m0_v1.26.bin
%%DATADIR%%/bin/rk33/rk3308_ddr_451MHz_uart0_m0_v1.26.bin
%%DATADIR%%/bin/rk33/rk3308_ddr_451MHz_uart1_m0_v1.26.bin
%%DATADIR%%/bin/rk33/rk3308_ddr_451MHz_uart2_m0_v1.26.bin
%%DATADIR%%/bin/rk33/rk3308_ddr_451MHz_uart2_m1_v1.26.bin
%%DATADIR%%/bin/rk33/rk3308_ddr_451MHz_uart3_m0_v1.26.bin
%%DATADIR%%/bin/rk33/rk3308_ddr_451MHz_uart4_m0_v1.26.bin
%%DATADIR%%/bin/rk33/rk3308_ddr_589MHz_uart0_m0_v1.26.bin
%%DATADIR%%/bin/rk33/rk3308_ddr_589MHz_uart1_m0_v1.26.bin
%%DATADIR%%/bin/rk33/rk3308_ddr_589MHz_uart2_m0_v1.26.bin
%%DATADIR%%/bin/rk33/rk3308_ddr_589MHz_uart2_m1_v1.26.bin
%%DATADIR%%/bin/rk33/rk3308_ddr_589MHz_uart3_m0_v1.26.bin
%%DATADIR%%/bin/rk33/rk3308_ddr_589MHz_uart4_m0_v1.26.bin
%%DATADIR%%/bin/rk33/rk3308_miniloader_v1.14.bin
%%DATADIR%%/bin/rk33/rk3308_miniloader_wo_ftl_v1.14.bin
%%DATADIR%%/bin/rk33/rk3308_usbplug_v1.14.bin
%%DATADIR%%/bin/rk33/rk3308_usbplug_wo_ftl_v1.14.bin
%%DATADIR%%/bin/rk33/rk3326_bl31_v1.15.elf
%%DATADIR%%/bin/rk33/rk3326_bl32_v1.11.bin
%%DATADIR%%/bin/rk33/rk3326_ddr_333MHz_v1.12.bin
%%DATADIR%%/bin/rk33/rk3326_miniloader_aarch32_v1.16.bin
%%DATADIR%%/bin/rk33/rk3326_miniloader_slc_v1.15.bin
%%DATADIR%%/bin/rk33/rk3326_miniloader_v1.16.bin
%%DATADIR%%/bin/rk33/rk3326_usbplug_slc_v1.15.bin
%%DATADIR%%/bin/rk33/rk3326_usbplug_v1.16.bin
%%DATADIR%%/bin/rk33/rk3328_ddr_333MHz_v1.16.bin
%%DATADIR%%/bin/rk33/rk3366_ddr_800MHz_v1.00.bin
%%DATADIR%%/bin/rk33/rk3366_miniloader_v1.02.bin
%%DATADIR%%/bin/rk33/rk3366_usbplug_v1.02.bin
%%DATADIR%%/bin/rk33/rk3368_bl30_v2.13.bin
%%DATADIR%%/bin/rk33/rk3368_bl30_v2.15.bin
%%DATADIR%%/bin/rk33/rk3368_bl31_v1.91.bin
%%DATADIR%%/bin/rk33/rk3368_bl32_v0.10.bin
%%DATADIR%%/bin/rk33/rk3368_ddr_600MHz_v2.05.bin
%%DATADIR%%/bin/rk33/rk3368_miniloader_v2.58.bin
%%DATADIR%%/bin/rk33/rk3368_miniloader_v2.65.bin
%%DATADIR%%/bin/rk33/rk3368_usbplug_v2.58.bin
%%DATADIR%%/bin/rk33/rk3368_usbplug_v2.62.bin
%%DATADIR%%/bin/rk33/rk3368_usbplug_v2.65.bin
%%DATADIR%%/bin/rk33/rk3368h_bl31_v2.22.elf
%%DATADIR%%/bin/rk33/rk3368h_bl32_v1.27.bin
%%DATADIR%%/bin/rk33/rk3399_bl31_v1.29.elf
%%DATADIR%%/bin/rk33/rk3399_bl32_v1.19.bin
%%DATADIR%%/bin/rk33/rk3399_ddr_666MHz_v1.23.bin
%%DATADIR%%/bin/rk33/rk3399_ddr_800MHz_v1.23.bin
%%DATADIR%%/bin/rk33/rk3399_ddr_933MHz_v1.23.bin
%%DATADIR%%/bin/rk33/rk3399_miniloader_spinor_v1.14.bin
%%DATADIR%%/bin/rk33/rk3399_miniloader_v1.19.bin
%%DATADIR%%/bin/rk33/rk3399_usbplug_spinor_v1.14.bin
%%DATADIR%%/bin/rk33/rk3399_usbplug_v1.19.bin
%%DATADIR%%/bin/rk33/rk3399pro_bl31_v1.29.elf
%%DATADIR%%/bin/rk33/rk3399pro_bl32_v1.19.bin
%%DATADIR%%/bin/rk33/rk3399pro_ddr_666MHz_v1.23.bin
%%DATADIR%%/bin/rk33/rk3399pro_ddr_800MHz_v1.23.bin
%%DATADIR%%/bin/rk33/rk3399pro_ddr_933MHz_v1.23.bin
%%DATADIR%%/bin/rk33/rk3399pro_miniloader_v1.15.bin
%%DATADIR%%/bin/rk33/rk3399pro_usbplug_v1.15.bin
%%DATADIR%%/bin/rk33/rknpu_lion_bl31_v1.07.elf
%%DATADIR%%/bin/rk33/rknpu_lion_bl32_v1.11.bin
%%DATADIR%%/bin/rk33/rknpu_lion_ddr_933MHz_v1.03.bin
%%DATADIR%%/bin/rk33/rknpu_lion_miniloader_usb_v1.03.bin
%%DATADIR%%/bin/rk33/rkpx5_miniloader_v2.62.bin
%%DATADIR%%/rktrust/PX30TRUST.ini
%%DATADIR%%/rktrust/PX3SETOS.ini
%%DATADIR%%/rktrust/PX5KERNEL4.4TRUST.ini
%%DATADIR%%/rktrust/PX5TRUST.ini
%%DATADIR%%/rktrust/RK1808TRUST.ini
%%DATADIR%%/rktrust/RK3036TOS.ini
%%DATADIR%%/rktrust/RK3126TOS.ini
%%DATADIR%%/rktrust/RK3126TOS_LADDR.ini
%%DATADIR%%/rktrust/RK3128TOS.ini
%%DATADIR%%/rktrust/RK3128XTOS.ini
%%DATADIR%%/rktrust/RK322XHTRUST.ini
%%DATADIR%%/rktrust/RK322XTOS.ini
%%DATADIR%%/rktrust/RK3288TOS.ini
%%DATADIR%%/rktrust/RK3308AARCH32TRUST.ini
%%DATADIR%%/rktrust/RK3308TRUST.ini
%%DATADIR%%/rktrust/RK3326TRUST.ini
%%DATADIR%%/rktrust/RK3328TRUST.ini
%%DATADIR%%/rktrust/RK3368BOXTRUST.ini
%%DATADIR%%/rktrust/RK3368HTRUST.ini
%%DATADIR%%/rktrust/RK3368TRUST.ini
%%DATADIR%%/rktrust/RK3399PROTRUST.ini
%%DATADIR%%/rktrust/RK3399TRUST.ini
%%DATADIR%%/rktrust/RK3399TRUST.ini.bak
%%DATADIR%%/rktrust/RKNPULIONTRUST.ini