On Wed, Mar 15, 2017 at 08:05:56AM +0000, Alex Bennée wrote: > > Krzysztof Kozlowski <k...@kernel.org> 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