background preloader

Olimex

Facebook Twitter

Setting up an ARM-GCC toolchain from Ubuntu Linux. Note: This tutorial is now outdated, but I will leave it here for reference anyway.

Setting up an ARM-GCC toolchain from Ubuntu Linux

This tutorial describes how to set up a complete toolchain for development with ARM microcontrollers under Ubuntu Linux. The following hardware/software will be used: LPC1769 ARM cortex m3 microcontrollerEclipse IDEOlimex USB-TINY-H programmer/debugger (link)Alternatively, the Raisonance jtag cable can be usedOpenOCDarm-none-eabi-gcc (bare, not running any operating system)Ubuntu 11.10/12.04 32 or 64-bit The tutorial is aimed towards beginners who have little or no experience with this subject. At the end the reader should be able to run a basic “Hello World” application written in the C programming language that blinks an LED. Start by installing some dependencies. Build Bootable SD Card with Debian - Olimex. The A13-OLinuXino-WIFI board ships with pre-loaded Android 4.0.3 image on the NAND flash, so it runs out of the box and you can have access to millions of applications on Google Play.

Build Bootable SD Card with Debian - Olimex

There are also prebuilt SD card images that will boot to debian, they are linked to on the main A13 wiki page. These are suitable for anyone that doesn't want special kernel options. For those who want to use and develop on this board with Linux and require non standard kernel configurations this wiki explains step by step instructions to create an SD-card image that boots Debian on A13-OLinuXino. Big thanks to Dimitar Gamishev who initially demonstrated the whole build process. Note: The content is largely taken from this page of instructions building bootable sd card with debian linux image for a13 olinuxino U-boot Sunxi Wiki with detailed info Tools required Note: you can install Ubuntu freely to work on a machine that currently has windows.

Method to read or write to a Micro SD card from this computer. 1. p. Compilando Qt e aplicações gráficas em Linux embarcado. Cada vez mais temos equipa­men­tos embar­ca­dos com inter­faces de vídeo disponíveis.

Compilando Qt e aplicações gráficas em Linux embarcado

Hoje é comum dis­plays LCD embu­ti­dos no equipa­mento, alguns deles com inter­face touch screen. Em alguns casos temos disponível um con­tro­lador de vídeo, que pode ser VGA, DVI ou HDMI, e um conec­tor para ligar um dis­play externo. E tra­bal­har com dis­plays grá­fi­cos em Linux não é algo de outro mundo. Exige que você con­heça alguns con­ceitos, sabia preparar seu ker­nel cor­re­ta­mente, escol­her e cross-compilar uma bib­lioteca de inter­face grá­fica (você não vai querer rein­ven­tar a roda, certo?) , e apren­der a usá-la. Mas antes de colo­car a mão na massa, vamos estu­dar alguns conceitos. Se cada inter­face ou placa de vídeo tivesse seu dri­ver e sua especí­fica API, imag­ina o tra­balho que seria para as apli­cações ou bib­liote­cas que pre­cisam aces­sar dire­ta­mente o vídeo, como media play­ers ou bib­liote­cas de inter­face grá­fica como Qt ou GTK.

Que tal agora um pouco de ação? Cross Compiling GTK applications For the Raspberry Pi. How To Compile GTK Application For Arm. 1. add the following lines to your /etc/apt/sources.list at the bottom deb apophis main deb hathor main $ sudo apt-get update $ sudo apt-get install scratchbox-core scratchbox-libs scratchbox-devkit-qemu scratchbox-devkit-debian scratchbox-devkit-doctools scratchbox-devkit-perl scratchbox-toolchain-host-gcc scratchbox-toolchain-cs2007q3-glibc2.5-arm7 scratchbox-toolchain-cs2007q3-glibc2.5-i486 scratchbox-devkit-svn scratchbox-devkit-git scratchbox-devkit-apt-https 3. run $ sudo /scratchbox/sbin/sbox_adduser $USER 4.

How To Compile GTK Application For Arm

$/scratchbox/login 5. after login $ /scratchbox/login Welcome to Scratchbox, the cross-compilation toolkit! Use 'sb-menu' to change your compilation target. See /scratchbox/doc/ for documentation. [sbox-FREMANTLE_X86: ~]> 6. A)You will enter the main menu: Select the Setup option. b)First it will ask if you want to create a new target or change the configuration of a previously created target: Select the NEW option. c)Since we're creating a new target we need to specify a name: CLFS Trac.