mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: Aboriginal Linux <aboriginal@lists.landley.net>,
	linux-kernel@vger.kernel.org, davem@davemloft.net, tytso@mit.edu,
	sparclinux@vger.kernel.org
Subject: Re: Sparc-32 doesn't work in 3.1.
Date: Sat, 12 Nov 2011 18:07:01 -0600	[thread overview]
Message-ID: <4EBF0A25.20604@landley.net> (raw)
In-Reply-To: <4EBEAB5A.5020809@landley.net>

[-- Attachment #1: Type: text/plain, Size: 1302 bytes --]

On 11/12/2011 11:22 AM, Rob Landley wrote:
> Still trying to ship an Aboriginal Linux release with the 3.1 kernel,
> but the sparc target broke, as in QEMU's OpenBios goes:
> 
>   Boot time fixup v1.6. 4/Mar/98 Jakub Jelinek (jj@ultra.linux.cz).
>   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

I configure using the attached miniconfig, ala:

  make allnoconfig KCONFIG_ALLCONFIG=miniconfig.sparc ARCH=sparc

And then:

  PATH=/path/to/cross-compiler-sparc/bin:$PATH make ARCH=sparc \
    CROSS_COMPILE=sparc- -j 3

I then grab the file arch/sparc/boot/image out of the build and run:

  qemu-system-sparc -nographic -no-reboot -kernel image -hda /dev/null -m 256 \
    -append "root=/dev/sda rw init=/sbin/init.sh panic=1 PATH=/bin:/sbin console=ttyS0 HOST=sparc"

If you'd like a working system for comparison (built with the same
toolchain), download:

  http://landley.net/aboriginal/downloads/binaries/system-image-sparc.tar.bz2

And run-emulator.sh out of that.

Rob

[-- Attachment #2: miniconfig.sparc --]
[-- Type: text/plain, Size: 1059 bytes --]

CONFIG_EXPERIMENTAL=y
CONFIG_NO_HZ=y
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_PCI=y
CONFIG_BINFMT_ELF=y
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_BLK_DEV=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_IDE=y
CONFIG_IDE_GD=y
CONFIG_IDE_GD_ATA=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_BLK_DEV_SR=y
CONFIG_SCSI_LOWLEVEL=y
CONFIG_NETDEVICES=y
CONFIG_NET_ETHERNET=y
CONFIG_NET_PCI=y
CONFIG_8139CP=y
CONFIG_HW_RANDOM=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_DEV=y
CONFIG_EXT4_FS=y
CONFIG_EXT4_USE_FOR_EXT23=y
CONFIG_TMPFS=y
CONFIG_MISC_FILESYSTEMS=y
CONFIG_SQUASHFS=y
CONFIG_SQUASHFS_ZLIB=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_DEVTMPFS=y

CONFIG_VIRTUALIZATION=y
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_NET=y
CONFIG_NET_9P=y
CONFIG_NET_9P_VIRTIO=y
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_9P_FS=y
CONFIG_9P_FS_POSIX_ACL=y

CONFIG_SCSI_SUNESP=y
CONFIG_SUNLANCE=y
CONFIG_SERIAL_SUNZILOG=y
CONFIG_SERIAL_SUNZILOG_CONSOLE=y
CONFIG_SUN_MOSTEK_RTC=y


  reply	other threads:[~2011-11-13  0:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-12 17:22 Rob Landley
2011-11-13  0:07 ` Rob Landley [this message]
2011-12-11  8:17   ` Sergei Trofimovich
2011-12-14  2:23     ` Rob Landley
2011-12-14 17:42       ` Sergei Trofimovich
2011-12-14 17:49         ` Eric Dumazet
2011-12-14 17:53         ` David Miller
2011-12-14 17:54         ` David Miller
2011-12-14 18:18           ` David Miller
2011-12-14 18:55             ` Sergei Trofimovich
2011-12-14 19:13               ` David Miller
2011-12-14 19:27                 ` Rob Landley
2011-12-14 19:26             ` Rob Landley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EBF0A25.20604@landley.net \
    --to=rob@landley.net \
    --cc=aboriginal@lists.landley.net \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sparclinux@vger.kernel.org \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome