Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
magic-lantern
magic-lantern
Commits
6e86e2b587a2
Commit
18c99ecf
authored
Nov 24, 2017
by
alex@thinkpad
Browse files
QEMU install: print fewer help details after installation; link to the online documentation
--HG-- branch : qemu
parent
1297b507ce79
Changes
1
Hide whitespace changes
Inline
Side-by-side
contrib/qemu/install.sh
View file @
6e86e2b5
...
...
@@ -397,15 +397,12 @@ echo
echo
" For models that use a serial flash, you may have to dump its contents"
echo
" using the sf_dump module, then copy SFDATA.BIN as well."
echo
echo
"3) Mount the included SD (or CF) image (you may use mount.sh)"
echo
" and install ML on it, as usual. The card image must be bootable as well."
echo
"3) Install Magic Lantern on your SD/CF card image:"
echo
echo
" The included card image is bootable and contains a small autoexec.bin"
echo
" that runs on all DIGIC 4/5 cameras and prints some basic info."
echo
" make -C ../magic-lantern 60D_install_qemu "
echo
echo
" To create your own SD/CF image, you need to copy the raw contents"
echo
" of the entire card, not just one partition. For example:"
echo
" dd if=/dev/mmcblk0 of=sd.img"
echo
" The included card image is bootable and contains a small autoexec.bin"
echo
" that runs on all supported EOS cameras and prints some basic info."
echo
echo
"4) Start emulation with:"
echo
...
...
@@ -427,17 +424,12 @@ echo " ./run_canon_fw.sh 60D -d io,int"
echo
" - to show the executed ASM code, step by step, use:"
echo
" ./run_canon_fw.sh 60D -d exec,int -singlestep"
echo
" - to trace debug messages and various functions in the firmware, use:"
echo
" ./run_canon_fw.sh 60D -s -S & arm-none-eabi-gdb -x 60D/debugmsg.gdb"
echo
" - if the above is too slow, compile the dm-spy-experiments branch "
echo
" with CONFIG_QEMU=y and CONFIG_DEBUG_INTERCEPT_STARTUP=y and try:"
echo
" ./run_canon_fw.sh 60D,firmware=
\"
boot=1
\"
-d io,int"
echo
" ./run_canon_fw.sh 60D -d debugmsg -s -S & arm-none-eabi-gdb -x 60D/debugmsg.gdb"
echo
" - some camera models require GDB patches to bypass tricky code sequences:"
echo
" ./run_canon_fw.sh 700D -s -S & arm-none-eabi-gdb -x 700D/patches.gdb"
echo
" - to trace all function calls and export them to IDA:"
echo
" ./run_canon_fw.sh 60D -d calls -singlestep"
echo
" - you may enable additional debug code (such as printing to QEMU console)"
echo
" by compiling ML with CONFIG_QEMU=y in your Makefile.user (also run make clean)."
echo
" - caveat: you cannot run autoexec.bin compiled with CONFIG_QEMU on the camera."
echo
echo
"Online documentation: "
echo
echo
" https://bitbucket.org/hudson/magic-lantern/src/qemu/contrib/qemu/"
echo
echo
"Enjoy!"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment