Note, I had in mind to write a longer tutorial but due to Miracast Sink for Tizen priority it was postponed. Anyway let me share some info to community who dare to port they favorite OS (Tizen?) to this platform.
WAYLAND AND OPENGL
First, there is no GPU on this board, but you can try to use a software opengl implementation of Mesa3d's gallium (swrast), don't expect lightspeed but at least you can display frames. Check this video demo of OpenGL support in wayland :
QT5 : QTWAYLAND AND QML
Now let's see how behave Qt5 toolkit which can make use of virtual GPU for QML (declarative module) :
As you can see Qt5's QtQuick-2 is using 3D rendering and performance is weak, but 2D rendering is smooth using QtQuick-1. The other and better option is to use QtQuick2DRenderer's available under certain Qt licenses. If curious I may bring and show the device at Qt Contributors' Summit in Olso on 2015-06-06, find me also to talk about Qt for Tizensince I know members' project do not plan to be there.
BUILDING
Anyway, all setup tricks are shared into my repo, and you can rebuild it all from scratch using yocto. To setup your hardware just do those operations : Plug your board on USB port, short jumper : BOOT_DIS, press reset button, open jumper and then run those command it should build and flash, once finished press reset again and ssh server is ready to let you in if you have no display connected to it :
url="https://github.com/rzr/meta-sama5d4-xplained" branch="dizzy" basename=$(basename -- "$url") git clone "$url" -b "$branch" && make demo V=1 -C "${basename}"
It worked for me on dizzy branch (2015-04-29), since atmel released new version after I started this project, I'll tag a version, so double check is welcome.
HARDWARE PLATFORM
We mostly talked about graphics today, but this board has lot of I/O capabilities, to illustrate this watch previous demo made for Maison mix event in Rennes France (thank you JBM and DB from fablabfr), we'll may talk about this again later.
Now I have one question, do you know if there are power issue with 5v pin or USB ? I am asking because I fear mine is not working anymore... I need to investigate more on that this in annoying for using this atmel board as an/IoT SmartHome platform. Hope this is useful , now if you have any project related to this platform don't hesitate to contact us for sharing the effort, since we enjoyed working with it.
RESOURCES :
Before leaving here are some random resources to look for
- http://www.at91.com/linux4sam/bin/view/Linux4SAM/
- http://elinux.org/Atmel
- http://www.atmel.com/Images/Atmel-44005-32-bit-Cortex-A5-Microcontroller-SAMA5D4-Xplained-Ultra_User-Guide.pdf
- https://wiki.qt.io/QtWayland
- http://www.mesa3d.org/systems.html
Source: https://dockr.eurogiciel.fr/blogs/embedded/qtwayland-sama5d4-xplained/
Keywords: mesa, qtwayland, opengl, gl, qml, arm, atmel
How to build your Qt5, wayland, 3d, opengl image for sama5d4-xplained using yocto