[bootlin/training-materials updates] master: sysdev: Partitioned master MTD devices can appear in /dev (876998a1)

Miquel Raynal miquel.raynal at bootlin.com
Wed May 15 22:50:57 CEST 2019


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/876998a1c90bac8163b79dd1748189d12ad0abdb

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

commit 876998a1c90bac8163b79dd1748189d12ad0abdb
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date:   Wed May 15 22:50:57 2019 +0200

    sysdev: Partitioned master MTD devices can appear in /dev
    
    Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>


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

876998a1c90bac8163b79dd1748189d12ad0abdb
 slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
index a68dcb62..b02794af 100644
--- a/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
+++ b/slides/sysdev-flash-filesystems/sysdev-flash-filesystems.tex
@@ -291,7 +291,8 @@ setenv mtdparts mtdparts=omap2-nand.0:512k(X-Loader)ro,1536k(U-Boot)ro,512k(Env)
   \begin{itemize}
   \item MTD devices are visible in \code{/proc/mtd}
   \item User space only sees MTD partitions, not the flash device
-    under those partitions
+    under those partitions(unless the kernel is compiled with
+    MTD_PARTITIONED_MASTER)
   \item The {\bf mtdchar} driver creates a character device for each
     MTD device/partition of the system
     \begin{itemize}




More information about the training-materials-updates mailing list