layerscape: stop pfe before starting up kernel
authorYangbo Lu <yangbo.lu@nxp.com>
Thu, 19 Oct 2017 11:42:59 +0000 (19:42 +0800)
committerJohn Crispin <john@phrozen.org>
Fri, 10 Nov 2017 22:00:47 +0000 (23:00 +0100)
For ls1012ardb, pfe should be stopped before starting up
kernel.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
package/boot/uboot-layerscape-armv8_32b/Makefile
package/boot/uboot-layerscape/patches/0003-armv8-ls1012ardb-add-LEDE-boot-support-in-environmen.patch

index 977881874c31bbfd1952e171330cc8156b4cba16..3b532b3ba48b04b014c48e5e1b597ed0d8916326 100644 (file)
@@ -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 <yangbo.lu@nxp.com>
 
index 427b93948a9f7c36f30ab200f44ad916dd42b657..197735afaff90bd8b858d9f78a694e96214bb704 100644 (file)
@@ -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" \