Serial Console / Booting Linux with the PPCbug on MVME2100?

6 messages, 2 authors, 2004-04-01 · open the first message on its own page

Serial Console / Booting Linux with the PPCbug on MVME2100?

From: <hidden>
Date: 2004-03-31 12:08:45

Hello!

I'm currently trying to boot Linux 2.4.25 on a Motorola VME 2100 board,
featuring a MPC8240 controller.

I want to use the PPCbug monitor to boot Linux via TFTP - the download
step completes successfully:



PPC5-Bug>nbo
Network Booting from: DEC21143, Controller 0, Device 0
Device Name: /pci@fec00000/pci1011,19@e,0:0,0
Loading: images/zImage-2.4.25.prep

Client IP Address      = 192.168.1.3
Server IP Address      = 192.168.1.1
Gateway IP Address     = 0.0.0.0
Subnet IP Address Mask = 255.255.255.0
Boot File Name         = images/zImage-2.4.25.prep
Argument File Name     =

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

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

Residual-Data Located at: $01F5511C



And then the system seems to hang - it will no longer react to the ABT
(ABORT) interrupt switch, and will only work again on a cold reset (RST).

PreP Netboot is enabled in the ENV of the PPCbug.

The kernel has the following command line args compiled in:
Initial kernel command string:
"console=ttyS0,9600 root=/dev/nfs
nfsroot=192.168.1.1:/home/korpo/praktikum/mvme2100/rootfs ip=192.168.1.3:192.168.1.1::255.255.255.0:mvme2100::off"

(without the wraparound, of course)

Serial console support is builtin, no PMC VGA controller is onboard.

Why don't I at least get a serial console output??


Thanks a lot in advance,
Oliver Korpilla
CS student at the University of Applied Sciences at Landshut, Germany

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

Re: Serial Console / Booting Linux with the PPCbug on MVME2100?

From: Tom Rini <hidden>
Date: 2004-03-31 17:09:24

On Wed, Mar 31, 2004 at 02:08:45PM +0200, okorpil@fh-landshut.de wrote:
Hello!

I'm currently trying to boot Linux 2.4.25 on a Motorola VME 2100 board,
featuring a MPC8240 controller.

I want to use the PPCbug monitor to boot Linux via TFTP - the download
step completes successfully:
What's your .config look like ?

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

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

Re: Serial Console / Booting Linux with the PPCbug on MVME2100?

From: <hidden>
Date: 2004-04-01 08:26:28

Hello!

I'm using a plain vanilla 2.4.25 kernel with the attached config.

As you may have noted I'm using the zImage.prep.

Do I need to make a mkbugboot by hand? (It's only configured to be done
for the CONFIG_LOPEC, CONFIG_PPLUS and CONFIG_PRPMC750)

Thanks, Oliver

On Wed, 31 Mar 2004, Tom Rini wrote:
On Wed, Mar 31, 2004 at 02:08:45PM +0200, okorpil@fh-landshut.de wrote:
quoted
Hello!

I'm currently trying to boot Linux 2.4.25 on a Motorola VME 2100 board,
featuring a MPC8240 controller.

I want to use the PPCbug monitor to boot Linux via TFTP - the download
step completes successfully:
What's your .config look like ?

Tom Rini

Re: Serial Console / Booting Linux with the PPCbug on MVME2100?

From: <hidden>
Date: 2004-04-01 08:45:18

BTW, I just tested modifying the images with mkbugboot, both with the
vmlinux.gz and zImage.prep - will not boot image off the network. Will not
boot image with RB; V (load from ROM/RAM verbose) if loaded at $10000
address either (both bugboot images).

This always leads to Alignment errors, while trying to boot the
zImage.prep off the net directly does not lead to errors but to a system
hang.

I've seen evidence on the list, that the netboot stuff works - most people
seem to have problems transplanting a working configuration into Flash,
but not with netbooting, therefore leading to little useful advice on this
in the list. :(

Hope my config from the previous post is more useful.

Thanks in advance,
Oliver


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

Re: Serial Console / Booting Linux with the PPCbug on MVME2100?

From: Tom Rini <hidden>
Date: 2004-04-01 15:09:43

On Thu, Apr 01, 2004 at 10:26:28AM +0200, okorpil@fh-landshut.de wrote:
Hello!

I'm using a plain vanilla 2.4.25 kernel with the attached config.

As you may have noted I'm using the zImage.prep.

Do I need to make a mkbugboot by hand? (It's only configured to be done
for the CONFIG_LOPEC, CONFIG_PPLUS and CONFIG_PRPMC750)
This is what I expected.  Looking quickly over the prep_* files in
arch/ppc/platform confirms that the MVME2100 is not supported by these
files.  As an aside, mkbugboot is only needed to put an image into flash
and boot it. mkprep is used for hd(/cd?), floppy and network.

Now, a quick googling for Linux and MVME2100 gives this very old, but
mostly sufficient patch:
http://www.aps.anl.gov/asd/people/anj/mvme2100.patch.gz
Since you have the hardware, from here it should be not too hard, using
the LoPEC as an example, port the code in that patch to 2.4 and 2.6 (if
you do a patch vs 2.6 we can get that support into kernel.org, if you're
willing to try and keep the platform working).

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

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

Re: Serial Console / Booting Linux with the PPCbug on MVME2100?

From: Oliver Korpilla <hidden>
Date: 2004-04-01 15:53:43

This is what I expected. Looking quickly over the prep_* files in
arch/ppc/platform confirms that the MVME2100 is not supported by these
files.  As an aside, mkbugboot is only needed to put an image into flash
and boot it. mkprep is used for hd(/cd?), floppy and network.

Just to make sure I tried hard enough.
Now, a quick googling for Linux and MVME2100 gives this very old, but
mostly sufficient patch:
http://www.aps.anl.gov/asd/people/anj/mvme2100.patch.gz
Since you have the hardware, from here it should be not too hard, using
the LoPEC as an example, port the code in that patch to 2.4 and 2.6 (if
you do a patch vs 2.6 we can get that support into kernel.org, if you're
willing to try and keep the platform working).

Tom Rini
Well, "not too hard" is a bit funny, since I'm a kernel hacking newbie!
But I guess I should be able to try that 2.4.2 kernel to verify this
patch works, and then try to to stick that stuff into a more recent
(2.4) kernel. I'm not sure if I can support that platform in the long
run, since this (at the moment) a rather limited project - get the
platform running, get board capabilities running, get VME bus running -
produce a demonstration and document that solution as a simple BSP.

Thanks for the advice, and I think I have little other choice than
heeding it, because I'm starting to run out of options. ;)

Oliver Korpilla

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help