Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Egle Systems
Search
oshlumh
July 13, 2014
Programming
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Egle Systems
Desarrollo de Hardware y Software para ARM, Sistemas embebidos y Smart Devices
oshlumh
July 13, 2014
Transcript
23 slides
http://www.eglesys.com
Desarrollo de hardware/software para ARM Sistemas embebidos Smart devices
Es28-SOM ARM926EJ-S™ 454MHz 256MB RAM NAND + MMC 2xCAN-Bus, 2xEthernet,
5xUART, USB Host + OTG
Es335-SOM Cortex-A8™ 1000MHz 1024MB RAM GPU NAND + MMC 2xCAN-Bus,
Ethernet, EtherCAT, PROFINET, PROFIBUS, 6xUART, USB 2xOTG
Es6-SOM 4xCortex-A9™ 1200MHz 4096MB RAM GPU + VPU (4 pantallas)
NAND + MMC + SATA + PCIe 2xCAN-Bus, Ethernet GBit, 5xUART, USB Host + OTG
Sistemas operativos para Es6-SOM Linux embebido Ubuntu 12.04 LTS Android
4.2 Todos usan bootloaders y kernels adaptados al hardware
Linux embebido Sistema base con todo el soporte hardware y
lo mínimo para arrancar. Sin sistema de gestión de software. Las bibliotecas adicionales se instalan en /opt/<nombre> SDK de desarrollo.
None
SDK cross-toolchain + sysroot
Toolchain: Utilidades para crear un programa: gcc, ld, gdb, etc...
Host: Máquina donde trabajamos. Target: Máquina que ejecutará el software. Compilador cruzado: Compilador que se ejecuta en el host y crea ejecutables para el target.
El prefijo indica el tipo de binario que crea. No
es standard. arm-fsl-linux-gnueabi-gcc
Utilizando un compilador nativo: /usr/include para cabeceras /usr/lib bibliotecas compartidas
(*.so) Compilación cruzada: <sysrootdir>/usr/include cabeceras <sysrootdir>/usr/lib bibliotecas compartidas (*.so)
$ export SDKDIR=/opt/egle/es6/2013.10 $ export SYSROOT=${SDKDIR}/sysroot $ export TOOLCHAINDIR=${SDKDIR}/fsl-linaro-toolchain/bin $
export PATH=${PATH}:${TOOLCHAINDIR} $ arm-fsl-linux-gnueabi-gcc \ -I${SYSROOT}/usr/include \ -I${SYSROOT}/opt/xenomai2/include \ -L${SYSROOT}/usr/lib \ -L${SYSROOT}/opt/xenomai2/lib \ -lxenomai -lnative \ -Wl,-rpath,/opt/xenomai2/lib \ rttest.c -o rttest
El parámetro remote path para el linker: -Wl,-rpath,[libdir] permite incluir
en el binario rutas adicionales de búsqueda de bibliotecas en runtime.
$ file rttest rttest: ELF 32-bit LSB executable, ARM, EABI5
version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.31, not stripped
Compilación de bibliotecas Autotools, Cmake, etc... Depende del proyecto.
$ cd linux $ export SDKDIR=/opt/egle/es6/2013.10 $ export TOOLCHAINDIR=${SDKDIR}/fsl-linaro-toolchain/bin $
export PATH=${PATH}:${TOOLCHAINDIR} $ export ARCH=arm $ export CROSS_COMPILE=arm-fsl-linux-gnueabi- $ make <target>
Vale, ¿pero como depuro?: JTAG gdbserver
JTAG
$ scp rttest
[email protected]
:/root/rttest $ ssh
[email protected]
"gdbserver :5000 /root/rttest"
$ gdb (gdb) target remote 192.168.1.110:5000 (gdb) b main (gdb) continue
$ scp rttest
[email protected]
:/root/rttest $ gdb (gdb) target remote |
ssh -T 192.168.1.110 gdbserver - /root/rttest (gdb) b main (gdb) continue
IDEs: Eclipse CDT, qtcreator, Code::Blocks... La mayoria permite seleccionar el
compilador, sysroot, etc... También suelen permitir sesiones de depuración remotas.
FIN
Other Decks in Programming
See All in Programming
AIコーディングをセッションで終わらせない: PHPライブラリ開発におけるコンテキスト承継設計
ickx
0
110
Scalaの型でマルチテナントの認可を守る
nextbeatdev
0
180
作れるエンジニアから、価値を届けるエンジニアへ
ryunakayama
1
1.3k
エージェントの管理もエージェントに – herdr-core と自作バックログで作る司令塔 –
nearme_tech
PRO
2
170
初学者向け 分散トレーシングとDatadog
mtaka1222
0
110
LLM 101
dalinaum
0
560
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
1.1k
AIコーディング時代のKotest ユニットテストから APIレベルの仕様固定化テストへ
ooga04
0
340
Kotlin Fest 2026: Kotlin コンパイラに Contribute してみよう! - Kotlin/Wasm で深い再帰を書けるようにした話
ternbusty
1
430
Kotlin JVM用に作られたライブラリのKMPを前提とした再設計
jsoizo
0
240
Rails初心者がパスキーを実装してみて大変だったこと
ktombow
0
240
祈るテストから、探索するテストへ 〜Lincheckではじめる並行処理テスト〜
yyh_gl
0
440
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
37
7.5k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.7k
Six Lessons from altMBA
skipperchong
29
4.6k
RailsConf 2023
tenderlove
30
1.6k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.3k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.5k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
590
Done Done
chrislema
187
17k
The agentic SEO stack - context over prompts
schlessera
0
1k
[SF Ruby Conf 2025] Rails X
palkan
3
1.6k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
990
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k