当前位置:   article > 正文

openeuler21.03移植 qemu 模拟Hi3518开发板_qemu openharmony

qemu openharmony
  1. openeuler21.03移植 qemu 模拟Hi3518开发板
  2. 希望openeuler21.03社区志愿者维护人员将下列组件打包,进一步壮大华为生态链。
  3. 1、下载​ OpenHarmonyEmulator
  4. ​ 说明:OpenHarmonyEmulator基于qemu项目,能够模拟OpenHarmony Hi3518开发板,可以在虚拟环境中运行Open Harmony系统。
  5. git clone https://gitee.com/singularsecuritylab/open-harmony-emulator
  6. 2、下载vdeplug4源码并手工编译
  7. https://codeload.github.com/rd235/vdeplug4/zip/refs/heads/master
  8. 3、下载libexecs并手工编译
  9. http://archive.ubuntu.com/ubuntu/pool/universe/libe/libexecs/
  10. http://archive.ubuntu.com/ubuntu/pool/universe/libe/libexecs/libexecs_1.1.orig.tar.gz
  11. 4、libjpeg.so.8.0.2
  12. 这个不用载了,WPS里居然有直接拿来使用
  13. 版本:libjpeg.so.8.0.2
  14. sudo ln -s libjpeg.so.8.0.2 libjpeg.so.8
  15. 5、下载libvte并编译安装
  16. http://ftp.us.debian.org/debian/pool/main/v/vte/vte_0.28.2.orig.tar.xz
  17. 6、下载libfdt
  18. libfdt.so.1
  19. sudo dnf install python3-libfdt.x86_64
  20. 7、测试
  21. 上面安装完成后,可以测试了,qemu用法可以能参考下面
  22. https://blog.csdn.net/lenovo8088/article/details/114874376
  23. 不要运行start_qemu.sh,直接运行下载命令
  24. a.启动
  25. ./qemu-system-arm \
  26. -M hi3518 \
  27. -m 512 \
  28. -kernel liteos.bin \
  29. -nographic \
  30. -net nic,macaddr=88-88-88-88-88-66 \
  31. -net bridge,id=net0,helper=/usr/libexec/qemu-bridge-helper,br=virbr0 \
  32. b.欢迎界面
  33. ******************Welcome******************
  34. Processor : unknown
  35. Run Mode : UP
  36. GIC Rev : unknown
  37. build time : Oct 29 2020 15:00:51
  38. Kernel : Huawei LiteOS 2.0.0.35/debug
  39. *******************************************
  40. c、帮助
  41. help
  42. *******************shell commands:*************************
  43. arp cat cd chgrp chmod chown cp cpup
  44. date dhclient dmesg dns format free help hwi
  45. ifconfig ipdebug kill log ls lsfd memcheck mkdir
  46. mount netstat oom partinfo partition ping ping6 pmm
  47. pwd readreg reset rm rmdir sem stack statfs
  48. su swtmr sync systeminfo task telnet tftp touch
  49. umount uname v2p virstatfs vmm watch writeproc
  50. d、查看及配置网络
  51. OHOS # ifconfig
  52. OHOS # dhclient eth0
  53. OHOS # ping www.baidu.com
  54. [0]Reply from 220.181.38.150: time=23ms TTL=52
  55. [1]Reply from 220.181.38.150: time=22ms TTL=52
  56. [2]Reply from 220.181.38.150: time=22ms TTL=52
  57. [3]Reply from 220.181.38.150: time=22ms TTL=52
  58. --- 220.181.38.150 ping statistics ---
  59. 4 packets transmitted, 4 received, 0 loss
  60. 8、支持的CPU
  61. ./qemu-system-arm -m ?
  62. virt ARM Virtual Machine
  63. collie Collie PDA (SA-1110)
  64. realview-eb-mpcore ARM RealView Emulation Baseboard (ARM11MPCore)
  65. sx1 Siemens SX1 (OMAP310) V2
  66. hi1215-osn9800 hisi hi1215 SOC (Cortex-A15)
  67. musicpal Marvell 88w8618 / MusicPal (ARM926EJ-S)
  68. borzoi Borzoi PDA (PXA270)
  69. connex Gumstix Connex (PXA255)
  70. z2 Zipit Z2 (PXA27x)
  71. lm3s811evb Stellaris LM3S811EVB
  72. lm3s6965evb Stellaris LM3S6965EVB
  73. hi1215 hisi hi1215 SOC (Cortex-A15)
  74. spitz Spitz PDA (PXA270)
  75. vexpress-a9 ARM Versatile Express for Cortex-A9
  76. cheetah Palm Tungsten|E aka. Cheetah PDA (OMAP310)
  77. realview-eb ARM RealView Emulation Baseboard (ARM926EJ-S)
  78. vexpress-a15 ARM Versatile Express for Cortex-A15
  79. xilinx-zynq-a9 Xilinx Zynq Platform Baseboard for Cortex-A9
  80. integratorcp ARM Integrator/CP (ARM926EJ-S)
  81. cubieboard cubietech cubieboard
  82. akita Akita PDA (PXA270)
  83. realview-pb-a8 ARM RealView Platform Baseboard for Cortex-A8
  84. hi1381-hulk hisi hi1381 SOC (Cortex-A15)
  85. sx1-v1 Siemens SX1 (OMAP310) V1
  86. tosa Tosa PDA (PXA255)
  87. realview-pbx-a9 ARM RealView Platform Baseboard Explore for Cortex-A9
  88. n810 Nokia N810 tablet aka. RX-44 (OMAP2420)
  89. hi3518 hisi hi3518
  90. highbank Calxeda Highbank (ECX-1000)
  91. none empty machine
  92. hi1215-osn1800 hisi hi1215 SOC (Cortex-A15)
  93. midway Calxeda Midway (ECX-2000)
  94. hi1381 hisi hi1381 SOC (Cortex-A15)
  95. hi1215-ptn7900 hisi hi1215-ptn7900 board (Cortex-A15)
  96. versatilepb ARM Versatile/PB (ARM926EJ-S)
  97. kzm ARM KZM Emulation Baseboard (ARM1136)
  98. hi1215-ptn990 hisi hi1215-ptn990 board (Cortex-A15)
  99. verdex Gumstix Verdex (PXA270)
  100. n800 Nokia N800 tablet aka. RX-34 (OMAP2420)
  101. terrier Terrier PDA (PXA270)
  102. canon-a1100 Canon PowerShot A1100 IS
  103. mainstone Mainstone II (PXA27x)
  104. nuri Samsung NURI board (Exynos4210)
  105. smdkc210 Samsung SMDKC210 board (Exynos4210)
  106. versatileab ARM Versatile/AB (ARM926EJ-S)
  107. 9、其他
  108. 退出:先按ctrl+a再按x
  109. 先这样吧,以后再测试!
  110. ^_^

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/从前慢现在也慢/article/detail/309986
推荐阅读
相关标签
  

闽ICP备14008679号