layerscape: stop pfe before starting up kernel

For ls1012ardb, pfe should be stopped before starting up
kernel.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
master
Yangbo Lu 7 years ago committed by John Crispin
parent 38417e9ce1
commit ede04541ba
  1. 4
      package/boot/uboot-layerscape-armv8_32b/Makefile
  2. 2
      package/boot/uboot-layerscape/patches/0003-armv8-ls1012ardb-add-LEDE-boot-support-in-environmen.patch

@ -17,8 +17,8 @@ PKG_RELEASE:=1
# uboot-layerscape's source code. # uboot-layerscape's source code.
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/yangbolu1991/u-boot-lede.git PKG_SOURCE_URL:=https://github.com/yangbolu1991/u-boot-lede.git
PKG_SOURCE_VERSION:=470d1e2af567b27e247a005e004e6216df5c6f82 PKG_SOURCE_VERSION:=b973f9b8754440d8db4ead6cd59a6ad2f7378806
PKG_MIRROR_HASH:=3798b1fc4beff784cbe6a0cd9bf04640d8f66691c236dd73b6e8ef348ee35076 PKG_MIRROR_HASH:=4297f79e502f869a042271877a0e5ac3b78f914c5797c53a48da0d7769e08fc7
PKG_MAINTAINER:=Yangbo Lu <yangbo.lu@nxp.com> PKG_MAINTAINER:=Yangbo Lu <yangbo.lu@nxp.com>

@ -26,7 +26,7 @@ index 5fe3218..242cdf0 100644
+ "mtdparts=1550000.quadspi:1M(rcw),2M(u-boot),1M(u-boot-env)," \ + "mtdparts=1550000.quadspi:1M(rcw),2M(u-boot),1M(u-boot-env)," \
+ "5M(reserved-1),256k(fman),5888k(reserved-2),1M(dtb)," \ + "5M(reserved-1),256k(fman),5888k(reserved-2),1M(dtb)," \
+ "16M(kernel),23M(ext4rfs),9M(user)\0" \ + "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 $fdtaddr f00000 100000 && " \
+ "sf read $loadaddr 1000000 1000000 && " \ + "sf read $loadaddr 1000000 1000000 && " \
+ "bootm $loadaddr - $fdtaddr\0" \ + "bootm $loadaddr - $fdtaddr\0" \

Loading…
Cancel
Save