Meego Wiki
Views
From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Install binaries to SD)
(kernel)
Line 40: Line 40:
  cd ${PANDASOURCE}
  cd ${PANDASOURCE}
-
  git clone git://gitorious.org/pandaboard/kernel-omap4.git
+
  git clone git://github.com/nmenon/linux-meego-panda.git
-
  cd ${PANDASOURCE}/kernel-omap4
+
  cd ${PANDASOURCE}/linux-meego-panda
-
  git checkout --track -b L24.9 origin/L24.9
+
  git checkout --track -b additional-rebases origin/additional-rebases
== other files ==
== other files ==

Revision as of 15:16, 22 October 2010

Contents

Introduction

PLEASE NOTE: This page is currently under construction!

The following page describes how to create a bootable Meego image for the OMAP4 based Pandaboard. More information on this board can be found at pandaboard.org

Currently, running Meego on the Panda requires that the u-boot and Linux kernel are built by hand. We are working to get these packages into the OBS, and will keep this page updated.

Additionally, the image creation steps are also manual, owing to the very particular CHS requirements of the OMAP4 boards (255 heads/63 sectors). This issue is being discussed within the #meego-arm community.

Prerequisites

Sourcery G++ Lite 2009q1

wget -c http://www.codesourcery.com/sgpp/lite/arm/portal/package4571/public/arm-none-linux-gnueabi/arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
mkdir -p ${HOME}/opt
tar -C ${HOME}/opt -jxf arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2


MIC2

Reference http://wiki.meego.com/Image_Creation to set up MIC2

Environment Variables and ${PANDASOURCE} creation

PATH=${HOME}/opt/arm-2009q1/bin:${PATH}
export PANDASOURCE=${HOME}/panda.source
export PANDAFS=${HOME}/meego-panda-rootfs
mkdir -p ${PANDASOURCE}

Get Files

u-boot

cd ${PANDASOURCE}
git clone git://gitorious.org/pandaboard/u-boot.git
cd ${PANDASOURCE}/u-boot
git checkout --track -b omap4_panda_L24.9 origin/omap4_panda_L24.9

kernel

cd ${PANDASOURCE}
git clone git://github.com/nmenon/linux-meego-panda.git
cd ${PANDASOURCE}/linux-meego-panda
git checkout --track -b additional-rebases origin/additional-rebases

other files

cd ${PANDASOURCE}
wget -c http://wiki.meego.com/images/00-device-omapfb.conf
wget -c http://wiki.meego.com/images/Panda.ks.in
wget -c http://wiki.meego.com/images/Panda.sh

Build

u-boot

cd ${PANDASOURCE}/u-boot
make CROSS_COMPILE=arm-none-linux-gnueabi- omap4430panda_config
make CROSS_COMPILE=arm-none-linux-gnueabi-

kernel

cd ${PANDASOURCE}/kernel-omap4
make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm omap4_panda_defconfig
make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm uImage
make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm modules

MeeGo rootfs

cd ${PANDASOURCE}
./Panda.sh


Make Bootable SD Card

Format SD

Reference http://www.omappedia.org/wiki/SD_Configuration to format SD card. Insert formated bootable SD card, /media/boot & /media/rootfs should be mounted automatically, assuming you are logged in graphically.

Install binaries to ${PANDAFS}

# kernel modules
(cd ${PANDASOURCE}/kernel-omap4 ; sudo PATH=${PATH} make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm INSTALL_MOD_PATH=${PANDAFS} modules_install)
# 00-device-omapfb.conf
sudo cp ${PANDASOURCE}/00-device-omapfb.conf ${PANDAFS}/etc/X11/xorg.conf.d
# OMAP44xx SGX SDK
# TI have not yet released OMAP44xx SGX SDK publicly.


Install binaries to SD

cp ${PANDAFS}/boot/MLO /media/boot
cp ${PANDASOURCE}/u-boot/u-boot.bin /media/boot
cp ${PANDASOURCE}/kernel-omap4/arch/arm/boot/uImage /media/boot
sudo cp -rfp ${PANDAFS}/* /media/rootfs
Personal tools