Commit 75ca23a1 authored by alex@thinkpad's avatar alex@thinkpad
Browse files

QEMU docs: fixed broken links

--HG--
branch : qemu
parent 05dd7e35fc90
......@@ -323,7 +323,7 @@ Initial firmware analysis
on new models -- see the ARM Architecture Reference Manual (aka ARM ARM)
for the CPU you are interested in:
- DIGIC 2..5: ARM946E-S `[1] <http://chdk.setepontos.com/index.php?topic=9801.msg99865#msg99865>`_ -- `arm_arm.pdf <http://www.scss.tcd.ie/~waldroj/3d1/arm_arm.pdf>`_;
- DIGIC 2..5: ARM946E-S `[1] <http://chdk.setepontos.com/index.php?topic=9801.msg99865#msg99865>`_ -- `arm_arm.pdf <https://www.cs.miami.edu/home/burt/learning/Csc521.141/Documents/arm_arm.pdf>`_;
- DIGIC 6: Cortex R4 `[2] <http://chdk.setepontos.com/index.php?topic=11316.msg124273#msg124273>`_ -- `ARM ARM v7 A&R <https://www.cs.utexas.edu/~simon/378/resources/ARMv7-AR_TRM.pdf>`_ and `Cortex R4 TRM <http://infocenter.arm.com/help/topic/com.arm.doc.ddi0363g/DDI0363G_cortex_r4_r1p4_trm.pdf>`_;
- DIGIC 7: Cortex A9 `[3] <http://chdk.setepontos.com/index.php?topic=13014.msg131110#msg131110>`_ -- `ARM ARM v7 A&R <https://www.cs.utexas.edu/~simon/378/resources/ARMv7-AR_TRM.pdf>`_ and `Cortex A9 TRM <http://infocenter.arm.com/help/topic/com.arm.doc.ddi0388f/DDI0388F_cortex_a9_r2p2_trm.pdf>`_.
......@@ -1036,7 +1036,7 @@ is a bit more time-consuming, but it's not difficult.
Are there any good docs on QEMU internals?
``````````````````````````````````````````
- http://nairobi-embedded.org/category/qemu.html
- `http://nairobi-embedded.org/category/qemu.html <https://web.archive.org/web/20180324054427/http://nairobi-embedded.org/category/qemu.html>`_ (archived)
- http://blog.vmsplice.net
- QEMU mailing list (huge!)
- Xilinx QEMU
......
......@@ -503,7 +503,7 @@ Please consider creating an image of your SD (or CF) card instead, as described
If you still wish to run the emulation directly from a physical SD/CF card:
- See `QEMU docs (Using host drives) <https://qemu.weilnetz.de/doc/qemu-doc.html#Using-host-drives>`_
- See `QEMU docs (Using host drives) <https://qemu.weilnetz.de/doc/5.2/system/images.html#using-host-drives>`_
and make sure you understand `these warnings <https://wiki.archlinux.org/index.php/QEMU#Using_any_real_partition_as_the_single_primary_partition_of_a_hard_disk_image>`_
- Replace ``file=sd.img`` (or ``file=cf.img``) with ``file=/dev/your-sd-card`` in ``run_canon_fw.sh``
- Configure the appropriate permissions and run the emulation as usual.
......@@ -970,7 +970,7 @@ Custom logging hook (with colors)::
Look in `debug-logging.gdb <https://foss.heptapod.net/magic-lantern/magic-lantern/-/blob/branch/qemu/contrib/qemu/scripts/debug-logging.gdb>`_
for common firmware functions you may want to log, and in ``*/debugmsg.gdb`` for usage examples.
You may also use `dprintf <https://sourceware.org/gdb/onlinedocs/gdb/Dynamic-Printf.html>`_ if you prefer::
You may also use `dprintf <https://sourceware.org/gdb/onlinedocs/gdb/Dynamic-printf.html>`_ if you prefer::
dprintf *0x8b10, "[ %s:%08X ] task_create(%s, prio=%x, stack=%x, entry=%x, arg=%x)\n", CURRENT_TASK_NAME, $lr-4, $r0, $r1, $r2, $r3, *(int*)$sp
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment