Skip to contentSkip to conversation

Compiling Kernel for HP 9000/800/A400-44

parisc-linux Herbert Poetzl 4 participants 7 messages Dec 19, 2003 – Dec 24, 2003

lore
Share & tools
lore
#0 lore raw

Hi!

what is the best way to compile a 2.4.23-pa3
kernel for a HP 9000/800/A400-44?

cpu family : PA-RISC 2.0
cpu : PA8500 (PCX-W)
cpu MHz : 440.000000
model : 9000/800/A400-44
model name : Crescendo DC- 440

TIA,
Herbert

#1 lore raw
Quoted 4 lines · Herbert Poetzl

Hi!

what is the best way to compile a 2.4.23-pa3
kernel for a HP 9000/800/A400-44?

I'll assume you've already installed debian.

You'll need to grab the gcc-hppa64 compiler from:
ftp://ftp.parisc-linux.org/unofficial-debs/gcc-hppa64_3.0.4ds3-7.1_hppa.deb

Then follow directions on http://www.parisc-linux.org/kernel/index.html

If you a "custom-for-a500" config file, you can grab a 2.4.x kernel+config file from ftp.parisc-linux.org/kernel/a500 to start with.

grant

#2 lore raw
Quoted 7 lines · Grant Grundler
Quoted 4 lines · Herbert Poetzl

Hi!

what is the best way to compile a 2.4.23-pa3
kernel for a HP 9000/800/A400-44?

I'll assume you've already installed debian.

right ...

Quoted 2 lines

You'll need to grab the gcc-hppa64 compiler from:

   ftp://ftp.parisc-linux.org/unofficial-debs/gcc-hppa64_3.0.4ds3-7.1_hppa.deb

hmm, is there a source available somewhere ...
(I don't like binary only packages)

Quoted 1 line

Then follow directions on http://www.parisc-linux.org/kernel/index.html

okay, looks like the usual stuff ...

Quoted 2 lines

If you a "custom-for-a500" config file, you can grab a 2.4.x kernel+config file from ftp.parisc-linux.org/kernel/a500 to start with.

found them at ftp://ftp.parisc-linux.org/kernels/a500/

TIA,
Herbert

Quoted 1 line

grant

#3 lore raw

Le vendredi, 19 d=E9c 2003, =E0 03:28 Europe/Paris, Herbert Poetzl a = =E9crit :

Quoted 8 lines
Quoted 5 lines

You'll need to grab the gcc-hppa64 compiler from:=09
=20
ftp://ftp.parisc-linux.org/unofficial-debs/gcc-hppa64_3.0.4ds3-=20 7.1_hppa.deb

hmm, is there a source available somewhere ...
(I don't like binary only packages)

If you really want to waste your time in building a cross compiler by =20=

yourself, going through
the various pain of this process, just follow the recipe here:

http://www.fr.parisc-linux.org/toolchain/PARISC-Linux-XC-HOWTO.html

HTH,

Thibaut VARENE
The PA/Linux ESIEE Team
http://www.pateam.org/

PS: i know what i'm talking about, regarding pain, i'm the guy who made =20=

that "binary only" package :P=

#4 lore raw
Quoted 8 lines · Thibaut VARÈNE
Quoted 6 lines · Herbert Poetzl
Quoted 5 lines

You'll need to grab the gcc-hppa64 compiler from:

ftp://ftp.parisc-linux.org/unofficial-debs/gcc-hppa64_3.0.4ds3- 7.1_hppa.deb

Quoted 6 lines
Quoted 2 lines

hmm, is there a source available somewhere ...
(I don't like binary only packages)

If you really want to waste your time in building a cross compiler by yourself, going through the various pain of this process, just follow the recipe here:

well, what I had in mind was a debian source
package, which can be 'rebuilt' my myself ...

Quoted 1 line

http://www.fr.parisc-linux.org/toolchain/PARISC-Linux-XC-HOWTO.html

useful info ... I guess

best,
Herbert

Quoted 8 lines

HTH,

Thibaut VARENE
The PA/Linux ESIEE Team
http://www.pateam.org/

PS: i know what i'm talking about, regarding pain, i'm the guy who made that "binary only" package :P

#5 lore raw

Hi Grant, Herbert,

Quoted 6 lines
Quoted 6 lines
Quoted 5 lines

You'll need to grab the gcc-hppa64 compiler from:

ftp://ftp.parisc-linux.org/unoffocial-debs/gcc-hppa64_3.0.4ds3- 7.1_hppa.deb

This failled to me:
" hppa64-linux-ld -T arch/parisc/kernel/vmlinux.lds.s arch/parisc/kernel/head64.o
init/built-in.o --start-group usr/built-in.o arch/parisc/mm/built-in.o
arch/parisc/kernel/built-in.o arch/parisc/math-emu/built-in.o arch/parisc/kernel/init_task.o kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o lib/lib.a arch/parisc/lib/lib.a hppa64-linux-gcc -print-libgcc-file-name lib/built-in.o arch/parisc/lib/built-in.o hppa64-linux-gcc -print-libgcc-file-name drivers/built-in.o sound/built-in.o arch/parisc/oprofile/built-in.o net/built-in.o
--end-group -o .tmp_vmlinux1
/usr/bin/hppa64-linux-ld: line 4: 10920 Segmentation fault /opt/palinux/bin/$prog
$*
make: *** [.tmp_vmlinux1] Error 139
"
A well know pb which required a new release iirc.

Quoted 7 lines
Quoted 2 lines

hmm, is there a source available somewhere ...
(I don't like binary only packages)

If you really want to waste your time in building a cross compiler by yourself, going through the various pain of this process, just follow the recipe here:
http://www.fr.parisc-linux.org/toolchain/PARISC-Linux-XC-HOWTO.html

For my part I use a script of mine (get the idea in palinux-autobuild and something in ruby) that produce me well a compiler (let call it) kgcc-3.3.2 64bit. I recompile first last kernel 2.4 which boot well on my b2k (even with smp :) ). Unfortunately I do the same excercise with latest 2.6 (pa4) but i don't reach to make boot the same b2k: it crash very early. And more over the pimfo doesn't help (neither hpmc nor toc reveal any usable address?).
hmm is somebody knows if Bruno expect to port its lkcd patch into 2.6?

Joel

-------------------------------------------------------------------------
Tiscali ADSL: 12 mois à 29,50 €/mois! L'Internet rapide, c'est pour tout le monde.
http://reg.tiscali.be/default.asp?lg=fr

#6 lore raw
Quoted 8 lines · On Tue, 23 Dec 2003 19:37:09 +0100 "Joel Soete" <[email protected]> wrote:

Hi Grant, Herbert,

Quoted 6 lines
Quoted 6 lines
Quoted 5 lines

You'll need to grab the gcc-hppa64 compiler from:

ftp://ftp.parisc-linux.org/unoffocial-debs/gcc-hppa64_3.0.4ds3- 7.1_hppa.deb

Quoted 6 lines

This failled to me:
/usr/bin/hppa64-linux-ld: line 4: 10920 Segmentation fault /opt/palinux/bin/$prog$*
make: *** [.tmp_vmlinux1] Error 139
"
A well know pb which required a new release iirc.

I'd say it just requires you to disable KALLSYMS in your 64bit kernel conf.

Thibaut VARENE
The PA/Linux ESIEE Team
http://www.pateam.org/
On vacation till Jan 6.