Digi 9P 9360/9750 manual Nano-X/microwindows, Embedded Qt

Page 37

A p p l i c a t i o n D e v e l o p m e n t

Nano-X/microwindows

Nano-X makes it possible to write applications using the framebuffer with an API similar to Xlib. There are two demo applications. To use either you must start with the nano-X server.

#nano-X &

and then the application.

#nanox_bar &

On targets with small flash, nano-X is disabled by default. You may pass

“--enable nano-X” to configure, despite the flash size, but you risk overwriting the rootfs on the target.

For further details see http://www.microwindows.org/

Embedded Qt

Embedded Qt is a small variant from the Troll Tech Cross Platform GUI toolkit. A demo is included. To start the demo enter the following:

#qthello -qws

On targets with small flash, Qt is disabled by default. You may pass “--enable qt” to configure, despite the flash size, but you risk overwriting the rootfs on the target.

For further information see http://www.trolltech.com/products/qt3/embedded/

3 7

Image 37
Contents LxNETES User’s Guide ConnectCore 9P 9360/9750 Page Page Page Contents Building the First Project Interfaces & Devices Appendix B Overview IntroductionCross-development environment Template project Linux kernel sourcesExample applications General features FeaturesWhat’s new in LxNETES 3.2? RTC Gpio This is a tip. It contains useful information about a topic Conventions used in this manualAcronyms and abbreviations System Requirements/Prerequisites RequirementsSystem requirements Optional but recommended components Disk spaceTftp daemon Applications & ServicesNFS server JTAG-Booster N E T E S U s e r ’ s G u i d e Getting Started Connecting host PC with development boardIntroduction Seyon MinicomSeyon Settings Connect powerTest Ethernet configuration # ifconfig eth0 Installing LxNETESGuided Installation Manual Installation N u a l Installation Run configure Building the Default ProjectBuilding the First Project Run make Run make installWriting applications Application DevelopmentAdding your own applications Included example applications Using C++Display Proc/cpuinfo contents Debugging applications Choose the right architecture for your target Shell applications busybox Included pre-built applicationsTelnet daemon utelnetd Web server BoaEmbedded Qt Nano-X/microwindowsMem Useful applicationsKernel Development What is a kernel module?Writing kernel modules Writing your own kernel modulesBuilding and loading of kernel modules Add the module to the build environmentIncluded Kernel modules Minimal Advanced Topics Modifying the default projectD i f y i n g t h e d e Fault p r o j e c t Building a custom project Boot Boot processIntroduction Bank # 0 00000000 32 MB ConnectCore 9P 9360/9750NAND-Flash Linux boot methodsUSB NOR FlashMMU Linux boot processV a n c e d T o p i c s Automating the image download Passing arguments to the kernelUpdating the Flash memory Updating a running system manually Updating a running system the easy wayErase the Flash partition Download the new image file to RAMWrite the image to Flash Kernel BootRoot File System Updating a corrupted system using a debugger Root File System Types Download the kernel to RAM via Tftp Set bootargs to be passed to the kernelLaunch the kernel from RAM JFFS2 Copy the kernel to RAM O t F i l e S y s t e m T y p e s N E T E S U s e r ’ s G u i d e Serial interface Interfaces & DevicesI2C interface USB host interfaceSPI interface LCD interfaceCompact flash interface How to set the initial system date and timeSD card interface Real time clock RTCPCI interface Appendix a CD contentsRelated documentation Readme.txt Install.shRelNotes.txt Docs ImagesConnectCore 9P 9360 CC9P9360 SetupConnectCore 9P 9750 CC9P9750 HardwareFlash memory layout Memory layoutsConnectCore 9P 9360 / ConnectCore 9P Sdram memory layoutTextbase N E T E S U s e r ’ s G u i d e Appendix B Boot command referenceO o t c o m m a n d r e f e r e n c e Skipped CC9C CCXP270 UNC90 Example A9M24x0 User keys