This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: First try eCos port for uGFX


Hello Andrew,

2014-07-04 0:52 GMT+02:00 Andrew Hannam <andrewh@inmarket.com.au>:
> Hi Jerzy,
>
> Thanks for your assistance with this. Please feel free to message me directly any questions you have.

> Hopefully I have already completed the eCos framebuffer interface for you.
Thank you. Regarding porting to eCos : SUCCESS.
Now I'm able to run few demos under eCos synthetic fremabuffer.
There are 2 or 3 very small fix to add like :
diff --git a/boards/addons/gdisp/board_framebuffer_eCos.h
b/boards/addons/gdisp/board_framebuffer_eCos.h
index 80c9147..e8e4613 100644
--- a/boards/addons/gdisp/board_framebuffer_eCos.h
+++ b/boards/addons/gdisp/board_framebuffer_eCos.h
@@ -28,7 +28,7 @@

        // SET THIS HERE!!!
        // This must also match the pixel format above
-       #define FRAMEBUF                640x480x16
+       #define FRAMEBUF                fb0

        static void board_init(GDisplay *g, fbInfo *fbi) {
                // Initialize the frame buffer device - we assume
everything is going to succeed.

and uGFX works under eCos as a application.


>If you want a Linux frame-buffer type interface have a look in the "boards/base/Linux-framebuffer" directory for the board_framebuffer.h in there.
I asked about Linux frame-buffer because initially I had a problem
with dependencies. After I had used Linux Makefile I manage to build.

Now is the question how you would like to provide uGFX :
1) as a application in eCos meaning
2) or add to tree as a eCos package?

Best regards,
jerzy

> -----Original Message-----
> From: Jerzy Dyrda [mailto:jerzdy@gmail.com]
> Sent: Friday, 4 July 2014 8:26 AM
> To: Andrew Hannam
> Cc: eCos Discussion
> Subject: Re: [ECOS] First try eCos port for uGFX
>
> Hello Andrew,
>
> 2014-07-02 4:23 GMT+02:00 Andrew Hannam <andrewh@inmarket.com.au>:
>> I have implemented a first attempt at an eCos port for uGFX.
> Thank you.
>
> [snip]
>
>> If no-one is able to take it up, I hope in the next few weeks I will
>> be able to get back to it.
> I was mostly interested in thus I feel obligated to contribute.
> Initially I would like add similar structure compering to Linux_framebuffer.
> In eCos nomenclature it means uGFX wit ones of demos will be treated as application and linked against eCos tree.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]