<div dir="ltr"><div>Hello.<br>
<br>
I want to virtualize correctly Android 10 on top of my Jetson nano 
(arm64) using qemu and kvm on ubuntu 18.04. This is the tutorial that 
I'm following :<br>
<br>

<div><a href="https://github.com/antmicro/kvm-aosp-jetson-nano" target="_blank">https://github.com/antmicro/kvm-aosp-jetson-nano</a></div><div><br></div><div>everything went good until this command :</div><div><br></div><div><pre><code>sudo rsync -avxHAX system-r{o,w}/<br><br></code></pre><pre><code>something is not good because I get a lot of errors when I transfer the files and permissions from the source to the destination path (both are on the same disk and on the same ext4 partition. You can see the full log with the errors here :<br><br></code></pre></div></div><div><a href="https://pastebin.ubuntu.com/p/W9GjPCt8G4/">https://pastebin.ubuntu.com/p/W9GjPCt8G4/</a></div><div><br></div><div>the consequence of these errors is that when I try to emulate android with qemu like this :</div><div><br></div><div><pre><code>qemu-system-aarch64 \
        -enable-kvm \
        -smp 4 \
        -m 2048 \
        -cpu host \
        -M virt \
        -device virtio-gpu-pci \
        -device usb-ehci \
        -device usb-kbd \
        -device virtio-tablet-pci \
        -usb \
        -serial stdio \
        -display sdl,gl=on \
        -kernel aosp/Image \
        -initrd aosp/ramdisk.img \
        -drive index=0,if=none,id=system,file=aosp/system.img \
        -device virtio-blk-pci,drive=system \
        -drive index=1,if=none,id=vendor,file=aosp/vendor.img \
        -device virtio-blk-pci,drive=vendor \
        -drive index=2,if=none,id=userdata,file=aosp/userdata.img \
        -device virtio-blk-pci,drive=userdata \
        -full-screen \
        -append "console=ttyAMA0,38400 earlycon=pl011,0x09000000 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"
</code></pre></div><div><div class="gmail-de1"><br></div><div class="gmail-de1">this is the error that I get :</div><div class="gmail-de1"><br></div><div class="gmail-de1">[    2.532754] init: init first stage started!
</div><div class="gmail-de1">[    2.535936] init: [libfs_mgr]ReadFstabFromDt(): failed to read fstab from dt
</div><div class="gmail-de1">[    2.540632] init: [libfs_mgr]ReadDefaultFstab(): failed to find device default fstab
</div><div class="gmail-de1">[    2.546246] init: Failed to fstab for first stage mount
</div><div class="gmail-de1">[    2.549616] init: Using Android DT directory /proc/device-tree/firmware/android/
</div><div class="gmail-de1">[    2.555116] init: [libfs_mgr]ReadDefaultFstab(): failed to find device default fstab
</div><div class="gmail-de1">[    2.560762] init: First stage mount skipped (missing/incompatible/empty fstab in device tree)
</div><div class="gmail-de1">[    2.566906] init: Skipped setting INIT_AVB_VERSION (not in recovery mode)
</div><div class="gmail-de1">[    2.571227] init: execv("/system/bin/init") failed: No such file or directory
</div><div class="gmail-de1">[    2.593768] init: #00 pc 00000000000e90a0  /init
</div><div class="gmail-de1">[    2.599958] reboot: Restarting system with command 'bootloader'</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Mario.<br></div></div>