Sign in Join
Wiki copytemporary

Odroid

Overview

Odroid are ARM devices manufactured by HardKernel.

U2, U3

These devices contain a Samsung ARM chip

Operating systems: Xubuntu (ARMHF; hardfloat), Android.

Installing FPC/Lazarus using fpcup

This section focuses on using Linux on the Odroids.

As the provided Linux is ARMHF, standard FPC 2.6.x is not suitable (insufficient ARMHF support0. The included Xubuntu Linux probably supplies modified FPC 2.6.x+Lazarus (much like the Raspbian distribution).

The easiest way to install FPC trunk and Lazarus is to run fpcup which will use a 2.6.x bootstrap compiler to build a trunk ARMHF intermediate compiler. Now the regular FPC and Lazarus environments are built by fpcup.

Note that fpcup is a thin wrapper around the regular svn/make FPC/Lazarus install process, so if you're uncomfortable with this process, it may not be for you.

Instructions - to be run as a regular user:

pascal
sudo apt-get install build-essential libgtk2.0-dev libgdk-pixbuf2.0-dev libpango1.0-dev subversion
pascal
cd ~
    wget https://bitbucket.org/reiniero/fpcup/downloads/fpcup_linux_armhf
    wget https://bitbucket.org/reiniero/fpcup/downloads/fpcupodroid.ini

Note: you may need to edit fpcupodroid.ini. Please see warning below about what FPC/Lazarus revisions work.

pascal
chmod ug+rx fpcup_linux_armhf #replace filename with proper name if different
pascal
./fpcup_linux_armhf --inifile=fpcupodroid.ini #replace filename with proper name if different

For a full make distclean/install etc session:

pascal
./fpcup_linux_armhf --inifile=fpcupodroid.ini --inisection=full #replace filename with proper name if different

fpcup will create desktop shortcuts etc. For more details, please see the fpcup wiki page.

You can also download and run fpcupgui next to fpcup in order to run fpcup via a GUI.

Notes

Warning-icon.png

Warning: Serious problems compiling with current (March 2014) FPC trunk.

XU

The Odroid XU can run e.g. Ubuntu.

Michel Catudal provides Ubuntu images that include Lazarus/FPC; see http://home.comcast.net/~mcatudal/

more details welcome

See also


From the Free Pascal wiki, page "Odroid", as the Internet Archive kept it on 2025-06-16, last changed on 2022-01-23. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 1, last changed by WikiArchive .

Edited on wiki.freepascal.org by 5 people, 2014–2022

From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.

WhenWhoWhat changed
BigChimpStarted odroid+fpcup instructions
BigChimp (minor)
BigChimpprereqs
BigChimp (minor)
BigChimpInstalling FPC/Lazarus using fpcup (minor)
BigChimpInstalling FPC/Lazarus using fpcup: some problems/workarounds
BigChimpOverview: surely xubuntu has it?!?
BigChimpupdate known issues
BigChimpInstalling FPC/Lazarus using fpcup: lazreport problem probably was PICNIC
BigChimpbuild-essential is needed.
JwdietrichCategory changed to an existing one.
BigChimpMore precise instructions/commands. Not yet a bash script - users can do that themselves it's a one time operation anyway and I'm not maintaining yet another script
BigChimp (minor)
BigChimpupdate is default setting fpcupodroid.ini now
BigChimpcan't compile fpcup due to compiler problems
BigChimpfpcup does work but only with some fpc revisions
BigChimpwget command for fpcupodroid.ini+warning
BigChimpadded xu, notes layout
BigChimpXU: added link to lazarus distro
AnthonyTekatchInstalling FPC/Lazarus using fpcup: Remove duplicate get fpcupodroid.ini (minor)
MaiSee also (minor)
Kai Burghardtundo revision 01B9C0 by Mai (talk) (minor)

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.