Missing Xlib for ARM board

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
I am still trying to figure out how to write to the LCD on an Embest SCB210-II.
Now I am trying to compile and Xlib tutorial program I downloaded.  But when I
do the compile, I get link errors because of missing libraries.  Here is the
program:

#include <X11/Xlib.h> // Every Xlib program must include this
#include <assert.h>   // I include this to test return values the lazy way
#include <unistd.h>   // So we got the profile for 10 seconds
#define NIL (0)       // A name for the void pointer

main()
{
    GC gc;
    int blackColor,whiteColor;
    Window w;
       Display *dpy = XOpenDisplay(NIL);
      blackColor = BlackPixel(dpy, DefaultScreen(dpy));
      whiteColor = WhitePixel(dpy, DefaultScreen(dpy));
      w = XCreateSimpleWindow(dpy, DefaultRootWindow(dpy), 0, 0,
                     200, 100, 0, blackColor, blackColor);
      XSelectInput(dpy, w, StructureNotifyMask);
      XMapWindow(dpy, w);

      gc = XCreateGC(dpy, w, 0, NIL);// Create a Graphics Context

      XSetForeground(dpy, gc, whiteColor);

       for(;;) {
        XEvent e;
        XNextEvent(dpy, &e);
        if (e.type == MapNotify)
          break;
      }
      XDrawLine(dpy, w, gc, 10, 60, 180, 20);
      XFlush(dpy);
      sleep(10);
}

 -----------------------------------------------------------------
Here are the errors:
/tmp/cckio3Hm.o: In function `main':
/tmp/cckio3Hm.o(.text+0x14): undefined reference to `XOpenDisplay'
/tmp/cckio3Hm.o(.text+0xf8): undefined reference to `XCreateSimpleWindow'
/tmp/cckio3Hm.o(.text+0x110): undefined reference to `XSelectInput'
/tmp/cckio3Hm.o(.text+0x11c): undefined reference to `XMapWindow'
/tmp/cckio3Hm.o(.text+0x130): undefined reference to `XCreateGC'
/tmp/cckio3Hm.o(.text+0x148): undefined reference to `XSetForeground'
/tmp/cckio3Hm.o(.text+0x158): undefined reference to `XNextEvent'
/tmp/cckio3Hm.o(.text+0x1a4): undefined reference to `XDrawLine'
/tmp/cckio3Hm.o(.text+0x1ac): undefined reference to `XFlush'
collect2: ld returned 1 exit status
make: *** [wer] Error 1

The arm gcc cross compiler supplied by Embest searches the
/usr/local/arm/2.95.3/.../inlcude directory for include files.  But there was no
Xlib.h in that path.  So I used the -I option to force it to look at
/usr/local/include where I have an Xlib from a desktop GTK+ installation.  Of
course I can't use the desktop libraries as well since my target is ARM and the
desktop libraries are for a Pentium.  So where should I look in my ARM files for
a library that will satisfy the linker errors?


Robert Scott
Ypsilanti, Michigan

Re: Missing Xlib for ARM board
Quoted text here. Click to load it

1. you have to add -L in addition to -I. This instructs the linker to
search for additional library.
2. I think you have to compile the full X sources (from X.org) using
your cross compiler to get libraries that match your ARM system. You
*could* successfully take libX11.so etc. from e.g. the Sharp Zaurus
but probability is low that it matches all other dependencies. Or, you
can look at Open Embedded.

-- hns

Re: Missing Xlib for ARM board

Quoted text here. Click to load it

Do you mean the source files at
http://xorg.freedesktop.org/archive/X11R7.3/src/? There are hundreds of files
there and it is not clear to me which ones I need to build Xlib.

Besides, at some point Xlib is going to have to depend on something I have here
that is unique to the specific board and Linux build that I have on this board.
I also have hundreds of source files from Embest.  Do you have any hints as to
what files and what functions those might be?


Robert Scott
Ypsilanti, Michigan

Re: Missing Xlib for ARM board
Quoted text here. Click to load it

You need a full cross compile environment to do so. This means a cross
toolchain, cross glibc and (most of) the X libs (also cross compiled). You
should try to get another build environment for your ARM that support all
these components.
If you know your hardware and how to handle kernels for it, you can try to
adapt one of our BSPs (for example
http://www.pengutronix.de/oselas/bsp/phytec/download/phyCORE-PXA270 /). It
offers all components you need and is hardware independent. Contact me if
you need help.

JB

Re: Missing Xlib for ARM board

Quoted text here. Click to load it

I don't understand how it could all be hardware independent.  The functionality
of Xlib has to be hardware dependent at the lowest level.  This Embest board has
certain address assignments for its peripherals.  What I am trying to determine
is where that connection is made (between the hardware-independent and the
hardware-specific).  What I am looking for is the equivalent of the BIOS on a
PC.

Regarding knowing my hardware, no I do not know it beyond what little
documentation is provided to me by Embest.  Somewhere in the vast collection of
files that they supplied must be the include files and libraries that will make
this connection.  I am not in a position to build the kernel from scratch.

Part of the problem is my unfamiliarity with embedded Linux.  I am used to
programming PICs without an OS, and Pocket PCs using MS tools.  I find this
whole open-source world a little disconcerting.  There is so much information
available that I can't sift through it all.  But thanks for your advice.  I will
try to follow up on it.


Robert Scott
Ypsilanti, Michigan

Re: Missing Xlib for ARM board

Quoted text here. Click to load it

Xlib is hardware independent. The X driver for the lowest level is hardware
dependent. Xlib and the hardware driver are two different layers.

Quoted text here. Click to load it

Should be defined in the BSP.
 
Quoted text here. Click to load it

One hardware dependent part is the Linux kernel itself. The second is the
Xorg driver. This is the main feature of the BSP (board support package)
All other parts are hardware independent. You are going to program against
Xlib (not against the Embest board).

Quoted text here. Click to load it

? How does your board currently boots? U-Boot?

Quoted text here. Click to load it

Without knowledge about the hardware you are going to do a hard job.

Quoted text here. Click to load it

Do you have a link for some files and information?

Quoted text here. Click to load it

NACK, its amazing! ;-)

JB

Re: Missing Xlib for ARM board


Quoted text here. Click to load it

And how do I recognize a Board Support Package?  I have a support CD that is
full of files and no guide as to what those files are for.


Quoted text here. Click to load it

That should not be a problem because the board comes with Linux pre-installed,
and I have no wish to modify the kernel.  It has a flash file system where I
intend to install my application.


Quoted text here. Click to load it

The boot process shows up on a serial port as a console.  Here is a capture of
that serial port:


VIVI version 0.1.4 ( snipped-for-privacy@localhost.localdomain) (gcc version 2.95.3 20010315
(release)) #0.1.4 Sun Jul 2 18:43:06 EDT 2006
MMU table base address = 0x33FBC000
Succeed memory mapping.
+---------------------------------------------+
| S3C2410X USB Downloader ver R1.11 SEP/03/02 |
+---------------------------------------------+
FCLK20%0MHz,DMA mode
USB: IN_ENDPOINT:1 OUT_ENDPOINT:3
FORMAT: <ADDR(DATA):4>+<SIZE(n+10):4>+<DATA:n>+<CS:2>
NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung K9D1208V0M)
Could not found stored vivi parameters. Use default vivi parameters.
Press Return to start the LINUX/Wince now, any other key for vivi
Copy linux kernel from 0x00050000 to 0x30008000, size = 0x00100000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: "noinitrd root=/dev/mtdblock/0 init=/linuxrc
console=ttyS0"
MACH_TYPE = 193
NOW, Booting Linux......
Uncompressing
Linux................................................................ done,
booting the kernel.
Linux version 2.4.18-rmk7-pxa1 ( snipped-for-privacy@localhost.localdomain) (gcc version 2.95.3
20010315 (release)) #1 Thu Nov 2 17:15:00 CST 2006
CPU: ARM/CIRRUS Arm920Tsid(wb) revision 0
Machine: Samsung-SMDK2410
Security risk: creating user accessible mapping for 0x08000000 at 0xe0000000
Security risk: creating user accessible mapping for 0x10000000 at 0xe0100000
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: noinitrd root=/dev/mtdblock/0 init=/linuxrc console=ttyS0
DEBUG: timer count 15626
Console: colour dummy device 80x30
Calibrating delay loop... 99.94 BogoMIPS
Memory: 64MB = 64MB total
Memory: 62360KB available (1545K code, 415K data, 144K init)
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
CPU clock = 200.000 Mhz, HCLK = 100.000 Mhz, PCLK = 50.000 Mhz
Initializing S3C2410 buffer pool for DMA workaround
S3C2410 USB Controller Core Initialized
USB Function Character Driver Interface - 0.5, (C) 2001, Extenex Corp.
usbctl: Opened for usb-char
usbctl: Started for usb-char
Starting kswapd
devfs: v1.10 (20020120) Richard Gooch ( snipped-for-privacy@atnf.csiro.au)
devfs: boot_options: 0x1
ttyS%d0 at I/O 0x50000000 (irq = 52) is a S3C2410
ttyS%d1 at I/O 0x50004000 (irq = 55) is a S3C2410
ttyS%d2 at I/O 0x50008000 (irq = 58) is a S3C2410
Samsung 320x240 LCD
Samsung 320x240 LCD
Console: switching to colour frame buffer device 40x30
Installed S3C2410 frame buffer
pty: 256 Unix98 ptys configured
leds initialized
touchpanel: installed
S3C2410 Real Time Clock Driver v0.1
block: 128 slots per queue, batch32%
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
eth0: cs8900 rev K(3.3 Volts) found at 0xd0000300
cs89x0 media RJ-45, IRQ 37
PPP generic driver version 2.4.1
Linux video capture interface: v1.00
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
UDA1341 audio driver initialized
NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung K9D1208V0M)
bon0: 00000000-00030000 (00030000) 00000000
bon1: 00030000-00130000 (00100000) 00000000
bon2: 00130000-03ffc000 (03ecc000) 00000000
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xe9000000, IRQ 26
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
port #1 suspened!
port #0 alived!
hub.c: 1 port detected
usb.c: registered new driver usblp
printer.c: v0.8:USB Printer Device Class driver
usb.c: registered new driver ov511
ov511.c: v1.48a for Linux 2.4 : OV511 USB Camera Driver
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
yaffs: dev is 7936 name is "1f:00"
VFS: Mounted root (yaffs filesystem).
Mounted devfs on /dev
Freeing init memory: 144K
Using /lib/mmcsd_core.o
Warning: loading mmcsd_core will taint the kernel: non-GPL license - Not GPL,
Proprietary License
  See http://www.tux.org/lkml/#export-tainted for information about tainted
modules
Using /lib/mmcsd_slot.o
Warning: loading mmcsd_slot willMtaint the kerneM: non-GPL licenCe - Not GPL,
Pr/prietary LicensS
  See http://Dww.tux.org/lkml #export-taintedSfor informationlabout tainted
modules
ot initialized
Using /lib/mmcsd_disk.o
Warning: loading mmcsd_disk will taint the kernel: non-GPL license - Not GPL,
Proprietary License
  See http://www.tux.org/lkml/#export-tainted for information about tainted
modules

Please press Enter to activate this console. [11/Jan/2031:15:58:15 +0000] boa:
server version Boa/0.94.13
[11/Jan/2031:15:58:15 +0000] boa: server built Feb 28 2004 at 21:47:23.
[11/Jan/2031:15:58:15 +0000] boa: starting server pid32%, port 80

[root@Embest /]$


Robert Scott
Ypsilanti, Michigan

Re: Missing Xlib for ARM board

Quoted text here. Click to load it

Bad.


All right. But if you clobber your filesystem while you test your
application you must find a way to restore it to a well known working
state.

