armbian_build/patch/u-boot/u-boot-rk322x/board_rk322x-box/rk322x-box-add-its.patch
Paolo Sabatino e4d895607e rk322x: uboot: upgrade to v2021.04-rc5
* adapted efuse and gmac patches to u-boot v2021.04
 * enlarge SPL stack size to 0x8000 (caused u-boot freeze after SPL loading)
 * fix signed/unsigned comparison (caused u-boot freeze before SPL loading)
 * enable back size optimization flag

commit 0363085a3bec3f76db8937f24ef81fc38f89549f
Author: Paolo Sabatino <paolo.sabatino@gmail.com>
Date:   Sat Apr 3 16:02:14 2021 +0000

    rk322x: bump u-boot to v2021.01 (fix dtb load address in .its, revert offending mainline patch)
2021-04-04 15:52:22 +00:00

58 lines
1.2 KiB
Diff

diff --git a/board/rockchip/rk322x-box.its b/board/rockchip/rk322x-box/rk322x-box.its
new file mode 100644
index 00000000..a5824c61
--- /dev/null
+++ b/board/rockchip/rk322x-box/rk322x-box.its
@@ -0,0 +1,51 @@
+/*
+ * Copyright (C) 2017-2019 Rockchip Electronic Co.,Ltd
+ *
+ * Simple U-boot FIT source file containing U-Boot, dtb and optee
+ */
+
+/dts-v1/;
+
+/ {
+ description = "FIT image with OP-TEE support";
+ #address-cells = <1>;
+
+ images {
+ uboot {
+ description = "U-Boot";
+ data = /incbin/("u-boot-dtb.bin");
+ type = "standalone";
+ os = "U-Boot";
+ arch = "arm";
+ compression = "none";
+ load = <0x61000000>;
+ };
+ optee {
+ description = "OP-TEE";
+ data = /incbin/("../../../../packages/blobs/rockchip/rk322x_tee.bin");
+ type = "firmware";
+ arch = "arm";
+ os = "tee";
+ compression = "none";
+ load = <0x68400000>;
+ entry = <0x68400000>;
+ };
+ fdt {
+ description = "rk322x-box";
+ data = /incbin/("arch/arm/dts/rk322x-box.dtb");
+ load = <0x60010000>;
+ type = "flat_dt";
+ compression = "none";
+ };
+ };
+
+ configurations {
+ default = "conf";
+ conf {
+ description = "rk322x-box";
+ firmware = "optee";
+ loadables = "uboot";
+ fdt = "fdt";
+ };
+ };
+};