[Aboriginal] Fwd: Re: Aboriginal Linux

Rob Landley rlandley at parallels.com
Tue Apr 5 04:51:50 PDT 2011


Retry sending it form my work address?  (Yes, gmail's spam filtering is
so broken I have to send this through an exchange server to get it out.
 I'm going to have to set up my own mail server again, aren't I?)

-------- Original Message --------
Subject: Re: Aboriginal Linux
Date: Fri, 01 Apr 2011 04:21:30 -0500
From: Rob Landley <rob at landley.net>
To: Alessio Igor Bogani <alessioigorbogani at gmail.com>

Do you mind if I repost this reply to the aboriginal linux mailing list?

On 03/31/2011 02:19 PM, Alessio Igor Bogani wrote:
> Dear Mr. Landley,
> 
> I would want let you know that system-image-arm6l doesn't boot in my qemu:
> 
> abogani at picasso:~/WIP/system-image-armv6l$ qemu-system-arm -version
> QEMU emulator version 0.14.50 (Debian 0.14.50-2011.03-1-0ubuntu1),
> Copyright (c) 2003-2008 Fabrice Bellard

Yeah, it happened when I upgraded the kernel.  Fixing this has been on
my todo list.

Lemme see...  according to "hg log -v" 1322 introduced 2.6.37, 1265 was
2.6.36, and 1231 was 2.6.35...  QEMU could boot 2.6.35 fine but 2.6.36
doesn't boot.  (Presumably it does so on real hardware...)

It's related to my patching of the Arm versatile board to let you select
which processor to stick in it.  QEMU allows you to stick an armv6 cpu
in a versatile board via the "-cpu arm1136" option, but this doesn't get
a lot of testing and a kernel upgrade broke it.  I need to bisect to
find which commit introduced the breakage and see what I can do about it.

(Alternately, I could try one of the other board emulations QEMU does now.)

> abogani at picasso:~/WIP/system-image-armv6l$ ./run-emulator.sh
> qemu-system-arm: pci_add_option_rom: failed to find romfile "pxe-rtl8139.bin"
> Uncompressing Linux... done, booting the kernel.
> qemu: fatal: Unimplemented cp15 register write (c13, c0, {0, 3})
> 
> R00=c02896c0 R01=c0286000 R02=c7828000 R03=00000000
> R04=00008197 R05=ffff0fff R06=00000017 R07=c78242e0
> R08=c028caa8 R09=000003f0 R10=c0286000 R11=c0287fb4
> R12=c0286044 R13=c0287f88 R14=c0217920 R15=c001dc94
> PSR=00000153 ---- A svc32
> ./run-emulator.sh: line 3: 22118 Aborted                 (core dumped)
> qemu-system-arm -M versatilepb -cpu arm1136 -nographic -no-reboot
> -kernel "zImage-armv6l" $WITH_HDC $WITH_HDB -hda "image-armv6l.sqf"
> -append "root=/dev/sda rw init=/sbin/init.sh panic=1
> PATH=$DISTCC_PATH_PREFIX/bin:/sbin console=ttyAMA0 HOST=armv6l
> $KERNEL_EXTRA" $QEMU_EXTRA -net nic,model=rtl8139 -net user
> 
> Instead system-image-arm4l works as expected.

armv4l is OABI, you might want armv4tl or armv5l.  (Those also currently
work, it's just armv6l that qemu barfs on.)

> Thank you very much!
> 
> Ciao,
> Alessio
> 

Rob

 1302004310.0


More information about the Aboriginal mailing list