Search:  
Gentoo Wiki

HOWTO_setup_gentoo_on_a_pda_or_embled_system

This article is still a Stub. You can help Gentoo-Wiki by expanding it.

Contents

Why gentoo on a PDA

PDAs are evolving

PDAs are evolving a lot (even more when they are in competition with ultra-light notebook/tablet-pcs with the Pentium-M processor.

Interesting ourselves in the PDA hardware is a necesary step because there are very different sorts of distributions, and optimisations due to very different systems.

nowadays there are 3 types of PDA (to be completed of course):

Types of PDAs

Slow and large HDD ones

I know one well because i've got one. There are some (go to linux devices to know about it but all aren't referenced) video/mp3 players on the move (I think the term "walkman" is inappropriate here) that run linux natively because the manufacturer used linux to power these devices. Their main caracteristics are:

The SOC (system on a chip):

Faster but with moderate space

There is the case of the Zaurus ones and a Palm i think that has a 4GB drive built-in

The Zaurus have the folowing caracteristics:

Fastest but without storage

Note: here we see a very fast CPU capable of compiling it's own applications

Other considerations

General guidelines

the advantages of using gentoo (or another desktop os) is that you can use all the desktop programs and so you have a great collection of software and you don't need to port this kind of software to another os as opie (that is more adapted to pda) =>this is true for libraries, console apps (if an adapted front-end is used) and graphics apps on 640x480 pda =>this is less true for graphic front-ends that need to be a little bit tweaked (sometimes there is only the configuration to change, sometimes a bigger work must be done... but there are programs such as kdesin (if my memory is good) that help on the design of graphic front-end or maybe scripts that change values on Xdialog for example (maybe don't exist but can easily be done))

processors

we need to identify the family of the processor in order to feed it with the binaries of its corresponding arch (personally i'm lost between arm and ppc with xcales and such processors)

space considerations

here space considerations is determining a type of linux-os

as we have seen before, space may vary a lot depending on the devices and it's accessories (compact-flash cards...) but also the way of using it... (flash cards...) so there is a lot of diferent installations with: ->embed based (such as gentoo derived from the familiar distributions) =>busybox for example is a bash (with all the base programs such as cp, ln...) that is designed to take as little space as possible with: -less automatic programs(true for chroot) -less help builtin -no manual -reduced functionalites such -v (verbose) -an all in one executable =>a tiny version of the X server


THE SETUP

-if you have the same architecture this step is not needed, for example if you have a mac (ppc) and you have a ppc pda or embedded device

-if you have a different architecture the processor can't compile other's architecture binaries without cross compiling (as far as i know)

Compilations flags

using the -O3 flag is not a good idea, as it takes up a good deal of space. Using -O2 or -Os would probably be wiser.

Retrieved from "http://www.gentoo-wiki.info/HOWTO_setup_gentoo_on_a_pda_or_embled_system"

Last modified: Mon, 08 Sep 2008 06:44:00 +0000 Hits: 7,134