dhruvvyas90 / qemu-rpi-kernel

Qemu kernel for emulating Rpi on QEMU
2.04k stars 357 forks source link

Problem while booting kano os #116

Open bukyapavankumar opened 3 years ago

bukyapavankumar commented 3 years ago

Hey , I'm trying to run kano os with qemu native emulation .it can get to the terminal but after I enter login details it remains in terminal not booting to gui. I tried with raspberry os desktop it worked fine. and also network isnt working .how can i fix this in native emu @dhruvvyas90

bukyapavankumar commented 3 years ago

@dhruvvyas90 update: successfully booted kano os but wifi, mouse isnt working .im using qemu 5.1.0 .keyboard is working though. Screenshot (27)

bukyapavankumar commented 3 years ago

@dhruvvyas90 where can i contact you other than here?

dhruvvyas90 commented 3 years ago

@bukyapavankumar : I believe you can use qemu options -net tap,ifname=tap0 and bridge tap0 to wlan/eth connection to enable internet connection. Hope it helps.

bukyapavankumar commented 3 years ago

@dhruvvyas90 what about mouse ?

bukyapavankumar commented 3 years ago

can you give me an example command for net ? @dhruvvyas90 my command : qemu-system-aarch64 -M raspi3 -append "rw earlyprintk loglevel=8 console=ttyAMA0,115200 dwc_otg.lpm_enable=0 root=/dev/mmcblk0p2 rootdelay=1" -dtb C:\Users\Pavan\Downloads\Compressed\qemu-rpi-kernel-master\native-emuation\dtbs\bcm2710-rpi-3-b-plus.dtb -drive format=raw,file=C:\Users\Pavan\Downloads\Compressed\Kanux-Beta-v4.3.3-Hopper-stretch-rc-2019-10-31_02-37.img -kernel kernel8.img -m 1G -smp 4 -serial stdio -usb -device usb-mouse -device usb-kbd

bukyapavankumar commented 3 years ago

@bukyapavankumar : I believe you can use qemu options -net tap,ifname=tap0 and bridge tap0 to wlan/eth connection to enable internet connection. Hope it helps.

i dont know how to do that on windows

dhruvvyas90 commented 3 years ago

According to this, using -net nic -net user option should enable www. I don't have windows machine to test it with Qemu 5.1+. Hope it helps.

bukyapavankumar commented 3 years ago

@dhruvvyas90 no it didnt work .also the mouse isnt working on kano but it is working on raspberry os.should i upload my kano log?

bukyapavankumar commented 3 years ago

@dhruvvyas90 qemu-system-aarch64: warning: hub port hub0port0 has no peer qemu-system-aarch64: warning: hub 0 with no nics qemu-system-aarch64: warning: netdev hub0port0 has no peer qemu-system-aarch64: warning: requested NIC (__org.qemu.net0, model unspecified) was not created (not supported by this machine?)

im getting these in cmd and no internet in raspi as well as kano

dhruvvyas90 commented 3 years ago

@bukyapavankumar : Did you find a solution how to share internet connection with qemu on windows ? If yes, can you share it ? That way other folks using it on windows can use the information as well. Thanks.

bukyapavankumar commented 3 years ago

No sadly I didn't.