diff options
author | Kevin Hao <kexin.hao@windriver.com> | 2014-06-17 12:13:20 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-17 17:56:22 +0100 |
commit | 79e763680fc85f3d0de1ca083668f32400633a5d (patch) | |
tree | 1bb116201022d6e1795462a5954a29b540370265 /README.hardware | |
parent | e3dc1781679aa2d02c88f0548ba1c914cd946dd0 (diff) | |
download | poky-79e763680fc85f3d0de1ca083668f32400633a5d.tar.gz |
mpc8315e-rdb: add the example about booting from jffs2 root
(From meta-yocto rev: 93b86fc3e5abee5b5596579a65546b09d0c5f66a)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'README.hardware')
-rw-r--r-- | README.hardware | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/README.hardware b/README.hardware index f11fdd7794..d8faaa3bdb 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: | |||
324 | => tftp 2000000 uImage-mpc8315e-rdb.dtb | 324 | => tftp 2000000 uImage-mpc8315e-rdb.dtb |
325 | => bootm 1000000 - 2000000 | 325 | => bootm 1000000 - 2000000 |
326 | 326 | ||
327 | --- Booting from JFFS2 root --- | ||
328 | |||
329 | 1. First boot the board with NFS root. | ||
330 | |||
331 | 2. Erase the MTD partition which will be used as root: | ||
332 | |||
333 | $ flash_eraseall /dev/mtd3 | ||
334 | |||
335 | 3. Copy the JFFS2 image to the MTD partition: | ||
336 | |||
337 | $ flashcp core-image-minimal-mpc8315e-rdb.jffs2 /dev/mtd3 | ||
338 | |||
339 | 4. Then reboot the board and set up the environment in U-Boot: | ||
340 | |||
341 | => setenv bootargs root=/dev/mtdblock3 rootfstype=jffs2 console=ttyS0,115200 | ||
342 | |||
327 | 343 | ||
328 | Ubiquiti Networks EdgeRouter Lite (edgerouter) | 344 | Ubiquiti Networks EdgeRouter Lite (edgerouter) |
329 | ============================================== | 345 | ============================================== |