From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Gambier Date: Thu, 10 Feb 2011 15:45:14 +0100 Subject: [U-Boot] MTD partitions not mounted by the kernel Message-ID: <4D53F9FA.2070702@ftemaximal.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello, I use U-Boot 1.3.1 with a NOR and a NAND Flash. I created the following partitions with U-Boot. device nor0 , # parts = 4 #: name size offset mask_flags 0: U-Boot 0x00080000 0x00000000 0 1: Environment 0x00020000 0x00080000 0 2: Kernel 0x00400000 0x000a0000 0 3: FreeNOR 0x00360000 0x004a0000 0 device nand0 , # parts = 2 #: name size offset mask_flags 0: FS 0x02000000 0x00000000 0 1: FreeNAND 0x06000000 0x02000000 0 active partition: nor0,0 - (U-Boot) 0x00080000 @ 0x00000000 defaults: mtdids : nor0=NOR,nand0=NAND mtdparts: mtdparts=NOR:512k(U-Boot),128k(Environment),4M(Kernel),-(FreeNOR);NAND:32M(FS),-(FreeNAND) I checked the support for MTD devices and for the MTD command line in the kernel config. here is my bootargs environment variable : bootargs=console=ttyAS0,115200 mem=128M root=/dev/nfs nfsroot=192.168.1.60:/tftpboot/stlinux/skyworth/rootfs ip=192.168.1.111:192.168.1.60:192.168.1.1:255.255.255.0 mtdparts=NOR:512k(U-Boot),128k(Environment),4M(Kernel),-(FreeNOR);NAND:32M(FS),-(FreeNAND) The problem is that once my system is running the MTD devices in /dev are not created and the file /proc/mtd is empty. Is my command line wrong ? Thanks in advance. Alex