qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] qemu-system-arm and armhf


From: benoit ROUSSELLE
Subject: Re: [Qemu-discuss] qemu-system-arm and armhf
Date: Tue, 31 Mar 2015 14:10:30 +0200

Thanks Peter for your help.

1) do you know where i can find such compiled kernel, and their corresponding machine type ?

2) regarding sanity check, this might only be the keyboard that is not configured correctly:
- typing "Ctrl+Alt+3" drives me to QEMU 2.1.2 monitor where keyboards works.
Is there some log/place i should look for to see if keyboard is working or not ?

Thanks,
Benoit.

On Mon, Mar 30, 2015 at 11:50 PM, Peter Maydell <address@hidden> wrote:
On 30 March 2015 at 08:24, benoit ROUSSELLE <address@hidden> wrote:
> Dear All,
>
> i am running a debian8 amd64 machine and i would like to emulate an:
> armhf machine with kernel > 3.8 (docker testing)
>
> following this: https://gist.github.com/bdsatish/7476239
> i succeed to have a debian7 (3.2 kernel) working fine, but kernel is too
> old. It seems kernel cannot be updated from that point.
>
> I have tried the same approach with debian8:
> netboot install, with a vexpress machine (-M vexpress-a9 -cpu cortex-a9) :
> does not start at all.
> May be because vexpress kernel does not exist in installer for debian8.
>
> I am pretty new to arm, and i don't know what is the meaning/relation
> between vepxress types of machines and arm different architectures.

Basically, for ARM you must use a kernel that has been
compiled with support for the machine type you're trying to boot
it on. Otherwise you will typically find that it does not boot
at all, with no diagnostics.

> my last try with ubuntu trusty armhf port, was a bit better, as machine
> starts to boot but freeze when asking the first question at installation
> time:
> qemu-system-arm -m 1024M -sd armdisk.img -M vexpress-a9 -cpu cortex-a9
> -kernel ./netboot/vmlinuz -initrd ./netboot/initrd.gz -append
> "root=/dev/ram"  -no-reboot

If it manages to at least boot then you've got the basic
config more or less right. I can't shed any light on why
it's hanging though. Sanity check: this isn't just "keyboard
and mouse not configured so you can't enter anything at
the question", is it?

-- PMM


reply via email to

[Prev in Thread] Current Thread [Next in Thread]