Embedded Development Tools and Debuggers for XC2000, TriCore, PowerPC, ARM, Cortex, SH-2A » Support & Updates » FAQ » Linux Support FAQ » How can I debug my newly built Linux Kernel from the first line?
| Print |

How can I debug my newly built Linux Kernel from the first line?

Start UDE ..

  1. Create a new workspace or load an existing

  2. After creating a new workspace, click on default to load a default configuration file

  3. Select your target and load the "<Target> JTAG" configuration

  4. Save the config file

  5. Please wait until the workspace was created

  6. Enable Config - Debug Server Configuration - Debug Server - Symbol - Hex/ELF load to load the appropriate HEX / ELF kernel file

  7. Load the uncompressed Linux kernel HEX image (vmlinux_<Target>_ram.hex) (The appropriate ELF file will be also loaded)

  8. Open Views - HTML Document and load  the corresponding HTML file (See <UDE install dir>\Html\Linux\<Arch>\Kernelinit_<Target>.html)

  9. Set your desired Linux kernel command line options

  10. Click on "Initialize Target" to prepare the target system

  11. Set a breakpoint at e.g. "start_kernel" in file "main.c"

  12. Click on Go to start the target

  13. The target stopps at the very early "start_kernel" routine

  14. Enjoy your debug session!


 

Events

4. Elektronik automotive congress
Development Platforms for ARM/Cortex, TriCore, PowerArchitecture

Read more ...

embedded world 2012
Eclipse based development platform for Qorivva microcontrollers, for Kinetis (Cortex-M4) applications

Read more ...

One-Day Crash Course
Multicore Debug Solution MCDS, TriCore Hardware und Treiber-Programming

Read more ...


News

Optimized debug
tools for the
new XMC4000
microcontroller
family
of Infineon
available now

Read more...
 

UDE 3.2:
Efficient multicore
control, unique
visualization
capabilities
and support for the
latest 32-bit SoCs
from different
manufacturers

Read more...
 

Complete debug
solution for the
Development
Device of the
new TriCore
Multicore
Architecture

Read more...
 
Optimized tools
for the new
TC1791, TC1793
and TC1798
AUDO MAX
microcontrollers
Read more...
 
netX controllers
and rcX RTOS
from Hilscher
now supported by UDE
Read more...
 
Dual-core debugging
of NXP's LPC4300
under the single user
interface of UDE
Read more...
 

Kinetis MCUs
from Freescale
based on Cortex-
M4 core supported
by UDE

Read more...
 

UDE version 3.0:
More visualization
capabilities, enhanced
Eclipse integration
and dedicated
support for a wide
range of MCUs

Read more...
 

Complete new
toolchain for
Power Architecture
SoCs
from
STMicroelectronics
and Freescale
based on Eclipse,
GNU and
Universal Debug Engine

Read more...
 
UAD3+ sets new standards in the field of high-end trace and multi-core / multi-target debugging
Read more...