This is a layer for OpenEmbedded to support the AIR Glide Display L hardware.
Features:
Feature | Status | Notes |
---|---|---|
Embedded Linux | Good | |
CAN | Good | |
Rotary knobs | Good | |
Buttons | Good | |
XCSoar | Good | Some button are to small for TS |
Touch screen | Good | |
Backlight | Good | |
Idle screen | not yet implemented | No button actions and GPS Groundspeed < 1 m/s : set min brightness |
Power Off | Good | |
Real Time Clock | Good | |
Colibri T30 | Works on eval. board | Power up issue on Display L |
Colibri T20 | Good | |
Config menu | Minimal Version | |
Landscape Display | Not tested | |
Sierial NMEA Port | Not tested | |
CAN Logger | Good | Use Linux candump 1 |
SteFly Remote-Knüppelgriff | Good | Integrate in XCSoar as LUA script 2 |
Here a short video (replayed via CAN input)
Short video showing XCSoar in action
The generated Embedded Linux contains also a ready to run XCSoar.
cd docker
docker build -f Dockerfile . -t toradex-yotco
./run_dock.sh
image at /home/yocto/oe-core, this is the mounted folder if you run with ./run_dock.sh
):
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
repo init -u http://git.toradex.com/toradex-bsp-platform.git -b LinuxImageV2.8
repo sync
. export
sed -i '/qt4-layer/d' ../../oe-core/layers/meta-toradex-demos/conf/layer.conf
bitbake console-tdx-image
or for colibri t30 image:
MACHINE="colibri-t30" bitbake console-tdx-image
or build only xcsoar:
bitbake xcsoar-7.0
This is all heavily inspired / copy and pasted from:
- https://developer.toradex.com/knowledge-base/board-support-package/openembedded-(core)
- the webinars found within the above page
- https://github.com/Openvario/meta-openvario
sed -i s/canutils/can-utils/g oe-core/layers/meta-toradex-demos/recipes-images/images/tdx-extra.inc
Then you can use a newer version of candump
bitbake angstrom-lxde-image -c populate_sdk
unpack the generated image found here (as sudo to maintain the folder structure) $BASEDIR/oe-core/deploy/images/colibri-t20/
go to the directory you unpacked it and run the update script:
./update.sh -o <sdcard>
On the target's HW-console do:
you can deploy the generated image via TFTP:
unpack the generated image found here (as sudo to maintain the folder structure) $BASEDIR/oe-core/deploy/images/colibri-t20/
go to the directory you unpacked it and run the update script:
./update.sh -o /tftp
where "/tftp" is your TFTP_DIRECTORY.
On the target's HW-console do:
usb start
setenv autoload 0
dhcp
setenv serverip <server-ip address> (setenv serverip 192.168.1.104)
ping ${serverip}
run setupdate
run update
How to put the board in Recovery Mode:
- Connect the serial port UART_B. (normally it is UART_A, but we use UART_B)
- Open a terminal on your host computer (115200 baud, 8 data bits, no parity, one stop, no hardware/software flow control).
- Power cycle the board and immediately press [space] on the terminal
For a detailed description see Txx Recovery Mode
For flashing via TFTP be sure the board is connected with an ethernet cable.
devtool modify arrowkey-mod
edit file(s) in oe-core/build/workspace/sources/arrowkey-mod/
bitbake arrowkey-mod
devtool deploy-target -s arrowkey-mod root@192.168.1.116
devtool reset arrowkey-mod
After that, don't forgett to remove /home/yocto/oe-core/build/workspace in bblayers.comf
Problems