Skip to contentSkip to conversation

Microwindows on top of u-boot

U-Boot-Users himba 2 participants 2 messages Sep 22, 2004

lore
Share & tools
lore

himba

author
#0 lore raw

Hi,

Greg Haerr, author of Microwindows, stated that Microwindows can be run without using any OS. All it needs is C-like enviroment. Since u-boot has support for standalone C applications, would it be doable to run MW on top of u-boot?

U-boot initializes a lot of peripherials too, and they could be used directly in MW. I belive that for simple GUI apps (touch screen, keys, framebuffer), controling basic functionality, that would be sufficient. This would also speed things up - no need to wait for OS to load and start up, gaining approx. 7-15 seconds.

Has anyone tried this?

regards,
himba

#1 lore raw
Quoted 5 lines · In message <[email protected]> you wrote:

Greg Haerr, author of Microwindows, stated that Microwindows can be run without using any OS. All it needs is C-like enviroment. Since u-boot has support for standalone C applications, would it be doable to run MW on top of u-boot?

Yes, this should be possible, but you will have to deal with the fact that U-Boot itself is strictly single-tasking und usually uses polling drivers only. You may have to create your own drivers for things like keyboard and touch screen (probably interrupt-driven) which then can be used in your own event loop.

Quoted 2 lines

U-boot initializes a lot of peripherials too, and they could be used directly in MW. I belive that for simple GUI apps (touch screen, keys,

I doubt that they could be used directly; not unless you accept restrictions resulting from U-Boot's single-threadedness...

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
What is mind?  No matter.  What is matter?  Never mind.
                                      -- Thomas Hewitt Key, 1799-1875