Skip to contentSkip to conversation

blkmtd command line specification?

DISCUSSION W . Suika Roberts 3 participants 3 messages Oct 27, 2001 – Oct 28, 2001 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

I'm working on getting a jffs2 root file system running on my new Ipaq IA-1.

I can use blkmtd when it is built as a module, but I can't seem to figure out the coomand-line syntax for using it built into the kernel.

So, how do I specify what to do on the command line? I tried
blkmtd=device:/dev/hda2
and
blkmtd=device=/dev/hda2
but neither worked.

As a module:
insmod blkmtd.o device=/dev/hda2
works just fine.

2.4.13, no patches, i386.

Thanks,
Suika

Signature · 4 lines
		[email protected]
If the code and the comments disagree, then both are probably wrong.
            						    -- Norm Schryer
   <a href="http://www.unm.edu/~ssfr/">Suika no homepage</a>
#1 lore raw

Moin!

Quoted 6 lines

I'm working on getting a jffs2 root file system running on my new Ipaq IA-1.

I can use blkmtd when it is built as a module, but I can't seem to figure out the coomand-line syntax for using it built into the kernel.

So, how do I specify what to do on the command line?

With my kernel, I had to patch init/main.c. If you browse through the code, you notice the large table of potential root devices. Add some /dev/mtdblock0 to /dev/mtdblockn with the corresponding major and minor numbers and enjoy.

Jörn

Signature · 2 lines
The cheapest, fastest and most reliable components of a computer system are
those that aren't there  --  Gordon Bell, DEC labratories
#2 lore raw
In reply to W . Suika Roberts

Hi,

the problem is that it doesnt handle kernel boot params as I didnt know they were handled seperately to module loading parameters. Im fixing it now ;)

cheers
si
----- Original Message -----
From: "W . Suika Roberts" <[email protected]>
To: <[email protected]>
Sent: Saturday, October 27, 2001 6:37 AM
Subject: blkmtd command line specification?

Quoted 1 line

I'm working on getting a jffs2 root file system running on my new Ipaq

IA-1.

Quoted 2 lines

I can use blkmtd when it is built as a module, but I can't seem to figure

out

Quoted 27 lines

the coomand-line syntax for using it built into the kernel.

So, how do I specify what to do on the command line? I tried
blkmtd=device:/dev/hda2
and
blkmtd=device=/dev/hda2
but neither worked.

As a module:
insmod blkmtd.o device=/dev/hda2
works just fine.

2.4.13, no patches, i386.

Thanks,
Suika
--
[email protected]
If the code and the comments disagree, then both are probably wrong.
-- Norm Schryer
<a href="http://www.unm.edu/~ssfr/">Suika no homepage</a>

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/