linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* looking for .config file for RPXlite board for 2.6 kernel
@ 2004-06-30 15:12 Robert P. J. Day
  2004-06-30 17:14 ` Tom Rini
  0 siblings, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2004-06-30 15:12 UTC (permalink / raw)
  To: Embedded Linux PPC list


   ok, in the interests of my mental health, i've grabbed an rpxlite
board off the shelf, and am going to see how far i can boot it with
the current 2.6 kernel.

   does someone have a .config file for this that i can use as a
starting point?  and how that would affect what i should select as the
console on the boot command line?  (console=???).

   from memory, when i tried this once upon a time, i got as far as

Now booting the kernel

so i suspect that i misconfigured the console in some way.  thoughts?
i've been told that this board has

   SMC1 UART
   SCC2 Ethernet

but i'll make sure of that shortly.

rday

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

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

* Re: looking for .config file for RPXlite board for 2.6 kernel
  2004-06-30 15:12 looking for .config file for RPXlite board for 2.6 kernel Robert P. J. Day
@ 2004-06-30 17:14 ` Tom Rini
  2004-06-30 17:35   ` Robert P. J. Day
  0 siblings, 1 reply; 5+ messages in thread
From: Tom Rini @ 2004-06-30 17:14 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Embedded Linux PPC list


On Wed, Jun 30, 2004 at 11:12:18AM -0400, Robert P. J. Day wrote:

>
>   ok, in the interests of my mental health, i've grabbed an rpxlite
> board off the shelf, and am going to see how far i can boot it with
> the current 2.6 kernel.

'make rpxlite_defconfig' and then enable SERIAL_CPM and select SMC1 and
SCC1 (you are correct, AFAIK, about the right console being SMC1, but
this is the board I've been using and mentioning that it doesn't quite
get right).  WRT having to pass in console=, etc, iff you have
CONFIG_VT=n, which I believe is in the defconfig, you don't need to pass
anything.

--
Tom Rini
http://gate.crashing.org/~trini/

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

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

* Re: looking for .config file for RPXlite board for 2.6 kernel
  2004-06-30 17:14 ` Tom Rini
@ 2004-06-30 17:35   ` Robert P. J. Day
  2004-06-30 18:21     ` Robert P. J. Day
  0 siblings, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2004-06-30 17:35 UTC (permalink / raw)
  To: Tom Rini; +Cc: Embedded Linux PPC list


On Wed, 30 Jun 2004, Tom Rini wrote:

> On Wed, Jun 30, 2004 at 11:12:18AM -0400, Robert P. J. Day wrote:
>
>>
>>   ok, in the interests of my mental health, i've grabbed an rpxlite
>> board off the shelf, and am going to see how far i can boot it with
>> the current 2.6 kernel.
>
> 'make rpxlite_defconfig' and then enable SERIAL_CPM and select SMC1 and
> SCC1 (you are correct, AFAIK, about the right console being SMC1, but
> this is the board I've been using and mentioning that it doesn't quite
> get right).  WRT having to pass in console=, etc, iff you have
> CONFIG_VT=n, which I believe is in the defconfig, you don't need to pass
> anything.

i did eventually find the defconfig files for PPC, and grabbed the
rpxlite one and have been playing with it for a while.  every
combination i've tried so far has given me only:
=============
Linux/PPC load: ... various load lines, trying console mostly ...
Uncompressing Linux...done.
Now booting the kernel
=============
and that's it.  i assumed that my fundamental problem was just not
getting the system console configured properly.  i've confirmed
through the bootloader that, yes, SMC1 is my monitor serial port.

so, based on what you've suggested, i've gone into (somewhere i've
already been many times :-):

Device Drivers
   Character devices
     Serial drivers


and i've selected:

[*] CPM2 SCC/SMC serial port support
[ ]   Support for console on CPM2 SCC/SMC serial port (NEW)
[*]   Support for SCC1 serial port
[ ]   Support for SCC2 serial port (NEW)
[ ]   Support for SCC3 serial port (NEW)
[ ]   Support for SCC4 serial port (NEW)
[*]   Support for SMC1 serial port
[ ]   Support for SMC2 serial port (NEW)

and left everything else alone, and it's building now.  if this still
hangs after "Now booting the kernel," maybe you can just send me a
copy of your .config file to diff.  i can't believe this isn't
something really trivial i'm screwing up.

rday

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

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

* Re: looking for .config file for RPXlite board for 2.6 kernel
  2004-06-30 17:35   ` Robert P. J. Day
@ 2004-06-30 18:21     ` Robert P. J. Day
  2004-06-30 19:42       ` Robert P. J. Day
  0 siblings, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2004-06-30 18:21 UTC (permalink / raw)
  To: Tom Rini; +Cc: Embedded Linux PPC list


On Wed, 30 Jun 2004, Robert P. J. Day wrote:

> and i've selected:
>
> [*] CPM2 SCC/SMC serial port support
> [ ]   Support for console on CPM2 SCC/SMC serial port (NEW)
> [*]   Support for SCC1 serial port
> [ ]   Support for SCC2 serial port (NEW)
> [ ]   Support for SCC3 serial port (NEW)
> [ ]   Support for SCC4 serial port (NEW)
> [*]   Support for SMC1 serial port
> [ ]   Support for SMC2 serial port (NEW)

as i just emailed tom on the side, duh, i took his previous note
stupidly literally, and selected *only* the options he listed.  i
figured out pretty quickly to also select the "Support for console on
CPM2 ..." and, lo and behold, i have kernel boot output on my rpxlite
board.  whew.

so now i get as far as:

RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 72k init
Warning: unable to open an initial console.
Kernel panic: Attempted to kill init!


i suspect this is also some silly misconfiguration.  off to track it
down.

rday

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

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

* Re: looking for .config file for RPXlite board for 2.6 kernel
  2004-06-30 18:21     ` Robert P. J. Day
@ 2004-06-30 19:42       ` Robert P. J. Day
  0 siblings, 0 replies; 5+ messages in thread
From: Robert P. J. Day @ 2004-06-30 19:42 UTC (permalink / raw)
  To: Tom Rini; +Cc: Embedded Linux PPC list


On Wed, 30 Jun 2004, Robert P. J. Day wrote:

...
> RAMDISK: Compressed image found at block 0
> VFS: Mounted root (ext2 filesystem).
> Freeing unused kernel memory: 72k init
> Warning: unable to open an initial console.
> Kernel panic: Attempted to kill init!

never mind, bozo move on my part -- starting from the default
rpxlite_defconfig, i forgot to configure devfs back into the system.
yeah, that'll do it.  ack.

so i'm up and running.  a few glitches to take deal with, but i have a
shell, i have a root filesystem, i have networking, i still have to
beat up on busybox to start behaving:

# lsmod
lsmod: QM_MODULES: Function not implemented

but it's alive.  IT'S ALIVE!

# uname -a
Linux (none) 2.6.7 #19 Wed Jun 30 14:48:33 EDT 2004 ppc unknown

rday

p.s.  i guess i'll also want to look at replacing devfs with sysfs and
udev at some point.  ah, maybe later ...

** 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:[~2004-06-30 19:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-30 15:12 looking for .config file for RPXlite board for 2.6 kernel Robert P. J. Day
2004-06-30 17:14 ` Tom Rini
2004-06-30 17:35   ` Robert P. J. Day
2004-06-30 18:21     ` Robert P. J. Day
2004-06-30 19:42       ` Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).