[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [parisc-linux] C240 and Linux 2.6.x



On Fri, Dec 31, 2004 at 01:27:39PM +0000, Joel Soete wrote:
> > Where is this FAQ item mentioned above?
> Simply at <http://www.parisc-linux.org/> :-)

Please be so kind and show me the exact item on

  http://www.parisc-linux.org/faq/

I can't find it.

> > And how is this ment, anyway?
> > Just switching consoles within HP's »BIOS«,
> Two possibility: [...]

Thanks. But since I found

   http://www.pateam.org/parisc-linux-boot/PA-RISC-Linux-Boot-HOWTO.html#consoles

I do know how to switch from graphics(4) to serial_1 and back
(the output of PALO was captured via minicom).

> > or passing some arguments via /etc/palo.conf,
> only requested for some k model iirc (to force kernel to use
> ttyB0 for the mux)

Ok.

> > or compiling the kernel with different settings?
>
> At a first glance I would try first the b180 config (a quick look at 
> <http://www.openpa.net/index.html>, seems to me the nearest):
> prebuild kernel for different model are available at 
> <http://cvs.parisc-linux.org/download/linux-2.6/> (see instruction
> at the top of page to install package :-)

I started my custom compiled 2.6.10 with the configuration of
the Debian kernel kernel-image-2.6.8-1-32. Not sure what kind
of architecture that targets.

Anyway, my initial suspicion was that the initrd-image failed to
load, so I tried a custom kernel without. No success.
My last experiment was configuring the kernel to a serial console.

$ egrep '(CONS|SER)' .config
# CONFIG_PARPORT_SERIAL is not set
CONFIG_SCSI_CONSTANTS=y
CONFIG_SERIO=y
CONFIG_SERIO_SERPORT=m
# CONFIG_SERIO_PARKBD is not set
CONFIG_SERIO_PCIPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_MOUSE_SERIAL is not set
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_NR_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set
# CONFIG_SERIAL_MUX is not set
# CONFIG_PDC_CONSOLE is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_LP_CONSOLE is not set
CONFIG_STI_CONSOLE=m
CONFIG_DUMMY_CONSOLE_COLUMNS=160
CONFIG_DUMMY_CONSOLE_ROWS=64
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=m
# CONFIG_REISERFS_FS is not set

Still no success. Now I think that 
a) either PALO does not understand the file format of the kernel
   a completely misses the entry point

   $ palo --help | head -1
   palo version 1.5 bame@c3k Fri May 14 16:17:56 MDT 2004

b) or that the kernel fucks up extremely soon.

The C240 has four LEDs on the front panel. When booting a 2.4.x
the LED number 2 flashes like wild, and number 4 shows a regular
pulse (the symbol below looks like a heart, so it's probably a
heart beat). Anyway, when booting 2.6.x only the heart beat LED
is active.

Perhaps invalid code, for the wrong CPU, or bad optimization
by the compiler ...

$ cat /proc/cpuinfo 
processor       : 0
cpu family      : PA-RISC 2.0
cpu             : PA8200 (PCX-U+)
cpu MHz         : 236.000000
model           : 9000/782/C240+
model name      : Raven U 240 (9000/780/C240)
hversion        : 0x00005990
sversion        : 0x00000481
I-cache         : 2048 KB
D-cache         : 2048 KB (WB)
ITLB entries    : 120
DTLB entries    : 120 - shared with ITLB
BTLB fixed      : max. 16384 pages, pagesize=4096 (64MB)
BTLB fix-entr.  : 0 instruction, 0 data (16 combined)
BTLB var-entr.  : 0 instruction, 0 data (0 combined)
bogomips        : 470.22
software id     : 2015568046

$ grep 'CONFIG_PA[0-9]' .config                 
# CONFIG_PA7000 is not set
# CONFIG_PA7100LC is not set
# CONFIG_PA7200 is not set
# CONFIG_PA7300LC is not set
CONFIG_PA8X00=y
CONFIG_PA20=y

> or build your own: in the subdir arch/parisc/configs/ you would
> find b180_defconfig which you copy as .config in the top of your
> kernel tree then "make oldconfig; make vmlinux" ;-)

So you are saying that I should give both binary and configuration in

   http://cvs.parisc-linux.org/download/linux-2.6/autobuild/b180_defconfig/

a try. Well, thanks for the hint.

> [...] Even thought some foreign pci card (some ATI and Vodoo iirc)
> are reported to works (not using stifb obviously because couldn't be
> detected by pdc) for X [...]

I don't need X11, and 2.4.27-32-pa4 runs fine with STI.

-- 
This ain't no sig.

Attachment: pgp0lVhtOwgOq.pgp
Description: PGP signature


Reply to: