Is there any framebuffer testcases?

Peng Fan van.freenix at gmail.com
Fri Apr 8 05:46:44 UTC 2016


Hi Pavel,

I hacked rtems-source-builder to build graphics toolkit and commented out
libtiff and t1lib. As following:

#

# All RTEMS 4.12 Graphics Sets

#



%define rtems_version 4.12

%define rtems_arch arm

%include rtems-base.bset



graphics/libjpeg

graphics/libpng

#graphics/libtiff

#graphics/t1lib

graphics/nxlib

>From src/rtems/readme.rtems of microwindows, it says there are a few demos
under src/bin.
But i only see "convbdf  convbmp  makebmp".
Could you please point me where to find the demo?
I see a rtems_init.c file and it was compiled to rtems_init.o, But I have
no idea where is the demo.
Do I need to write a demo from scratch? Do you have reference code if need
to write a demo from my side?

Thanks,
Peng.

2016-04-04 21:25 GMT+08:00 Pavel Pisa <ppisa4lists at pikron.com>:

> Hello Peng Fan,
>
> On Sunday 03 of April 2016 19:21:19 Joel Sherrill wrote:
> > On Apr 3, 2016 9:17 AM, "Peng Fan" <van.freenix at gmail.com> wrote:
> > > Hi,
> > >
> > > I am porting RTEMS to i.MX6UL and trying to enable lcdif now. I wonder
> is
> >
> > there any simple framebuffer testcases?
> >
> > No. But there should be. This would be a nice submission.
> >
> > > Also in git.rtems.org, I can not find the graphic toolkit. Is the
> graphic
> >
> > toolkit not being maintained now?
>
> there is Microwindows build as part of RSB.
> Microwindows contains more test executables.
>
> It is not minimal or most easy to build as simple
> test probably. We usually used some minimal test
> to draw single line directly from graphic driver.
> We usually use "mdemo" or "malpha" to test
> Microwindows
>
> For Microwindows build from
>   git://git.rtems.org/rtems-source-builder.git
>
> I have used for i386 next commands for 4.11
>
> cd rtems
> ../source-builder/sb-set-builder \
>     --log=graphic-build-log.txt \
>     --prefix=/opt/rtems4.11 \
>     --rtems-bsp=i386/pc686 \
>     --with-rtems-bsp=pc686 \
>     --pkg-tar-files \
>     4.11/graphics/graphics-all.bset
>
> I have used the similar for RPi.
>
> RSB points to Micowindows from GSoC 2012 still
> but RTEMS support related changes have been
> integrated to Microwindows mainline
>
>   https://github.com/ghaerr/microwindows
>
> You do not want to bother with keyboard support for
> initial support. This is disable by
>  microwindows-0.93-dev-without-keyboard.diff
> added by Yang Qiao to RSB for his porting
>
> diff --git a/src/drivers/Objects.rules b/src/drivers/Objects.rules
> --- a/src/drivers/Objects.rules
> +++ b/src/drivers/Objects.rules
> @@ -253,8 +253,8 @@ MW_CORE_OBJS += $(MW_DIR_OBJ)/drivers/kbd_pipe.o
>  endif
>
>  ifeq ($(ARCH), RTEMS)
> -MW_CORE_OBJS += $(MW_DIR_OBJ)/drivers/kbd_rtems.o
> -MW_CORE_OBJS += $(MW_DIR_OBJ)/drivers/mou_rtems.o
> +MW_CORE_OBJS += $(MW_DIR_OBJ)/drivers/kbd_null.o
> +MW_CORE_OBJS += $(MW_DIR_OBJ)/drivers/mou_null.o
>  endif # RTEMS architecture
>
>  ifeq ($(LIRCKBD2), Y)
>
> Some pointers to RTEMS graphics related infomations can be found
> in wiki. Some should be moved to archive already and so updated
> as projects move in time
>
> https://devel.rtems.org/wiki/Projects/GraphicsToolkit
>
> Best wishes,
>
>              Pavel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20160408/0b4c2772/attachment-0002.html>


More information about the users mailing list