Is there any framebuffer testcases?

Pavel Pisa ppisa4lists at pikron.com
Mon Apr 4 13:25:06 UTC 2016


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



More information about the users mailing list