OpenJFX on Freescale i.MX6----QT4.8.5 x11 base

OpenJFX on Freescale i.MX6
Attachments: • Added by David Hill, last edited by Daniel Blaukopf on Jul 24, 2014  (view change)
Labels
  • None

JavaFX works on i.MX6 platforms with 'hard float ABI" Linux distributions.

Each vendor usually supplies a sample distro that has been configured to work properly with the i.MX6 board they provide. See the notes below for known boards, and please help us by adding boards you have tested that are not present.

Start with JDK 8 for ARM. Unpack this into a known location like /opt. If you want to use the latest OpenJFX then you will need to build it.

OpenGL Accelerated Libraries (EGL)

The Vivante framebuffer specific divers must be present and properly configured. The EGL drivers are built to support a particular rendering target (X11, framebuffer, ....). This affects libEGL.so, libGAL.so and in some cases libVIVANTE.so. Sometimes the "alternate" version of the library is present in /usr/lib, as libEGL-fb.so for example.  This alternate version must either be:

  • copied to an alternate location (without the -fb) and used with LD_LIBRARY_PATH
  • used as the target for the /usr/lib/libEGL.so symbolic link

Yocto

Currently Yocto is supported on many i.MX6 based devices. The documented and tested mainline target (fsl-image-x11) builds for an X11 based image. There is work underway for a framebuffer based target (fsl-image-fb), but that is not currently on the Yocto mainline.

A framebuffer only image will need fonts installed and configured.

Note: currently there is an false dependency on libX11.so in the JDK8 preview. See the JIRA for more details and possible workarounds.

In a Yocto fsl-image-gui build, the framebuffer versions of the needed libraries are present in the build tree. Look for libEGL-fb.so and (libGAL-fb.so, libVivante-fb.so). Copy this to a directory in your working image removing the "-fb".

 

Boundary Devices

Yocto

The Yocto demonstration build has been show to work, with a bit of effort. The challenge is to obtain a "framebuffer" version of of the graphics libraries (libEGL.so,libGAL.so). Once you have those, stop X11, and use LD_LIBRARY_PATH to point to the overriding libraries.

/etc/init.d/xserver-nodm stop
export LD_LIBRARY_PATH="path to the framebuffer versions"
export PATH=$PATH:/opt/jdk1.8.0/bin

The above assumes you don't want to break the default X11 configuration quite yet.

(TODO find a proper link to the framebuffer versions of libEGL.so,libGAL.so)

Raring

The Raring build is known to work, though the cursor is not rendered properly. Note in this image, that you need to use all three versions of the framebuffer libraries (libEGL.so,libGAL.so, libVIVANTE.so)


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值