On 02.04.14 15:25, Valery Reznic wrote:
>
>
> ----- Original Message -----
> > From: Alexander Graf <agraf(a)suse.com>
> > To: opensuse-arm(a)opensuse.org
> > Cc:
> > Sent: Wednesday, April 2, 2014 4:08 PM
> > Subject: Re: [opensuse-arm] qemu-systaem-aarch64
> >
> >
> > On 02.04.14 15:05, Valery Reznic wrote:
> >> Hello.
> >>
> >> I was using openSUSE's
> > http://csgraf.de/aarch64/openSUSE-12.3-AArch64-JeOS.alpha1.raw.tgz
> >>
> >> to run it under Foundation model.
> >>
> >>
> >> Now I am trying to run it under qemu (qemu-2.0.0-rc0) on x86-64
> Fedora 20:
> >>
> >>
> >> qemu-system-aarch64 -hda openSUSE-12.3-AArch64-JeOS.alpha1.raw
> >>
> >>
> >> Results:
> >>
> >> VNC server running on `::1:5900'
> >>
> >> qemu: fatal: Trying to execute code outside RAM or ROM at
> > 0x0000000008000000 R00=00000000 R01=00000000 R02=00000000 R03=00000000
> >> R04=00000000 R05=00000000 R06=00000000 R07=00000000
> >> R08=00000000 R09=00000000 R10=00000000 R11=00000000
> >> R12=00000000 R13=00000000 R14=00000000 R15=08000000
> >> PSR=400001d3 -Z-- A svc32
> >> s00=00000000 s01=00000000 d00=0000000000000000
> >> s02=00000000 s03=00000000 d01=0000000000000000
> >> s04=00000000 s05=00000000 d02=0000000000000000
> >> s06=00000000 s07=00000000 d03=0000000000000000
> >> s08=00000000 s09=00000000 d04=0000000000000000
> >> s10=00000000 s11=00000000 d05=0000000000000000
> >> s12=00000000 s13=00000000 d06=0000000000000000
> >> s14=00000000 s15=00000000 d07=0000000000000000
> >> s16=00000000 s17=00000000 d08=0000000000000000
> >> s18=00000000 s19=00000000 d09=0000000000000000
> >> s20=00000000 s21=00000000 d10=0000000000000000
> >> s22=00000000 s23=00000000 d11=0000000000000000
> >> s24=00000000 s25=00000000 d12=0000000000000000
> >> s26=00000000 s27=00000000 d13=0000000000000000
> >> s28=00000000 s29=00000000 d14=0000000000000000
> >> s30=00000000 s31=00000000 d15=0000000000000000
> >>
> >> FPSCR: 00000000
> >> Aborted (core dumped)
> >>
> >>
> >> It's happened with both selinux on and off.
> >>
> >> I tried to add to the command '-M virt' - same result. (Only crash
> > happened quicker)
> >>
> >> What am I missing? How can I run aarch64 system under
> qemu-system-aarch64?
> >
> > I'm fairly sure you still need to pass in a -kernel to QEMU so it can
> I tried it too - without any luck.
>
> > find something to execute. That said, I haven't tried the current
> > aarch64 system emulation patch set from Peter yet. Upstream QEMU
> > definitely does not work with aarch64 system emulation today.
> So, why then last qemu (2.0.0rc0) has option to build qemu-system-aarh64?
It has some preliminary support - probably KVM only. The AArch64 system
target is WIP.
> And where can I find Peter's patch set?
>
>
> By the way, what confused me is the output of
> qemu-system-aarch64 -M ?
> Supported machines are:
> versatileab ARM Versatile/AB (ARM926EJ-S)
> lm3s811evb Stellaris LM3S811EVB
> z2 Zipit Z2 (PXA27x)
> connex Gumstix Connex (PXA255)
> sx1 Siemens SX1 (OMAP310) V2
> realview-eb ARM RealView Emulation Baseboard (ARM926EJ-S)
> cubieboard cubietech cubieboard
> vexpress-a9 ARM Versatile Express for Cortex-A9
> lm3s6965evb Stellaris LM3S6965EVB
> realview-pbx-a9 ARM RealView Platform Baseboard Explore for Cortex-A9
> musicpal Marvell 88w8618 / MusicPal (ARM926EJ-S)
> mainstone Mainstone II (PXA27x)
> terrier Terrier PDA (PXA270)
> n810 Nokia N810 tablet aka. RX-44 (OMAP2420)
> xilinx-zynq-a9 Xilinx Zynq Platform Baseboard for Cortex-A9
> nuri Samsung NURI board (Exynos4210)
> realview-eb-mpcore ARM RealView Emulation Baseboard (ARM11MPCore)
> verdex Gumstix Verdex (PXA270)
> canon-a1100 Canon PowerShot A1100 IS
> akita Akita PDA (PXA270)
> smdkc210 Samsung SMDKC210 board (Exynos4210)
> integratorcp ARM Integrator/CP (ARM926EJ-S) (default)
> sx1-v1 Siemens SX1 (OMAP310) V1
> kzm ARM KZM Emulation Baseboard (ARM1136)
> highbank Calxeda Highbank (ECX-1000)
> n800 Nokia N800 tablet aka. RX-34 (OMAP2420)
> collie Collie PDA (SA-1110)
> realview-pb-a8 ARM RealView Platform Baseboard for Cortex-A8
> vexpress-a15 ARM Versatile Express for Cortex-A15
> spitz Spitz PDA (PXA270)
> cheetah Palm Tungsten|E aka. Cheetah PDA (OMAP310)
> none empty machine
> midway Calxeda Midway (ECX-2000)
> tosa Tosa PDA (PXA255)
> virt ARM Virtual Machine
> borzoi Borzoi PDA (PXA270)
> versatilepb ARM Versatile/PB (ARM926EJ-S)
>
> To me looks like most (or even all) of them are arm, not arm8.
Yes, The AArch64 target will be able to run AArch32 models as well. The
same holds true for qemu-system-x86_64 which can run i386 boards or
qemu-system-ppc64 which can run 32bit boards too.
Alex
--
To unsubscribe, e-mail: opensuse-arm+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-arm+owner(a)opensuse.org
Hello.
I was using openSUSE's http://csgraf.de/aarch64/openSUSE-12.3-AArch64-JeOS.alpha1.raw.tgz
to run it under Foundation model.
Now I am trying to run it under qemu (qemu-2.0.0-rc0) on x86-64 Fedora 20:
qemu-system-aarch64 -hda openSUSE-12.3-AArch64-JeOS.alpha1.raw
Results:
VNC server running on `::1:5900'
qemu: fatal: Trying to execute code outside RAM or ROM at 0x0000000008000000 R00=00000000 R01=00000000 R02=00000000 R03=00000000
R04=00000000 R05=00000000 R06=00000000 R07=00000000
R08=00000000 R09=00000000 R10=00000000 R11=00000000
R12=00000000 R13=00000000 R14=00000000 R15=08000000
PSR=400001d3 -Z-- A svc32
s00=00000000 s01=00000000 d00=0000000000000000
s02=00000000 s03=00000000 d01=0000000000000000
s04=00000000 s05=00000000 d02=0000000000000000
s06=00000000 s07=00000000 d03=0000000000000000
s08=00000000 s09=00000000 d04=0000000000000000
s10=00000000 s11=00000000 d05=0000000000000000
s12=00000000 s13=00000000 d06=0000000000000000
s14=00000000 s15=00000000 d07=0000000000000000
s16=00000000 s17=00000000 d08=0000000000000000
s18=00000000 s19=00000000 d09=0000000000000000
s20=00000000 s21=00000000 d10=0000000000000000
s22=00000000 s23=00000000 d11=0000000000000000
s24=00000000 s25=00000000 d12=0000000000000000
s26=00000000 s27=00000000 d13=0000000000000000
s28=00000000 s29=00000000 d14=0000000000000000
s30=00000000 s31=00000000 d15=0000000000000000
FPSCR: 00000000
Aborted (core dumped)
It's happened with both selinux on and off.
I tried to add to the command '-M virt' - same result. (Only crash happened quicker)
What am I missing? How can I run aarch64 system under qemu-system-aarch64?
Thank you,
Valery.
--
To unsubscribe, e-mail: opensuse-arm+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-arm+owner(a)opensuse.org