To modify the kernel, you always have to clone one of Robert’s repos, either 
the ti-linux-kernel or the bb-kernel. The repo allows you to update the kernel 
as Robert adds fixes/patches. Using GIT, you can see what was changed (gitk) 
and by whom (git blame <file>). If you are looking for how a function was used 
or how it is defined (git grep <function>). GIT is your friend and I advise you 
to take the time to learn how to use this tool. I have my own development 
branch and then I merge in changes added by Robert  from time to time. 

Regarding your second question, the cloned repo is on your development machine, 
not on your BB sdcard. When you finish building your kernel, you copy the 
kernel/modules, etc to your sdcard or nfs share. During development, I include 
debug symbols, so my kernel is larger than normal. 

One other tool you should learn to use is ftrace. This allows you to trace/log 
function calls in the kernel/modules. This is very handy when learning how 
other device drivers work. 

Regards,
John




> On Jun 25, 2017, at 1:55 PM, mzimmers <[email protected]> wrote:
> 
> Hi, John - thanks for all the information. I've been reviewing each item in 
> your list to better understand what I'll be doing, and more importantly, why. 
> I'm curious why you'd clone Robert's repository, though, instead of just 
> checking out the latest (stable) copy. Do you really need all the 
> versions/history/etc that comes with a complete clone?
> 
> Also, about how much space does that clone need? I'm running on limited 
> resources (my Debian build boots off of a 64GB SSD).
> 
> Thanks again. 
> 
> -- 
> For more options, visit http://beagleboard.org/discuss 
> <http://beagleboard.org/discuss>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/86393369-eafd-442e-8884-07fd3fd62b20%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/beagleboard/86393369-eafd-442e-8884-07fd3fd62b20%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/43F24780-6A51-466E-BE21-E759A0C53E9C%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to