pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

u-boot-khadas-vim3: Add support for Khadas vim3 SBC



Module Name:	pkgsrc-wip
Committed By:	Han Pengfei <pengphei%qq.com@localhost>
Pushed By:	pengphei
Date:		Wed Sep 22 22:38:46 2021 +0800
Changeset:	f181b7b41f40fd24efd52dd441bcbbc01f737179

Added Files:
	u-boot-khadas-vim3/DESCR
	u-boot-khadas-vim3/Makefile
	u-boot-khadas-vim3/PLIST
	u-boot-khadas-vim3/distinfo
	u-boot-khadas-vim3/files/installboot.plist

Log Message:
u-boot-khadas-vim3: Add support for Khadas vim3 SBC

Signed-off-by: Han Pengfei <pengphei%qq.com@localhost>

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f181b7b41f40fd24efd52dd441bcbbc01f737179

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 u-boot-khadas-vim3/DESCR                   |   5 +
 u-boot-khadas-vim3/Makefile                | 192 +++++++++++++++++++++++++++++
 u-boot-khadas-vim3/PLIST                   |   3 +
 u-boot-khadas-vim3/distinfo                |  72 +++++++++++
 u-boot-khadas-vim3/files/installboot.plist |  55 +++++++++
 5 files changed, 327 insertions(+)

