1 Star 2 Fork 7

spritek/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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/spritek/open-harmony-emulator.git
git@gitee.com:spritek/open-harmony-emulator.git
spritek
open-harmony-emulator
OpenHarmonyEmulator
master

搜索帮助