check of endianess?
I just compiled a kernel for SGI IP32 and got some very interesting results when booting it: 0 MHz CPU, no RAM... Later I found out that I made a copy&paste typo in my build script and used mipsel-linux-cc to compile. Shouldn't this be detected earlier on?
Linux version 2.6.15 (tbm@deprecation) (gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)) #6 Tue Jan 24 22:57:52 GMT 2006
ARCH: SGI-IP32
PROMLIB: ARC firmware Version 0 Revision 0
CRIME id 0 rev 0 at 0x14000000
CRIME MC: bank 0 base 0x0000000000000000 size 32MiB
CRIME MC: bank 0 base 0x0000000002000000 size 32MiB
CRIME MC: bank 0 base 0x0000000004000000 size 32MiB
CRIME MC: bank 0 base 0x0000000006000000 size 32MiB
CRIME MC: bank 0 base 0x0000000008000000 size 32MiB
CRIME MC: bank 0 base 0x000000000a000000 size 32MiB
CPU revision is: 00000000
FPU revision is: 00000000
Determined physical RAM map:
memory: c000000 @ 0 (usable)
Built 0 zonelists
Kernel command line:
Primary instruction cache 32kB, physically tagged, 2-way, linesize 0 bytes.
Primary data cache 32kB, 2-way, linesize 0 bytes.
R5000 SCACHE size 512kB, linesize 32 bytes.
Synthesized TLB refill handler (0 instructions).
Synthesized TLB load handler fastpath (0 instructions).
Synthesized TLB store handler fastpath (0 instructions).
Synthesized TLB modify handler fastpath (0 instructions).
PID hash table entries: 0 (order: 0, 32768 bytes)
Calibrating system timer... 0 MHz CPU detected
Using 0.000 MHz high precision timer.
Console: colour dummy device 0x0
CRIME memory error at 0x3fffffe0 ST 0x0400a828<INV,RE,REID=0x28,NONFATAL>
Dentry cache hash table entries: 0 (order: 0, 262144 bytes)
Inode-cache hash table entries: 0 (order: 0, 131072 bytes)
Memory: 0k/196608k available (3015k kernel code, 7288k reserved, 737k data, 192k init, 0k highmem)
Signature · 2 lines
Martin Michlmayr http://www.cyrius.com/
Quoted 4 lines · Martin Michlmayr
I just compiled a kernel for SGI IP32 and got some very interesting results when booting it: 0 MHz CPU, no RAM... Later I found out that I made a copy&paste typo in my build script and used mipsel-linux-cc to compile. Shouldn't this be detected earlier on?
That actually booted? I thought SGIs were hardwired specifically for BE, and the prom should've rejected an LE kernel (Granted, there is a jumper on the IP32 board labelled "Big Endian", so it's anyone's guess).
--Kumba
Signature · 4 lines
Gentoo/MIPS Team Lead Gentoo Foundation Board of Trustees "Such is oft the course of deeds that move the wheels of the world: small hands do them because they must, while the eyes of the great are elsewhere." --Elrond
Quoted 5 lines · Kumba
Quoted 2 lines
I made a copy&paste typo in my build script and used mipsel-linux-cc to compile. Shouldn't this be detected earlier on?
That actually booted? I thought SGIs were hardwired specifically for BE, and the prom should've rejected an LE kernel (Granted, there is a jumper on the IP32 board labelled "Big Endian", so it's anyone's guess).
I *think* mipsel-linux-cc can produce big endian code too but I guess something went wrong.
Signature · 2 lines
Martin Michlmayr http://www.cyrius.com/