Friday, June 28, 2013

Build the Kernel for BeagleBone Black

Following these instructions:
http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-LinuxKernel

Upgrade distro "device-tree-compiler" package
Build/Install:
wget -c https://raw.github.com/RobertCNelson/tools/master/pkgs/dtc.sh
chmod +x dtc.sh
./dtc.sh
Verify:
:~$ /usr/local/bin/dtc -v
Version: DTC 1.3.0-g1ea7e802

Linux Build Script:

git clone git://github.com/RobertCNelson/linux-dev.git
cd linux-dev/
For Mainline v3.8.x
git checkout origin/am33x-v3.8 -b tmp
Run Build Script:
./build_kernel.sh
The kernel zImage and modules will be under the deploy directory.

Built me a zImage file.  Need to convert to uImage:


Using the "/boot/uboot/zImage": 

mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008000 
-n kernel -d ./zImage ./uImage 

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.