| 
View
 

Building the Liquidware BeagleBoard Linux Kernel

This version was saved 14 years, 6 months ago View current version     Page history
Saved by Chris
on July 21, 2010 at 4:37:02 pm
 

The Liquidware BeagleBoard Linux kernel is for beagleboard module development.

 

Get the kernel source:

$ git clone git://github.com/liquidware/liquidware_beagleboard_linux.git

$ git checkout liquidware

 

My configuration:

compiler path: /home/eye/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-

sdcard device: /dev/sdi

my machine's processor: 8 cores

mount point for sd card's FAT partition: /tmp/bbfat

mount point for sd card's etx2 partition: /tmp/bbext

.config .config

That makes my make commands the following:

 

Make Commands

Make is used to build the linux kernel. Before building the kernel, you need to configure your kernel. Use the menuconfig command to select drivers as installed v.s. drivers as modules.

 

menuconfig:

$ sudo make -j8 ARCH=arm menuconfig CROSS_COMPILE=/home/eye/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-

 

uImage:

$ sudo mount /dev/sdi1 /tmp/bbfat

$ sudo make -j8 ARCH=arm uImage CROSS_COMPILE=/home/eye/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-

$ sudo cp ./arch/arm/boot/uImage /tmp/bbfat

$ sync

$ sync

$ sudo umount /dev/sdi1

 

modules modules_install:

$ sudo mount /dev/sdi1 /tmp/bbfat

$ sudo mount /dev/sdi2 /tmp/bbext

$ sudo make -j8 ARCH=arm INSTALL_MOD_PATH=/tmp/bbext modules modules_install CROSS_COMPILE=/home/eye/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-

$ sudo cp ./arch/arm/boot/uImage /tmp/bbfat

$ sync

$ sync

$ sudo umount /dev/sdi1

$ sudo umount /dev/sdi2

 

RootFS

The following commands extract a fresh pre-built Linux Angstrom rootfs (root filesystem)

 

#get the rootfs image

$ wget http://www.liquidware.com/code/rootfs-ext2.tar.bz2

$ sudo mv ./rootfs-ext2.tar.bz2 ~/rootfs-ext2.tar.bz2

 

#mount the ext2 partition

$ sudo mount /dev/sdi2 /tmp/bbext

 

#start fresh

$ sudo rm -rf /tmp/bbext/*

 

#go into the drive

$ cd /tmp/bbext

 

#extract the rootfs

$ sudo tar -xvf ~/rootfs-ext2.tar.bz2

$ sync

$ sync

$ cd ..

$ sudo umount /dev/sdi2

 

 

 

 

 

Comments (0)

You don't have permission to comment on this page.