Building Kernel using RobertCNelson scripts

I am looking to build debian kernel and see two different github repositories; https://github.com/RobertCNelson/bb-kernel and https://github.com/RobertCNelson/linux-dev. Both look pretty neat and I tried bb-kernel on my ubuntu desktop and it seems to have worked.

Questions:

  1. Is there preference to which to use (any other)?
  2. How do I recompile a specific version - in my case 3.8.13-bone68. I am looking to replicate this know working version (for me) and update one of its files. I see you can checkout “origin/am33x-v3.8” and I see on github several tags, but none the ones I want.

Apologies if this is mentioned somewhere but I am battling with an extremely slow connection and am not finding results.

Thanks!
Colin

I am looking to build debian kernel and see two different github
repositories; GitHub - RobertCNelson/bb-kernel and
GitHub - RobertCNelson/linux-dev. Both look pretty neat and I
tried bb-kernel on my ubuntu desktop and it seems to have worked.

Questions:
1) Is there preference to which to use (any other)?

Use the bb-kernel it's where all the released stuff ends up.. The
"linux-dev" is more of a dumping ground, that get's meld'ed over to
other repo's..

2) How do I recompile a specific version - in my case 3.8.13-bone68. I am
looking to replicate this know working version (for me) and update one of
its files. I see you can checkout "origin/am33x-v3.8" and I see on github
several tags, but none the ones I want.

3.8.13-bone68 tag should exist.. (github doesn't show them "all" after
a few hundred are pushed..)

the only problem, the "scripts" directory is always out of date with the tag's..

Just meld the ./scripts/ directory from:

Apologies if this is mentioned somewhere but I am battling with an extremely
slow connection and am not finding results.

Regards,

and the host_det.sh file:

https://github.com/RobertCNelson/stable-kernel/blob/master/tools/host_det.sh

Regards,

Thanks Robert, I didn’t realize the issue with large number of tags.

Appreciate the feedback

~C

Robert, I know there are many ways to accomplish the same thing - besides downloading and manually overwriting the script/ files and the host_det.sh files you mention is there a better way you can suggest?

~C

There's probably a 'better' way, such as putting the background
scripts into a separate repo than the patch files. But i didn't do
that, instead as things change all my repo's have these type of
commits:

https://github.com/RobertCNelson/bb-kernel/commit/579027b1401bb05f93f8f7ea88faea82cd87d8fa

Your other option, just build it yourself from a kernel git repo:

https://github.com/beagleboard/linux/tree/3.8.13-bone68

Regards,

Quick question. When building the kernel I assume you run build scripts (I’m using R. Nelson’s bb-kernel scripts) as normal user.

So far all is working well and the only ‘issue’ I see is that my module files (in modules tar) all have user (used to run scripts) permissions as opposed to root permissions (kinda obvious). Now once all installed it’s obviously easy to change ownership of the modules after untarring them into correct locations.

Is this the correct way or am I missing something - there is such good work put into these scripts that I thought maybe I missed something.

~C