qemu-discuss
[Top][All Lists]
Advanced

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

Re: Error : init: partition(s) not found in /sys, waiting for their ueve


From: Mario Marietto
Subject: Re: Error : init: partition(s) not found in /sys, waiting for their uevent(s): mmcblk0p2, mmcblk0p3 while trying to emulate Android 14 on Ubuntu 24.04 X64 bit using qemu-system-aarch64.
Date: Mon, 2 Sep 2024 19:11:27 +0200

Hello.

Several years ago I've been able to emulate Android 10 on the Jetson Nano using this repo :

https://github.com/antmicro/kvm-aosp-jetson-nano

I've configured qemu / kvm like this :

qemu-system-aarch64 \
        -enable-kvm \
        -smp 4 \
        -m 2048 \
        -cpu host \
        -M virt \
        -device virtio-gpu-pci,xres=1024,yres=768 \
        -display sdl,gl=on \
        -device usb-ehci \
        -device usb-kbd \
        -device virtio-tablet-pci \
        -usb \
        -serial stdio \
        -kernel Image \
        -initrd ramdisk.img \
        -drive index=0,if=none,id=system,file=system-rw.img \
        -device virtio-blk-pci,drive=system \
        -drive index=1,if=none,id=vendor,file=vendor-rw.img \
        -device virtio-blk-pci,drive=vendor \
        -drive index=2,if=none,id=userdata,file=userdata.img \
        -device virtio-blk-pci,drive=userdata \
        -append "console=ttyAMA0,38400 drm.debug=0x0 rootwait rootdelay=5 androidboot.hardware=ranchu androidboot.selinux=permissive security=selinux selinux=1 androidboot.qemu.hw.mainkeys=0 androidboot.lcd.density=160"


and it worked :


191153893_10223855068540542_4097432751745711768_n.jpg

Well. At the time the only version of qemu which has been able to emulate it has been qemu-system-aarch64 vers. 5.0 dirty.

Can someone tell me where I can get the same version ? What's the meaning of "dirty" ? 

I want to replicate that success. Thanks.


On Mon, Sep 2, 2024 at 4:53 PM Peter Maydell <peter.maydell@linaro.org> wrote:
On Mon, 2 Sept 2024 at 15:44, Mario Marietto <marietto2008@gmail.com> wrote:
>
> The real problem here is that I'm asking in a lot of "places",but I get very few useful responses. It seems that there isn't a good knowledge about the relationships that there are between qemu and android.

Yes, I mentioned that in some other thread -- as far as I
know basically nobody is running AOSP on QEMU. So trying
to get it working is going to require some figuring out
of both parts and probably some work similar to "how do
you port AOSP to run on a new piece of hardware?".

-- PMM


--
Mario.

reply via email to

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