Re: Sparc-32 doesn't work in 3.1.

From: Sergei Trofimovich
Date: Sun Dec 11 2011 - 03:15:12 EST


> > Boot time fixup v1.6. 4/Mar/98 Jakub Jelinek (jj@xxxxxxxxxxxxxx).
> > Patching kernel for srmmu[Fujitsu TurboSparc]/iommu
> > Fixup i f029ddfc doesn't refer to a valid instruction at
> > f00de648[95eea000]
> > halt, power off
>
> If anyone would like a reproduction sequence for this, the toolchain I use
> (which compiles commit 9933fc0ac1ac14b^1 just fine) is at:
>
> http://landley.net/aboriginal/downloads/binaries/cross-compiler-sparc.tar.bz2

Tried to build both with your crosscompiler and with gcc-4.5.3/binutils-2.21.1
Both boot but don't get to prompt (minimal config I guess).
(v3.1 works the same as 3.2.0-rc5)

Linux version 3.2.0-rc5 (slyfox@sf) (gcc version 4.2.1) #1 Sun Dec 11 11:08:25 FET 2011
bootconsole [earlyprom0] enabled
ARCH: SUN4M
TYPE: SPARCstation 5
Ethernet address: 52:54:00:12:34:56
Boot time fixup v1.6. 4/Mar/98 Jakub Jelinek (jj@xxxxxxxxxxxxxx). Patching kernel for srmmu[Fujitsu TurboSparc]/iommu
OF stdout device is: /obio/zs@0,100000:a
PROM: Built device tree with 23073 bytes of memory.
Booting Linux...
Power off control detected.
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 28018
...
mousedev: PS/2 mouse device common for all mice
rtc-m48t59 rtc-m48t59.0: rtc core: registered m48t08 as rtc0
turn off boot console earlyprom0

Can you share broken image to drive out qemu bug? (0.14.0 is here)

--

Sergei

Attachment: signature.asc
Description: PGP signature