diffs:
diff --git a/u-boot-khadas-vim3/DESCR b/u-boot-khadas-vim3/DESCR
new file mode 100644
index 0000000000..1f71ff455e
--- /dev/null
+++ b/u-boot-khadas-vim3/DESCR
@@ -0,0 +1,5 @@
+U-Boot is a bootloader for embedded boards based on PowerPC, ARM, MIPS and
+several other processors, which can be installed in a boot ROM and used to
+initialize and test the hardware or to download and run application code.
+
+This package provides U-Boot for the Khadas VIM3 board.
diff --git a/u-boot-khadas-vim3/Makefile b/u-boot-khadas-vim3/Makefile
new file mode 100644
index 0000000000..45ecde8dcc
--- /dev/null
+++ b/u-boot-khadas-vim3/Makefile
@@ -0,0 +1,192 @@
+# $NetBSD: Makefile,v 1.6 2019/11/04 21:28:56 rillig Exp $
+
+UBOOT_TARGET=		khadas-vim3
+UBOOT_CONFIG=		khadas-vim3_defconfig
+UBOOT_BIN=		u-boot.g12b
+
+PKGREVISION=		1
+UBOOT_VERSION=		2021.07
+
+UBOOT_INSTALLBOOT_PLIST=	installboot.plist
+
+DISTINFO_FILE=		${.CURDIR}/../../wip/u-boot-khadas-vim3/distinfo
+DISTFILES=		${DEFAULT_DISTFILES}
+
+#
+# Khadas-supplied BLxx binaries
+#
+KHADAS=			khadas-vims-v2015.01
+MESON=			g12b
+AMLOGIC=		${UBOOT_TARGET}-v2015.01
+
+xBL2_BIN=		bl2.bin
+BL2_BIN=		${AMLOGIC}-${xBL2_BIN}
+DISTFILES+=		${BL2_BIN}
+SITES.${BL2_BIN}=	${MASTER_SITE_GITHUB:@url@ \
+	-${url}khadas/u-boot/raw/${KHADAS}/fip/${MESON}/${xBL2_BIN} @}
+
+xBL30_BIN=		bl30.bin
+BL30_BIN=		${AMLOGIC}-${xBL30_BIN}
+DISTFILES+=		${BL30_BIN}
+SITES.${BL30_BIN}=	${MASTER_SITE_GITHUB:@url@ \
+	-${url}khadas/u-boot/raw/${KHADAS}/fip/${MESON}/${xBL30_BIN} @}
+
+xBL31_IMG=		bl31.img
+BL31_IMG=		${AMLOGIC}-${xBL31_IMG}
+DISTFILES+=		${BL31_IMG}
+SITES.${BL31_IMG}=	${MASTER_SITE_GITHUB:@url@ \
+	-${url}khadas/u-boot/raw/${KHADAS}/fip/${MESON}/${xBL31_IMG} @}
+
+xDDR3_1D_FW=		ddr3_1d.fw
+DDR3_1D_FW=		${AMLOGIC}-${xDDR3_1D_FW}
+DISTFILES+=		${DDR3_1D_FW}
+SITES.${DDR3_1D_FW}=	${MASTER_SITE_GITHUB:@url@ \
+	-${url}khadas/u-boot/raw/${KHADAS}/fip/${MESON}/${xDDR3_1D_FW} @}
+
+xDDR4_1D_FW=		ddr4_1d.fw
+DDR4_1D_FW=		${AMLOGIC}-${xDDR4_1D_FW}
+DISTFILES+=		${DDR4_1D_FW}
+SITES.${DDR4_1D_FW}=	${MASTER_SITE_GITHUB:@url@ \
+	-${url}khadas/u-boot/raw/${KHADAS}/fip/${MESON}/${xDDR4_1D_FW} @}
+
+xDDR4_2D_FW=		ddr4_2d.fw
+DDR4_2D_FW=		${AMLOGIC}-${xDDR4_2D_FW}
+DISTFILES+=		${DDR4_2D_FW}
+SITES.${DDR4_2D_FW}=	${MASTER_SITE_GITHUB:@url@ \
+	-${url}khadas/u-boot/raw/${KHADAS}/fip/${MESON}/${xDDR4_2D_FW} @}
+
+xDIAG_LPDDR4_FW=	diag_lpddr4.fw
+DIAG_LPDDR4_FW=		${AMLOGIC}-${xDIAG_LPDDR4_FW}
+DISTFILES+=		${DIAG_LPDDR4_FW}
+SITES.${DIAG_LPDDR4_FW}=	${MASTER_SITE_GITHUB:@url@ \
+	-${url}khadas/u-boot/raw/${KHADAS}/fip/${MESON}/${xDIAG_LPDDR4_FW} @}
+
+xLPDDR3_1D_FW=		lpddr3_1d.fw
+LPDDR3_1D_FW=		${AMLOGIC}-${xLPDDR3_1D_FW}
+DISTFILES+=		${LPDDR3_1D_FW}
+SITES.${LPDDR3_1D_FW}=	${MASTER_SITE_GITHUB:@url@ \
+	-${url}khadas/u-boot/raw/${KHADAS}/fip/${MESON}/${xLPDDR3_1D_FW} @}
+
+xLPDDR4_1D_FW=		lpddr4_1d.fw
+LPDDR4_1D_FW=		${AMLOGIC}-${xLPDDR4_1D_FW}
+DISTFILES+=		${LPDDR4_1D_FW}
+SITES.${LPDDR4_1D_FW}=	${MASTER_SITE_GITHUB:@url@ \
+	-${url}khadas/u-boot/raw/${KHADAS}/fip/${MESON}/${xLPDDR4_1D_FW} @}
+
+xLPDDR4_2D_FW=		lpddr4_2d.fw
+LPDDR4_2D_FW=		${AMLOGIC}-${xLPDDR4_2D_FW}
+DISTFILES+=		${LPDDR4_2D_FW}
+SITES.${LPDDR4_2D_FW}=	${MASTER_SITE_GITHUB:@url@ \
+	-${url}khadas/u-boot/raw/${KHADAS}/fip/${MESON}/${xLPDDR4_2D_FW} @}
+
+xPIEI_FW=		piei.fw
+PIEI_FW=		${AMLOGIC}-${xPIEI_FW}
+DISTFILES+=		${PIEI_FW}
+SITES.${AML_DDR_FW}=	${MASTER_SITE_GITHUB:@url@ \
+	-${url}khadas/u-boot/raw/${KHADAS}/fip/${MESON}/${xPIEI_FW} @}
+
+
+xAML_DDR_FW=		aml_ddr.fw
+AML_DDR_FW=		${AMLOGIC}-${xAML_DDR_FW}
+DISTFILES+=		${AML_DDR_FW}
+SITES.${AML_DDR_FW}=	${MASTER_SITE_GITHUB:@url@ \
+	-${url}khadas/u-boot/raw/${KHADAS}/fip/${MESON}/${xAML_DDR_FW} @}
+
+xACS_BIN=		acs.bin
+ACS_BIN=		${AMLOGIC}-${xACS_BIN}
+DISTFILES+=		${ACS_BIN}
+SITES.${ACS_BIN}=	${MASTER_SITE_GITHUB:@url@ \
+	-${url}thirdyouth/u-boot-blobs/raw/main/boards/khadas/vim3/${xACS_BIN} @}
+
+xBL301_BIN=		bl301.bin
+BL301_BIN=		${AMLOGIC}-${xBL301_BIN}
+DISTFILES+=		${BL301_BIN}
+SITES.${BL301_BIN}=	${MASTER_SITE_GITHUB:@url@ \
+	-${url}thirdyouth/u-boot-blobs/raw/main/boards/khadas/vim3/${xBL301_BIN} @}
+
+# pkgsrc tries to run distfiles that end in .bin; handle manually
+EXTRACT_ONLY=		${DISTFILES:N*.bin}
+
+post-extract:
+	cp ${DISTDIR}/${BL2_BIN} ${WRKSRC}/${xBL2_BIN}
+	cp ${DISTDIR}/${BL30_BIN} ${WRKSRC}/${xBL30_BIN}
+	cp ${DISTDIR}/${BL31_IMG} ${WRKSRC}/${xBL31_IMG}
+	cp ${DISTDIR}/${DDR3_1D_FW} ${WRKSRC}/${xDDR3_1D_FW}
+	cp ${DISTDIR}/${DDR4_1D_FW} ${WRKSRC}/${xDDR4_1D_FW}
+	cp ${DISTDIR}/${DDR4_2D_FW} ${WRKSRC}/${xDDR4_2D_FW}
+	cp ${DISTDIR}/${DIAG_LPDDR4_FW} ${WRKSRC}/${xDIAG_LPDDR4_FW}
+	cp ${DISTDIR}/${LPDDR3_1D_FW} ${WRKSRC}/${xLPDDR3_1D_FW}
+	cp ${DISTDIR}/${LPDDR4_1D_FW} ${WRKSRC}/${xLPDDR4_1D_FW}
+	cp ${DISTDIR}/${LPDDR4_2D_FW} ${WRKSRC}/${xLPDDR4_2D_FW}
+	cp ${DISTDIR}/${PIEI_FW} ${WRKSRC}/${xPIEI_FW}
+	cp ${DISTDIR}/${AML_DDR_FW} ${WRKSRC}/${xAML_DDR_FW}
+	cp ${DISTDIR}/${ACS_BIN} ${WRKSRC}/${xACS_BIN}
+	cp ${DISTDIR}/${BL301_BIN} ${WRKSRC}/${xBL301_BIN}
+
+#
+# XXX For now, we use the fip_create and aml_encrypt_gxb binaries
+# from Hardkernel.
+#
+BUILD_DEPENDS+=		amlogic-meson-fwtools>=0.0:../../sysutils/amlogic-meson-fwtools
+post-build:
+	cp ${WRKSRC}/u-boot.bin ${WRKSRC}/bl33.bin
+
+	bash ${PREFIX}/bin/blx_fix_g12a.sh \
+		${WRKSRC}/${xBL30_BIN} \
+		${WRKSRC}/zero_tmp \
+		${WRKSRC}/bl30_zero.bin \
+		${WRKSRC}/${xBL301_BIN} \
+		${WRKSRC}/bl301_zero.bin \
+		${WRKSRC}/bl30_new.bin \
+		bl30
+
+	bash ${PREFIX}/bin/blx_fix_g12a.sh \
+		${WRKSRC}/${xBL2_BIN} \
+		${WRKSRC}/zero_tmp \
+		${WRKSRC}/bl2_zero.bin \
+		${WRKSRC}/${xACS_BIN} \
+		${WRKSRC}/bl21_zero.bin \
+		${WRKSRC}/bl2_new.bin \
+		bl2
+
+	${PREFIX}/bin/aml_encrypt_g12b --bl30sig --input ${WRKSRC}/bl30_new.bin \
+		--output ${WRKSRC}/bl30_new.bin.g12a.enc \
+		--level v3
+
+	${PREFIX}/bin/aml_encrypt_g12b --bl3sig --input ${WRKSRC}/bl30_new.bin.g12a.enc \
+		--output ${WRKSRC}/bl30_new.bin.enc \
+		--level v3 --type bl30
+
+	${PREFIX}/bin/aml_encrypt_g12b --bl3sig --input ${WRKSRC}/${xBL31_IMG} \
+		--output ${WRKSRC}/${xBL31_IMG}.enc \
+		--level v3 --type bl31
+
+	${PREFIX}/bin/aml_encrypt_g12b --bl3sig --input ${WRKSRC}/bl33.bin --compress lz4 \
+		--output ${WRKSRC}/bl33.bin.enc \
+		--level v3 --type bl33 --compress lz4
+
+	${PREFIX}/bin/aml_encrypt_g12b --bl2sig --input ${WRKSRC}/bl2_new.bin \
+		--output ${WRKSRC}/bl2.n.bin.sig
+
+	${PREFIX}/bin/aml_encrypt_g12b --bootmk \
+		--output ${WRKSRC}/${UBOOT_BIN} \
+		--bl2 ${WRKSRC}/bl2.n.bin.sig \
+		--bl30 ${WRKSRC}/bl30_new.bin.enc \
+		--bl31 ${WRKSRC}/${xBL31_IMG}.enc \
+		--bl33 ${WRKSRC}/bl33.bin.enc \
+		--ddrfw1 ${WRKSRC}/${xDDR4_1D_FW} \
+		--ddrfw2 ${WRKSRC}/${xDDR4_2D_FW} \
+		--ddrfw3 ${WRKSRC}/${xDDR3_1D_FW} \
+		--ddrfw4 ${WRKSRC}/${xPIEI_FW} \
+		--ddrfw5 ${WRKSRC}/${xLPDDR4_1D_FW} \
+		--ddrfw6 ${WRKSRC}/${xLPDDR4_2D_FW} \
+		--ddrfw7 ${WRKSRC}/${xDIAG_LPDDR4_FW} \
+		--ddrfw8 ${WRKSRC}/${xAML_DDR_FW} \
+		--ddrfw9 ${WRKSRC}/${xLPDDR3_1D_FW} \
+		--level v3
+
+CHECK_PORTABILITY_SKIP+=	tools/imx8m_image.sh
+PKG_DEFAULT_OPTIONS+=		el1
+
+.include "../../sysutils/u-boot/u-boot-arm64.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/u-boot-khadas-vim3/PLIST b/u-boot-khadas-vim3/PLIST
new file mode 100644
index 0000000000..7c1f396d2b
--- /dev/null
+++ b/u-boot-khadas-vim3/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.2 2019/05/18 17:55:06 thorpej Exp $
+share/u-boot/khadas-vim3/installboot.plist
+share/u-boot/khadas-vim3/u-boot.g12b
diff --git a/u-boot-khadas-vim3/distinfo b/u-boot-khadas-vim3/distinfo
new file mode 100644
index 0000000000..fa8ccb3d07
--- /dev/null
+++ b/u-boot-khadas-vim3/distinfo
@@ -0,0 +1,72 @@
+$NetBSD: distinfo,v 1.7 2020/04/09 05:59:31 wiz Exp $
+
+SHA1 (khadas-vim3-v2015.01-acs.bin) = 006e5fb09f5e95d48bbc9acf799a97ac0c66a950
+RMD160 (khadas-vim3-v2015.01-acs.bin) = 5322aad19e4e1e01aaa636aa738824781e691757
+SHA512 (khadas-vim3-v2015.01-acs.bin) = deed152cf33b28cb559043822baf776dd58769ebb0d90e97f785b5f51b884d216f279772d50c68e36f397921697ebc2a1c7dfc00f0104ce09909c3b8d31de4e6
+Size (khadas-vim3-v2015.01-acs.bin) = 3112 bytes
+SHA1 (khadas-vim3-v2015.01-aml_ddr.fw) = 869fa221d51017c202257fd273b1a94bf9932db3
+RMD160 (khadas-vim3-v2015.01-aml_ddr.fw) = 61c3510d5b66b34b2da9009624f097d459ececf9
+SHA512 (khadas-vim3-v2015.01-aml_ddr.fw) = 8385b4c0f4607958a067056e15324183d5edad8e381a1f799b579e164fed38c764d0f97aeebbe105f8e9306f7c249757dbdc01a569f7e0f18538387bc5724878
+Size (khadas-vim3-v2015.01-aml_ddr.fw) = 46952 bytes
+SHA1 (khadas-vim3-v2015.01-bl2.bin) = c8e3f6e1e9f2b09fa578dffb03766796c2ba463f
+RMD160 (khadas-vim3-v2015.01-bl2.bin) = 5e9008f78cc95c0c7a35b44ca3ee9abcfcd4e4ba
+SHA512 (khadas-vim3-v2015.01-bl2.bin) = e5839e8ff7398bcd265a325ced9de472c9b295eec4f8d3f2fe08194f0a47480742062058823ca71038ff46709f35b9d8f3cca28444e92121a28c486e2658af66
+Size (khadas-vim3-v2015.01-bl2.bin) = 53248 bytes
+SHA1 (khadas-vim3-v2015.01-bl30.bin) = d9c0da6c8a84f7020778c4efcbe9076546cb2d77
+RMD160 (khadas-vim3-v2015.01-bl30.bin) = e946186e8b9318763104238f734bbf17b57e4692
+SHA512 (khadas-vim3-v2015.01-bl30.bin) = 081a61cf03976072542a90064154ce5321aada6cc73584817fa7406452282e9601a6a0c52b8a65971d9d45ebf5fc0629e59f92ef0450eaf4188411de9e74248e
+Size (khadas-vim3-v2015.01-bl30.bin) = 40912 bytes
+SHA1 (khadas-vim3-v2015.01-bl301.bin) = aff0743f9eeeddfc5fce0361ddb451b7e9feb1b4
+RMD160 (khadas-vim3-v2015.01-bl301.bin) = 68933da96f3d0433b8e9fcda1f2b2344b2178df1
+SHA512 (khadas-vim3-v2015.01-bl301.bin) = fc146907912ec764d57765308a09343b8f81bdcf3e45f2941f175e3b5c1494fce6d79c0c0a0ce9b54d19951ca2d84624b58c83e57a786380675ef83133e2b4fe
+Size (khadas-vim3-v2015.01-bl301.bin) = 8330 bytes
+SHA1 (khadas-vim3-v2015.01-bl31.img) = 38da830f714f12fcfae67ecea6ab44fd5ce63369
+RMD160 (khadas-vim3-v2015.01-bl31.img) = f95cbecd2a8d440f334fec39d071d6bbdb89f85b
+SHA512 (khadas-vim3-v2015.01-bl31.img) = c02e446a7f15524f5ece7f667a2cb7b7d8d9a1f3d14d1438bf5cabdc88c66aebdd5a37094703960d6f60d8e084bebd3b8e08af1d631863a48beb20b9459d0af7
+Size (khadas-vim3-v2015.01-bl31.img) = 169264 bytes
+SHA1 (khadas-vim3-v2015.01-ddr3_1d.fw) = 0b2356f662adc39487c8b7814c6421d1939c0c7c
+RMD160 (khadas-vim3-v2015.01-ddr3_1d.fw) = c890fe218e5c3fea52ab32b5a7654963a6d20bcb
+SHA512 (khadas-vim3-v2015.01-ddr3_1d.fw) = 7a44e4966fd43d376cf06dc78b3aa099944a266e8ff8f69db086869f2423d12d024cb8a3ae24a1d82c9d2e8a39599ac25a56f11b1fda2ff0de96fe259de65eaa
+Size (khadas-vim3-v2015.01-ddr3_1d.fw) = 49248 bytes
+SHA1 (khadas-vim3-v2015.01-ddr4_1d.fw) = 5c7106fb0548bb46dfcb5b1a078dae53a56f12e9
+RMD160 (khadas-vim3-v2015.01-ddr4_1d.fw) = 8bd40c9b8c592ea7677e718e7f4a02887d3687bc
+SHA512 (khadas-vim3-v2015.01-ddr4_1d.fw) = a4aa261997107ad98e0a1770b8c8d2786d154e8743786d05eb684e6ff524d7e49f3729c87e423d441edc09fce1407e5bfac6ccf761ed4f8abd70121c44e6bd5d
+Size (khadas-vim3-v2015.01-ddr4_1d.fw) = 49248 bytes
+SHA1 (khadas-vim3-v2015.01-ddr4_2d.fw) = 42d01374688fd15098382b4c440c3943bb8d3b70
+RMD160 (khadas-vim3-v2015.01-ddr4_2d.fw) = 8d8d9cc5f376d44c40f3c1c917d95b7cd762f568
+SHA512 (khadas-vim3-v2015.01-ddr4_2d.fw) = 8094e155f3d16e963446a9d101bd4c04b712f7be765193381bb3accb2daf12e58529559b0d5f22dcc87b8076b96b1c174e636d9bf1a5c4166a82eba2ac01661d
+Size (khadas-vim3-v2015.01-ddr4_2d.fw) = 49248 bytes
+SHA1 (khadas-vim3-v2015.01-diag_lpddr4.fw) = 57b3a73ae03c9b973262a5686c2deac53e755152
+RMD160 (khadas-vim3-v2015.01-diag_lpddr4.fw) = 57441888a5476d1576fc3614a57ff442d370060a
+SHA512 (khadas-vim3-v2015.01-diag_lpddr4.fw) = b08b924ada211e34404f2b77f54567998713847c8b53824ddbdc09482823a67a9ae26c7161daa93dbc7b7053dc9aa4bd969401064f024a9f8c30be60f12639f2
+Size (khadas-vim3-v2015.01-diag_lpddr4.fw) = 49248 bytes
+SHA1 (khadas-vim3-v2015.01-lpddr3_1d.fw) = 7963eb641e264998f023d4d8032a370b55ae5c9e
+RMD160 (khadas-vim3-v2015.01-lpddr3_1d.fw) = f4d7277487dfe2f7399cf4e5ae53522d396ad270
+SHA512 (khadas-vim3-v2015.01-lpddr3_1d.fw) = ab0cc0183a3b0364caca8c6d32c7fcf22cb054b97e60a75547f10fbd702c2617aba115bc316735f4e65b92053649419154f09cf1ff873f0a0367a2addce66943
+Size (khadas-vim3-v2015.01-lpddr3_1d.fw) = 49248 bytes
+SHA1 (khadas-vim3-v2015.01-lpddr4_1d.fw) = 97895b3da71b26c7781c5293d54b6e571693edc3
+RMD160 (khadas-vim3-v2015.01-lpddr4_1d.fw) = 12c5b2d59df812b5ec93095c7fffded76aa62d48
+SHA512 (khadas-vim3-v2015.01-lpddr4_1d.fw) = fa7cf47d0b92e9c1559e9149a415f47d7c769a3a0185fc77657bcebc2063f00b1e5ae28c1a3668393ae5636db65f86c71495d7ccddcd1babbdbe9b176d71735c
+Size (khadas-vim3-v2015.01-lpddr4_1d.fw) = 49248 bytes
+SHA1 (khadas-vim3-v2015.01-lpddr4_2d.fw) = 0f2c51bfbf6f382e1c10dd8f11fa2227902568f0
+RMD160 (khadas-vim3-v2015.01-lpddr4_2d.fw) = 545efd8300d24face0cc0e0681becbbe313e39af
+SHA512 (khadas-vim3-v2015.01-lpddr4_2d.fw) = cf4d6f81d40ebdc818e298ab179a8c8aa4b49feeff24033cdef67bf9d33d5dc8b6b0a09025a7c0ab46b60257cbec4ff9c26a77e7dbbfd4713f575d0bc211d566
+Size (khadas-vim3-v2015.01-lpddr4_2d.fw) = 49248 bytes
+SHA1 (khadas-vim3-v2015.01-piei.fw) = ad92e172b976f078221cbb826698221698011cb9
+RMD160 (khadas-vim3-v2015.01-piei.fw) = c2bfb9f59aa3313bb9069920bd778736fe19288c
+SHA512 (khadas-vim3-v2015.01-piei.fw) = 1041d95b56cd90229d48204ceb5e1b3639167a56f971338cabde161540f7a31e185d9b8a09798e823b3162c1b317f4123294f98483a125989c07a57cd86633b8
+Size (khadas-vim3-v2015.01-piei.fw) = 10088 bytes
+SHA1 (u-boot-2021.07.tar.bz2) = fc997c4efbb93df340c41e0c7b8a4137ab8b6ee3
+RMD160 (u-boot-2021.07.tar.bz2) = cffcaf0b1600b76da8176c2f7495ee8a15c86c6e
+SHA512 (u-boot-2021.07.tar.bz2) = 210b206a4626feb0985580d9448a97b499b09bf9b9313ca847a66624785e9e9b0fae8f2e329acd344f5f75cb722d2093dd0ee394311ddd1fde05e400ee71a24d
+Size (u-boot-2021.07.tar.bz2) = 17275746 bytes
+SHA1 (patch-arch_arm_lib_interrupts__64.c) = 708be481a01b84c6c69d88465adf898b659dbeab
+SHA1 (patch-arch_arm_mach-rockchip_rk3399_rk3399.c) = caa4068c635eaef5997501e154ec5cb11dcbf490
+SHA1 (patch-board_pine64_pinebook-pro-rk3399_pinebook-pro-rk3399.c) = 49954716240e93b33e13288f92b14f527ba15bdf
+SHA1 (patch-configs_pinebook-pro-rk3399_defconfig) = 6f9ddd87ef1486fa0785b2f00c6819ace1436853
+SHA1 (patch-configs_rock64-rk3328_defconfig) = 59076a9934c1ec0a492d600b3179209769753fd1
+SHA1 (patch-configs_rockpro64-rk3399_defconfig) = 4d355140bc2b70667827fde7165ce2541612572c
+SHA1 (patch-drivers_pci_pcie__rockchip.c) = 5ead0933261b2cef81cd317df478e47ecc0382d4
+SHA1 (patch-drivers_usb_host_usb-uclass.c) = 0e90ccfbc908d0bd1d35eff31c2d1a2ed52e9dd0
+SHA1 (patch-include_configs_rockchip-common.h) = 8d2fcde173fd6f5c2b27c8fe6eb9994b2b40e099
+SHA1 (patch-include_configs_rockpro64_rk3399.h) = 7efd0b09cbf627dc59d2a23a76dd6506c9efc4c9
diff --git a/u-boot-khadas-vim3/files/installboot.plist b/u-boot-khadas-vim3/files/installboot.plist
new file mode 100644
index 0000000000..27e7a94e4e
--- /dev/null
+++ b/u-boot-khadas-vim3/files/installboot.plist
@@ -0,0 +1,55 @@
+<!-- $NetBSD: installboot.plist,v 1.1 2019/05/18 17:55:06 thorpej Exp $ -->
+<!--
+  Copyright (c) 2019 The NetBSD Foundation, Inc.
+  All rights reserved.
+ 
+  This code is derived from software contributed to The NetBSD Foundation
+  by Jason R. Thorpe.
+ 
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions
+  are met:
+  1. Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+  2. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in the
+     documentation and/or other materials provided with the distribution.
+ 
+  THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+  ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+  TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+  PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+  BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+  POSSIBILITY OF SUCH DAMAGE.
+-->
+<plist>
+<dict>
+	<key>khadas,vim3</key>
+	<dict>
+		<key>description</key>
+		<string>Khadas VIM3</string>
+		<key>u-boot-install</key>
+		<array>
+			<dict>
+				<key>file-name</key>
+				<string>u-boot.g12b</string>
+				<key>file-offset</key>
+				<integer>512</integer>
+				<key>image-offset</key>
+				<integer>512</integer>
+			</dict>
+			<dict>
+				<key>file-name</key>
+				<string>u-boot.g12b</string>
+				<key>file-size</key>
+				<integer>444</integer>
+			</dict>
+		</array>
+	</dict>
+</dict>
+</plist>


Home | Main Index | Thread Index | Old Index