Re: Linux-2.6.9-rc2 kernel build for mvme5100

3 messages, 3 authors, 2004-09-20 · open the first message on its own page

Re: Linux-2.6.9-rc2 kernel build for mvme5100

From: Matt Porter <mporter@kernel.crashing.org>
Date: 2004-09-16 06:01:32

On Thu, Sep 16, 2004 at 02:29:49PM +1000, David Gardiner wrote:
Hi all,

I've got two questions in regard to building linux-2.6.9-rc2 for a mvme5100

Target info:
build platform: mvme5100, gcc-3.3.4, debian-testing, linuxppc_2_4_devel, 
default mvme5100 config
target platform: mvme5100

Questions 1:

I was getting this error when I tried to build the kernel:

  CC      arch/ppc/boot/common/bootinfo.o
  CC      arch/ppc/boot/common/misc-common.o
  CC      arch/ppc/boot/common/ns16550.o
arch/ppc/boot/common/ns16550.c:14: error: conflicting types for `outb'
include/asm/io.h:142: error: previous declaration of `outb'
arch/ppc/boot/common/ns16550.c:15: error: conflicting types for `inb'
include/asm/io.h:157: error: previous declaration of `inb'
make[2]: *** [arch/ppc/boot/common/ns16550.o] Error 1
make[1]: *** [arch/ppc/boot/common] Error 2
make: *** [zImage] Error 2

I changed arch/ppc/boot/common/ns16550.c so that it managed to compile 
based on what was in io.h, the patch for which is attatched, are these 
changes okay?
You need this patch:
 http://www.ussg.iu.edu/hypermail/linux/kernel/0409.1/1192.html

-Matt

Re: Linux-2.6.9-rc2 kernel build for mvme5100

From: David Gardiner <hidden>
Date: 2004-09-16 07:53:17

You need this patch:
http://www.ussg.iu.edu/hypermail/linux/kernel/0409.1/1192.html

-Matt
 
Thanks that compiles, but it doesn't boot, I got:

Network Boot File load in progress... To abort hit <BREAK>

Bytes Received =&1305095, Bytes Loaded =&1305095
Bytes/Second   =&1305095, Elapsed Time =1 Second(s)

Residual-Data Located at: $1FEA137C
loaded at:     00005400 00144530
relocated to:  00800000 0093F130
zimage at:     00805905 0093CA9F
avail ram:     00400000 00800000

Linux/PPC load: ip=on panic=3 bigphysarea=8192 root=/dev/sda5
Uncompressing Linux...done.
Now booting the kernel

Re: Linux-2.6.9-rc2 kernel build for mvme5100

From: Tom Rini <hidden>
Date: 2004-09-20 17:32:49

On Thu, Sep 16, 2004 at 05:54:08PM +1000, David Gardiner wrote:
quoted
You need this patch:
http://www.ussg.iu.edu/hypermail/linux/kernel/0409.1/1192.html

-Matt
Thanks that compiles, but it doesn't boot, I got:
Did you disable CONFIG_VT, if it was enabled?  Otherwise you need to
pass console=ttyS0

-- 
Tom Rini
http://gate.crashing.org/~trini/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help