ARCH=arm64 make ranchu_defconfig
ARCH=arm64 make CROSS_COMPILE=aarch64-linux-gnu-
tar -xvf linaro-devices.tar.gz
source build/envsetup.sh
lunch ranchu-userdebug
? ? ../qemu.git/aarch64-softmmu/qemu-system-aarch64? ?? ?-cpu cortex-a57? ?? ?-machine type=ranchu? ?? ?-m 4096? ?? ?-kernel ./ranchu-kernel/Image? ?? ?-append 'console=ttyAMA0,38400 keep ? ? _bootcon'? ?? ?-monitor stdio? ?? ?-initrd ranchu-build/ramdisk.img? ?? ?-drive index=2,id=userdata,file=ranchu-build/userdata.img? ?? ?-device virtio-blk-device,drive=userdata? ?? ?-device virtio-blk-device,drive=cache? ?? ?-drive index=1,id=cache,file=ranchu-build/cache.img? ?? ?-device virtio-blk-device,drive=system? ?? ?-drive index=0,id=system,file=ranchu-build/system.img? ?? ?-netdev user,id=mynet? ?? ?-device virtio-net-device,netdev=mynet? ?? ?-show-cursor?
Some spare time (there is a lot to compile)
Finally you can launch the emulator with a command line like this:
|