aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-layerscape/patches/0083-armv8-fsl-layerscape-Fix-the-conflict-between-PPA-an.patch
diff options
context:
space:
mode:
authorYutang Jiang <yutang.jiang@nxp.com>2016-10-29 00:18:23 +0800
committerJohn Crispin <john@phrozen.org>2016-10-31 17:00:10 +0100
commit15a14cf1665ef3d8b5c77cce69b52d131340e3b3 (patch)
treebd544b24bd3e7fc7efc61f80e1755274971c5582 /package/boot/uboot-layerscape/patches/0083-armv8-fsl-layerscape-Fix-the-conflict-between-PPA-an.patch
parentc6c731fe311f7da42777ffd31804a4f6aa3f8e19 (diff)
downloadupstream-15a14cf1665ef3d8b5c77cce69b52d131340e3b3.tar.gz
upstream-15a14cf1665ef3d8b5c77cce69b52d131340e3b3.tar.bz2
upstream-15a14cf1665ef3d8b5c77cce69b52d131340e3b3.zip
layerscape: add 64b/32b target for ls1012ardb device
The QorIQ LS1012A processor, optimized for battery-backed or USB-powered, integrates a single ARM Cortex-A53 core with a hardware packet forwarding engine and high-speed interfaces to deliver line-rate networking performance. QorIQ LS1012A Reference Design System (LS1012ARDB) is a high-performance development platform, with a complete debugging environment. The LS1012ARDB board supports the QorIQ LS1012A processor and is optimized to support the high-bandwidth DDR3L memory and a full complement of high-speed SerDes ports. LEDE/OPENWRT will auto strip executable program file while make. So we need select CONFIG_NO_STRIP=y while make menuconfig to avoid the ppfe network fiemware be destroyed, then run make to build ls1012ardb firmware. The fsl-quadspi flash with jffs2 fs is unstable and arise some failed message. This issue have noticed the IP owner for investigate, hope he can solve it earlier. So the ls1012ardb now also provide a xx-firmware.ext4.bin as default firmware, and the uboot bootcmd will run wrtboot_ext4rfs for "rootfstype=ext4" bootargs. Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
Diffstat (limited to 'package/boot/uboot-layerscape/patches/0083-armv8-fsl-layerscape-Fix-the-conflict-between-PPA-an.patch')
-rw-r--r--package/boot/uboot-layerscape/patches/0083-armv8-fsl-layerscape-Fix-the-conflict-between-PPA-an.patch120
1 files changed, 120 insertions, 0 deletions
diff --git a/package/boot/uboot-layerscape/patches/0083-armv8-fsl-layerscape-Fix-the-conflict-between-PPA-an.patch b/package/boot/uboot-layerscape/patches/0083-armv8-fsl-layerscape-Fix-the-conflict-between-PPA-an.patch
new file mode 100644
index 0000000000..e085a87c44
--- /dev/null
+++ b/package/boot/uboot-layerscape/patches/0083-armv8-fsl-layerscape-Fix-the-conflict-between-PPA-an.patch
@@ -0,0 +1,120 @@
+From db48271175c0566bb5e59776a23297d64aec9fcd Mon Sep 17 00:00:00 2001
+From: Alison Wang <b18965@freescale.com>
+Date: Thu, 21 Jul 2016 18:13:29 +0800
+Subject: [PATCH 83/93] armv8: fsl-layerscape: Fix the conflict between PPA
+ and AArch32 support
+
+As there is conflict between PPA and AArch32 support, this patch is to
+add a new defconfig for AArch32 support and move the definition for PPA
+to the board defconfig.
+
+Signed-off-by: Alison Wang <alison.wang@nxp.com>
+---
+ configs/ls1012afrdm_aarch32_qspi_defconfig | 11 +++++++++++
+ configs/ls1012afrdm_qspi_defconfig | 1 +
+ configs/ls1012ardb_aarch32_qspi_defconfig | 11 +++++++++++
+ configs/ls1012ardb_qspi_SECURE_BOOT_defconfig | 1 +
+ configs/ls1012ardb_qspi_defconfig | 1 +
+ include/configs/ls1012afrdm.h | 1 -
+ include/configs/ls1012ardb.h | 1 -
+ 7 files changed, 25 insertions(+), 2 deletions(-)
+ create mode 100644 configs/ls1012afrdm_aarch32_qspi_defconfig
+ create mode 100644 configs/ls1012ardb_aarch32_qspi_defconfig
+
+diff --git a/configs/ls1012afrdm_aarch32_qspi_defconfig b/configs/ls1012afrdm_aarch32_qspi_defconfig
+new file mode 100644
+index 0000000..1bb9080
+--- /dev/null
++++ b/configs/ls1012afrdm_aarch32_qspi_defconfig
+@@ -0,0 +1,11 @@
++CONFIG_ARM=y
++CONFIG_TARGET_LS1012AFRDM=y
++CONFIG_SYS_EXTRA_OPTIONS="QSPI_BOOT"
++# CONFIG_CMD_IMLS is not set
++# CONFIG_FSL_LS_PPA is not set
++CONFIG_SYS_NS16550=y
++CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1012a-frdm"
++CONFIG_OF_CONTROL=y
++CONFIG_DM=y
++CONFIG_SPI_FLASH=y
++CONFIG_DM_SPI=y
+diff --git a/configs/ls1012afrdm_qspi_defconfig b/configs/ls1012afrdm_qspi_defconfig
+index e27181c..1f69db7 100644
+--- a/configs/ls1012afrdm_qspi_defconfig
++++ b/configs/ls1012afrdm_qspi_defconfig
+@@ -2,6 +2,7 @@ CONFIG_ARM=y
+ CONFIG_TARGET_LS1012AFRDM=y
+ CONFIG_SYS_EXTRA_OPTIONS="QSPI_BOOT"
+ # CONFIG_CMD_IMLS is not set
++CONFIG_FSL_LS_PPA=y
+ CONFIG_SYS_NS16550=y
+ CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1012a-frdm"
+ CONFIG_OF_CONTROL=y
+diff --git a/configs/ls1012ardb_aarch32_qspi_defconfig b/configs/ls1012ardb_aarch32_qspi_defconfig
+new file mode 100644
+index 0000000..df16f3b
+--- /dev/null
++++ b/configs/ls1012ardb_aarch32_qspi_defconfig
+@@ -0,0 +1,11 @@
++CONFIG_ARM=y
++CONFIG_TARGET_LS1012ARDB=y
++CONFIG_SYS_EXTRA_OPTIONS="QSPI_BOOT"
++# CONFIG_CMD_IMLS is not set
++# CONFIG_FSL_LS_PPA is not set
++CONFIG_SYS_NS16550=y
++CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1012a-rdb"
++CONFIG_OF_CONTROL=y
++CONFIG_DM=y
++CONFIG_SPI_FLASH=y
++CONFIG_DM_SPI=y
+diff --git a/configs/ls1012ardb_qspi_SECURE_BOOT_defconfig b/configs/ls1012ardb_qspi_SECURE_BOOT_defconfig
+index 92a95a8..4091503 100644
+--- a/configs/ls1012ardb_qspi_SECURE_BOOT_defconfig
++++ b/configs/ls1012ardb_qspi_SECURE_BOOT_defconfig
+@@ -2,6 +2,7 @@ CONFIG_ARM=y
+ CONFIG_TARGET_LS1012ARDB=y
+ CONFIG_SYS_EXTRA_OPTIONS="QSPI_BOOT,SECURE_BOOT"
+ # CONFIG_CMD_IMLS is not set
++# CONFIG_FSL_LS_PPA is not set
+ CONFIG_SYS_NS16550=y
+ CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1012a-rdb"
+ CONFIG_OF_CONTROL=y
+diff --git a/configs/ls1012ardb_qspi_defconfig b/configs/ls1012ardb_qspi_defconfig
+index f819038..e025247 100644
+--- a/configs/ls1012ardb_qspi_defconfig
++++ b/configs/ls1012ardb_qspi_defconfig
+@@ -2,6 +2,7 @@ CONFIG_ARM=y
+ CONFIG_TARGET_LS1012ARDB=y
+ CONFIG_SYS_EXTRA_OPTIONS="QSPI_BOOT"
+ # CONFIG_CMD_IMLS is not set
++CONFIG_FSL_LS_PPA=y
+ CONFIG_SYS_NS16550=y
+ CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1012a-rdb"
+ CONFIG_OF_CONTROL=y
+diff --git a/include/configs/ls1012afrdm.h b/include/configs/ls1012afrdm.h
+index 0e35fe9..a736687 100644
+--- a/include/configs/ls1012afrdm.h
++++ b/include/configs/ls1012afrdm.h
+@@ -10,7 +10,6 @@
+ #include "ls1012a_common.h"
+
+ #ifndef CONFIG_SECURE_BOOT
+-#define CONFIG_FSL_LS_PPA
+ #if defined(CONFIG_FSL_LS_PPA)
+ #define CONFIG_ARMV8_PSCI
+ #define CONFIG_SYS_LS_PPA_DRAM_BLOCK_MIN_SIZE (1UL * 1024 * 1024)
+diff --git a/include/configs/ls1012ardb.h b/include/configs/ls1012ardb.h
+index d78edd2..400fa61 100644
+--- a/include/configs/ls1012ardb.h
++++ b/include/configs/ls1012ardb.h
+@@ -9,7 +9,6 @@
+
+ #include "ls1012a_common.h"
+
+-#define CONFIG_FSL_LS_PPA
+ #if defined(CONFIG_FSL_LS_PPA)
+ #define CONFIG_ARMV8_PSCI
+ #define CONFIG_SYS_LS_PPA_DRAM_BLOCK_MIN_SIZE (1UL * 1024 * 1024)
+--
+1.7.9.5
+