linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* First attempt for LinuxPPC on a MVME2400
@ 1999-04-15 17:29 Simone Piccardi
  1999-04-15 17:50 ` David De Ridder
  1999-04-15 19:02 ` Gabriel Paubert
  0 siblings, 2 replies; 6+ messages in thread
From: Simone Piccardi @ 1999-04-15 17:29 UTC (permalink / raw)
  To: linuxppc-dev


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


-- 
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.   ]]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: First attempt for LinuxPPC on a MVME2400
  1999-04-15 17:29 Simone Piccardi
@ 1999-04-15 17:50 ` David De Ridder
  1999-04-15 19:02 ` Gabriel Paubert
  1 sibling, 0 replies; 6+ messages in thread
From: David De Ridder @ 1999-04-15 17:50 UTC (permalink / raw)
  To: Simone Piccardi; +Cc: linuxppc-dev


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

[snip]
>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 ;-) 

>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       <david.de.ridder@bitsmart.com> 

"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.   ]]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: First attempt for LinuxPPC on a MVME2400
  1999-04-15 17:29 Simone Piccardi
  1999-04-15 17:50 ` David De Ridder
@ 1999-04-15 19:02 ` Gabriel Paubert
  1999-04-16 13:46   ` Simone Piccardi
  1 sibling, 1 reply; 6+ messages in thread
From: Gabriel Paubert @ 1999-04-15 19:02 UTC (permalink / raw)
  To: Simone Piccardi; +Cc: linuxppc-dev




On Thu, 15 Apr 1999, Simone Piccardi wrote:

> 
> 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.   ]]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: First attempt for LinuxPPC on a MVME2400
  1999-04-16 13:46   ` Simone Piccardi
@ 1999-04-16 12:19     ` Geert Uytterhoeven
  0 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 1999-04-16 12:19 UTC (permalink / raw)
  To: Simone Piccardi; +Cc: Gabriel Paubert, linuxppc-dev


On Fri, 16 Apr 1999, Simone Piccardi wrote:
> 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
pci-ids@ucw.cz.

Greetings,

						Geert

--
Geert Uytterhoeven                     Geert.Uytterhoeven@cs.kuleuven.ac.be
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.   ]]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: First attempt for LinuxPPC on a MVME2400
  1999-04-15 19:02 ` Gabriel Paubert
@ 1999-04-16 13:46   ` Simone Piccardi
  1999-04-16 12:19     ` Geert Uytterhoeven
  0 siblings, 1 reply; 6+ messages in thread
From: Simone Piccardi @ 1999-04-16 13:46 UTC (permalink / raw)
  To: Gabriel Paubert; +Cc: linuxppc-dev


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

-- 
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.   ]]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: First attempt for LinuxPPC on a MVME2400
       [not found] <3.0.6.32.19990416174803.008106a0@hsins.uia.ac.be>
@ 1999-04-16 19:00 ` Simone Piccardi
  0 siblings, 0 replies; 6+ messages in thread
From: Simone Piccardi @ 1999-04-16 19:00 UTC (permalink / raw)
  To: David De Ridder; +Cc: linuxppc-dev


Hi David, 
thanks for the advice, I'll keep in my mind.
I tried the test that you suggested in the previuos mail, but I got no
answer from the board. In any case I still have to set up a root tree,
so the nfs cannot work in any case. We have also to buy a disk for the
board, but this will be a further step.
It seems that the crash is a problem of the Hawk chip, from PPCBug the
board is capable to ping, and also to connect to the tftp daemon and
load the kernel image.
Now I'm triyng to set up the cross-copiler using the procedure given by
Matt Porter in his web page, but the CVS repository changed location,
and the downloading procedure; for people tha can need this information
the new site is http://cvs.on.openprojects.net/ 
I just finished the download. I'll try some compilation, I'm quite far
from getting the board working, but at least I'm on my way.
Thanks again
-- 
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.   ]]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-04-16 19:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3.0.6.32.19990416174803.008106a0@hsins.uia.ac.be>
1999-04-16 19:00 ` First attempt for LinuxPPC on a MVME2400 Simone Piccardi
1999-04-15 17:29 Simone Piccardi
1999-04-15 17:50 ` David De Ridder
1999-04-15 19:02 ` Gabriel Paubert
1999-04-16 13:46   ` Simone Piccardi
1999-04-16 12:19     ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).