Meego Wiki
Views

ARM/OMAP4 Panda/private-demo

From MeeGo wiki
< ARM | OMAP4 Panda
Revision as of 19:35, 9 November 2010 by Jagarcia (Talk | contribs)
Jump to: navigation, search

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

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

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

kernel

cd ${PANDASOURCE}/linux-meego-panda
make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm omap2plus_defconfig
make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm uImage
make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm modules

MeeGo rootfs

Proxy Settings

If you need to add proxy settings, you can place them in ${HOME}/.mic2.conf like this:

[main]
proxy=http://PROXY_SERVER:PORT

Build the rootfs

cd ${PANDASOURCE}
./Panda.sh
(make sure to chmod +x 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}/linux-meego-panda ; 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 ${PANDAFS}/boot/u-boot.bin /media/boot
cp ${PANDAFS}/boot/boot.scr /media/boot
cp ${PANDASOURCE}/linux-meego-panda/arch/arm/boot/uImage /media/boot
sudo cp -rfp ${PANDAFS}/* /media/rootfs
Personal tools