Quoted text here. Click to load it

VIVI? Never heard of yet.

Quoted text here. Click to load it

Uhhh. Proprietary modules...

Quoted text here. Click to load it

Note: You are root at your system. You can do what you want to do and
destroying everything!

Take a look into the "files" in the proc/ directory. Their content tell you
many things about your system you should know (in the case you must recover
your system after a huge disaster).

JB


Re: Missing Xlib for ARM board

Quoted text here. Click to load it

That is provided for too.  I have an image of the pre-installed kernel and a
JTAG programmer to re-flash the initial file system from scratch if needed.

Quoted text here. Click to load it

Here is the proc/ directory:

[root@Embest /]$ cd proc
[root@Embest /proc]$ ls
1            5            devices      ioports      mounts       sys
2            6            driver       kcore        mtd          sysvipc
29           7            execdomains  kmsg         net          tty
3            8            fb           ksyms        partitions   uptime
32           bon          filesystems  loadavg      scsi         usb
34           bus          fs           locks        self         version
4            cmdline      ide          meminfo      slabinfo     video
40           cpu          interrupts   misc         stat         yaffs
44           cpuinfo      iomem        modules      swaps


Robert Scott
Ypsilanti, Michigan

Re: Missing Xlib for ARM board
Quoted text here. Click to load it
 A0% A0%swaps
Quoted text here. Click to load it

You could try a

find / -name libX11.* -print on your board. If it shows a file, you
are lucky and already have the binary X-lib. You can then copy it to
your host system where the cross-compiler runs and configure (-L) the
cross-linker to search for it.

If not, you still have to cross-compile X11 yourself, although the
Xlib itself is hardware independent, there are still dependencies with
the Linux sytem and the processor. E.g. does it use OABI or EABI?
Which byte-order? Which alignment for char in structs. All this is
(unfortunately different between different ARM based systems).

Then, you nedd an X server to run on your hardware. This is more
hardware dependent to get touchs screen events and control the frame
buffer. But if you find an Xlib on your system you probably will also
find an X-server (Xfbdev).

-- hns

Re: Missing Xlib for ARM board

Quoted text here. Click to load it

Guess I'm not lucky.  The "find" found nothing.  In fact there are no hits on
X*.* or x*.* either.  And I know I've got the syntax right because there are
hits on A*.*, for example.

If it is of any use, here is the results of find / -name lib*.*:

