etc:users:jcmvbkbc:omap-support-pieces
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| etc:users:jcmvbkbc:omap-support-pieces [2009/07/05 13:15] – watchdog notice jcmvbkbc | etc:users:jcmvbkbc:omap-support-pieces [2016/08/08 20:53] (current) – ↷ Page moved from users:jcmvbkbc:omap-support-pieces to etc:users:jcmvbkbc:omap-support-pieces kel | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== N8x0 support in linux-omap ====== | ====== N8x0 support in linux-omap ====== | ||
| - | Current kernel: 2.6.31-rc1-omap1 | + | Current kernel: 2.6.35 |
| + | |||
| + | [[http:// | ||
| ===== Startup plan ===== | ===== Startup plan ===== | ||
| - | * find optimal debugging techniques and real HW/qemu split; | + | * [2/3] find optimal debugging techniques and real HW/qemu split; |
| - | * make minimal working/ | + | * [3/4] make minimal working/ |
| - | * compile domain glossary. | + | * [0] compile domain glossary. |
| ===== Debug interfaces ===== | ===== Debug interfaces ===== | ||
| ===== Subsystems' | ===== Subsystems' | ||
| + | |||
| + | * SPI, MMC, USB, mac80211: ok | ||
| ===== Debugging in qemu ===== | ===== Debugging in qemu ===== | ||
| - | Need CONFIG_DEBUG_INFO=y | + | ==== Kernel configuration ==== |
| + | * CONFIG_DEBUG_INFO=y for symbolic debugging to work; | ||
| + | * CONFIG_FRAME_POINTER=y (which is only possible when CONFIG_ARM_UNWIND=n) + CONFIG_DEBUG_BUGVERBOSE=y for symbolic backtrace on oopses and BUGs; | ||
| ==== Kernel command line parameters ==== | ==== Kernel command line parameters ==== | ||
| Line 23: | Line 29: | ||
| * 0x80008000 -- here we jump after decompression (.text.head that has VA of 0xc0008000 has PA 0x80008000 until MMU is active) | * 0x80008000 -- here we jump after decompression (.text.head that has VA of 0xc0008000 has PA 0x80008000 until MMU is active) | ||
| * 0xc0026000 -- ' | * 0xc0026000 -- ' | ||
| + | |||
| + | |||
| + | |||
| + | ==== Booting n8x0 kernel in qemu ==== | ||
| + | < | ||
| + | qemu-system-arm -M n810 -kernel " | ||
| + | </ | ||
| ==== Script for gdb session ==== | ==== Script for gdb session ==== | ||
| Line 29: | Line 42: | ||
| break *0x80008000 | break *0x80008000 | ||
| </ | </ | ||
| + | |||
| + | To debug kernel as usual: | ||
| + | symbol-file linux-omap-2.6/ | ||
| To debug compression-related stuff from the very beginning (start, arch/ | To debug compression-related stuff from the very beginning (start, arch/ | ||
| - | add-symbol-file | + | add-symbol-file linux-omap-2.6/ |
| To debug kernel from stext (arch/ | To debug kernel from stext (arch/ | ||
| - | add-symbol-file | + | add-symbol-file linux-omap-2.6/ |
| To debug kernel from start_kernel (init/ | To debug kernel from start_kernel (init/ | ||
| - | add-symbol-file | + | add-symbol-file linux-omap-2.6/ |
| ==== "Blank screen" | ==== "Blank screen" | ||
etc/users/jcmvbkbc/omap-support-pieces.1246785314.txt.gz · Last modified: 2009/07/05 13:15 by jcmvbkbc