[FE training-materials-updates] Address Thomas' comments

Boris Brezillon boris.brezillon at free-electrons.com
Tue May 26 13:51:58 CEST 2015


Repository : git://git.free-electrons.com/training-materials.git

On branch  : mtd-rework-WIP
Link       : http://git.free-electrons.com/training-materials/commit/?id=bad008f45d23f8dcf3324524a1178c614d3bf6be

>---------------------------------------------------------------

commit bad008f45d23f8dcf3324524a1178c614d3bf6be
Author: Boris Brezillon <boris.brezillon at free-electrons.com>
Date:   Tue May 26 13:51:09 2015 +0200

    Address Thomas' comments
    
    Signed-off-by: Boris Brezillon <boris.brezillon at free-electrons.com>


>---------------------------------------------------------------

bad008f45d23f8dcf3324524a1178c614d3bf6be
 labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex b/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
index cb464ac..57ffc9b 100644
--- a/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
+++ b/labs/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
@@ -170,6 +170,13 @@ Set the \code{bootargs} variable so that:
 \begin{itemize}
 \item The \code{mtdparts} environment variable content is passed to
   the kernel through cmdline
+\footnote{Remember you can tweak your bootargs using u-boot env
+  variables before booting the kernel. To achieve that, create a
+  \code{bootargs_base} variable where you will store all the kernel
+  parameters except the mtdparts one. Then modify your \code{bootcmd}
+  to append the \code{mtdparts} definition to \code{bootargs_base}
+  before calling \code{bootz}:
+  \code{setenv bootargs $bootargs_base $mtdparts}}
 \item The UBI partition is automatically attached to the UBI layer at
   boot time
 \item The root filesystem is mounted from the 7\textsuperscript{th}



More information about the training-materials-updates mailing list