Bone Kernel Rebuild instructions

I’ve been able to rebuild a Beaglebone Angstrom kernel with the instructions here http://www.chalk-elec.com/?p=1605 and here http://www.youtube.com/watch?v=HJ9nUqYMjqs&list=PLF4A1A7E09E5E260A. The instructions are basically the same and are relatively recent.

However, when changing system.sh to “- uncomment line BUILD_UIMAGE=1”, I find that " BUILD_UIMAGE=1" is not in the file. I make the other changes OK (to /dev/sdb, etc.) and build.

When I finish with the “./tools/rebuild.sh”, there is no way to load it onto the card because the “./tools/load_uImage.sh” does not exist.

Are there new instructions to do this step? The authors of the above have not replied to my questions.

Regards,
James

BTW, I get the following error when I tried to run “./tools/install_kernel.sh”

./tools/install_kernel.sh: line 219: syntax error near unexpected token }' ./tools/install_kernel.sh: line 219: }’

What is the cause? How do I fix it?

James

**** changes I made to system.sh ****
uncommented: CC=arm-linux-gnueabi-
changed folder to: LINUX_GIT=/home/user/bb/linux-stable/
uncommented: ZRELADDR=0x80008000

uncommented: MMC=/dev/sdb
added: BUILD_UIMAGE=1

BTW, I get the following error when I tried to run
"./tools/install_kernel.sh"

./tools/install_kernel.sh: line 219: syntax error near unexpected token `}'
./tools/install_kernel.sh: line 219: ` }'

What is the cause? How do I fix it?

I fixed it 3 days ago:

James

**** changes I made to system.sh ****
uncommented: CC=arm-linux-gnueabi-
changed folder to: LINUX_GIT=/home/user/bb/linux-stable/
uncommented: ZRELADDR=0x80008000
uncommented: MMC=/dev/sdb

added: BUILD_UIMAGE=1

This is already taken care by un-selecting the "ZRELADDR" and running
./tools/install_kernel.sh

Regards,

Thanks Robert.

So to complete my build do I have to repeat both of these steps?

git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
git clone git://github.com/RobertCNelson/linux-dev.git

Regards,
James

Why "repeat" ? once it's initially cloned, it's on your harddrive...

from linux-dev directory, just

git checkout master -f
git branch -D tmp || true
git pull
git checkout origin/am33x-v3.2 -b tmp
./build_kernel.sh

Regards,

Thanks for that, install_kernel.sh is writing the kernel to the SD card now.

When the card boots, I get a small penguin on the top left corner of the screen. What else do I have to do to get it back booting like a Beaglebone again, with networking, flashing LEDs, serial, etc?

Regards,
James

Hello when try to flash sd card, I see this:

mkimage: Write error on /home/user/beaglebone/linux-dev/deploy/disk/uImage: No space left on device

Well that error tells you the pretty obvious issue, you have no more space on your disk.