From: Yangbo Lu Date: Thu, 19 Oct 2017 11:42:59 +0000 (+0800) Subject: layerscape: stop pfe before starting up kernel X-Git-Tag: v18.06.0-rc1~1782 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ede04541ba751956c59235ed736c679e8a494c35;p=oweals%2Fopenwrt.git layerscape: stop pfe before starting up kernel For ls1012ardb, pfe should be stopped before starting up kernel. Signed-off-by: Yangbo Lu --- diff --git a/package/boot/uboot-layerscape-armv8_32b/Makefile b/package/boot/uboot-layerscape-armv8_32b/Makefile index 977881874c..3b532b3ba4 100644 --- a/package/boot/uboot-layerscape-armv8_32b/Makefile +++ b/package/boot/uboot-layerscape-armv8_32b/Makefile @@ -17,8 +17,8 @@ PKG_RELEASE:=1 # uboot-layerscape's source code. PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/yangbolu1991/u-boot-lede.git -PKG_SOURCE_VERSION:=470d1e2af567b27e247a005e004e6216df5c6f82 -PKG_MIRROR_HASH:=3798b1fc4beff784cbe6a0cd9bf04640d8f66691c236dd73b6e8ef348ee35076 +PKG_SOURCE_VERSION:=b973f9b8754440d8db4ead6cd59a6ad2f7378806 +PKG_MIRROR_HASH:=4297f79e502f869a042271877a0e5ac3b78f914c5797c53a48da0d7769e08fc7 PKG_MAINTAINER:=Yangbo Lu diff --git a/package/boot/uboot-layerscape/patches/0003-armv8-ls1012ardb-add-LEDE-boot-support-in-environmen.patch b/package/boot/uboot-layerscape/patches/0003-armv8-ls1012ardb-add-LEDE-boot-support-in-environmen.patch index 427b93948a..197735afaf 100644 --- a/package/boot/uboot-layerscape/patches/0003-armv8-ls1012ardb-add-LEDE-boot-support-in-environmen.patch +++ b/package/boot/uboot-layerscape/patches/0003-armv8-ls1012ardb-add-LEDE-boot-support-in-environmen.patch @@ -26,7 +26,7 @@ index 5fe3218..242cdf0 100644 + "mtdparts=1550000.quadspi:1M(rcw),2M(u-boot),1M(u-boot-env)," \ + "5M(reserved-1),256k(fman),5888k(reserved-2),1M(dtb)," \ + "16M(kernel),23M(ext4rfs),9M(user)\0" \ -+ "lede_run=sf probe 0:0 && " \ ++ "lede_run=pfe stop && sf probe 0:0 && " \ + "sf read $fdtaddr f00000 100000 && " \ + "sf read $loadaddr 1000000 1000000 && " \ + "bootm $loadaddr - $fdtaddr\0" \