[poky] [PATCH v2 3/3] mpc8315e-rdb: add the example about booting from jffs2 root
Kevin Hao
kexin.hao at windriver.com
Fri Jun 13 18:47:24 PDT 2014
Signed-off-by: Kevin Hao <kexin.hao at windriver.com>
---
v2: A new patch introduced in v2.
README.hardware | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/README.hardware b/README.hardware
index f11fdd7794ae..d8faaa3bdb9d 100644
--- a/README.hardware
+++ b/README.hardware
@@ -324,6 +324,22 @@ Load the kernel and dtb (device tree blob), and boot the system as follows:
=> tftp 2000000 uImage-mpc8315e-rdb.dtb
=> bootm 1000000 - 2000000
+--- Booting from JFFS2 root ---
+
+ 1. First boot the board with NFS root.
+
+ 2. Erase the MTD partition which will be used as root:
+
+ $ flash_eraseall /dev/mtd3
+
+ 3. Copy the JFFS2 image to the MTD partition:
+
+ $ flashcp core-image-minimal-mpc8315e-rdb.jffs2 /dev/mtd3
+
+ 4. Then reboot the board and set up the environment in U-Boot:
+
+ => setenv bootargs root=/dev/mtdblock3 rootfstype=jffs2 console=ttyS0,115200
+
Ubiquiti Networks EdgeRouter Lite (edgerouter)
==============================================
--
1.9.3
More information about the poky
mailing list