Skip to contentSkip to conversation

-= MVME 2300 boot args=-

DISCUSSION Lionel TAILLURAT 2 participants 2 messages Jul 26, 2000 – Jul 29, 2000

lore
Share & tools
lore
#0 lore raw

Hi,

I have a full working kernel with VME bus support (thx Gabriel for your patch and your help).

The problem now is that I can't have the boot args working !

During the configuration of the kernel, I write "root=/dev/sda2 console=ttyS0" in the "initial kernel command string" , and only "console=ttyS0" is shown at boot prompt and the kernel don't see my haddrive!

If I use the command (in PPCBUG):
GEVEDIT bootargs
bootargs=root=/dev/sda2 console=ttyS0

result : same as above !

Whats wrong ?

I always need to write by hand "root=/dev/sda2" !

Please help me !

Thx in advance.
-------------------------------------------------------
Lionel TAILLURAT
TECHNICAL SERVICE

ECRIN AUTOMATISMES -industrial computer's-
Rue du pré-de-l'Horme
B.P 15
38921 CROLLES CEDEX
FRANCE
Tel :(33) 4 76 92 20 01
Fax :(33) 4 76 08 03 18
Email: [email protected]
---------------------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 8 lines · Lionel TAILLURAT

Hi,

I have a full working kernel with VME bus support (thx Gabriel for your patch and your help).

The problem now is that I can't have the boot args working !

Quoted 8 lines

During the configuration of the kernel, I write "root=/dev/sda2 console=ttyS0" in the "initial kernel command string" , and only "console=ttyS0" is shown at boot prompt and the kernel don't see my haddrive!

If I use the command (in PPCBUG):
GEVEDIT bootargs
bootargs=root=/dev/sda2 console=ttyS0

Prepboot still ha to be upgraded to take the arguments from the NVRAM. If you wnat to give it a try, it's not that complex, just that I never fond the time to do it. It also still ignores the config option. Sorry...

Nevertheless for the root device option, the right way to do it would be to use the same scheme as the Intel port. You can type make zImage ROOTDEV=/dev/sda2 for example. By default, it will automagically (on Intel pc) take the current root device which is very convenient.

Quoted 1 line

Whats wrong ?

My code :-(

Regards,
Gabriel.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/