[root@Embest /]$ find / -name lib*.*
/opt/qtopia/plugins/fontfactories/libfreetypefactory.so.1.0
/opt/qtopia/plugins/fontfactories/libfreetypefactory.so.1
/opt/qtopia/plugins/fontfactories/libfreetypefactory.so
/opt/qtopia/plugins/fontfactories/libfreetypefactory.so.1.0.0
/opt/qtopia/plugins/inputmethods/libqunikeyboard.so.1.0
/opt/qtopia/plugins/inputmethods/libqunikeyboard.so.1
/opt/qtopia/plugins/inputmethods/libqunikeyboard.so
/opt/qtopia/plugins/inputmethods/libqunikeyboard.so.1.0.0
/opt/qtopia/plugins/inputmethods/libqhandwriting.so.1.0
/opt/qtopia/plugins/inputmethods/libqhandwriting.so.1
/opt/qtopia/plugins/inputmethods/libqhandwriting.so
/opt/qtopia/plugins/inputmethods/libqhandwriting.so.1.0.0
/opt/qtopia/plugins/inputmethods/libqkeyboard.so.1.0
/opt/qtopia/plugins/inputmethods/libqkeyboard.so.1
/opt/qtopia/plugins/inputmethods/libqkeyboard.so
/opt/qtopia/plugins/inputmethods/libqkeyboard.so.1.0.0
/opt/qtopia/plugins/inputmethods/libqpickboard.so.1.0
/opt/qtopia/plugins/inputmethods/libqpickboard.so.1
/opt/qtopia/plugins/inputmethods/libqpickboard.so
/opt/qtopia/plugins/inputmethods/libqpickboard.so.1.0.0
/opt/qtopia/plugins/applets/libirreceiverapplet.so.1.0
/opt/qtopia/plugins/applets/libirreceiverapplet.so.1
/opt/qtopia/plugins/applets/libirreceiverapplet.so
/opt/qtopia/plugins/applets/libirreceiverapplet.so.1.0.0
/opt/qtopia/plugins/applets/libnetmonapplet.so.1.0
/opt/qtopia/plugins/applets/libnetmonapplet.so.1
/opt/qtopia/plugins/applets/libnetmonapplet.so
/opt/qtopia/plugins/applets/libnetmonapplet.so.1.0.0
/opt/qtopia/plugins/applets/libclipboardapplet.so.1.0
/opt/qtopia/plugins/applets/libclipboardapplet.so.1
/opt/qtopia/plugins/applets/libclipboardapplet.so
/opt/qtopia/plugins/applets/libclipboardapplet.so.1.0.0
/opt/qtopia/plugins/applets/libclockapplet.so.1.0
/opt/qtopia/plugins/applets/libclockapplet.so.1
/opt/qtopia/plugins/applets/libclockapplet.so
/opt/qtopia/plugins/applets/libclockapplet.so.1.0.0
/opt/qtopia/plugins/applets/libvolumeapplet.so.1.0
/opt/qtopia/plugins/applets/libvolumeapplet.so.1
/opt/qtopia/plugins/applets/libvolumeapplet.so
/opt/qtopia/plugins/applets/libvolumeapplet.so.1.0.0
/opt/qtopia/plugins/applets/libbrightnessapplet.so.1.0
/opt/qtopia/plugins/applets/libbrightnessapplet.so.1
/opt/qtopia/plugins/applets/libbrightnessapplet.so
/opt/qtopia/plugins/applets/libbrightnessapplet.so.1.0.0
/opt/qtopia/plugins/applets/libbatteryapplet.so.1.0
/opt/qtopia/plugins/applets/libbatteryapplet.so.1
/opt/qtopia/plugins/applets/libbatteryapplet.so
/opt/qtopia/plugins/applets/libbatteryapplet.so.1.0.0
/opt/qtopia/plugins/applets/libcardmonapplet.so.1.0
/opt/qtopia/plugins/applets/libcardmonapplet.so.1
/opt/qtopia/plugins/applets/libcardmonapplet.so
/opt/qtopia/plugins/applets/libcardmonapplet.so.1.0.0
/opt/qtopia/plugins/styles/libflatstyle.so.1.0
/opt/qtopia/plugins/styles/libflatstyle.so.1
/opt/qtopia/plugins/styles/libflatstyle.so
/opt/qtopia/plugins/styles/libflatstyle.so.1.0.0
/opt/qtopia/plugins/styles/libfreshstyle.so.1.0
/opt/qtopia/plugins/styles/libfreshstyle.so.1
/opt/qtopia/plugins/styles/libfreshstyle.so
/opt/qtopia/plugins/styles/libfreshstyle.so.1.0.0
/opt/qtopia/plugins/network/liblan.so.1.0
/opt/qtopia/plugins/network/liblan.so.1
/opt/qtopia/plugins/network/liblan.so
/opt/qtopia/plugins/network/liblan.so.1.0.0
/opt/qtopia/plugins/network/libdialup.so.1.0
/opt/qtopia/plugins/network/libdialup.so.1
/opt/qtopia/plugins/network/libdialup.so
/opt/qtopia/plugins/network/libdialup.so.1.0.0
/opt/qtopia/plugins/codecs/libwavrecord.so.1.0
/opt/qtopia/plugins/codecs/libwavrecord.so.1
/opt/qtopia/plugins/codecs/libwavrecord.so
/opt/qtopia/plugins/codecs/libwavrecord.so.1.0.0
/opt/qtopia/plugins/codecs/libwavplugin.so.1.0
/opt/qtopia/plugins/codecs/libwavplugin.so.1
/opt/qtopia/plugins/codecs/libwavplugin.so
/opt/qtopia/plugins/codecs/libwavplugin.so.1.0.0
/opt/qtopia/plugins/codecs/libffmpegplugin.so.1.0
/opt/qtopia/plugins/codecs/libffmpegplugin.so.1
/opt/qtopia/plugins/codecs/libffmpegplugin.so
/opt/qtopia/plugins/codecs/libffmpegplugin.so.1.0.0
/opt/qtopia/plugins/decorations/libflat.so.1.0
/opt/qtopia/plugins/decorations/libflat.so.1
/opt/qtopia/plugins/decorations/libflat.so
/opt/qtopia/plugins/decorations/libflat.so.1.0.0
/opt/qtopia/plugins/decorations/libpolished.so.1.0
/opt/qtopia/plugins/decorations/libpolished.so.1
/opt/qtopia/plugins/decorations/libpolished.so
/opt/qtopia/plugins/decorations/libpolished.so.1.0.0
/opt/qtopia/plugins/application/libtoday.so.1.0
/opt/qtopia/plugins/application/libtoday.so.1
/opt/qtopia/plugins/application/libtoday.so
/opt/qtopia/plugins/application/libtoday.so.1.0.0
/opt/qtopia/plugins/application/libtodolist.so.1.0
/opt/qtopia/plugins/application/libtodolist.so.1
/opt/qtopia/plugins/application/libtodolist.so
/opt/qtopia/plugins/application/libtodolist.so.1.0.0
/opt/qtopia/plugins/application/libtextedit.so.1.0
/opt/qtopia/plugins/application/libtextedit.so.1
/opt/qtopia/plugins/application/libtextedit.so
/opt/qtopia/plugins/application/libtextedit.so.1.0.0
/opt/qtopia/plugins/application/libmediarecorder.so.1.0
/opt/qtopia/plugins/application/libmediarecorder.so.1
/opt/qtopia/plugins/application/libmediarecorder.so
/opt/qtopia/plugins/application/libmediarecorder.so.1.0.0
/opt/qtopia/plugins/application/libmpegplayer.so.1.0
/opt/qtopia/plugins/application/libmpegplayer.so.1
/opt/qtopia/plugins/application/libmpegplayer.so
/opt/qtopia/plugins/application/libmpegplayer.so.1.0.0
/opt/qtopia/plugins/application/libshowimg.so.1.0
/opt/qtopia/plugins/application/libshowimg.so.1
/opt/qtopia/plugins/application/libshowimg.so
/opt/qtopia/plugins/application/libshowimg.so.1.0.0
/opt/qtopia/plugins/application/libhelpbrowser.so.1.0
/opt/qtopia/plugins/application/libhelpbrowser.so.1
/opt/qtopia/plugins/application/libhelpbrowser.so
/opt/qtopia/plugins/application/libhelpbrowser.so.1.0.0
/opt/qtopia/plugins/application/libdatebook.so.1.0
/opt/qtopia/plugins/application/libdatebook.so.1
/opt/qtopia/plugins/application/libdatebook.so
/opt/qtopia/plugins/application/libdatebook.so.1.0.0
/opt/qtopia/plugins/application/libclock.so.1.0
/opt/qtopia/plugins/application/libclock.so.1
/opt/qtopia/plugins/application/libclock.so
/opt/qtopia/plugins/application/libclock.so.1.0.0
/opt/qtopia/plugins/application/libcalculator.so.1.0
/opt/qtopia/plugins/application/libcalculator.so.1
/opt/qtopia/plugins/application/libcalculator.so
/opt/qtopia/plugins/application/libcalculator.so.1.0.0
/opt/qtopia/plugins/application/libaddressbook.so.1.0
/opt/qtopia/plugins/application/libaddressbook.so.1
/opt/qtopia/plugins/application/libaddressbook.so
/opt/qtopia/plugins/application/libaddressbook.so.1.0.0
/opt/qtopia/plugins/imagecodecs/libnotepad.so.1.0
/opt/qtopia/plugins/imagecodecs/libnotepad.so.1
/opt/qtopia/plugins/imagecodecs/libnotepad.so
/opt/qtopia/plugins/imagecodecs/libnotepad.so.1.0.0
/opt/qtopia/plugins/today/libdatebookplugin.so.1.0
/opt/qtopia/plugins/today/libdatebookplugin.so.1
/opt/qtopia/plugins/today/libdatebookplugin.so
/opt/qtopia/plugins/today/libdatebookplugin.so.1.0.0
/opt/qtopia/plugins/today/libtodoplugin.so.1.0
/opt/qtopia/plugins/today/libtodoplugin.so.1
/opt/qtopia/plugins/today/libtodoplugin.so
/opt/qtopia/plugins/today/libtodoplugin.so.1.0.0
/opt/qtopia/plugins/textcodecs/libsimple8.so.1.0
/opt/qtopia/plugins/textcodecs/libsimple8.so.1
/opt/qtopia/plugins/textcodecs/libsimple8.so
/opt/qtopia/plugins/textcodecs/libsimple8.so.1.0.0
/opt/qtopia/plugins/textcodecs/libjp.so.1.0
/opt/qtopia/plugins/textcodecs/libjp.so.1
/opt/qtopia/plugins/textcodecs/libjp.so
/opt/qtopia/plugins/textcodecs/libjp.so.1.0.0
/opt/qtopia/plugins/obex/libqobex.so.1.0
/opt/qtopia/plugins/obex/libqobex.so.1
/opt/qtopia/plugins/obex/libqobex.so
/opt/qtopia/plugins/obex/libqobex.so.1.0.0
/opt/qtopia/plugins/calculator/libadvanced.so.1.0
/opt/qtopia/plugins/calculator/libadvanced.so.1
/opt/qtopia/plugins/calculator/libadvanced.so
/opt/qtopia/plugins/calculator/libadvanced.so.1.0.0
/opt/qtopia/plugins/calculator/libsimple.so.1.0
/opt/qtopia/plugins/calculator/libsimple.so.1
/opt/qtopia/plugins/calculator/libsimple.so
/opt/qtopia/plugins/calculator/libsimple.so.1.0.0
/opt/qtopia/pics/inline/library.png
/opt/qtopia/lib/libopenobex.so.0.9
/opt/qtopia/lib/libopenobex.so.0
/opt/qtopia/lib/libopenobex.so
/opt/qtopia/lib/libopenobex.so.0.9.8
/opt/qtopia/lib/libavcodec.so.1.0
/opt/qtopia/lib/libavcodec.so.1
/opt/qtopia/lib/libavcodec.so
/opt/qtopia/lib/libavcodec.so.1.0.0
/opt/qtopia/lib/libavformat.so.1.0
/opt/qtopia/lib/libavformat.so.1
/opt/qtopia/lib/libavformat.so
/opt/qtopia/lib/libavformat.so.1.0.0
/opt/qtopia/lib/libgsm.so.1.0
/opt/qtopia/lib/libgsm.so.1
/opt/qtopia/lib/libgsm.so
/opt/qtopia/lib/libgsm.so.1.0.0
/opt/qtopia/lib/libqtopiacalc.so.1.7
/opt/qtopia/lib/libqtopiacalc.so.1
/opt/qtopia/lib/libqtopiacalc.so
/opt/qtopia/lib/libqtopiacalc.so.1.7.0
/opt/qtopia/lib/libqpepim.so.1.6
/opt/qtopia/lib/libqpepim.so.1
/opt/qtopia/lib/libqpepim.so
/opt/qtopia/lib/libqpepim.so.1.6.2
/opt/qtopia/lib/libqtopia.so.1.6
/opt/qtopia/lib/libqtopia.so.1
/opt/qtopia/lib/libqtopia.so
/opt/qtopia/lib/libqtopia.so.1.6.2
/opt/qtopia/lib/libfreetype.so.6.0
/opt/qtopia/lib/libfreetype.so.6
/opt/qtopia/lib/libfreetype.so
/opt/qtopia/lib/libfreetype.so.6.0.1
/opt/qtopia/lib/libqpe.so.1.5
/opt/qtopia/lib/libqpe.so.1
/opt/qtopia/lib/libqpe.so
/opt/qtopia/lib/libqpe.so.1.5.2
/opt/qt/lib/libqte.so.2.3
/opt/qt/lib/libqte.so.2
/opt/qt/lib/libqte.so
/opt/qt/lib/libqte.so.2.3.7
/lib/libnss_dns.so.2
/lib/libnss_nis.so.2
/lib/libglib-1.2.so.0
/lib/libz.so.1
/lib/libwrap.so.0
/lib/libutil.so.1
/lib/libresolv.so.2
/lib/libpthread.so.0
/lib/libnss_files.so.2
/lib/libnsl.so.1
/lib/libm.so.6
/lib/libdl.so.2
/lib/libcrypt.so.1
/lib/libc.so.6

