Difference between revisions of "Odroid"
(Started odroid+fpcup instructions) |
m |
||
Line 37: | Line 37: | ||
== See also == | == See also == | ||
+ | * [[fpcup]] Main fpcup page. Details on settings, troubleshooting, bug reporting, cross compilers etc. | ||
* [[Lazarus on Raspberry Pi]] Raspbian also is ARMHF but has an older ARM processor architecture. | * [[Lazarus on Raspberry Pi]] Raspbian also is ARMHF but has an older ARM processor architecture. | ||
Revision as of 01:01, 27 January 2014
Overview
Odroid are ARM devices manufactured by HardKernel.
U2, U3
These devices contain a Samsung ARM chip
- instruction set: ARMv7A
- floating point coprocessor (FPU): VFPv3
Operating systems: Xubuntu (ARMHF; hardfloat), Android.
Installing FPC/Lazarus using fpcup
This section focuses on using Linux on the Odroids.
- FPC 2.6.x
As the provided Linux is ARMHF, standard FPC 2.6.x is not suitable (insufficient ARMHF support0. Perhaps the custom FPC 2.6.x from Raspbian could be used (haven't tried it)
- FPC trunk
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:
- Download fpcup_linux_armhf (or perhaps fpcup_linux_arm) and fpcupodroid.ini into a directory (say ~)
- Make fpcup executable:
chmod ug+rx fpcup_linux_armhf #replace filename with proper name if different
- Run fpcup, telling it to use the [General] profile in fpcupodroid.ini:
./fpcup_linux_armhf --inifile=fpcupodroid.ini #replace filename with proper name if different
Use the same command for updating.
fpcup will create desktop shortcuts etc. For more details, please see the fpcup wiki page.
Note: currently fpcup will do a make distclean before installing/updating, which may stress your memory card. Contributions for relevant settings in fpcupodroid.ini welcome.
See also
- fpcup Main fpcup page. Details on settings, troubleshooting, bug reporting, cross compilers etc.
- Lazarus on Raspberry Pi Raspbian also is ARMHF but has an older ARM processor architecture.