On 9/7/20 11:22 AM, Christian Mauderer wrote: > Hello Karel, > > note that rtems-littlevgl is still quite new and most likely _only_ used > on BBB and (with an external display driver) on the imx. I don't think > anyone tried it on pc686.
Yes, I'm kind of aware of that. > On 07/09/2020 11:06, Karel Gardas wrote: >> >> Hello, >> >> I'm trying to compile rtems-littlevgl on pc686 BSP from RTEMS 5.1 >> release built with RSB -- hence with libbsd compiled in. >> >> I'm hitting following compilation failure: >> >> ../../lv_drivers/indev/evdev.c:16:10: fatal error: dev/evdev/input.h: No >> such file or directory >> #include <dev/evdev/input.h> >> ^~~~~~~~~~~~~~~~~~~ >> compilation terminated. >> > > I checked the evdev/input.h. That one should definitively be there if > libbsd is installed. There is no condition for that file. Are you sure > that libbsd is compiled and installed correctly? To check that please > make sure that "libbsd.a" in the $PREFIX/i386-rtems5/pc686/lib directory > exists. $ ls -la sfw/rtems/5.1/i386-rtems5/pc686/lib/libbsd.a -rw-r--r-- 1 karel karel 104094278 Aug 31 19:57 sfw/rtems/5.1/i386-rtems5/pc686/lib/libbsd.a karel@silence:~$ find sfw/rtems/5.1 -name 'input.h' karel@silence:~$ so looks like libbsd for BBB and for pc686 is really a bit different. >> when I disable USE_BSD_EVDEV in build/i386-rtems5-pc686/lv_drv_conf.h I >> hit following error: >> >> ../../lv_drivers/display/fbdev.c:23:10: fatal error: sys/consio.h: No >> such file or directory >> #include <sys/consio.h> >> ^~~~~~~~~~~~~~ >> compilation terminated. >> > > Do you need the input devices? Or the libbsd framebuffer? Or only one of > them? I'm just playing with RTEMS stuff on PC. The hope is to get grab of the platform in order to create some nice demo in Haskell -- which port is slowly progressing. So yes, first framebuffer output would be nice to have and then including input devices. Testing on PCs, notebooks with their keyboards and touchpads/trackpoints and desktop PC with USB keyboard/mouse and if that's not supported well, then even with PS/2 keyboard/mouse. > There is an option to compile without drivers in case you have a custom > display connected. I'm hoping in standard VESA framebuffer on pc686 BSP to work well for this. Thanks, Karel _______________________________________________ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users