[FE training-materials-updates] Few more fixes in the flash filesystems labs
Boris Brezillon
boris.brezillon at free-electrons.com
Mon Jun 8 09:25:23 CEST 2015
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=6b0d2fe29aea2f0c23b81c89273d56b7c692d508
>---------------------------------------------------------------
commit 6b0d2fe29aea2f0c23b81c89273d56b7c692d508
Author: Boris Brezillon <boris.brezillon at free-electrons.com>
Date: Mon Jun 8 09:18:18 2015 +0200
Few more fixes in the flash filesystems labs
Signed-off-by: Boris Brezillon <boris.brezillon at free-electrons.com>
>---------------------------------------------------------------
6b0d2fe29aea2f0c23b81c89273d56b7c692d508
labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex b/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
index 56e9a5f..02010fb 100644
--- a/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
+++ b/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
@@ -27,7 +27,8 @@ The kernel and DTB images will be stored in two separate {\em static}
The root filesystem will be a UBI volume storing a UBIFS filesystem
mounted read-only, the web server upload data will be stored in
another UBI volume storing a UBIFS filesystem mounted
-read/write. These volumes will be {\em dynamic} volumes.
+read/write. These volumes will be {\em dynamic} volumes and will be
+16 MiB large.
Which gives the following layout:
@@ -98,7 +99,7 @@ not.
%image=<rootfs-image-path>
%vol_id=3
%vol_type=dynamic
-%vol_size=10MiB
+%vol_size=16MiB
%vol_name=root
%vol_alignment=1
%
@@ -107,6 +108,7 @@ not.
%image=<data-image-path>
%vol_id=4
%vol_type=dynamic
+%vol_size=16MiB
%vol_name=data
%vol_alignment=1
%
@@ -149,6 +151,9 @@ command \code{nand write}.
not recommended writing more than one time on a page and its OOB
even if the page is blank.}
+Because of a bug in the UBI layer implemented by U-Boot, you'll have
+to reboot the board after flashing the UBI image.
+
\section{Loading kernel and DTB images from UBI and booting it}
From U-Boot, retrieve the kernel and DTB images from their respective
More information about the training-materials-updates
mailing list