Building the demo image files

You can do all of the things on this site without building a new image for your BeagleBone, even use the PWM for controlling servos without removing the CONFIG_OMAP_RESET_CLOCKS.


So, just download the pre-built images from here:



I'm just documenting the steps here for those that want to do it anyway, or have some special needs.


 

addgroup <yourusername> disk

(to be able to mount a virtual VFAT filesystem, fill it and dump it).

 

Add to /etc/fstab:

 

/dev/loop1 /home/<youruser>/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/cloud9-image-1.0-r0/tmp-mnt-sys vfat user 0 0

/dev/loop2 /home/<youruser>/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/cloud9-image-1.0-r0/tmp-mnt-boot vfat user 0 0

/dev/loop3 /home/<youruser>/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/cloud9-image-1.0-r0/tmp-mnt-uboot vfat user 0 0

 
 
 
 

apt-get install gcc -y

apt-get install g++ -y

apt-get install make -y

apt-get install gawk -y

apt-get install sed -y

apt-get install diffstat -y

apt-get install subversion -y

apt-get install cvs -y

apt-get install git -y

apt-get install texi2html -y

apt-get install texinfo -y

apt-get install chrpath -y

apt-get install libxml2-utils -y

apt-get install xmlto -y

apt-get install coreutils -y

apt-get install unzip -y

apt-get install docbook-utils -y

apt-get install python-pysqlite2 -y

apt-get install help2man -y

apt-get install build-essential -y

apt-get install desktop-file-utils -y

apt-get install bitbake –y

apt-get install libncurses5-dev –y

 

 

git clone git://github.com/Angstrom-distribution/setup-scripts.git
cd setup-scripts
MACHINE=beaglebone ./oebb.sh config beaglebone
MACHINE=beaglebone ./oebb.sh update
MACHINE=beaglebone ./oebb.sh bitbake cloud9-image 
 
Will build a file like:
  • Angstrom-Cloud9-IDE-eglibc-ipk-v2012.03-core-beaglebone-2012.03.11.img.gz
 

 

Finally zcat <img>.img to /dev/sdX på Ubuntu (where the sdX is the SDCard)

or use WinImage on Windows.

 
 
 
If you want to enable PWM, the CONFIG_OMAP_RESET_CLOCKS must not be set to "y":
 
diff --git a/recipes/linux/linux-omap-2.6.32/beagleboard/defconfig b/recipes/linux/linux-omap-2.6.32/beagleboard/defconfig
index cebe1f5..2dad30c 100644
--- a/recipes/linux/linux-omap-2.6.32/beagleboard/defconfig
+++ b/recipes/linux/linux-omap-2.6.32/beagleboard/defconfig
@@ -241,7 +241,7 @@ CONFIG_ARCH_OMAP3=y
#
# CONFIG_OMAP_DEBUG_POWERDOMAIN is not set
# CONFIG_OMAP_DEBUG_CLOCKDOMAIN is not set
-CONFIG_OMAP_RESET_CLOCKS=y
+# CONFIG_OMAP_RESET_CLOCKS is not set
# CONFIG_OMAP_MUX is not set
CONFIG_OMAP_MCBSP=y
CONFIG_OMAP_MBOX_FWK=m
 
 

 

Comments