Once you have the kernel configured it's easy to make and install it on the bone.

+

host$ '''cd linux-dev'''

+

host$ '''tools/rebuild.sh'''

+

'''rebuild.sh''' sets up some things and the does a make on the kernel. It handles things like using the right cross compiler and the right number of cores. You'll be given a chance to configure, you can exit without saving if you don't want to change anything.

+

+

After a while (depending on the number of cores) you will see.

+

+

CHK include/generated/uapi/linux/version.h

+

CHK include/generated/utsrelease.h

+

make[1]: `include/generated/mach-types.h' is up to date.

+

CALL scripts/checksyscalls.sh

+

...

+

LD [M] sound/usb/caiaq/snd-usb-caiaq.ko

+

LD [M] sound/usb/misc/snd-ua101.ko

+

LD [M] sound/usb/snd-usb-audio.ko

+

LD [M] sound/usb/snd-usbmidi-lib.ko

+

+

Now you are ready to install. Have your Bone running and on the network. On your host run:

This will link two files from the git repository to files of the same name in the tools directory. Edit '''remote_install_kernel.sh''' and change '''BeagleAddr''' to the address of your beagle. Then run from '''linux-dev'''

+

host$ '''tools/remote_install_kernel.sh'''

+

Image Name: 3.8.13-bone26.1

+

Created: Tue Sep 3 13:33:35 2013

+

Image Type: ARM Linux Kernel Image (uncompressed)

+

Data Size: 3340904 Bytes = 3262.60 kB = 3.19 MB

+

Load Address: 80008000

+

Entry Point: 80008000

+

utsrelease.h 100% 38 0.0KB/s 00:00

+

beagle_install_kernel.sh 100% 3043 3.0KB/s 00:00

+

version.sh 100% 915 0.9KB/s 00:00

+

system.sh 100% 1446 1.4KB/s 00:00

+

3.8.13-bone26.1.config 100% 107KB 106.5KB/s 00:00

+

uImage-3.8.13-bone26.1 100% 3263KB 1.6MB/s 00:02

+

3.8.13-bone26.1-firmware.tar.gz 100% 1198KB 1.2MB/s 00:00

+

3.8.13-bone26.1-dtbs.tar.gz 100% 33KB 32.7KB/s 00:00

+

3.8.13-bone26.1.zImage 100% 3263KB 1.1MB/s 00:03

+

3.8.13-bone26.1-modules.tar.gz 100% 11MB 5.7MB/s 00:02

+

(If you get mkimage not found try running apt-get install uboot-mkimage)

+

+

+

This copies several files to your Bone. Make sure that the date and time on your Bone are set correctly, otherwise the Bone may ignore the proper files (plus you'll get a bunch of garbage output telling you that the files were made in the future). Then, on the Bone run:

Making and Installing the kernel

Once you have the kernel configured it's easy to make and install it on the bone.

host$ cd linux-dev
host$ tools/rebuild.sh

rebuild.sh sets up some things and the does a make on the kernel. It handles things like using the right cross compiler and the right number of cores. You'll be given a chance to configure, you can exit without saving if you don't want to change anything.

This will link two files from the git repository to files of the same name in the tools directory. Edit remote_install_kernel.sh and change BeagleAddr to the address of your beagle. Then run from linux-dev

(If you get mkimage not found try running apt-get install uboot-mkimage)

This copies several files to your Bone. Make sure that the date and time on your Bone are set correctly, otherwise the Bone may ignore the proper files (plus you'll get a bunch of garbage output telling you that the files were made in the future). Then, on the Bone run: