Productivity Sync

February 15, 2010

Beagleboard adventures

Filed under: Uncategorized — markgross @ 11:07 am

I spent some time this weekend bringing up rowboat Android (Donut) and OpenEmbedded Angstrom beagleboard-demo-image up.  The following are notes/links for this effort.

Rowboat:

http://code.google.com/p/rowboat/

http://code.google.com/p/rowboat/wiki/Main

http://code.google.com/p/rowboat/wiki/ConfigureAndBuild

The configure and build instructions pretty much just worked. I did need to install uImage package so I could build the kernel in the proper format. FWIW the build took about 1.5hrs for everything.

Configuring the uboot flash values and booting I used:

setenv bootcmd 'mmc init; fatload mmc 0 84000000 uImage; bootm 84000000'
setenv bootargs 'mem=256M androidboot.console=ttyS2 console=tty0 console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw init=/init rootwait omapfb.video_mode=640x480MR-16@60'
Beagleboard# saveenv
Beagleboard# reset 

The usb requires a hub for the keyboard mouse or event USB2ETH dongle to work.  The system boots and was not too bad.  The power management was anoying so I disabled it by setting the screen off time out to “never”.  The Pegasus USB2ETH dongle failed to work.  I think the kernel is misconfigured but as OE failed in a different way WRT network I can’t say for sure what the deal is.

FWIW I was impressed with the software graphics performance.  This image doesn’t include the PVR grahpics driver that needs to be downloaded from TI separtaly

Open Embedded Angstrom beagleboard-demo-image

holy shit this is a LONG build with a lot of slow downloads.

bitbake beagleboard-demo-image, is a big build too it took up 74,438,612 K of disk, There was some problems with building gimp and some of the extra locals, I had to hack some of the recipes a bit to get around.  When building with all the downloads already cached its a 7.6hr build on a 3Ghz, dual core box with 6MB L2 cache per core system.  (its a pretty fast box).  I even had PARALLEL_MAKE = “-j 2″ and BB_NUMBER_THREADS = “2″.

diff --git a/recipes/images/beagleboard-demo-image.bb b/recipes/images/beagleboard-demo-image.bb
index d83281c..b6e43df 100644
--- a/recipes/images/beagleboard-demo-image.bb
+++ b/recipes/images/beagleboard-demo-image.bb
@@ -1,6 +1,7 @@
 # Demo image for beagleboard

-IMAGE_LINGUAS = "de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in"
+#IMAGE_LINGUAS = "de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in"
+IMAGE_LINGUAS = "en-us"

 XSERVER ?= "xserver-xorg \
 xf86-input-evdev \
diff --git a/recipes/tasks/task-beagleboard-demo.bb b/recipes/tasks/task-beagleboard-demo.bb
index f9867af..27a411a 100644
--- a/recipes/tasks/task-beagleboard-demo.bb
+++ b/recipes/tasks/task-beagleboard-demo.bb
@@ -22,11 +22,10 @@ RDEPENDS_${PN} = "\
 gecko-mediaplayer-firefox-hack \
 hicolor-icon-theme gnome-icon-theme \
 jaaa nmap iperf gnuplot \
-    abiword-meta \
-    gnumeric \
-    gimp \
+#    abiword-meta \
+#    gnumeric \
 powertop oprofile \
-    pidgin \
+#    pidgin \
 #    irssi \
 mplayer \
 gnome-games \

Configuring the uboot boot loader to do the right thing:

setenv bootargs 'console=ttyS2,115200n8 console=tty0 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait omapfb.video_mode=1024x768MR-16@60'
setenv bootcmd 'mmc init; fatload mmc 0 84000000 uImage-beagleboard.bin; bootm 84000000'
saveenv
reset

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress