Is there any framebuffer testcases?

Peng Fan van.freenix at gmail.com
Wed Apr 6 13:09:53 UTC 2016


Hi Pavel,

On Tue, Apr 05, 2016 at 08:48:00PM +0800, Peng Fan wrote:
>Hi Pavel,
>
>On Mon, Apr 04, 2016 at 03:25:06PM +0200, Pavel Pisa wrote:
>>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.

The latest rtems-source-builder master branch does not support
4.11/graphics/graphics-all.bset.

I reverted to earlier commit 08aa888205798b3416d24544fd06613fd683bb1e.

I use rtems 4.12 toolchain.

Met the following error:

../source-builder/sb-set-builder --log=l-g.txt  --prefix=/home/Freenix/development/rtems/4.12 --rtems-bsp=arm/raspberrypi --rtems-version=4.11 --pkg-tar-files 4.11/graphics/graphics-all.bset 
RTEMS Source Builder - Set Builder, 4.12 (08aa88820579)
warning: exe: absolute exe found in path: (__chown) /usr/sbin/chown
Build Set: 4.11/graphics/graphics-all.bset
Build Set: 4.11/graphics/libjpeg.bset
config: graphics/libjpeg-9a-1.cfg
internal error: pkgconfig failure
Internal Build FAILED
Build Set: Time 0:00:00.008556
Build Set: Time 0:00:00.009682
Internal Build FAILED

Any ideas?

>>
>>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
>
>Thanks for you kindly help. I'll try on my i.MX6UL board.
>
>Thanks,
>Peng.
>
>>
>>Best wishes,
>>
>>             Pavel


More information about the users mailing list