2 Star 31 Fork 5

SingularSecurityLab / OpenHarmonyEmulator

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
start_qemu.sh 747 Bytes
一键复制 编辑 原始数据 按行查看 历史
SingularSecurityLab 提交于 2020-12-18 19:18 . init
#!/bin/sh
flash="./flash"
rootfs="./rootfs.img"
liteos="./liteos.bin"
qemu="qemu-system-arm"
config="./qemu-ifup"
if [ ! -f "$flash" ];then
echo "There is no flash here"
exit
fi
if [ ! -f "$rootfs" ];then
echo "There is no rootfs.img here"
exit
fi
if [ ! -f "$liteos" ];then
echo "There is no liteos.bin here"
exit
fi
if [ ! -f "$config" ];then
echo "There is no qemu-ifup here"
exit
fi
if [ ! -f "$qemu" ];then
echo "There is no qemu-system-arm here"
exit
fi
if [ ! -x "$config" ];then
sudo chmod 777 $config
fi
if [ ! -x "$qemu" ];then
sudo chmod 777 $qemu
fi
sudo ./qemu-ifup
sudo ./qemu-system-arm -M hi3518 -kernel liteos.bin -nographic -net nic,vlan=0 -net tap,vlan=0,ifname=tap100
C
1
https://gitee.com/singularsecuritylab/open-harmony-emulator.git
git@gitee.com:singularsecuritylab/open-harmony-emulator.git
singularsecuritylab
open-harmony-emulator
OpenHarmonyEmulator
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891