Skip to contentSkip to conversation

First attempt for LinuxPPC on a MVME2400

DISCUSSION Simone Piccardi 4 participants 5 messages Apr 15, 1999 – Apr 16, 1999

lore
Share & tools
lore
#0 lore raw

As first thank to all people that helped me (but I think this is only the beginning!).
The first step was to set the environment )PPC4bug> ENV) for booting PReP using the options:
Network PReP-Boot Mode Enable = Y
and
VME3PCI Master Master Enable = N

The second step was to set up a PC to provide the boot directory. I used a Pentium with a RedHat 5.2, and copied all files from ftp://vcorr1.iram.es/pub/linux-2.2/ to the /tftpboot directory on that PC, and set up the tftpd daemon (inside inetd.conf).
i renamed the file zimage_initrd-2_2.1 as zimage.

The thirsd step was to setup the network on th MVME2400, we did:

Copyright Motorola Inc. 1988 - 1998, All Rights Reserved

PPC4 Debugger/Diagnostics Release Version 1.1 - 01/11/99 RM01 COLD Start

Local Memory Found =02000000 (&33554432)

MPU Clock Speed =350Mhz

BUS Clock Speed =100Mhz

Reset Vector Location : ROM Bank B
Mezzanine Configuration: Single-MPU
Current 60X-Bus Master : MPU0
Idle MPU(s) : NONE

System Memory: 32MB, ECC Enabled (ECC-Memory Detected)
L2Cache:       1024KB, 140Mhz

PPC4-Bug>niot
Controller LUN =00?
Device LUN =00?
Node Control Memory Address =01F9E000?
Client IP Address =192.84.146.131?
Server IP Address =192.84.146.24?
Subnet IP Address Mask =255.255.255.0?
Broadcast IP Address =255.255.255.255?
Gateway IP Address =0.0.0.0?
Boot File Name ("NULL" for None) =zimage?
Argument File Name ("NULL" for None) =?

Boot File Load Address         =001F0000?
Boot File Execution Address    =001F0000?
Boot File Execution Delay      =00000000?
Boot File Length               =00000000?
Boot File Byte Offset          =00000000?
BOOTP/RARP Request Retry       =00?
TFTP/ARP Request Retry         =00?

Trace Character Buffer Address =00000000? BOOTP/RARP Request Control: Always/When-Needed (A/W)=W?
BOOTP/RARP Reply Update Control: Yes/No (Y/N) =Y?

The last step was the booting attempt:

PPC4-Bug>nbo
Network Booting from: DEC21143, Controller 0, Device 0 Device Name: /pci@80000000/pci1011,19@e,0:0,0
Loading: zimage

Client IP Address      = 192.84.146.131
Server IP Address      = 192.84.146.24
Gateway IP Address     = 0.0.0.0

Subnet IP Address Mask = 255.255.255.0
Boot File Name = zimage
Argument File Name =

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

Bytes Received =&1383272, Bytes Loaded =&1383272
Bytes/Second =&345818, Elapsed Time =4 Second(s)

Residual-Data Located at: $01F78000

Model: (e2)
Serial: MOT0359E66
Processor/Bus frequencies (Hz): 350007040/100001144 Time Base Divisor: 4000
Original MSR: 3040
Original HID0: 80a4
Original R31: 0

PCI: Probing PCI hardware

Linux/PPC load: console=ttyS0

Uncompressing the kernel...Kernel at 0x00000000, size=0x157bb4 Initrd at 0x00230000, size=0xb9384
Residual data at 0x00158000
Command line at 0x0015f000
done
Now booting...
prep_init: WARNING: can't find an OpenPIC on what looks like a PowerPlus board
Total memory = 32MB; using 128kB for hash table (at c0160000) Linux version 2.2.1 (root@vcorr1) (gcc version egcs-2.91.60 19981201 (egcs-1.1.1
release)) #8 Thu Feb 11 19:15:47 WET 1999
Boot arguments: console=ttyS0
request_irq(): irq 2 handler c0005274 name cascade dev_id 0000
time_init: decrementer frequency = 1499988240/60 (23MHz) Calibrating delay loop... 699.60 BogoMIPS
Memory: 30188k available (892k kernel code, 856k data, 88k init) [c0000000,c2000
000]
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
Setting bridge 0
Interrupt mapping from 20 to 92
openpic.c:548: illegal irq 9 from c011d5d0,[c011c4bc],[[c012c36c]]
NIP: C000BBF8 XER: 00000000 LR: C000C474 REGS: c02edd60 TRAP: 0300
MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c02ec000[1] 'swapper' mm->pgd c0101000 Last syscall: -1 last math 00000000
GPR00: 00000000 C02EDE50 C02EC000 00010120 00400000 00400000 C0110000 C0115928
GPR08: 000F3E87 C0110000 000003F8 C02EDD90 00000000 01F721C0 00000000 00000000
GPR16: 00000000 00000000 00000000 00000000 00000000 00000000 C0110000 C0120000
GPR24: 00000000 00000001 C0134A1E C01349D7 C01349D8 00000000 00000001 00000009
Call backtrace:
C000C448 C011D5D0 C011C4BC C012C36C C011A7D8 C0004160 C0008598 Instruction DUMP: 38600000 4e800020 4e800020 <7c001c2c> 64008000 7c001d2c 7c
0006ac 7c001c2c 740a4000

Kernel panic: kernel access of bad area pc c000bbf8 lr c000c474 address

