qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [Qemu-arm] [PATCH v2 0/5] hw: arm: exynos: Bring up sec


From: Krzysztof Kozlowski
Subject: Re: [Qemu-devel] [Qemu-arm] [PATCH v2 0/5] hw: arm: exynos: Bring up secondary CPU + CPUIDLE issue
Date: Wed, 15 Mar 2017 18:47:24 +0200
User-agent: Mutt/1.6.2-neo (2016-08-21)

On Wed, Mar 15, 2017 at 08:05:56AM +0000, Alex Bennée wrote:
> 
> Krzysztof Kozlowski <address@hidden> writes:
> 
> > On Tue, Mar 14, 2017 at 06:24:33PM +0000, Alex Bennée wrote:
> >> That means you're on a pre-mttcg tree so that's not the reason.
> >
> > I managed to build it on current master (v2.8.0-2182-g5e2fb7c598c6). It
> > behaves the same (with "-accel tcg,thread=single": cannot reach
> > switching to init).
> 
> Interesting. Can you post your exact qemu command line and I'll have a
> go at reproducing.

I build usually with:
../qemu/configure --cc="ccache cc" --cxx="ccache c++" --enable-debug 
--enable-fdt \
        --enable-kvm --enable-libusb --enable-libssh2 --enable-lzo \
        --enable-bzip2 --enable-curses --enable-gtk  --enable-cap-ng

Running with command:
arm-softmmu/qemu-system-arm -m 1024 -M smdkc210 -smp 2 -append \
        'console=ttySAC0,115200n8 console=ttyS0 earlyprintk' -d guest_errors \
        -serial stdio -D ..//log-smdkc210.log -kernel ../cur-linux/zImage
        -dtb ../cur-linux/dts/exynos4210-smdkv310.dtb
        -initrd ../armv7-odroidu3-exynos-v4.10-initramfs.cpio.gz

Plus the -accel line, depending on the needs.

The initramfs is a simple one from Arch Arm.

> 
> In the meantime you can always --enable-debug-tcg your build and see if
> any of the asserts fire.

enable-debug-tcg did not change much - no asserts. The last dmesg is:
[   72.616013] Registering SWP/SWPB emulation handler
[   74.484873] s3c64xx-spi 13940000.spi: spi bus clock parent not specified, 
using clock at index 0 as parent
[   74.485994] s3c64xx-spi 13940000.spi: number of chip select lines not 
specified, assuming 1 chip select line
[   74.493249] s3c64xx-spi 13940000.spi: Failed to get RX DMA channel
[   74.503885] hctosys: unable to open rtc device (rtc0)
[   74.523004] ALSA device list:
[   74.523711]   No soundcards found.
[   74.542278] samsung-uart 13800000.serial: DMA request failed, DMA will not 
be used


Best regards,
Krzysztof




reply via email to

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