3004-armv8-aarch32-Add-ITS-file-for-AArch32-Linux-on-LS10.patch 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. kernel-ls1043a-rdb-aarch32.its is added to load kernel, DTB
  7. and root filesystrem together.
  8. Signed-off-by: Alison Wang <alison.wang@nxp.com>
  9. ---
  10. kernel-ls1043a-rdb-aarch32.its | 53 ++++++++++++++++++++++++++++++++++++++++
  11. 1 file changed, 53 insertions(+)
  12. create mode 100644 kernel-ls1043a-rdb-aarch32.its
  13. --- /dev/null
  14. +++ b/kernel-ls1043a-rdb-aarch32.its
  15. @@ -0,0 +1,53 @@
  16. +/*
  17. + * Copyright (C) 2015, Freescale Semiconductor
  18. + *
  19. + * This file is licensed under the terms of the GNU General Public
  20. + * License version 2. This program is licensed "as is" without any
  21. + * warranty of any kind, whether express or implied.
  22. + */
  23. +
  24. +/dts-v1/;
  25. +
  26. +/ {
  27. + description = "RDB Image file for the LS1043A Linux Kernel";
  28. + #address-cells = <1>;
  29. +
  30. + images {
  31. + kernel@1 {
  32. + description = "ARM32 Linux kernel";
  33. + data = /incbin/("./arch/arm/boot/zImage");
  34. + type = "kernel";
  35. + arch = "arm";
  36. + os = "linux";
  37. + compression = "none";
  38. + load = <0x80008000>;
  39. + entry = <0x80008000>;
  40. + };
  41. + fdt@1 {
  42. + description = "Flattened Device Tree blob";
  43. + data = /incbin/("./fsl-ls1043a-rdb.dtb");
  44. + type = "flat_dt";
  45. + arch = "arm";
  46. + compression = "none";
  47. + load = <0x90000000>;
  48. + };
  49. + ramdisk@1 {
  50. + description = "LS1 Ramdisk";
  51. + data = /incbin/("./fsl-image-core-ls1021atwr-wifi.rootfs.ext2.gz");
  52. + type = "ramdisk";
  53. + arch = "arm";
  54. + os = "linux";
  55. + compression = "none";
  56. + };
  57. + };
  58. +
  59. + configurations {
  60. + default = "config@1";
  61. + config@1 {
  62. + description = "Boot Linux kernel";
  63. + kernel = "kernel@1";
  64. + fdt = "fdt@1";
  65. + ramdisk = "ramdisk@1";
  66. + };
  67. + };
  68. +};