10120 ts
k swapper/1
Rebooting in 180 seconds..

I tried also to start the zimage_nfsroot-2_2.1 image, obtainig a similar result, that is right because I did not setup any root tree for the NFS.

My first questiona is: the warning:
prep_init: WARNING: can't find an OpenPIC on what looks like a PowerPlus board

is due to the new hawk chipset? And the message:
openpic.c:548: illegal irq 9 from c011d5d0,[c011c4bc],[[c012c36c]]

is due to this problem? And what I have to do?

Before starting to build a tree I would like to know if there will be any chance to boot on it at this stage or not. I'm still tring to build a cross compiler, and for the moment I cannot try to build another kernel.

Do you have any suggestion?

Thank you in advance

Signature · 8 lines
Simone Piccardi
Microsoft is NOT the answer. Microsoft is the Question.
The answer is: "NO!"

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]
#1 lore raw

At 19:29 15-4-99 +0200, Simone Piccardi wrote:

[snip]

Quoted 4 lines
Kernel panic: kernel access of bad area pc c000bbf8 lr c000c474 address

10120 ts
k swapper/1
Rebooting in 180 seconds..

Just to make sure : try ping'ing the board after the kernel has paniced
(sp?).
It should work. (You have 180 secs to ping it ;-)

Quoted 3 lines

I tried also to start the zimage_nfsroot-2_2.1 image, obtainig a similar result, that is right because I did not setup any root tree for the NFS.

What do you mean with ``a similar result'' ? Does the kernel panic because it cannot find a root fs or does it give an other reason ? In this case too, try pinging the board, to verify the Ethernet interface is configured correctly.

Regards,

+-----------------------------------------------------------------+
  David 'Septimus' De Ridder       <[email protected]> 

"Gonzo : - You'll live to regret this.
Old man : - We intend to !"
- 'The Muppet Show'

+-----------------------------------------------------------------+

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#2 lore raw
In reply to Simone Piccardi
Quoted 8 lines · Simone Piccardi

As first thank to all people that helped me (but I think this is only the beginning!).
The first step was to set the environment )PPC4bug> ENV) for booting PReP using the options:
Network PReP-Boot Mode Enable = Y
and
VME3PCI Master Master Enable = N

What is the output of VER under PPCBug ?

This is to get the chip identifier for the HAWK, on my board I get towards the end:
PCI Bus Bridge Device ID/Revision...................=48011057/01 PCI Function 00/0B/0 (00005800) ID/Revision.........=056510AD/04 PCI Function 00/0B/1 (00005900) ID/Revision.........=010510AD/05 PCI Function 00/0C/0 (00006000) ID/Revision.........=00031000/13 PCI Function 00/0D/0 (00006800) ID/Revision.........=000010E3/00 PCI Function 00/0E/0 (00007000) ID/Revision.........=00091011/22 PCI Function 00/10/0 (00008000) ID/Revision.........=88115333/54

this mighht be necessary to be able to recognize the Hawk. Obviously the fault you have is due to the fact that the OpenPIC is not found.

Then there might be problems with the network interface, but they will only when the interrupt controller problems are solved.

Gabriel.

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#3 lore raw

Hi,
the output of the ver command is this:

PPC4-Bug>ver
Debugger/Diagnostics Type/Revision..................=PPC4/1.1 Debugger/Diagnostics Revision Date..................=01/11/99 RM01 MicroProcessor Version/Revision.....................=0008/8201 MicroProcessor Internal Clock Speed (MHZ)...........=350 MicroProcessor External Clock Speed (MHZ)...........=100 Board Type Identifier...............................=MVME2400 PCI Bus Clock Speed (MHZ)...........................=33 Local Memory Size...................................=02000000 (32MB) L2 Cache (External).................................=0KB L2 Cache (P0-In-Line)...............................=1024KB L2 Cache (P1-In-Line)...............................=0KB Super I/O Device Offset/ID/Revision.................=UNKNOWN PCI Function 00/00/0 (00000000) ID/Revision.........=48031057/01 PCI Function 00/0B/0 (00005800) ID/Revision.........=056510AD/10 PCI Function 00/0B/1 (00005900) ID/Revision.........=010510AD/05 PCI Function 00/0D/0 (00006800) ID/Revision.........=000010E3/01 PCI Function 00/0E/0 (00007000) ID/Revision.........=00191011/41 PCI Function 00/10/0 (00008000) ID/Revision.........=00031000/13

there are some differences, and no presence of the line:
PCI Bus Bridge Device ID/Revision...................=48011057/01
that seems replaced by:
PCI Function 00/00/0 (00000000) ID/Revision.........=48031057/01

Do you now how to change this? (I'm very new to this kind of stuff).

Thanks

Signature · 8 lines
Simone Piccardi
Microsoft is NOT the answer. Microsoft is the Question.
The answer is: "NO!"

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]
#4 lore raw
Quoted 5 lines · Simone Piccardi

there are some differences, and no presence of the line:
PCI Bus Bridge Device ID/Revision...................=48011057/01
that seems replaced by:
PCI Function 00/00/0 (00000000) ID/Revision.........=48031057/01

                                                       ^^^^^^^^

Is this the Motorola Hawk? It's not yet know by pciutils. Please inform [email protected].

Greetings,

Geert

--
Geert Uytterhoeven [email protected]
Wavelets, Linux/{m68k~Amiga,PPC~CHRP} http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]