layerscape: make uImage with zImage for 32-bit kernel
[openwrt/openwrt.git] / target / linux / layerscape / patches-4.4 / 3004-armv8-aarch32-Add-ITS-file-for-AArch32-Linux-on-LS10.patch
1 From 503f48a0a43ddf20098b2a5ec2c3d9d91775e441 Mon Sep 17 00:00:00 2001
2 From: Alison Wang <b18965@freescale.com>
3 Date: Wed, 9 Dec 2015 10:53:04 +0800
4 Subject: [PATCH 04/70] armv8: aarch32: Add ITS file for AArch32 Linux on
5 LS1043ARDB
6
7 kernel-ls1043a-rdb-aarch32.its is added to load kernel, DTB
8 and root filesystrem together.
9
10 Signed-off-by: Alison Wang <alison.wang@nxp.com>
11 ---
12 kernel-ls1043a-rdb-aarch32.its | 53 ++++++++++++++++++++++++++++++++++++++++
13 1 file changed, 53 insertions(+)
14 create mode 100644 kernel-ls1043a-rdb-aarch32.its
15
16 --- /dev/null
17 +++ b/kernel-ls1043a-rdb-aarch32.its
18 @@ -0,0 +1,53 @@
19 +/*
20 + * Copyright (C) 2015, Freescale Semiconductor
21 + *
22 + * This file is licensed under the terms of the GNU General Public
23 + * License version 2. This program is licensed "as is" without any
24 + * warranty of any kind, whether express or implied.
25 + */
26 +
27 +/dts-v1/;
28 +
29 +/ {
30 + description = "RDB Image file for the LS1043A Linux Kernel";
31 + #address-cells = <1>;
32 +
33 + images {
34 + kernel@1 {
35 + description = "ARM32 Linux kernel";
36 + data = /incbin/("./arch/arm/boot/zImage");
37 + type = "kernel";
38 + arch = "arm";
39 + os = "linux";
40 + compression = "none";
41 + load = <0x80008000>;
42 + entry = <0x80008000>;
43 + };
44 + fdt@1 {
45 + description = "Flattened Device Tree blob";
46 + data = /incbin/("./fsl-ls1043a-rdb.dtb");
47 + type = "flat_dt";
48 + arch = "arm";
49 + compression = "none";
50 + load = <0x90000000>;
51 + };
52 + ramdisk@1 {
53 + description = "LS1 Ramdisk";
54 + data = /incbin/("./fsl-image-core-ls1021atwr-wifi.rootfs.ext2.gz");
55 + type = "ramdisk";
56 + arch = "arm";
57 + os = "linux";
58 + compression = "none";
59 + };
60 + };
61 +
62 + configurations {
63 + default = "config@1";
64 + config@1 {
65 + description = "Boot Linux kernel";
66 + kernel = "kernel@1";
67 + fdt = "fdt@1";
68 + ramdisk = "ramdisk@1";
69 + };
70 + };
71 +};