Robert Scott
Ypsilanti, Michigan

Re: Missing Xlib for ARM board

Quoted text here. Click to load it

QTOPIA sounds for embedded QT. And embedded QT is for framebuffer usage and
no X. To test your graphic you should try Trolltech's QT examples instead
of X examples. Welcome in the world of C++... ;-)

JB

Re: Missing Xlib for ARM board

Quoted text here. Click to load it

Casting my lot with QT means commiting to eventually paying for a commerial
development seat ($5000).  Besides, our application would use so little of QT,
it hardly seems worthwhile.  The application is an upgrade to an existing
68HC11-based oil-film measurement instrument.  The instrument has a 4 x 4
keypad, a 2-line text LCD, some general-purpose I/O to flash an ultraviolet
light source, and a SPI-connected A/D chip to read the photo detector.  Moving
from a 68HC11 to a Linux board will give us better connectivity with the outside
world (removable USB flash drive), and a slightly sexier display.  But there is
no mouse or other pointing device, no touchscreen, no dialog boxes, no graphic
pushbuttons, etc.  Xlib really would be a more appropriate level on which to
operate.


Robert Scott
Ypsilanti, Michigan

Re: Missing Xlib for ARM board

Quoted text here. Click to load it
outside
Quoted text here. Click to load it

So there is no real use for X anyway (unless you want to use remote X to
allow for a real GUI on a PC for your device). I think there are several
much lighter libraries that can help writing to the framebuffer.

