You are not logged in.

#1 2015-08-10 13:51:50

Atondwal
Member
Registered: 2010-05-16
Posts: 18

Best way to printk debug linux-git?

I'm hesitant to add unmanaged files and clutter up my system with make install, but I don't want to have to rebuild the whole kernel every time I add a printk to a module, as abs does. What's the best way to do this?

Last edited by Atondwal (2015-08-10 13:52:21)

Offline

#2 2015-08-14 01:06:21

davispuh
Member
From: Latvia
Registered: 2014-03-31
Posts: 10

Re: Best way to printk debug linux-git?

make install and make modules_install will only add /boot/vmlinuz, /boot/System.map and folder /lib/modules/(branch/version)-ARCH-dirty/
that's very easy to delete/clean up. So basically just rename your /boot/vmlinuz to something like /boot/vmlinuz-arch and add that to bootloader as another option then you can boot into whichever you want.

Last edited by davispuh (2015-08-14 01:06:47)

Offline

Board footer

Powered by FluxBB