LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Linux boot args with PReP image
@ 2003-10-31 18:28 Ashwin Bihari
  2003-10-31 21:22 ` Wolfgang Denk
  2003-11-01  7:57 ` Gary Thomas
  0 siblings, 2 replies; 5+ messages in thread
From: Ashwin Bihari @ 2003-10-31 18:28 UTC (permalink / raw)
  To: linuxppc-embedded


Greetings,

I'm using a PrPMC800 with Motorola's PPC7-BUG> to boot Linux. I've got a
working kernel and everything works fine. I've used the default boot args
of: console=ttys0,9600 console=tty0 root=/dev/hde2 noinitrd.

This, of course, means that if we decide to change the location of root, or
more appropriately decide to have two separate roots between which we would
have switch back and forth, I'll have to recompile the kernel with the new
string and then put that onto the PReP partition.

What I would ideally like to do is have a Linux: prompt appear after I boot
into the PReP partition to allow me to have a default string and then change
it if I decided to chagne root on the fly..

Has anyone done anything similar or have any tips for me?

Regards,

~Ashwin Bihari

_________________________________________________________________
Fretting that your Hotmail account may expire because you forgot to sign in
enough? Get Hotmail Extra Storage today!
http://join.msn.com/?PAGE=features/es


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Linux boot args with PReP image
@ 2003-10-31 21:05 Kerl, John
  0 siblings, 0 replies; 5+ messages in thread
From: Kerl, John @ 2003-10-31 21:05 UTC (permalink / raw)
  To: 'Ashwin Bihari', linuxppc-embedded


The old mbxboot boot wrapper had such a prompt for command line.
You could dig it out of source control.

-----Original Message-----
From: Ashwin Bihari [mailto:raz0redge@hotmail.com]
Sent: Friday, October 31, 2003 11:29 AM
To: linuxppc-embedded@lists.linuxppc.org
Subject: Linux boot args with PReP image



Greetings,

I'm using a PrPMC800 with Motorola's PPC7-BUG> to boot Linux. I've got a
working kernel and everything works fine. I've used the default boot args
of: console=ttys0,9600 console=tty0 root=/dev/hde2 noinitrd.

This, of course, means that if we decide to change the location of root, or
more appropriately decide to have two separate roots between which we would
have switch back and forth, I'll have to recompile the kernel with the new
string and then put that onto the PReP partition.

What I would ideally like to do is have a Linux: prompt appear after I boot
into the PReP partition to allow me to have a default string and then change
it if I decided to chagne root on the fly..

Has anyone done anything similar or have any tips for me?

Regards,

~Ashwin Bihari


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Linux boot args with PReP image
  2003-10-31 18:28 Linux boot args with PReP image Ashwin Bihari
@ 2003-10-31 21:22 ` Wolfgang Denk
  2003-11-01  7:57 ` Gary Thomas
  1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2003-10-31 21:22 UTC (permalink / raw)
  To: Ashwin Bihari; +Cc: linuxppc-embedded


In message <BAY9-F64QUsi6dnG8Cq0008719d@hotmail.com> you wrote:
>
> This, of course, means that if we decide to change the location of root, or
> more appropriately decide to have two separate roots between which we would
> have switch back and forth, I'll have to recompile the kernel with the new
> string and then put that onto the PReP partition.

This was one of the reasons why I started to develop U-Boot  (ok,  by
then the name was still PPCBoot).

> Has anyone done anything similar or have any tips for me?

Porting U-Boot to a new board is not that much work...

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
As far as we know, our computer has never had an undetected error.
		                                           -- Weisert

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Linux boot args with PReP image
@ 2003-10-31 21:38 Ashwin Bihari
  0 siblings, 0 replies; 5+ messages in thread
From: Ashwin Bihari @ 2003-10-31 21:38 UTC (permalink / raw)
  To: linuxppc-embedded


It turns out that the command line to change the boot args is indeed already
working, I just didn't think I could change it when it showed up on the
screen. I was shown my mistake, so this is taken care of. Thanks for the
prompt replies.

Regards

~Ashwin

>From: "Ashwin Bihari" <raz0redge@hotmail.com>
>To: linuxppc-embedded@lists.linuxppc.org
>Subject: Linux boot args with PReP image
>Date: Fri, 31 Oct 2003 13:28:49 -0500
>
>
>Greetings,
>
>I'm using a PrPMC800 with Motorola's PPC7-BUG> to boot Linux. I've got a
>working kernel and everything works fine. I've used the default boot args
>of: console=ttys0,9600 console=tty0 root=/dev/hde2 noinitrd.
>
>This, of course, means that if we decide to change the location of root, or
>more appropriately decide to have two separate roots between which we would
>have switch back and forth, I'll have to recompile the kernel with the new
>string and then put that onto the PReP partition.
>
>What I would ideally like to do is have a Linux: prompt appear after I boot
>into the PReP partition to allow me to have a default string and then
>change
>it if I decided to chagne root on the fly..
>
>Has anyone done anything similar or have any tips for me?
>
>Regards,
>
>~Ashwin Bihari
>
>
>
>

_________________________________________________________________
Cheer a special someone with a fun Halloween eCard from American Greetings!
Go to  http://www.msn.americangreetings.com/index_msn.pd?source=msne134


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Linux boot args with PReP image
  2003-10-31 18:28 Linux boot args with PReP image Ashwin Bihari
  2003-10-31 21:22 ` Wolfgang Denk
@ 2003-11-01  7:57 ` Gary Thomas
  1 sibling, 0 replies; 5+ messages in thread
From: Gary Thomas @ 2003-11-01  7:57 UTC (permalink / raw)
  To: Ashwin Bihari; +Cc: linuxppc-embedded


Ashwin Bihari said:
>
> Greetings,
>
> I'm using a PrPMC800 with Motorola's PPC7-BUG> to boot Linux. I've got a
> working kernel and everything works fine. I've used the default boot args
> of: console=ttys0,9600 console=tty0 root=/dev/hde2 noinitrd.
>
> This, of course, means that if we decide to change the location of root, or
> more appropriately decide to have two separate roots between which we would
> have switch back and forth, I'll have to recompile the kernel with the new
> string and then put that onto the PReP partition.
>
> What I would ideally like to do is have a Linux: prompt appear after I boot
> into the PReP partition to allow me to have a default string and then change
> it if I decided to chagne root on the fly..
>
> Has anyone done anything similar or have any tips for me?

This is SOP for the embedded boards.  Look at arch/ppc/boot/embedded for
some guidelines on how to do it.


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-11-01  7:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-31 18:28 Linux boot args with PReP image Ashwin Bihari
2003-10-31 21:22 ` Wolfgang Denk
2003-11-01  7:57 ` Gary Thomas
  -- strict thread matches above, loose matches on Subject: below --
2003-10-31 21:05 Kerl, John
2003-10-31 21:38 Ashwin Bihari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox