How can I debug my newly built Linux Kernel from the first line?Start UDE ..
Create a new workspace or load an existing After creating a new workspace, click on default to load a default configuration file Select your target and load the "<Target> JTAG" configuration Save the config file Please wait until the workspace was created Enable Config - Debug Server Configuration - Debug Server - Symbol - Hex/ELF load to load the appropriate HEX / ELF kernel file Load the uncompressed Linux kernel HEX image (vmlinux_<Target>_ram.hex) (The appropriate ELF file will be also loaded) Open Views - HTML Document and load the corresponding HTML file (See <UDE install dir>\Html\Linux\<Arch>\Kernelinit_<Target>.html) Set your desired Linux kernel command line options Click on "Initialize Target" to prepare the target system Set a breakpoint at e.g. "start_kernel" in file "main.c" Click on Go to start the target The target stopps at the very early "start_kernel" routine Enjoy your debug session!
|