Contents |
PLEASE NOTE: This page is currently under construction!
IMPORTANT This "private-demo" uses components which are NOT upstreamed - intent here is purely to showcase capability of PandaBoard and MeeGo at this point of time.
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
Additionally, the image creation steps are also manual, owing to the very particular CHS requirements of the OMAP4 boards (255 heads/63 sectors). This is due to the limitation of the latest libgparted libraries which are used by mic2 currently. To resolve this mic2 will need support of external utility such as sfdisk.
In this wiki, we shall explain building a rootfs from scratch and explain how to use it on PandaBoard
To create the image, you need Mic2. See here for further information on setting up Mic2 utility on your system.
If you need to add proxy settings, you can place them in ${HOME}/.mic2.conf like this:
[main] proxy=http://PROXY_SERVER:PORT
For this demonstration, we will do the build in a directory called pandabuild - replace this name as per your choice :)
mkdir pandabuild cd pandabuild wget -c http://wiki.meego.com/images/Panda-demo.ks.in wget -c http://wiki.meego.com/images/Panda-demo.sh chmod +x Panda-demo.sh
It is pretty simple :)
If you are not already in pandabuild directory(the place where you downloaded the .ks.in and .sh files as mentioned above),
cd pandabuild
./Panda-demo.sh
WARNING: this takes a whilllleeee... depending on your PC speed and network connection - it downloads the rpms and does the following
pandabuild ├── output │ └── meego-panda-rootfs -> this is where the output filesystem is located /boot contains the boot images (u-boot, MLO, boot.scr, uImage etc..) └── rpms <- all your rpms are put here
Steps involved here are:
Reference http://www.omappedia.org/wiki/SD_Configuration to format SD card.
Script: File:Omap3-mkcard.sh. you could use this with the above instructions to format a card for making it ready for copy. This script creates two partitions:
Insert formated bootable SD card, /media/boot & /media/rootfs should be mounted automatically, assuming you are logged in a GUI.
/media/boot and /media/rootfs is the location of the partitions (boot being the boot partition and rootfs being the rootfs - ofcourse ;) ).
If you are not already in pandabuild directory(the place where you downloaded the .ks.in and .sh files as mentioned above),
cd pandabuild
First copy the boot files to the boot partition
sudo cp -rfp output/meego-panda-rootfs/boot/* /media/boot
Next copy the rest of the filesystem to the sd rootfs partition
sudo cp -rfp output/meego-panda-rootfs/* /media/rootfs
and thats it - it is done :)
The following caveats exist