Black screen when emulating Linux kernel -


i'am trying build linux arm (versatile board) , emulate using qemu:

i folowed folowing tutorial

after downloading qemu , arm-linux-gnueab toolchain steps basically:

  • make -c build arch=arm distclean

  • make -c build arch=arm versatile_defconfig

  • make -c build arch=arm cross_compile=arm-none-linux-gnueabi-

  • qemu-system-arm -m versatileab -m 256m -kernel build/arch/arm/boot/zimage -append "console=ttys0" -serial stdio -dtb build/arch/arm/boot/dts/versatile-ab.dtb

what black sreen cursor @ top , following messages:

pulseaudio: set_sink_input_volume() failed pulseaudio: reason: invalid argument pulseaudio: set_sink_input_mute() failed pulseaudio: reason: invalid argument uncompressing linux... done, booting kernel. vpb_sic_write: bad register offset 0x2c 

i'am not sure problem come from: bad configuration of kernel ?, dtb ?; messages don't give lot of informations

so suggestions welcome

qemu version:

qemu-system-arm --version qemu emulator version 2.0.0 (debian 2.0.0+dfsg-2ubuntu1.31), copyright (c) 2003-2008 fabrice bellard 

my machine:

uname -a linux user-satellite-c855-169 4.2.0-27-generic #32~14.04.1-ubuntu smp fri jan 22 15:32:26 utc 2016 x86_64 x86_64 x86_64 gnu/linux 

the device ttys0 pc-style 8250/16550 serial ports, whereas qemu emulates amba pl011 versatibleab , versatilepb machines, use device name ttyama0, can try using console=ttyama0 instead.

the framebuffer console may need binding kernel during startup, controlled setting framebuffer_console_detect_primary=y in kernel config, should allow console on tty0 device using console=tty0.

you can specify multiple console= options using console=ttyama0 console=tty0 should show kernel boot messages on both emulated console port (on stdio, options) , framebuffer.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -