build/patch/u-boot/v2022.04/board_rk322x-box/rk322x-box-add-its.patch

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";
+ };
+ };
+};