What event urges me to use build_kernel.sh instead of ./tools/rebuild.sh

Hi,

currently I am in the "Middle Of The Road" of
migrating from 3.8.x to 3.14.x.

Currently the kernel is building natively
on my bbb. This take time...

The first start, the call to build_kernel.sh freezes
my bbb deadly while git cloning the base kernel sources.
I had to cut power, put the sdcard in to my PC, fsck the
whole thing and then rebuild.sh there until the point,
the kernel configuration tool came up.

I Ctrl-C that, put back the sdcard into the bbb and
do a ./tools/rebuild.sh there, which does the trick.

Now I have a dilemma:
I have no clue which events/circumstances will urge me
to use build_kernel.sh instead of ./tools/rebuild.sh.

For updateing I am using this script in the "bb-kernel"
directory:

    #! /bin/zsh
    git checkout master -f
    git branch -D tmp
    git pull
    git checkout origin/am33x-v3.14 -b tmp

trigger a recompilation of the file by make and this
is true for all files of the build process as far as
I know.

On the other hand... :wink:

For what events/circumstances is it highly recommended
to use build_kernel.sh and are there tricks or workflows
how I can minimize these?

Is it possible to update the base kernel sources in a way,
which makes it "tools/rebuild.sh"-friendly?

Thank you very much in advance for any help!

Best regards,
mcc

Hi,

currently I am in the “Middle Of The Road” of
migrating from 3.8.x to 3.14.x.

Currently the kernel is building natively
on my bbb. This take time…

The first start, the call to build_kernel.sh freezes
my bbb deadly while git cloning the base kernel sources.
I had to cut power, put the sdcard in to my PC, fsck the
whole thing and then rebuild.sh there until the point,
the kernel configuration tool came up.

I Ctrl-C that, put back the sdcard into the bbb and
do a ./tools/rebuild.sh there, which does the trick.

Now I have a dilemma:
I have no clue which events/circumstances will urge me
to use build_kernel.sh instead of ./tools/rebuild.sh.

For updateing I am using this script in the “bb-kernel”
directory:

#! /bin/zsh
git checkout master -f
git branch -D tmp
git pull
git checkout origin/am33x-v3.14 -b tmp

That ‘3.14’ branch is eol…

From my understanding each change to a file has to
trigger a recompilation of the file by make and this
is true for all files of the build process as far as
I know.

On the other hand… :wink:

For what events/circumstances is it highly recommended
to use build_kernel.sh and are there tricks or workflows
how I can minimize these?

Is it possible to update the base kernel sources in a way,
which makes it “tools/rebuild.sh”-friendly?

Sure after you run build_kernel.sh ‘first’ after every git checkout

Robert Nelson <robertcnelson@gmail.com> [14-10-04 14:12]:

>
> Hi,
>
> currently I am in the "Middle Of The Road" of
> migrating from 3.8.x to 3.14.x.
>
> Currently the kernel is building natively
> on my bbb. This take time...
>
> The first start, the call to build_kernel.sh freezes
> my bbb deadly while git cloning the base kernel sources.
> I had to cut power, put the sdcard in to my PC, fsck the
> whole thing and then rebuild.sh there until the point,
> the kernel configuration tool came up.
>
> I Ctrl-C that, put back the sdcard into the bbb and
> do a ./tools/rebuild.sh there, which does the trick.
>
> Now I have a dilemma:
> I have no clue which events/circumstances will urge me
> to use build_kernel.sh instead of ./tools/rebuild.sh.
>
> For updateing I am using this script in the "bb-kernel"
> directory:
>
> #! /bin/zsh
> git checkout master -f
> git branch -D tmp
> git pull
> git checkout origin/am33x-v3.14 -b tmp
>

That '3.14' branch is eol...

> From my understanding each change to a file has to
> trigger a recompilation of the file by make and this
> is true for all files of the build process as far as
> I know.
>
> On the other hand... :wink:
>
>
>
> For what events/circumstances is it highly recommended
> to use build_kernel.sh and are there tricks or workflows
> how I can minimize these?
>
>
> Is it possible to update the base kernel sources in a way,
> which makes it "tools/rebuild.sh"-friendly?

Sure after you run build_kernel.sh 'first' after every git checkout

>
>
>
> Thank you very much in advance for any help!
>
> Best regards,
> mcc
>
>
> --
> 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 beagleboard+unsubscribe@googlegroups.com.
> For more options, visit 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 beagleboard+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi Robert,

thanks fpr your explanation ... but my lack of knowledge about
english ...

You wrote:

That '3.14' branch is eol...

...what does that mean? "EOL" is part of the ASCII characterset and
means "End of line"...at least for my limited understanding...
Please help me :slight_smile:

Robert Nelson <robertcnelson@gmail.com> [14-10-04 14:12]:

Hi,

currently I am in the “Middle Of The Road” of
migrating from 3.8.x to 3.14.x.

Currently the kernel is building natively
on my bbb. This take time…

The first start, the call to build_kernel.sh freezes
my bbb deadly while git cloning the base kernel sources.
I had to cut power, put the sdcard in to my PC, fsck the
whole thing and then rebuild.sh there until the point,
the kernel configuration tool came up.

