Получил ответ от Freescale, скинули ссылки на недостающие файлы libXtst.spec и libXi.spec и архивы tar.bz2
Spec files :
http://cvs.savannah.gnu.org/viewvc/*checkout*/ltib/dist/lfs-5.1/libXtst/libXtst.spec?revision=1.1&root=ltib&pathrev=MAIN
http://cvs.savannah.gnu.org/viewvc/*checkout*/ltib/dist/lfs-5.1/libXi/libXi.spec?revision=1.1&root=ltib&pathrev=MAIN
Sources :
http://xorg.freedesktop.org/releases/individual/lib/По этой инструкции
http://boundarydevices.com/revisiting-ltib-on-i-mx5x-this-time-with-java/удалось собрать пакеты libXtst и libXi. Ошибка libXtst.so.6 пропала, но её место заняла другая:
Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server
using ':0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:115)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:259)
at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:102)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:81)
at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:122)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:259)
at java.awt.Toolkit$2.run(Toolkit.java:872)
at java.awt.Toolkit$2.run(Toolkit.java:865)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:864)
at java.awt.Toolkit.getEventQueue(Toolkit.java:1749)
at java.awt.EventQueue.invokeLater(EventQueue.java:1245)
at Main.GoTest.main(GoTest.java:63)
Пробовал DISPLAY поставить :0 и :0.0 и просто 0, но ничего не помогло.
При вводе Xfbdev или startx, получаю:
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/freescale:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
mxsfb_pan_display: var->xoffset 0, info->var.xoffset 0
mxsfb_check_var: xres 640, yres 480, bpp 16
get_matching_pentry: 480:640:16 vs 480:640:16
get_matching_pentry: 480:640:16 vs 480:640:16
mxsfb_pan_display: var->xoffset 0, info->var.xoffset 0
(EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/base
(EE) XKB: No components provided for device Virtual core keyboard