All of lore.kernel.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: Gilles <gilles.ganault@free.fr>
Cc: linux-mtd@lists.infradead.org
Subject: Re: [Ubi] Wrong major:minor
Date: Wed, 01 Jun 2011 11:36:21 +0300	[thread overview]
Message-ID: <1306917381.4405.76.camel@localhost> (raw)
In-Reply-To: <5d84u6d24de3ikt776vdrqpnhhecs3aoio@4ax.com>

On Sun, 2011-05-29 at 12:39 +0200, Gilles wrote:
> Hello
> 
> I used the following data to compile Ubi(fs) into a uClinux kernel:
> 
> ========= device_table.txt
> #UBIFS nodes
> /dev/ubi_ctrl	c	644	0	0	10	63	0	0	-
> /dev/ubi0	c	644	0	0	253	0	0	0	-
> ========= 

But I guess you may add an UBI module parameter which will ask UBI to
use major numbers you want - should be easy to do. E.g., if you add a
'major_base=200' parameter then UBI will use 200:0 for ubi0, 201:0 for
ubi1, 200:1 for ubi0_0, 200:2 for ubi0_1, etc.

Then you could do:

modprobe ubi major_base=200

or add

ubi.major_base=200

to you kernel parameters if you have UBI compiled-in.
 
-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

  parent reply	other threads:[~2011-06-01  8:40 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-29 10:39 [Ubi] Wrong major:minor Gilles
2011-05-29 13:22 ` Gilles
2011-05-29 15:54 ` Mike Frysinger
2011-05-30  9:53   ` Gilles
2011-05-30 12:06     ` Gilles
2011-05-30 15:00       ` Gilles
2011-05-30 16:29     ` Mike Frysinger
2011-06-01 11:22       ` Gilles
2011-06-01  8:29   ` Artem Bityutskiy
2011-06-01  8:36 ` Artem Bityutskiy [this message]
2011-06-01  8:37   ` Artem Bityutskiy
2011-06-01 10:11     ` Mike Frysinger
2011-06-01 10:14       ` Artem Bityutskiy
2011-06-24 11:46       ` Peter Korsgaard
2011-06-24 12:05         ` Gilles
2011-06-24 14:33         ` Mike Frysinger
2011-06-01 11:21     ` Gilles

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=1306917381.4405.76.camel@localhost \
    --to=dedekind1@gmail.com \
    --cc=gilles.ganault@free.fr \
    --cc=linux-mtd@lists.infradead.org \
    /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.