我得到了一个 Android 图像,其中包含:
-rwxr-xr-x 1 root root 69206016 Dec 16 17:01 cache.img
-rwxr-xr-x 1 root root 6024864 Mar 23 2016 Image
-rwxr-xr-x 1 root root 1108329 Mar 7 2016 ramdisk.img
-rwxr-xr-x 1 root root 943718400 Mar 7 2016 system.img
-rwxr-xr-x 1 root root 576716800 Dec 16 17:02 userdata.img
Run Code Online (Sandbox Code Playgroud)
它可以通过 android 模拟器启动:
./emulator64-ranchu-arm64 -system ./system.img -data ./userdata.img -ramdisk ./ramdisk.img -kernel ./Image -cache ./cache.img -sysdir ./ -no-window -verbose -show-kernel
Run Code Online (Sandbox Code Playgroud)
或者直接使用qemu:
./qemu/linux-x86_64/qemu-system-aarch64 -cpu cortex-a57 -machine type=ranchu -m 512 -append 'console=ttyAMA0,38400 keep_bootcon earlyprintk=ttyAMA0' -serial …
Run Code Online (Sandbox Code Playgroud) 的输出uname -a
是:
#1 SMP Debian 3.16.7-ckt11-1+deb8u3 (2015-08-04)
我没有在输出中找到对“u3”的任何解释,这是什么意思?