summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew F. Davis2019-05-18 14:48:55 -0500
committerAndrew F. Davis2019-05-18 14:49:25 -0500
commite97bc689ba67a7d3dddeacbccced34fcca68fd08 (patch)
tree98b04b75df751a5c5455204e35cd73fcc3bc0b05
parent39faf766d5a6cfaf88001fbb5ebc707e9b7dba42 (diff)
downloaddevice-ti-j721e-e97bc689ba67a7d3dddeacbccced34fcca68fd08.tar.gz
device-ti-j721e-e97bc689ba67a7d3dddeacbccced34fcca68fd08.tar.xz
device-ti-j721e-e97bc689ba67a7d3dddeacbccced34fcca68fd08.zip
j721e: Use j721e wakeup kernel ITS
Signed-off-by: Andrew F. Davis <afd@ti.com>
-rw-r--r--build/tasks/boot_fit.mk4
-rw-r--r--j721.its122
-rw-r--r--j721e.its45
3 files changed, 47 insertions, 124 deletions
diff --git a/build/tasks/boot_fit.mk b/build/tasks/boot_fit.mk
index cf2be4f..b9009ab 100644
--- a/build/tasks/boot_fit.mk
+++ b/build/tasks/boot_fit.mk
@@ -1,11 +1,11 @@
1ifneq ($(filter am65xevm%, $(TARGET_DEVICE)),) 1ifneq ($(filter j721e%, $(TARGET_DEVICE)),)
2ifeq ($(TARGET_BOOTIMAGE_FIT), true) 2ifeq ($(TARGET_BOOTIMAGE_FIT), true)
3 3
4MKIMAGE := $(shell command -v mkimage 2> /dev/null) 4MKIMAGE := $(shell command -v mkimage 2> /dev/null)
5DTC_FLAGS_MKIMAGE = -I dts -O dtb -p 500 -Wno-unit_address_vs_reg 5DTC_FLAGS_MKIMAGE = -I dts -O dtb -p 500 -Wno-unit_address_vs_reg
6BOARD_DIR := device/ti/j721e 6BOARD_DIR := device/ti/j721e
7FIT_DIR := $(PRODUCT_OUT)/obj/fit 7FIT_DIR := $(PRODUCT_OUT)/obj/fit
8ITS := am65x-evm.its 8ITS := j721e.its
9BOOTIMG_FIT := $(PRODUCT_OUT)/boot_fit.img 9BOOTIMG_FIT := $(PRODUCT_OUT)/boot_fit.img
10 10
11$(BOOTIMG_FIT): $(INSTALLED_KERNEL_TARGET) $(INSTALLED_RAMDISK_TARGET) $(BOARD_DIR)/$(ITS) 11$(BOOTIMG_FIT): $(INSTALLED_KERNEL_TARGET) $(INSTALLED_RAMDISK_TARGET) $(BOARD_DIR)/$(ITS)
diff --git a/j721.its b/j721.its
deleted file mode 100644
index 48de776..0000000
--- a/j721.its
+++ /dev/null
@@ -1,122 +0,0 @@
1/dts-v1/;
2
3/ {
4 description = "AM65x FIT Image Source";
5 #address-cells = <1>;
6
7 images {
8 kernel@1 {
9 description = "LCPD kernel";
10 data = /incbin/("Image");
11 type = "kernel";
12 arch = "arm64";
13 os = "linux";
14 compression = "none";
15 load = <0x80080000>;
16 entry = <0x80080000>;
17 };
18 ramdisk@1 {
19 description = "Android Ramdisk Image";
20 data = /incbin/("ramdisk.img");
21 type = "ramdisk";
22 arch = "arm64";
23 os = "linux";
24 compression = "none";
25 };
26 fdt@1 {
27 description = "AM65x Base Board";
28 data = /incbin/("k3-am654-base-board.dtb");
29 type = "flat_dt";
30 arch = "arm64";
31 compression = "none";
32 load = <0x83000000>;
33 };
34 fdt@2 {
35 description = "AM65x OLDI-LCD Support Overlay";
36 data = /incbin/("k3-am654-evm-oldi-lcd1evm.dtbo");
37 type = "flat_dt";
38 arch = "arm64";
39 compression = "none";
40 load = <0x83080000>;
41 };
42 fdt@3 {
43 description = "AM65x GP application Board Overlay";
44 data = /incbin/("k3-am654-gp.dtbo");
45 type = "flat_dt";
46 arch = "arm64";
47 compression = "none";
48 load = <0x83100000>;
49 };
50 fdt@4 {
51 description = "AM65x Toshiba Expansion Board Overlay";
52 data = /incbin/("k3-am654-evm-tc358876.dtbo");
53 type = "flat_dt";
54 arch = "arm64";
55 compression = "none";
56 load = <0x83180000>;
57 };
58 fdt@5 {
59 description = "AM65x PCIe USB3.0 SERDES personality card Overlay";
60 data = /incbin/("k3-am654-pcie-usb3.dtbo");
61 type = "flat_dt";
62 arch = "arm64";
63 compression = "none";
64 load = <0x83200000>;
65 };
66 fdt@6 {
67 description = "AM65x PCIe USB2.0 SERDES personality card Overlay";
68 data = /incbin/("k3-am654-pcie-usb2.dtbo");
69 type = "flat_dt";
70 arch = "arm64";
71 compression = "none";
72 load = <0x83280000>;
73 };
74 fdt@7 {
75 description = "AM65x CSI2 OV490 camera Overlay";
76 data = /incbin/("k3-am654-evm-csi2-ov490.dtbo");
77 type = "flat_dt";
78 arch = "arm64";
79 compression = "none";
80 load = <0x83300000>;
81 };
82 fdt@8 {
83 description = "AM65x AM65x IDK application board";
84 data = /incbin/("k3-am654-idk.dtbo");
85 type = "flat_dt";
86 arch = "arm64";
87 compression = "none";
88 load = <0x83380000>;
89 };
90 };
91
92 configurations {
93 default = "am65x";
94 k3-am654-base-board.dtb {
95 description = "AM65x Base EVM";
96 kernel = "kernel@1";
97 ramdisk = "ramdisk@1";
98 fdt = "fdt@1";
99 };
100 k3-am654-evm-oldi-lcd1evm.dtbo {
101 fdt = "fdt@2";
102 };
103 k3-am654-gp.dtbo {
104 fdt = "fdt@3";
105 };
106 k3-am654-evm-tc358876.dtbo {
107 fdt = "fdt@4";
108 };
109 k3-am654-pcie-usb3.dtbo {
110 fdt = "fdt@5";
111 };
112 k3-am654-pcie-usb2.dtbo {
113 fdt = "fdt@6";
114 };
115 k3-am654-evm-csi2-ov490.dtbo {
116 fdt = "fdt@7";
117 };
118 k3-am654-idk.dtbo {
119 fdt = "fdt@8";
120 };
121 };
122};
diff --git a/j721e.its b/j721e.its
new file mode 100644
index 0000000..bee72b0
--- /dev/null
+++ b/j721e.its
@@ -0,0 +1,45 @@
1/dts-v1/;
2
3/ {
4 description = "J721e FIT Image Source";
5 #address-cells = <1>;
6
7 images {
8 kernel@1 {
9 description = "LCPD kernel";
10 data = /incbin/("Image");
11 type = "kernel";
12 arch = "arm64";
13 os = "linux";
14 compression = "none";
15 load = <0x80080000>;
16 entry = <0x80080000>;
17 };
18 ramdisk@1 {
19 description = "Android Ramdisk Image";
20 data = /incbin/("ramdisk.img");
21 type = "ramdisk";
22 arch = "arm64";
23 os = "linux";
24 compression = "none";
25 };
26 fdt@1 {
27 description = "J721e Common Processor Board";
28 data = /incbin/("k3-j721e-common-proc-board.dtb");
29 type = "flat_dt";
30 arch = "arm64";
31 compression = "none";
32 load = <0x83000000>;
33 };
34 };
35
36 configurations {
37 default = "k3-j721e-common-proc-board.dtb";
38 k3-j721e-common-proc-board.dtb {
39 description = "J721e Common Processor Board";
40 kernel = "kernel@1";
41 ramdisk = "ramdisk@1";
42 fdt = "fdt@1";
43 };
44 };
45};