From: Albert ARIBAUD <albert.aribaud@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] MTD partitions not mounted by the kernel
Date: Thu, 10 Feb 2011 15:50:39 +0100 [thread overview]
Message-ID: <4D53FB3F.7090807@free.fr> (raw)
In-Reply-To: <4D53F9FA.2070702@ftemaximal.fr>
Le 10/02/2011 15:45, Alexandre Gambier a ?crit :
> Hello,
>
> I use U-Boot 1.3.1 with a NOR and a NAND Flash.
> I created the following partitions with U-Boot.
U-Boot 1.3.1 is rather old., BTW
> device nor0<NOR>, # 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<NAND>, # 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 ?
The creation of the entries in /dev is not caused by the sole presence
of mtdpart= on the command line. Either you must create these entries
manually, or you have to have a dynamic /dev manager, for instance udev,
create them for you with the help of adequate configuration files.
Note that this has nothing to do with U-Boot, though.
> Thanks in advance.
> Alex
Amicalement,
--
Albert.
next prev parent reply other threads:[~2011-02-10 14:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-10 14:45 [U-Boot] MTD partitions not mounted by the kernel Alexandre Gambier
2011-02-10 14:50 ` Albert ARIBAUD [this message]
2011-02-10 14:59 ` Wolfgang Denk
2011-02-10 16:04 ` Alexandre Gambier
2011-02-10 18:24 ` Andreas Pretzsch
2011-02-11 7:56 ` Alexandre Gambier
2011-02-11 9:06 ` Wolfgang Denk
2011-02-11 9:34 ` Alexandre Gambier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D53FB3F.7090807@free.fr \
--to=albert.aribaud@free.fr \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.