Beaglebone Kernel Recompiling [openembedded]

Hi,

I have a 3g usb modem (huawei e173) and want to use it on my beaglebone. For this purpose I have to to build the kernel with usb to serial module. However I could not do it even though I (really!) checked many sites. This is what I have done step by step:

Copied the Ångström specific scripts to initialize an OpenEmbedded environment:

git clone git://git.angstrom-distribution.org/setup-scripts

cd setup-scripts

git checkout origin/oe-core -b oe-core

However at the third step I got the error:

zero@ghostrider:~/setup-scripts$ git checkout origin/oe-core -b oe-core
fatal: git checkout: updating paths is incompatible with switching branches.
Did you intend to checkout ‘origin/oe-core’ which can not be resolved as commit?

zero@ghostrider:~/setup-scripts$

I carried on: Downloaded all layers according to sources/layers.txt

Seems like I have installed all the layers required and also not required:

zero@ghostrider:~$ ls
bitbake meta-efikamx meta-nslu2 Music
Desktop meta-ettus meta-oe oe-core
Documents meta-handheld meta-openpandora Pictures
Downloads meta-intel meta-opie Public
examples.desktop meta-java meta-raspberrypi setup-scripts
meta-angstrom meta-kde meta-ti Templates
meta-browser meta-mono meta-xilinx Videos

When I did :

zero@ghostrider:~/setup-scripts$ ./oebb.sh config beaglebone
env: gawk: No such file or directory

Setup for beaglebone completed

What is that env:gawk error?

I keep gettin this error for example:

zero@ghostrider:~/setup-scripts$ MACHINE=beaglebone ./oebb.sh config beaglebone
env: gawk: No such file or directory

Setup for beaglebone completed
zero@ghostrider:~/setup-scripts$ MACHINE=beaglebone ./oebb.sh update
env: gawk: No such file or directory

I really did not understand what I am doing wrong and really do not have an idea what to do now. All I want is to recompile the kernel. : ) What should I do? (Did I have to download something like any other beaglebone img-script etc and put it to somewhere?) Could you please explain me step by step what should I do as if you are explaining to a 100 years old grandpa.

Thank you for your help.
Regards

[snip]

Why aren't you following the instructions from http://www.angstrom-distribution.org/building-angstrom ?!?!?

Did you really read my mail?

Did you really read my mail?

I did and you're still not answering the question I asked: Why aren't you following the instructions from http://www.angstrom-distribution.org/building-angstrom ?!?!?

I did follow the instructions but they did not work. Anyway, I solved my problem by installing some dependencies required by bitbake. Now I would like to ask the question: how can I rebuild the kernel with usb to serial module? I really do not know anything about oe or editin the existing kernel.

I did follow the instructions but they did not work.

You didn't, take a close look at the 'git clone' commands and then the branch change you tried to do. I stop helping people when they lie to me, which you just did.

If you will not, stop spamming under my question.
Regards

Also Kooi, have some respect for people before declaring them as liar. I found my solution over here: https://pixhawk.ethz.ch/tutorials/omap/openembedded_bitbake_installation (Building a profile file solved my problem.)

Hi,

I have a 3g usb modem (huawei e173) and want to use it on my beaglebone. For this purpose I have to to build the kernel with usb to serial module. However I could not do it even
though I (really!) checked many sites. This is what I have done step by step:

Copied the �ngstr�m specific scripts to initialize an OpenEmbedded environment:

git clone git://git.angstrom-distribution.org/setup-scripts
cd setup-scripts
git checkout origin/oe-core -b oe-core

However at the third step I got the error:

zero@ghostrider:~/setup-scripts$ git checkout origin/oe-core -b oe-core
fatal: git checkout: updating paths is incompatible with switching branches.
Did you intend to checkout 'origin/oe-core' which can not be resolved as commit?
zero@ghostrider:~/setup-scripts$

I carried on: Downloaded all layers according to sources/layers.txt

Seems like I have installed all the layers required and also not required:

zero@ghostrider:~$ ls
bitbake meta-efikamx meta-nslu2 Music
Desktop meta-ettus meta-oe oe-core
Documents meta-handheld meta-openpandora Pictures
Downloads meta-intel meta-opie Public
examples.desktop meta-java meta-raspberrypi setup-scripts
meta-angstrom meta-kde meta-ti Templates
meta-browser meta-mono meta-xilinx Videos

When I did :

zero@ghostrider:~/setup-scripts$ ./oebb.sh config beaglebone
env: gawk: No such file or directory

You need to install the 'gawk' program (and maybe some others) on your build host.

What is your build host?

You weren't following instructions.

Hi,

I have a 3g usb modem (huawei e173) and want to use it on my beaglebone. For this purpose I have to to build the kernel with usb to serial module. However I could not do it even though I (really!) checked many sites. This is what I have done step by step:

Copied the �ngstr�m specific scripts to initialize an OpenEmbedded environment:

git clone git://git.angstrom-distribution.org/setup-scripts
cd setup-scripts
git checkout origin/oe-core -b oe-core

Should be:

git clone git://github.com/Angstrom-distribution/setup-scripts.git

cd setup-scripts

MACHINE=beaglebone ./oebb.sh config beaglebone

^^^ Builds your profile for you.

MACHINE=beaglebone ./oebb.sh update
MACHINE=beaglebone ./oebb.sh bitbake virtual/kernel

As is said here:

http://www.angstrom-distribution.org/building-angstrom

Hi Gary,

I installed gawk and now seems like everything is fine with OE. (Host build: ubuntu 12.04) Now my question is how do I configure the modules that should be included in the kernel? For example I want usb to serial module (or any other module) to be included in the kernel. How can I do that?