Meego Wiki
Views
From MeeGo wiki
Revision as of 03:34, 5 June 2010 by Mwoster (Talk | contribs)
Jump to: navigation, search

ARM/BEAGLE


This page is dedicated to getting MeeGo running on the Beagleboard. More info on the beagleboard can be found here

Because the processor for the beagleboard C4 is an OMAP3530 and the N900 currently sports a similar processor, it seems wise to start with the ARM page.

Turn key demo image from Linux Foundation for Genivi

The Linux Foundation developer team put together the following image for demonstration during the Linux Foundation keynote address at the GENIVI conference on May 19. It is based on MeeGo 0.9 and has the SGX drivers built-in. Also preinstalled are the XFCE-Desktop, QT demo applications and 3D SGX demos (/usr/bin/SGX. Just download and write the image to a sdcard (>4GB). Enjoy!

wget -nd http://ftp.linuxfoundation.org/pub/meego/MEEGO_GENIVI_BEAGLE_DEMO.img.xz
# f222c90ee1279e03f521a750d9e4bd06 MEEGO_GENIVI_BEAGLE_DEMO.img.xz
md5sum MEEGO_GENIVI_BEAGLE_DEMO.img.xz 
xz -d MEEGO_GENIVI_BEAGLE_DEMO.img.xz
dd if=<imgfile> of=/dev/sd?      #  e.g. dd if=MEEGO_BEAGLE_DEMO.img of=/dev/sdc


Steps

What works so far:

  • Take the n900 rootfs and extract to the rootfs partition of the beagle sdcard setup. You can mount rootfs of N900 from this image on /mnt by:
    1. bunzip meego-n900-open-armv7l-1.0.0.20100525.1-sda.raw.bz2
    2. sudo mount -o loop,offset=16384 meego-n900-open-armv7l-1.0.0.20100525.1-sda.raw /mnt
  • Then sync the contents to your SDcard by:
    1. sudo rsync -aHx /mnt/* /media/your_sd_card
  • MeeGo Beagleboard kernel and modules contains precompiled uImage and kernel modules (v2.6.34) for Beagleboard. You need copy uImage to /boot partition of your SD card, and modules to /lib/modules directory on your root file system.
  • Since we are using rootfs tuned for N900, we can stop starting X by replacing id:5:initdefault: to id:3:initdefault: in /etc/inittab.
  • To fine tune above kernel follow these instructions:
    1. Copy meego-beagle-kernel.config from above archieve to your kernel compilation directory as .config
    2. make old_config
    3. Tune kernel options using: make xconfig
    4. You can now compile your kernel using: make uImage
Personal tools