I Ctrl-C that, put back the sdcard into the bbb and
do a ./tools/rebuild.sh there, which does the trick.

Now I have a dilemma:
I have no clue which events/circumstances will urge me
to use build_kernel.sh instead of ./tools/rebuild.sh.

For updateing I am using this script in the “bb-kernel”
directory:

#! /bin/zsh
git checkout master -f
git branch -D tmp
git pull
git checkout origin/am33x-v3.14 -b tmp

That ‘3.14’ branch is eol…

From my understanding each change to a file has to
trigger a recompilation of the file by make and this
is true for all files of the build process as far as
I know.

On the other hand… :wink:

For what events/circumstances is it highly recommended
to use build_kernel.sh and are there tricks or workflows
how I can minimize these?

Is it possible to update the base kernel sources in a way,
which makes it “tools/rebuild.sh”-friendly?

Sure after you run build_kernel.sh ‘first’ after every git checkout

Thank you very much in advance for any help!

Best regards,
mcc


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 beagleboard+unsubscribe@googlegroups.com.
For more options, visit 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 beagleboard+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi Robert,

thanks fpr your explanation … but my lack of knowledge about
english …

You wrote:

That ‘3.14’ branch is eol…

…what does that mean? “EOL” is part of the ASCII characterset and
means “End of line”…at least for my limited understanding…
Please help me :slight_smile:

End of life…

Use this 3.14…

https://github.com/RobertCNelson/ti-linux-kernel-dev

Or

https://github.com/beagleboard/linux

Regards,

Robert Nelson <robertcnelson@gmail.com> [14-10-04 14:32]:

>
>
> Robert Nelson <robertcnelson@gmail.com> [14-10-04 14:12]:
> > >
> > > Hi,
> > >
> > > currently I am in the "Middle Of The Road" of
> > > migrating from 3.8.x to 3.14.x.
> > >
> > > Currently the kernel is building natively
> > > on my bbb. This take time...
> > >
> > > The first start, the call to build_kernel.sh freezes
> > > my bbb deadly while git cloning the base kernel sources.
> > > I had to cut power, put the sdcard in to my PC, fsck the
> > > whole thing and then rebuild.sh there until the point,
> > > the kernel configuration tool came up.
> > >
> > > I Ctrl-C that, put back the sdcard into the bbb and
> > > do a ./tools/rebuild.sh there, which does the trick.
> > >
> > > Now I have a dilemma:
> > > I have no clue which events/circumstances will urge me
> > > to use build_kernel.sh instead of ./tools/rebuild.sh.
> > >
> > > For updateing I am using this script in the "bb-kernel"
> > > directory:
> > >
> > > #! /bin/zsh
> > > git checkout master -f
> > > git branch -D tmp
> > > git pull
> > > git checkout origin/am33x-v3.14 -b tmp
> > >
> >
> > That '3.14' branch is eol...
> >
> > > From my understanding each change to a file has to
> > > trigger a recompilation of the file by make and this
> > > is true for all files of the build process as far as
> > > I know.
> > >
> > > On the other hand... :wink:
> > >
> > >
> > >
> > > For what events/circumstances is it highly recommended
> > > to use build_kernel.sh and are there tricks or workflows
> > > how I can minimize these?
> > >
> > >
> > > Is it possible to update the base kernel sources in a way,
> > > which makes it "tools/rebuild.sh"-friendly?
> >
> > Sure after you run build_kernel.sh 'first' after every git checkout
> >
> > >
> > >
> > >
> > > Thank you very much in advance for any help!
> > >
> > > Best regards,
> > > mcc
> > >
> > >
> > > --
> > > 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 beagleboard+unsubscribe@googlegroups.com.
> > > For more options, visit 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 beagleboard+unsubscribe@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
>
>
> Hi Robert,
>
> thanks fpr your explanation ... but my lack of knowledge about
> english ...
>
> You wrote:
>
> > That '3.14' branch is eol...
>
> ...what does that mean? "EOL" is part of the ASCII characterset and
> means "End of line"...at least for my limited understanding...
> Please help me :slight_smile:

End of life..

Use this 3.14...

GitHub - RobertCNelson/ti-linux-kernel-dev: vendor bsp...

Or

GitHub - beagleboard/linux: The official Read Only BeagleBoard and BeagleBone kernel repository https://git.beagleboard.org/beagleboard/linux

Regards,

>
>
> --
> 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 beagleboard+unsubscribe@googlegroups.com.
> For more options, visit 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 beagleboard+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

After compiling an already near dead kernel on my bbb now I get
totally lost/confused about how to ride this horse...

Here:
https://eewiki.net/display/linuxonarm/BeagleBone+Black

I found (shortened to the command sequence):
git clone GitHub - RobertCNelson/bb-kernel
cd bb-kernel/
git checkout origin/am33x-v3.15 -b tmp
./build_kernel.sh

...but I want the 3.14.x kernel

When I change the above sequence to

git clone GitHub - beagleboard/linux: The official Read Only BeagleBoard and BeagleBone kernel repository https://git.beagleboard.org/beagleboard/linux
cd bb-kernel/
git checkout origin/am33x-v3.14 -b tmp
./build_kernel.sh

...will I get what I want and need to compile an alive kernel
3.14.x...
...or which sequence is correct...?

Best regards,
mcc