{"action":"reopened","issue":{"url":"https://api.github.com/repos/igorpecovnik/Cubietruck-Debian/issues/50","labels_url":"https://api.github.com/repos/igorpecovnik/Cubietruck-Debian/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/igorpecovnik/Cubietruck-Debian/issues/50/comments","events_url":"https://api.github.com/repos/igorpecovnik/Cubietruck-Debian/issues/50/events","html_url":"https://github.com/igorpecovnik/Cubietruck-Debian/issues/50","id":89745502,"number":50,"title":"Help for virtualization with qemu","user":{"login":"berturion","id":4692881,"avatar_url":"https://avatars.githubusercontent.com/u/4692881?v=3","gravatar_id":"","url":"https://api.github.com/users/berturion","html_url":"https://github.com/berturion","followers_url":"https://api.github.com/users/berturion/followers","following_url":"https://api.github.com/users/berturion/following{/other_user}","gists_url":"https://api.github.com/users/berturion/gists{/gist_id}","starred_url":"https://api.github.com/users/berturion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berturion/subscriptions","organizations_url":"https://api.github.com/users/berturion/orgs","repos_url":"https://api.github.com/users/berturion/repos","events_url":"https://api.github.com/users/berturion/events{/privacy}","received_events_url":"https://api.github.com/users/berturion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-20T09:35:30Z","updated_at":"2015-07-03T13:00:03Z","closed_at":null,"body":"Hello @igorpecovnik, I am able to run your debian image in qemu with kernel and intrd taken from here: https://mirrors.romanrm.net/sunxi/qemu/ and following these instructions: https://romanrm.net/a10/qemu, after having written your debian image on my SDCard.\r\nMy resulting qemu command is this:\r\n\r\n    sudo -E qemu-system-arm \\\r\n    -m 1024M \\\r\n    -M vexpress-a9 \\\r\n    -kernel vmlinuz-3.2.0-4-vexpress2 \\\r\n    -initrd initrd.img-3.2.0-4-vexpress2 \\\r\n    -append root=/dev/mmcblk0p1 \\\r\n    -drive if=sd,cache=unsafe,file=/dev/mmcblk0 \\\r\n    -net nic \\\r\n    -net user,hostfwd=tcp::10022-:22\r\n\r\nFor info, the last line is to be able to SSH from the host to the guest using 10022 localhost port.\r\n\r\nOnce the virtual machine is launched, I see that that I don't have ipv6 support and I think it is one of the `vmlinuz-3.2.0-4-vexpress2` or `initrd.img-3.2.0-4-vexpress2` file's fault. According to this bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779825, lacking of ipv6 support prevents me from installing Nginx because nginx service at first launch tries to listen to an ipv6 address that is not supported by the system.\r\n\r\nAnyway, all that to say I wanted to compile a `vexpress` intrd and kernel that could be used for qemu with ipv6 support and maybe other capabilities.\r\n\r\nAs I use `mainline kernel 4.0.5`, I followed this guide: https://balau82.wordpress.com/2012/03/31/compile-linux-kernel-3-2-for-arm-and-emulate-with-qemu/ using 4.0.5 kernel sources and the `vexpress_defconfig`.\r\n\r\nBut, when I launch QEMU with generated zImage and initramfs files, all I have is a black screen.\r\n\r\nI am not very familiarized with kernel compilation nor with qemu.\r\n\r\nMy question is how can run qemu with your image from SDCard in order to have the closest environment of a real Cubieboard2 with a mainline kernel ?\r\nWhich compilation ? Which config ? Which Qemu options ?\r\n\r\nI think the answer could be interesting for many people.\r\n\r\nThanks !"}}