All of lore.kernel.org
 help / color / mirror / Atom feed
* check of endianess?
@ 2006-01-24 23:38 Martin Michlmayr
  2006-01-25  1:07 ` Kumba
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Michlmayr @ 2006-01-24 23:38 UTC (permalink / raw)
  To: linux-mips

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)

-- 
Martin Michlmayr
http://www.cyrius.com/

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

* Re: check of endianess?
  2006-01-24 23:38 check of endianess? Martin Michlmayr
@ 2006-01-25  1:07 ` Kumba
  2006-01-25  1:38   ` Martin Michlmayr
  0 siblings, 1 reply; 3+ messages in thread
From: Kumba @ 2006-01-25  1:07 UTC (permalink / raw)
  To: linux-mips

Martin Michlmayr wrote:
> 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

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

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

* Re: check of endianess?
  2006-01-25  1:07 ` Kumba
@ 2006-01-25  1:38   ` Martin Michlmayr
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Michlmayr @ 2006-01-25  1:38 UTC (permalink / raw)
  To: Kumba; +Cc: linux-mips

* Kumba <kumba@gentoo.org> [2006-01-24 20:07]:
> >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.
-- 
Martin Michlmayr
http://www.cyrius.com/

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

end of thread, other threads:[~2006-01-25  1:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-24 23:38 check of endianess? Martin Michlmayr
2006-01-25  1:07 ` Kumba
2006-01-25  1:38   ` Martin Michlmayr

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.