-Michael

Re: Missing Xlib for ARM board
On Sat, 05 Jan 2008 17:05:18 +0100, Michael Schnell

Quoted text here. Click to load it
outside
Quoted text here. Click to load it
is
Quoted text here. Click to load it

Yes, that is exactly what I need.  I didn't know such things existed.  Where can
I find out about these lighter libraries for the framebuffer?


Robert Scott
Ypsilanti, Michigan

Re: Missing Xlib for ARM board
A minute of googeling brought up this: http://www.directfb.org /

But I'm sure there are a lot others...

-Michael

Re: Missing Xlib for ARM board
This link looks promising:

http://www.linuxdevices.com/articles/AT9202043619.html

-Michael

Re: Missing Xlib for ARM board
Quoted text here. Click to load it

Ah, it has Qt. You may then be lucky that X/Qt runs. It will then use
the hardware dependent drivers that Qt provides. It has been developed
for the Sharp Zaurus:

http://xqt.sourceforge.jp /

-- hns

Re: Missing Xlib for ARM board
Quoted text here. Click to load it

Ups, the file content is more interesting than the directory content. For
example "iomem" shows what physical hardware area is assigned to what kind
of hardware. "interrupts" shows what interrupts are used by what hardware.

JB.


Re: Missing Xlib for ARM board

Quoted text here. Click to load it

Yes, I see.  However that would only be of use to me if I were going to try to
write my own drivers for the hardware on this board, right?


Robert Scott
Ypsilanti, Michigan

Site Timeline