From 15a14cf1665ef3d8b5c77cce69b52d131340e3b3 Mon Sep 17 00:00:00 2001 From: Yutang Jiang Date: Sat, 29 Oct 2016 00:18:23 +0800 Subject: 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 --- .../0087-armv8-ls1012a-Update-bootargs.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 package/boot/uboot-layerscape/patches/0087-armv8-ls1012a-Update-bootargs.patch (limited to 'package/boot/uboot-layerscape/patches/0087-armv8-ls1012a-Update-bootargs.patch') diff --git a/package/boot/uboot-layerscape/patches/0087-armv8-ls1012a-Update-bootargs.patch b/package/boot/uboot-layerscape/patches/0087-armv8-ls1012a-Update-bootargs.patch new file mode 100644 index 0000000000..e6c73a7ed9 --- /dev/null +++ b/package/boot/uboot-layerscape/patches/0087-armv8-ls1012a-Update-bootargs.patch @@ -0,0 +1,30 @@ +From 5610e5d9a759ecf48eccc1271aea8f8bc3399b50 Mon Sep 17 00:00:00 2001 +From: Pratiyush Mohan Srivastava +Date: Wed, 17 Aug 2016 18:31:53 +0530 +Subject: [PATCH 87/93] armv8/ls1012a: Update bootargs + +Add optimization parameters like "quiet" in bootargs to reduce the system +boot time + +Signed-off-by: Pratiyush Mohan Srivastava +Signed-off-by: Harninder Rai +--- + include/configs/ls1012a_common.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h +index 7e935ad..0489492 100644 +--- a/include/configs/ls1012a_common.h ++++ b/include/configs/ls1012a_common.h +@@ -153,7 +153,7 @@ + #define CONFIG_BOOTCOMMAND "bootm $kernel_load" + #else + #define CONFIG_BOOTARGS "console=ttyS0,115200 root=/dev/ram0 " \ +- "earlycon=uart8250,mmio,0x21c0500" ++ "earlycon=uart8250,mmio,0x21c0500 quiet lpj=250000" + #define CONFIG_BOOTCOMMAND "pfe stop; sf probe 0:0; sf read $kernel_load "\ + "$kernel_start $kernel_size && "\ + "bootm $kernel_load" +-- +1.7.9.5 + -- cgit v1.2.3