Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Kernel Debugging?

Altera_Forum
Honored Contributor II
1,054 Views

This may be a dumb question, but how do you debug the kernel if you are using the linux tools? USing the IDE to debug is great, but that would involve building the kernel under Cygwin, which I don't want to do...

0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
344 Views

Hi J, 

 

Link to a very good reading about debugging, (you can find some others goodies on that site) 

http://www.linuxdevices.com/news/ns6374541663.html (http://www.linuxdevices.com/news/ns6374541663.html

 

ch4 on debugging of the book "Linux Device Driver 3rd ed", a must have, (you can download it from the web, or better buy one).
0 Kudos
Altera_Forum
Honored Contributor II
344 Views

 

--- Quote Start ---  

originally posted by hippo@Mar 10 2006, 05:12 PM 

hi j, 

 

link to a very good reading about debugging, (you can find some others goodies on that site) 

http://www.linuxdevices.com/news/ns6374541663.html (http://www.linuxdevices.com/news/ns6374541663.html

 

ch4 on debugging of the book "linux device driver 3rd ed", a must have, (you can download it from the web, or better buy one). 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=13326) 

--- quote end ---  

 

--- Quote End ---  

 

 

Those papers are good, however, they aren&#39;t related to NIOS Tools. Do you use, or are you supposed to use, nios tools when debugging? I&#39;m not really looking for debugging techniques, more like how to actually debug using linux with uClinux on a NIOS.
0 Kudos
Altera_Forum
Honored Contributor II
344 Views

I use "printk" along, when debugging kernel and drivers on nios2.

0 Kudos
Reply