Am waiting for your reply from past 2-weeks. In mean while, i have debugged emulator from emulator log there i have found few interesting things as follow's,
- In Emulator log i found qemu command with the arguments like:-
/home/performance-server/ghalib-khan/android/t-head/test/aosp-riscv/aosp/prebuilts/android-emulator/linux-x86_64/qemu/linux-x86_64/qemu-system-riscv64 -dns-server 127.0.0.53 -serial null -device goldfish_pstore,addr=0xff018000,size=0x10000,file=/home/performance-server/ghalib-khan/android/t-head/test/aosp-riscv/aosp/out/target/product/generic_riscv64/build.avd/data/misc/pstore/pstore.bin -cpu rv64gcsu-v1.10.0 -machine type=ranchu -m 2048 -lcd-density 240 -nodefaults
-kernel /home/performance-server/ghalib-khan/android/t-head/test/aosp-riscv/aosp/prebuilts/qemu-kernel/riscv64/ranchu/kernel-qemu -initrd /home/performance-server/ghalib-khan/android/t-head/test/aosp-riscv/aosp/out/target/product/generic_riscv64/ramdisk.img -drive index=0,id=vendor,if=none,file=/home/performance-server/ghalib-khan/android/t-head/test/aosp-riscv/aosp/out/target/product/generic_riscv64/vendor-qemu.img,read-only -device virtio-blk-device,drive=vendor -drive index=1,id=userdata,if=none,file=/home/performance-server/ghalib-khan/android/t-head/test/aosp-riscv/aosp/out/target/product/generic_riscv64/userdata-qemu.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-device,drive=userdata -drive index=2,id=cache,if=none,file=/home/performance-server/ghalib-khan/android/t-head/test/aosp-riscv/aosp/out/target/product/generic_riscv64/cache.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-device,drive=cache -drive index=3,id=system,if=none,file=/home/performance-server/ghalib-khan/android/t-head/test/aosp-riscv/aosp/out/target/product/generic_riscv64/system-qemu.img,read-only -device virtio-blk-device,drive=system -netdev user,id=mynet -device virtio-net-device,netdev=mynet -device virtio-rng-device -show-cursor -L /home/performance-server/ghalib-khan/android/t-head/test/aosp-riscv/aosp/prebuilts/android-emulator/linux-x86_64/lib/pc-bios -smp 2 -m 3800M -bios /home/performance-server/ghalib-khan/android/t-head/test/aosp-riscv/aosp/prebuilts/qemu-kernel/riscv64/ranchu/fw_jump.bin -append 'qemu=1 no_timer_check security=selinux android.boot.selinux=permissive androidboot.hardware=ranchu androidboot.serialno=EMULATOR30X1X2X0 android.qemud=1 console=0 android.checkjni=1 qemu.gles=1 qemu.settings.system.screen_off_timeout=2147483647 qemu.vsync=60 qemu.gltransport=pipe qemu.gltransport.drawFlushInterval=800 qemu.opengles.version=131072 cma=6M@0-4G androidboot.selinux=permissive loop.max_part=7 androidboot.vbmeta.size=4352 androidboot.vbmeta.hash_alg=sha256 androidboot.vbmeta.digest=6e147225fe925a0e11d4dff19fb6bb83c41208fdc3ae463b9176d122ea72fcbc ramoops.mem_address=0xff018000 ramoops.mem_size=0x10000 memmap=0x10000$0xff018000 qemu.dalvik.vm.heapsize=512m' -android-hw /home/performance-server/ghalib-khan/android/t-head/test/aosp-riscv/aosp/out/target/product/generic_riscv64/hardware-qemu.ini
I have figured it, why it is picking prebuild qemu-kernel image from prebuild folder, with help of
$ emulator -help-build-images command. it say's If the kernel image is not found in the out directory, then it is searched
in <build-root>/prebuilts/qemu-kernel/.
Can you please cross verify it or suggest me what's wrong going with build but in build i didn't faced any failures, build was success.
Reply ASAP.
Ghalib khan c.