SHARE
TWEET

QEMU install.sh

dfort Jun 19th, 2017 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ./install.sh
  2.  
  3. This will setup QEMU for emulating Magic Lantern.
  4. Thou shalt not be afraid of compiling stuff on Linux ;)
  5. Continue? [y/n] y
  6.  
  7. *** Setting up QEMU in /Users/rosiefort/qemu...
  8.  
  9. --2017-06-19 05:50:44--  http://wiki.qemu-project.org/download/qemu-2.5.0.tar.bz2
  10. Resolving wiki.qemu-project.org... 172.99.69.163
  11. Connecting to wiki.qemu-project.org|172.99.69.163|:80... connected.
  12. HTTP request sent, awaiting response... 301 Moved Permanently
  13. Location: http://wiki.qemu.org/download/qemu-2.5.0.tar.bz2 [following]
  14. --2017-06-19 05:50:45--  http://wiki.qemu.org/download/qemu-2.5.0.tar.bz2
  15. Resolving wiki.qemu.org... 172.99.69.163
  16. Reusing existing connection to wiki.qemu-project.org:80.
  17. HTTP request sent, awaiting response... 301 Moved Permanently
  18. Location: http://download.qemu.org/qemu-2.5.0.tar.bz2 [following]
  19. --2017-06-19 05:50:46--  http://download.qemu.org/qemu-2.5.0.tar.bz2
  20. Resolving download.qemu.org... 172.99.69.163
  21. Reusing existing connection to wiki.qemu-project.org:80.
  22. HTTP request sent, awaiting response... 200 OK
  23. Length: 25464996 (24M) [application/x-bzip2]
  24. Saving to: ‘qemu-2.5.0.tar.bz2’
  25.  
  26.      0K ........ ........ ........         100% 3.08M=7.9s
  27.  
  28. 2017-06-19 05:50:54 (3.08 MB/s) - ‘qemu-2.5.0.tar.bz2’ saved [25464996/25464996]
  29.  
  30. ./install.sh: line 38: cd: .git: No such file or directory
  31. Initialized empty Git repository in /Users/rosiefort/qemu/qemu-2.5.0/.git/
  32. ../magic-lantern/contrib/qemu/scripts/1000D -> ./1000D
  33. ../magic-lantern/contrib/qemu/scripts/1000D/debugmsg.gdb -> ./1000D/debugmsg.gdb
  34. ../magic-lantern/contrib/qemu/scripts/100D -> ./100D
  35. ../magic-lantern/contrib/qemu/scripts/100D/debugmsg.gdb -> ./100D/debugmsg.gdb
  36. ../magic-lantern/contrib/qemu/scripts/100D/semaphores.gdb -> ./100D/semaphores.gdb
  37. ../magic-lantern/contrib/qemu/scripts/1100D -> ./1100D
  38. ../magic-lantern/contrib/qemu/scripts/1100D/debugmsg.gdb -> ./1100D/debugmsg.gdb
  39. ../magic-lantern/contrib/qemu/scripts/1200D -> ./1200D
  40. ../magic-lantern/contrib/qemu/scripts/1200D/debugmsg.gdb -> ./1200D/debugmsg.gdb
  41. ../magic-lantern/contrib/qemu/scripts/1300D -> ./1300D
  42. ../magic-lantern/contrib/qemu/scripts/1300D/debugmsg.gdb -> ./1300D/debugmsg.gdb
  43. ../magic-lantern/contrib/qemu/scripts/400D -> ./400D
  44. ../magic-lantern/contrib/qemu/scripts/400D/debugmsg.gdb -> ./400D/debugmsg.gdb
  45. ../magic-lantern/contrib/qemu/scripts/40D -> ./40D
  46. ../magic-lantern/contrib/qemu/scripts/40D/debugmsg.gdb -> ./40D/debugmsg.gdb
  47. ../magic-lantern/contrib/qemu/scripts/450D -> ./450D
  48. ../magic-lantern/contrib/qemu/scripts/450D/debugmsg.gdb -> ./450D/debugmsg.gdb
  49. ../magic-lantern/contrib/qemu/scripts/500D -> ./500D
  50. ../magic-lantern/contrib/qemu/scripts/500D/debugmsg.gdb -> ./500D/debugmsg.gdb
  51. ../magic-lantern/contrib/qemu/scripts/500D/patches.gdb -> ./500D/patches.gdb
  52. ../magic-lantern/contrib/qemu/scripts/550D -> ./550D
  53. ../magic-lantern/contrib/qemu/scripts/550D/debugmsg.gdb -> ./550D/debugmsg.gdb
  54. ../magic-lantern/contrib/qemu/scripts/550D/patches.gdb -> ./550D/patches.gdb
  55. ../magic-lantern/contrib/qemu/scripts/5D -> ./5D
  56. ../magic-lantern/contrib/qemu/scripts/5D/debugmsg.gdb -> ./5D/debugmsg.gdb
  57. ../magic-lantern/contrib/qemu/scripts/5D2 -> ./5D2
  58. ../magic-lantern/contrib/qemu/scripts/5D2/debugmsg.gdb -> ./5D2/debugmsg.gdb
  59. ../magic-lantern/contrib/qemu/scripts/5D3 -> ./5D3
  60. ../magic-lantern/contrib/qemu/scripts/5D3/debugmsg.gdb -> ./5D3/debugmsg.gdb
  61. ../magic-lantern/contrib/qemu/scripts/5D3/patches.gdb -> ./5D3/patches.gdb
  62. ../magic-lantern/contrib/qemu/scripts/5D3eeko -> ./5D3eeko
  63. ../magic-lantern/contrib/qemu/scripts/5D3eeko/debugmsg.gdb -> ./5D3eeko/debugmsg.gdb
  64. ../magic-lantern/contrib/qemu/scripts/5D4 -> ./5D4
  65. ../magic-lantern/contrib/qemu/scripts/5D4/debugmsg.gdb -> ./5D4/debugmsg.gdb
  66. ../magic-lantern/contrib/qemu/scripts/5D4AE -> ./5D4AE
  67. ../magic-lantern/contrib/qemu/scripts/5D4AE/debugmsg.gdb -> ./5D4AE/debugmsg.gdb
  68. ../magic-lantern/contrib/qemu/scripts/600D -> ./600D
  69. ../magic-lantern/contrib/qemu/scripts/600D/debugmsg.gdb -> ./600D/debugmsg.gdb
  70. ../magic-lantern/contrib/qemu/scripts/600D/patches.gdb -> ./600D/patches.gdb
  71. ../magic-lantern/contrib/qemu/scripts/60D -> ./60D
  72. ../magic-lantern/contrib/qemu/scripts/60D/debugmsg.gdb -> ./60D/debugmsg.gdb
  73. ../magic-lantern/contrib/qemu/scripts/60D/patches.gdb -> ./60D/patches.gdb
  74. ../magic-lantern/contrib/qemu/scripts/700D -> ./700D
  75. ../magic-lantern/contrib/qemu/scripts/700D/debugmsg.gdb -> ./700D/debugmsg.gdb
  76. ../magic-lantern/contrib/qemu/scripts/700D/patches.gdb -> ./700D/patches.gdb
  77. ../magic-lantern/contrib/qemu/scripts/70D -> ./70D
  78. ../magic-lantern/contrib/qemu/scripts/70D/debugmsg.gdb -> ./70D/debugmsg.gdb
  79. ../magic-lantern/contrib/qemu/scripts/70D/patches.gdb -> ./70D/patches.gdb
  80. ../magic-lantern/contrib/qemu/scripts/750D -> ./750D
  81. ../magic-lantern/contrib/qemu/scripts/750D/debugmsg.gdb -> ./750D/debugmsg.gdb
  82. ../magic-lantern/contrib/qemu/scripts/760D -> ./760D
  83. ../magic-lantern/contrib/qemu/scripts/760D/debugmsg.gdb -> ./760D/debugmsg.gdb
  84. ../magic-lantern/contrib/qemu/scripts/7D -> ./7D
  85. ../magic-lantern/contrib/qemu/scripts/7D/debugmsg.gdb -> ./7D/debugmsg.gdb
  86. ../magic-lantern/contrib/qemu/scripts/7D2M -> ./7D2M
  87. ../magic-lantern/contrib/qemu/scripts/7D2M/debugmsg.gdb -> ./7D2M/debugmsg.gdb
  88. ../magic-lantern/contrib/qemu/scripts/80D -> ./80D
  89. ../magic-lantern/contrib/qemu/scripts/80D/debugmsg.gdb -> ./80D/debugmsg.gdb
  90. ../magic-lantern/contrib/qemu/scripts/80D/patches.gdb -> ./80D/patches.gdb
  91. ../magic-lantern/contrib/qemu/scripts/A1100 -> ./A1100
  92. ../magic-lantern/contrib/qemu/scripts/A1100/debugmsg.gdb -> ./A1100/debugmsg.gdb
  93. ../magic-lantern/contrib/qemu/scripts/EOSM -> ./EOSM
  94. ../magic-lantern/contrib/qemu/scripts/EOSM/debugmsg.gdb -> ./EOSM/debugmsg.gdb
  95. ../magic-lantern/contrib/qemu/scripts/EOSM/patches.gdb -> ./EOSM/patches.gdb
  96. ../magic-lantern/contrib/qemu/scripts/EOSM10 -> ./EOSM10
  97. ../magic-lantern/contrib/qemu/scripts/EOSM10/debugmsg.gdb -> ./EOSM10/debugmsg.gdb
  98. ../magic-lantern/contrib/qemu/scripts/EOSM2 -> ./EOSM2
  99. ../magic-lantern/contrib/qemu/scripts/EOSM2/debugmsg.gdb -> ./EOSM2/debugmsg.gdb
  100. ../magic-lantern/contrib/qemu/scripts/EOSM3 -> ./EOSM3
  101. ../magic-lantern/contrib/qemu/scripts/EOSM3/debugmsg.gdb -> ./EOSM3/debugmsg.gdb
  102. ../magic-lantern/contrib/qemu/scripts/EOSM5 -> ./EOSM5
  103. ../magic-lantern/contrib/qemu/scripts/EOSM5/debugmsg.gdb -> ./EOSM5/debugmsg.gdb
  104. ../magic-lantern/contrib/qemu/scripts/ansi.css -> ./ansi.css
  105. ../magic-lantern/contrib/qemu/scripts/ansi_cleanup.py -> ./ansi_cleanup.py
  106. ../magic-lantern/contrib/qemu/scripts/configure_eos.sh -> ./configure_eos.sh
  107. ../magic-lantern/contrib/qemu/scripts/copy_back_to_contrib.sh -> ./copy_back_to_contrib.sh
  108. ../magic-lantern/contrib/qemu/scripts/debug-logging.gdb -> ./debug-logging.gdb
  109. ../magic-lantern/contrib/qemu/scripts/export_ml_syms.sh -> ./export_ml_syms.sh
  110. ../magic-lantern/contrib/qemu/scripts/gdbopts -> ./gdbopts
  111. ../magic-lantern/contrib/qemu/scripts/gen_coverage.sh -> ./gen_coverage.sh
  112. ../magic-lantern/contrib/qemu/scripts/html_logs.sh -> ./html_logs.sh
  113. ../magic-lantern/contrib/qemu/scripts/mount.sh -> ./mount.sh
  114. ../magic-lantern/contrib/qemu/scripts/mtools_setup.sh -> ./mtools_setup.sh
  115. ../magic-lantern/contrib/qemu/scripts/remove_end_loop.py -> ./remove_end_loop.py
  116. ../magic-lantern/contrib/qemu/scripts/run_canon_fw.sh -> ./run_canon_fw.sh
  117. ../magic-lantern/contrib/qemu/scripts/run_ml_all_cams.sh -> ./run_ml_all_cams.sh
  118. ../magic-lantern/contrib/qemu/scripts/splitgdb.sh -> ./splitgdb.sh
  119. ../magic-lantern/contrib/qemu/tests/1000D -> tests/1000D
  120. ../magic-lantern/contrib/qemu/tests/1000D/calls-fint.md5 -> tests/1000D/calls-fint.md5
  121. ../magic-lantern/contrib/qemu/tests/1000D/calls-from.md5 -> tests/1000D/calls-from.md5
  122. ../magic-lantern/contrib/qemu/tests/1000D/calls-sorted.md5 -> tests/1000D/calls-sorted.md5
  123. ../magic-lantern/contrib/qemu/tests/1000D/disp.md5 -> tests/1000D/disp.md5
  124. ../magic-lantern/contrib/qemu/tests/100D -> tests/100D
  125. ../magic-lantern/contrib/qemu/tests/100D/calls-fint.md5 -> tests/100D/calls-fint.md5
  126. ../magic-lantern/contrib/qemu/tests/100D/calls-from.md5 -> tests/100D/calls-from.md5
  127. ../magic-lantern/contrib/qemu/tests/100D/calls-sorted.md5 -> tests/100D/calls-sorted.md5
  128. ../magic-lantern/contrib/qemu/tests/100D/disp.md5 -> tests/100D/disp.md5
  129. ../magic-lantern/contrib/qemu/tests/100D/format.md5 -> tests/100D/format.md5
  130. ../magic-lantern/contrib/qemu/tests/100D/gui.md5 -> tests/100D/gui.md5
  131. ../magic-lantern/contrib/qemu/tests/100D/menu.md5 -> tests/100D/menu.md5
  132. ../magic-lantern/contrib/qemu/tests/1100D -> tests/1100D
  133. ../magic-lantern/contrib/qemu/tests/1100D/calls-fint.md5 -> tests/1100D/calls-fint.md5
  134. ../magic-lantern/contrib/qemu/tests/1100D/calls-from.md5 -> tests/1100D/calls-from.md5
  135. ../magic-lantern/contrib/qemu/tests/1100D/calls-sorted.md5 -> tests/1100D/calls-sorted.md5
  136. ../magic-lantern/contrib/qemu/tests/1100D/disp.md5 -> tests/1100D/disp.md5
  137. ../magic-lantern/contrib/qemu/tests/1100D/format.md5 -> tests/1100D/format.md5
  138. ../magic-lantern/contrib/qemu/tests/1100D/gui.md5 -> tests/1100D/gui.md5
  139. ../magic-lantern/contrib/qemu/tests/1100D/menu.md5 -> tests/1100D/menu.md5
  140. ../magic-lantern/contrib/qemu/tests/1200D -> tests/1200D
  141. ../magic-lantern/contrib/qemu/tests/1200D/calls-fint.md5 -> tests/1200D/calls-fint.md5
  142. ../magic-lantern/contrib/qemu/tests/1200D/calls-from.md5 -> tests/1200D/calls-from.md5
  143. ../magic-lantern/contrib/qemu/tests/1200D/calls-sorted.md5 -> tests/1200D/calls-sorted.md5
  144. ../magic-lantern/contrib/qemu/tests/1200D/disp.md5 -> tests/1200D/disp.md5
  145. ../magic-lantern/contrib/qemu/tests/1200D/format.md5 -> tests/1200D/format.md5
  146. ../magic-lantern/contrib/qemu/tests/1200D/frsp.md5 -> tests/1200D/frsp.md5
  147. ../magic-lantern/contrib/qemu/tests/1200D/gui.md5 -> tests/1200D/gui.md5
  148. ../magic-lantern/contrib/qemu/tests/1200D/menu.md5 -> tests/1200D/menu.md5
  149. ../magic-lantern/contrib/qemu/tests/1300D -> tests/1300D
  150. ../magic-lantern/contrib/qemu/tests/1300D/calls-fint.md5 -> tests/1300D/calls-fint.md5
  151. ../magic-lantern/contrib/qemu/tests/1300D/calls-from.md5 -> tests/1300D/calls-from.md5
  152. ../magic-lantern/contrib/qemu/tests/1300D/calls-sorted.md5 -> tests/1300D/calls-sorted.md5
  153. ../magic-lantern/contrib/qemu/tests/1300D/disp.md5 -> tests/1300D/disp.md5
  154. ../magic-lantern/contrib/qemu/tests/400D -> tests/400D
  155. ../magic-lantern/contrib/qemu/tests/400D/calls-fint.md5 -> tests/400D/calls-fint.md5
  156. ../magic-lantern/contrib/qemu/tests/400D/calls-from.md5 -> tests/400D/calls-from.md5
  157. ../magic-lantern/contrib/qemu/tests/400D/calls-sorted.md5 -> tests/400D/calls-sorted.md5
  158. ../magic-lantern/contrib/qemu/tests/400D/disp.md5 -> tests/400D/disp.md5
  159. ../magic-lantern/contrib/qemu/tests/40D -> tests/40D
  160. ../magic-lantern/contrib/qemu/tests/40D/calls-fint.md5 -> tests/40D/calls-fint.md5
  161. ../magic-lantern/contrib/qemu/tests/40D/calls-from.md5 -> tests/40D/calls-from.md5
  162. ../magic-lantern/contrib/qemu/tests/40D/calls-sorted.md5 -> tests/40D/calls-sorted.md5
  163. ../magic-lantern/contrib/qemu/tests/40D/disp.md5 -> tests/40D/disp.md5
  164. ../magic-lantern/contrib/qemu/tests/450D -> tests/450D
  165. ../magic-lantern/contrib/qemu/tests/450D/calls-fint.md5 -> tests/450D/calls-fint.md5
  166. ../magic-lantern/contrib/qemu/tests/450D/calls-from.md5 -> tests/450D/calls-from.md5
  167. ../magic-lantern/contrib/qemu/tests/450D/calls-sorted.md5 -> tests/450D/calls-sorted.md5
  168. ../magic-lantern/contrib/qemu/tests/450D/disp.md5 -> tests/450D/disp.md5
  169. ../magic-lantern/contrib/qemu/tests/500D -> tests/500D
  170. ../magic-lantern/contrib/qemu/tests/500D/calls-fint.md5 -> tests/500D/calls-fint.md5
  171. ../magic-lantern/contrib/qemu/tests/500D/calls-from.md5 -> tests/500D/calls-from.md5
  172. ../magic-lantern/contrib/qemu/tests/500D/calls-sorted.md5 -> tests/500D/calls-sorted.md5
  173. ../magic-lantern/contrib/qemu/tests/500D/disp.md5 -> tests/500D/disp.md5
  174. ../magic-lantern/contrib/qemu/tests/500D/format.md5 -> tests/500D/format.md5
  175. ../magic-lantern/contrib/qemu/tests/500D/gui.md5 -> tests/500D/gui.md5
  176. ../magic-lantern/contrib/qemu/tests/500D/menu.md5 -> tests/500D/menu.md5
  177. ../magic-lantern/contrib/qemu/tests/50D -> tests/50D
  178. ../magic-lantern/contrib/qemu/tests/50D/calls-fint.md5 -> tests/50D/calls-fint.md5
  179. ../magic-lantern/contrib/qemu/tests/50D/calls-from.md5 -> tests/50D/calls-from.md5
  180. ../magic-lantern/contrib/qemu/tests/50D/calls-sorted.md5 -> tests/50D/calls-sorted.md5
  181. ../magic-lantern/contrib/qemu/tests/50D/disp.md5 -> tests/50D/disp.md5
  182. ../magic-lantern/contrib/qemu/tests/50D/format.md5 -> tests/50D/format.md5
  183. ../magic-lantern/contrib/qemu/tests/50D/gui.md5 -> tests/50D/gui.md5
  184. ../magic-lantern/contrib/qemu/tests/50D/menu.md5 -> tests/50D/menu.md5
  185. ../magic-lantern/contrib/qemu/tests/550D -> tests/550D
  186. ../magic-lantern/contrib/qemu/tests/550D/calls-fint.md5 -> tests/550D/calls-fint.md5
  187. ../magic-lantern/contrib/qemu/tests/550D/calls-from.md5 -> tests/550D/calls-from.md5
  188. ../magic-lantern/contrib/qemu/tests/550D/calls-sorted.md5 -> tests/550D/calls-sorted.md5
  189. ../magic-lantern/contrib/qemu/tests/550D/disp.md5 -> tests/550D/disp.md5
  190. ../magic-lantern/contrib/qemu/tests/550D/format.md5 -> tests/550D/format.md5
  191. ../magic-lantern/contrib/qemu/tests/550D/gui.md5 -> tests/550D/gui.md5
  192. ../magic-lantern/contrib/qemu/tests/550D/menu.md5 -> tests/550D/menu.md5
  193. ../magic-lantern/contrib/qemu/tests/5D -> tests/5D
  194. ../magic-lantern/contrib/qemu/tests/5D/calls-fint.md5 -> tests/5D/calls-fint.md5
  195. ../magic-lantern/contrib/qemu/tests/5D/calls-from.md5 -> tests/5D/calls-from.md5
  196. ../magic-lantern/contrib/qemu/tests/5D/calls-sorted.md5 -> tests/5D/calls-sorted.md5
  197. ../magic-lantern/contrib/qemu/tests/5D/disp.md5 -> tests/5D/disp.md5
  198. ../magic-lantern/contrib/qemu/tests/5D2 -> tests/5D2
  199. ../magic-lantern/contrib/qemu/tests/5D2/calls-fint.md5 -> tests/5D2/calls-fint.md5
  200. ../magic-lantern/contrib/qemu/tests/5D2/calls-from.md5 -> tests/5D2/calls-from.md5
  201. ../magic-lantern/contrib/qemu/tests/5D2/calls-sorted.md5 -> tests/5D2/calls-sorted.md5
  202. ../magic-lantern/contrib/qemu/tests/5D2/disp.md5 -> tests/5D2/disp.md5
  203. ../magic-lantern/contrib/qemu/tests/5D2/format.md5 -> tests/5D2/format.md5
  204. ../magic-lantern/contrib/qemu/tests/5D2/gui.md5 -> tests/5D2/gui.md5
  205. ../magic-lantern/contrib/qemu/tests/5D2/menu.md5 -> tests/5D2/menu.md5
  206. ../magic-lantern/contrib/qemu/tests/5D3 -> tests/5D3
  207. ../magic-lantern/contrib/qemu/tests/5D3/calls-fint.md5 -> tests/5D3/calls-fint.md5
  208. ../magic-lantern/contrib/qemu/tests/5D3/calls-from.md5 -> tests/5D3/calls-from.md5
  209. ../magic-lantern/contrib/qemu/tests/5D3/calls-sorted.md5 -> tests/5D3/calls-sorted.md5
  210. ../magic-lantern/contrib/qemu/tests/5D3/disp.md5 -> tests/5D3/disp.md5
  211. ../magic-lantern/contrib/qemu/tests/5D3/format.md5 -> tests/5D3/format.md5
  212. ../magic-lantern/contrib/qemu/tests/5D3/gui.md5 -> tests/5D3/gui.md5
  213. ../magic-lantern/contrib/qemu/tests/5D3/menu.md5 -> tests/5D3/menu.md5
  214. ../magic-lantern/contrib/qemu/tests/5D3eeko -> tests/5D3eeko
  215. ../magic-lantern/contrib/qemu/tests/5D3eeko/calls-fint.md5 -> tests/5D3eeko/calls-fint.md5
  216. ../magic-lantern/contrib/qemu/tests/5D3eeko/calls-sorted.md5 -> tests/5D3eeko/calls-sorted.md5
  217. ../magic-lantern/contrib/qemu/tests/5D4 -> tests/5D4
  218. ../magic-lantern/contrib/qemu/tests/5D4/calls-fint.md5 -> tests/5D4/calls-fint.md5
  219. ../magic-lantern/contrib/qemu/tests/5D4/calls-from.md5 -> tests/5D4/calls-from.md5
  220. ../magic-lantern/contrib/qemu/tests/5D4/calls-sorted.md5 -> tests/5D4/calls-sorted.md5
  221. ../magic-lantern/contrib/qemu/tests/5D4/disp.md5 -> tests/5D4/disp.md5
  222. ../magic-lantern/contrib/qemu/tests/5D4AE -> tests/5D4AE
  223. ../magic-lantern/contrib/qemu/tests/5D4AE/calls-fint.md5 -> tests/5D4AE/calls-fint.md5
  224. ../magic-lantern/contrib/qemu/tests/600D -> tests/600D
  225. ../magic-lantern/contrib/qemu/tests/600D/calls-fint.md5 -> tests/600D/calls-fint.md5
  226. ../magic-lantern/contrib/qemu/tests/600D/calls-from.md5 -> tests/600D/calls-from.md5
  227. ../magic-lantern/contrib/qemu/tests/600D/calls-sorted.md5 -> tests/600D/calls-sorted.md5
  228. ../magic-lantern/contrib/qemu/tests/600D/disp.md5 -> tests/600D/disp.md5
  229. ../magic-lantern/contrib/qemu/tests/600D/format.md5 -> tests/600D/format.md5
  230. ../magic-lantern/contrib/qemu/tests/600D/gui.md5 -> tests/600D/gui.md5
  231. ../magic-lantern/contrib/qemu/tests/600D/menu.md5 -> tests/600D/menu.md5
  232. ../magic-lantern/contrib/qemu/tests/60D -> tests/60D
  233. ../magic-lantern/contrib/qemu/tests/60D/calls-fint.md5 -> tests/60D/calls-fint.md5
  234. ../magic-lantern/contrib/qemu/tests/60D/calls-from.md5 -> tests/60D/calls-from.md5
  235. ../magic-lantern/contrib/qemu/tests/60D/calls-sorted.md5 -> tests/60D/calls-sorted.md5
  236. ../magic-lantern/contrib/qemu/tests/60D/disp.md5 -> tests/60D/disp.md5
  237. ../magic-lantern/contrib/qemu/tests/60D/format.md5 -> tests/60D/format.md5
  238. ../magic-lantern/contrib/qemu/tests/60D/frsp.md5 -> tests/60D/frsp.md5
  239. ../magic-lantern/contrib/qemu/tests/60D/gui.md5 -> tests/60D/gui.md5
  240. ../magic-lantern/contrib/qemu/tests/60D/menu.md5 -> tests/60D/menu.md5
  241. ../magic-lantern/contrib/qemu/tests/650D -> tests/650D
  242. ../magic-lantern/contrib/qemu/tests/650D/calls-fint.md5 -> tests/650D/calls-fint.md5
  243. ../magic-lantern/contrib/qemu/tests/650D/calls-from.md5 -> tests/650D/calls-from.md5
  244. ../magic-lantern/contrib/qemu/tests/650D/calls-sorted.md5 -> tests/650D/calls-sorted.md5
  245. ../magic-lantern/contrib/qemu/tests/650D/disp.md5 -> tests/650D/disp.md5
  246. ../magic-lantern/contrib/qemu/tests/6D -> tests/6D
  247. ../magic-lantern/contrib/qemu/tests/6D/calls-fint.md5 -> tests/6D/calls-fint.md5
  248. ../magic-lantern/contrib/qemu/tests/6D/calls-from.md5 -> tests/6D/calls-from.md5
  249. ../magic-lantern/contrib/qemu/tests/6D/calls-sorted.md5 -> tests/6D/calls-sorted.md5
  250. ../magic-lantern/contrib/qemu/tests/6D/disp.md5 -> tests/6D/disp.md5
  251. ../magic-lantern/contrib/qemu/tests/700D -> tests/700D
  252. ../magic-lantern/contrib/qemu/tests/700D/calls-fint.md5 -> tests/700D/calls-fint.md5
  253. ../magic-lantern/contrib/qemu/tests/700D/calls-from.md5 -> tests/700D/calls-from.md5
  254. ../magic-lantern/contrib/qemu/tests/700D/calls-sorted.md5 -> tests/700D/calls-sorted.md5
  255. ../magic-lantern/contrib/qemu/tests/700D/disp.md5 -> tests/700D/disp.md5
  256. ../magic-lantern/contrib/qemu/tests/700D/format.md5 -> tests/700D/format.md5
  257. ../magic-lantern/contrib/qemu/tests/700D/menu.md5 -> tests/700D/menu.md5
  258. ../magic-lantern/contrib/qemu/tests/70D -> tests/70D
  259. ../magic-lantern/contrib/qemu/tests/70D/calls-fint.md5 -> tests/70D/calls-fint.md5
  260. ../magic-lantern/contrib/qemu/tests/70D/calls-from.md5 -> tests/70D/calls-from.md5
  261. ../magic-lantern/contrib/qemu/tests/70D/calls-sorted.md5 -> tests/70D/calls-sorted.md5
  262. ../magic-lantern/contrib/qemu/tests/70D/disp.md5 -> tests/70D/disp.md5
  263. ../magic-lantern/contrib/qemu/tests/70D/gui.md5 -> tests/70D/gui.md5
  264. ../magic-lantern/contrib/qemu/tests/750D -> tests/750D
  265. ../magic-lantern/contrib/qemu/tests/750D/calls-fint.md5 -> tests/750D/calls-fint.md5
  266. ../magic-lantern/contrib/qemu/tests/750D/calls-from.md5 -> tests/750D/calls-from.md5
  267. ../magic-lantern/contrib/qemu/tests/750D/calls-sorted.md5 -> tests/750D/calls-sorted.md5
  268. ../magic-lantern/contrib/qemu/tests/750D/disp.md5 -> tests/750D/disp.md5
  269. ../magic-lantern/contrib/qemu/tests/760D -> tests/760D
  270. ../magic-lantern/contrib/qemu/tests/760D/calls-fint.md5 -> tests/760D/calls-fint.md5
  271. ../magic-lantern/contrib/qemu/tests/760D/calls-from.md5 -> tests/760D/calls-from.md5
  272. ../magic-lantern/contrib/qemu/tests/760D/calls-sorted.md5 -> tests/760D/calls-sorted.md5
  273. ../magic-lantern/contrib/qemu/tests/760D/disp.md5 -> tests/760D/disp.md5
  274. ../magic-lantern/contrib/qemu/tests/7D -> tests/7D
  275. ../magic-lantern/contrib/qemu/tests/7D/calls-fint.md5 -> tests/7D/calls-fint.md5
  276. ../magic-lantern/contrib/qemu/tests/7D/calls-from.md5 -> tests/7D/calls-from.md5
  277. ../magic-lantern/contrib/qemu/tests/7D/calls-sorted.md5 -> tests/7D/calls-sorted.md5
  278. ../magic-lantern/contrib/qemu/tests/7D/disp.md5 -> tests/7D/disp.md5
  279. ../magic-lantern/contrib/qemu/tests/7D2M -> tests/7D2M
  280. ../magic-lantern/contrib/qemu/tests/7D2M/calls-fint.md5 -> tests/7D2M/calls-fint.md5
  281. ../magic-lantern/contrib/qemu/tests/7D2M/calls-from.md5 -> tests/7D2M/calls-from.md5
  282. ../magic-lantern/contrib/qemu/tests/7D2M/calls-sorted.md5 -> tests/7D2M/calls-sorted.md5
  283. ../magic-lantern/contrib/qemu/tests/7D2M/disp.md5 -> tests/7D2M/disp.md5
  284. ../magic-lantern/contrib/qemu/tests/7D2S -> tests/7D2S
  285. ../magic-lantern/contrib/qemu/tests/7D2S/calls-fint.md5 -> tests/7D2S/calls-fint.md5
  286. ../magic-lantern/contrib/qemu/tests/7D2S/disp.md5 -> tests/7D2S/disp.md5
  287. ../magic-lantern/contrib/qemu/tests/80D -> tests/80D
  288. ../magic-lantern/contrib/qemu/tests/80D/calls-fint.md5 -> tests/80D/calls-fint.md5
  289. ../magic-lantern/contrib/qemu/tests/80D/calls-from.md5 -> tests/80D/calls-from.md5
  290. ../magic-lantern/contrib/qemu/tests/80D/calls-sorted.md5 -> tests/80D/calls-sorted.md5
  291. ../magic-lantern/contrib/qemu/tests/80D/disp.md5 -> tests/80D/disp.md5
  292. ../magic-lantern/contrib/qemu/tests/EOSM -> tests/EOSM
  293. ../magic-lantern/contrib/qemu/tests/EOSM/calls-fint.md5 -> tests/EOSM/calls-fint.md5
  294. ../magic-lantern/contrib/qemu/tests/EOSM/calls-from.md5 -> tests/EOSM/calls-from.md5
  295. ../magic-lantern/contrib/qemu/tests/EOSM/calls-sorted.md5 -> tests/EOSM/calls-sorted.md5
  296. ../magic-lantern/contrib/qemu/tests/EOSM/disp.md5 -> tests/EOSM/disp.md5
  297. ../magic-lantern/contrib/qemu/tests/check_grep.sh -> tests/check_grep.sh
  298. ../magic-lantern/contrib/qemu/tests/check_md5.sh -> tests/check_md5.sh
  299. ../magic-lantern/contrib/qemu/tests/run_tests.sh -> tests/run_tests.sh
  300. ../magic-lantern/contrib/qemu/tests/test_callstack.py -> tests/test_callstack.py
  301. ../magic-lantern/contrib/qemu/tests/update_md5.sh -> tests/update_md5.sh
  302. ../magic-lantern/contrib/qemu/tests/vncdotool.patch -> tests/vncdotool.patch
  303. ../../magic-lantern/contrib/qemu/eos/Makefile.objs -> hw/eos/Makefile.objs
  304. ../../magic-lantern/contrib/qemu/eos/README.txt -> hw/eos/README.txt
  305. ../../magic-lantern/contrib/qemu/eos/dbi -> hw/eos/dbi
  306. ../../magic-lantern/contrib/qemu/eos/dbi/debugmsg.c -> hw/eos/dbi/debugmsg.c
  307. ../../magic-lantern/contrib/qemu/eos/dbi/logging.c -> hw/eos/dbi/logging.c
  308. ../../magic-lantern/contrib/qemu/eos/dbi/logging.h -> hw/eos/dbi/logging.h
  309. ../../magic-lantern/contrib/qemu/eos/dbi/memcheck.c -> hw/eos/dbi/memcheck.c
  310. ../../magic-lantern/contrib/qemu/eos/dbi/memcheck.h -> hw/eos/dbi/memcheck.h
  311. ../../magic-lantern/contrib/qemu/eos/eos.c -> hw/eos/eos.c
  312. ../../magic-lantern/contrib/qemu/eos/eos.h -> hw/eos/eos.h
  313. ../../magic-lantern/contrib/qemu/eos/eos_bufcon_100D.h -> hw/eos/eos_bufcon_100D.h
  314. ../../magic-lantern/contrib/qemu/eos/eos_ml_helpers.c -> hw/eos/eos_ml_helpers.c
  315. ../../magic-lantern/contrib/qemu/eos/eos_ml_helpers.h -> hw/eos/eos_ml_helpers.h
  316. ../../magic-lantern/contrib/qemu/eos/eos_utils.h -> hw/eos/eos_utils.h
  317. ../../magic-lantern/contrib/qemu/eos/model_list.c -> hw/eos/model_list.c
  318. ../../magic-lantern/contrib/qemu/eos/model_list.h -> hw/eos/model_list.h
  319. ../../magic-lantern/contrib/qemu/eos/mpu.c -> hw/eos/mpu.c
  320. ../../magic-lantern/contrib/qemu/eos/mpu.h -> hw/eos/mpu.h
  321. ../../magic-lantern/contrib/qemu/eos/mpu_spells -> hw/eos/mpu_spells
  322. ../../magic-lantern/contrib/qemu/eos/mpu_spells/100D.h -> hw/eos/mpu_spells/100D.h
  323. ../../magic-lantern/contrib/qemu/eos/mpu_spells/450D.h -> hw/eos/mpu_spells/450D.h
  324. ../../magic-lantern/contrib/qemu/eos/mpu_spells/450D.patch -> hw/eos/mpu_spells/450D.patch
  325. ../../magic-lantern/contrib/qemu/eos/mpu_spells/500D.h -> hw/eos/mpu_spells/500D.h
  326. ../../magic-lantern/contrib/qemu/eos/mpu_spells/500D.patch -> hw/eos/mpu_spells/500D.patch
  327. ../../magic-lantern/contrib/qemu/eos/mpu_spells/50D.h -> hw/eos/mpu_spells/50D.h
  328. ../../magic-lantern/contrib/qemu/eos/mpu_spells/50D.patch -> hw/eos/mpu_spells/50D.patch
  329. ../../magic-lantern/contrib/qemu/eos/mpu_spells/550D.h -> hw/eos/mpu_spells/550D.h
  330. ../../magic-lantern/contrib/qemu/eos/mpu_spells/550D.patch -> hw/eos/mpu_spells/550D.patch
  331. ../../magic-lantern/contrib/qemu/eos/mpu_spells/5D2.h -> hw/eos/mpu_spells/5D2.h
  332. ../../magic-lantern/contrib/qemu/eos/mpu_spells/5D2.patch -> hw/eos/mpu_spells/5D2.patch
  333. ../../magic-lantern/contrib/qemu/eos/mpu_spells/5D3.h -> hw/eos/mpu_spells/5D3.h
  334. ../../magic-lantern/contrib/qemu/eos/mpu_spells/5D3.patch -> hw/eos/mpu_spells/5D3.patch
  335. ../../magic-lantern/contrib/qemu/eos/mpu_spells/600D.h -> hw/eos/mpu_spells/600D.h
  336. ../../magic-lantern/contrib/qemu/eos/mpu_spells/600D.patch -> hw/eos/mpu_spells/600D.patch
  337. ../../magic-lantern/contrib/qemu/eos/mpu_spells/60D.h -> hw/eos/mpu_spells/60D.h
  338. ../../magic-lantern/contrib/qemu/eos/mpu_spells/60D.patch -> hw/eos/mpu_spells/60D.patch
  339. ../../magic-lantern/contrib/qemu/eos/mpu_spells/700D.h -> hw/eos/mpu_spells/700D.h
  340. ../../magic-lantern/contrib/qemu/eos/mpu_spells/700D.patch -> hw/eos/mpu_spells/700D.patch
  341. ../../magic-lantern/contrib/qemu/eos/mpu_spells/70D.h -> hw/eos/mpu_spells/70D.h
  342. ../../magic-lantern/contrib/qemu/eos/mpu_spells/70D.patch -> hw/eos/mpu_spells/70D.patch
  343. ../../magic-lantern/contrib/qemu/eos/mpu_spells/button_codes.h -> hw/eos/mpu_spells/button_codes.h
  344. ../../magic-lantern/contrib/qemu/eos/mpu_spells/CardFormat.h -> hw/eos/mpu_spells/CardFormat.h
  345. ../../magic-lantern/contrib/qemu/eos/mpu_spells/EOSM.h -> hw/eos/mpu_spells/EOSM.h
  346. ../../magic-lantern/contrib/qemu/eos/mpu_spells/EOSM.patch -> hw/eos/mpu_spells/EOSM.patch
  347. ../../magic-lantern/contrib/qemu/eos/mpu_spells/EOSM2.h -> hw/eos/mpu_spells/EOSM2.h
  348. ../../magic-lantern/contrib/qemu/eos/mpu_spells/extract_button_codes.py -> hw/eos/mpu_spells/extract_button_codes.py
  349. ../../magic-lantern/contrib/qemu/eos/mpu_spells/extract_init_spells.py -> hw/eos/mpu_spells/extract_init_spells.py
  350. ../../magic-lantern/contrib/qemu/eos/mpu_spells/make_button_codes.sh -> hw/eos/mpu_spells/make_button_codes.sh
  351. ../../magic-lantern/contrib/qemu/eos/mpu_spells/make_spells.sh -> hw/eos/mpu_spells/make_spells.sh
  352. ../../magic-lantern/contrib/qemu/eos/mpu_spells/NotifyGUIEvent.h -> hw/eos/mpu_spells/NotifyGUIEvent.h
  353. ../../magic-lantern/contrib/qemu/eos/mpu_spells/outils.py -> hw/eos/mpu_spells/outils.py
  354. ../../magic-lantern/contrib/qemu/eos/mpu_spells/Shutdown.h -> hw/eos/mpu_spells/Shutdown.h
  355. ../../magic-lantern/contrib/qemu/eos/mpu_spells/UILock.h -> hw/eos/mpu_spells/UILock.h
  356. ../../magic-lantern/contrib/qemu/eos/serial_flash.c -> hw/eos/serial_flash.c
  357. ../../magic-lantern/contrib/qemu/eos/serial_flash.h -> hw/eos/serial_flash.h
  358. patching file cpu-exec.c
  359. patching file hw/arm/Makefile.objs
  360. patching file hw/ide/qdev.c
  361. patching file include/exec/exec-all.h
  362. patching file include/exec/memory.h
  363. patching file include/hw/elf_ops.h
  364. patching file include/qemu/log.h
  365. patching file memory.c
  366. patching file qemu-log.c
  367. patching file target-arm/cpu.c
  368. patching file target-arm/helper.c
  369. patching file target-arm/helper.h
  370. patching file target-arm/op_helper.c
  371. patching file target-arm/translate.c
  372. patching file target-arm/translate.h
  373. patching file vl.c
  374. Setting up SD card image...
  375. ../magic-lantern/contrib/qemu/sd.img.xz -> ./sd.img.xz
  376. sd.img.xz (1/1)
  377.   100 %        46.8 KiB / 247.5 MiB = 0.000                                    
  378. Setting up CF card image...
  379. sd.img -> cf.img
  380.  
  381. Next steps:
  382. ===========
  383.  
  384. 1) Compile QEMU
  385.  
  386.    cd /Users/rosiefort/qemu/qemu-2.5.0
  387.    ../configure_eos.sh
  388.    make -j8
  389.  
  390. 2) Grab a copy of the Canon firmware from your own camera
  391.    (don't request one and don't share it online - it's copyrighted)
  392.  
  393.    Look on your SD card - you should find ML/LOGS/ROM0.BIN and ROM1.BIN
  394.    Copy them under your camera model's subdirectory, for example:
  395.    /Users/rosiefort/qemu/60D/
  396.  
  397.    For models that use a serial flash, you may have to dump its contents
  398.    using the sf_dump module, then copy SFDATA.BIN as well.
  399.  
  400. 3) Mount the included SD (or CF) image (you may use mount.sh)
  401.    and install ML on it, as usual. The card image must be bootable as well.
  402.  
  403.    The included card image is bootable and contains a small autoexec.bin
  404.    that runs on all DIGIC 4/5 cameras and prints some basic info.
  405.  
  406.    To create your own SD/CF image, you need to copy the raw contents
  407.    of the entire card, not just one partition. For example:
  408.    dd if=/dev/mmcblk0 of=sd.img
  409.  
  410. 4) Start emulation with:
  411.  
  412.    cd /Users/rosiefort/qemu/
  413.    ./run_canon_fw.sh 60D
  414.  
  415.    This will recompile QEMU, but not ML.
  416.  
  417.    Note: Canon GUI emulation (menu navigation, no LiveView) only works on
  418.    5D2 5D3 50D 60D 500D 550D 600D 700D 100D 1100D 1200D
  419.  
  420. 5) Tips & tricks:
  421.    - to enable or disable the boot flag in ROM, use something like:
  422.      ./run_canon_fw.sh 60D,firmware="boot=1"
  423.    - to use multiple firmware versions, place the ROMs under e.g. 5D3/113/ROM*.BIN and run:
  424.      ./run_canon_fw.sh 5D3,firmware="113;boot=1"
  425.    - to show MMIO activity (registers) and interrupts, use:
  426.      ./run_canon_fw.sh 60D -d io,int
  427.    - to show the executed ASM code, step by step, use:
  428.      ./run_canon_fw.sh 60D -d exec,int -singlestep
  429.    - to trace debug messages and various functions in the firmware, use:
  430.      ./run_canon_fw.sh 60D -s -S & arm-none-eabi-gdb -x 60D/debugmsg.gdb
  431.    - if the above is too slow, compile the dm-spy-experiments branch
  432.      with CONFIG_QEMU=y and CONFIG_DEBUG_INTERCEPT_STARTUP=y and try:
  433.      ./run_canon_fw.sh 60D,firmware="boot=1" -d io,int
  434.    - some camera models require GDB patches to bypass tricky code sequences:
  435.      ./run_canon_fw.sh 700D -s -S & arm-none-eabi-gdb -x 700D/patches.gdb
  436.    - to trace all function calls and export them to IDA:
  437.      ./run_canon_fw.sh 60D -d calls -singlestep
  438.    - you may enable additional debug code (such as printing to QEMU console)
  439.      by compiling ML with CONFIG_QEMU=y in your Makefile.user (also run make clean).
  440.    - caveat: you cannot run autoexec.bin compiled with CONFIG_QEMU on the camera.
  441.  
  442. Enjoy!
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top