I'm pulling together some notes for my students[1] on installing and 
compiling different kernels for BeagleBone Black.

The installing side is now easy with the latest (2014-7-16) Debian image. 
 Run:

apt-cache pkgnames | grep linux-image

to see what images are out there and then:

apt-get install linux-image-3.8.13-bone60

to install the image of your choice. * But what if you want to compile your 
own?*

Are these the best way to do it from scratch?

host$ *git clone git://github.com/RobertCNelson/linux-dev.git*
host$* cd linux-dev*
host$* git checkout origin/am33x-v3.8 -b am33x-v3.8*
host$* cp system.sh.sample system.sh*
host$ *./build_kernel.sh*

How do I see what versions are available for checkout? How do I compile a 
specific version, such as 3.8.13-bone60?

Once I've gotten something to compile and work should I:

host$ git checkout -b myBranch

so I can easily track the changes I make?  Do I just run ./build_kernel.sh 
again to recompile?

Thanks, your answers will help me guide my students...

--Mark

[1] 
http://elinux.org/EBC_Exercise_08_Installing_Development_Tools#Getting_the_3.8_Kernel
 

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to