Monday, January 23, 2012

Angstrom installation on Beagle Board

First we discuss about installing Angstrom using Ubuntu into the mmc of Beagleboard.



1.Start the terminal.

2.Make a work directory

'# mkdir Angstrom'

3. Enter the directory

'#cd Angstrom'

4.Then install the sd card partition tool for OMAP3 processor using the following step.

'# wget http://cgit.openembedded.org/cgit.cgi/openembedded/plain/contrib/angstrom/omap3-mkcard.sh' on the terminal

5. Then install the downloaded file using

'#chmod +x omap3-mkcard.sh'

6. Then using the Disk utility in the Ubuntu ...(from the top of the desktop under 'system'  ...or some where near you will get that...) select the sd card and format it with 'MASTER BOOT PARTITION' .  Then note the device name on the bottom right side of the bar showing the space available. generally '/dev/mmcblk0 ' or something like that....note it..

7.Then again come back to the Terminal enter this command.
'sudo ./omap3-mkcard.sh /dev/sdX ' substitute sdX with your device name... then enter
'sync'

8. Now remove the memory card ..and re insert it so now you can see two partitions..

9. Now it is the step to download your Angstrom Operating system. you can do it from  http://narcissus.angstrom-distribution.org/    .... select the required tool chains,, opencv etc and carefully read the packages ... so that you will not miss important things ...like main drives for cameras and all for various image processing applications... 

10. After downloading this one next step is to copy the boot loader such as MLO, Uboot ,UImage to the Boot partition of the MMC... you can take it from where ever you like.. from the demo mmc or it is availabe with the downloaded package...you just need to archive the particular thing.. using following method :
# copy the files to sc-card boot partition.
Or if you don't have any sample or demo cards  do as follows

tar --wildcards -xzvf [YOUR-DOWNLOAD-FILE].tar.gz ./boot/*
 cp boot/MLO-*  /media/boot/MLO 
cp boot/uImage-*  /media/boot/uImage 
cp boot/u-boot-*.bin  /media/boot/u-boot.bin
 sync
But direct coping is more simpler for Beginners .

11. This is major step which takes a lot of time according to the size of the package. 

That is the process of coping the package to SD card.. 
'sudo tar -xzv -C /media/Angstrom -f [YOUR-DOWNLOAD-FILE].tar.gz
sync'

now after unmounted the partitions check it on BB....it will take about 2 hr for first boot if the packages are complicated...

Best Of Luck...


We can Install Angstrom on sd card using windows also which will be explained  later..