eGuiEval Code
Status: Alpha
Brought to you by:
mgdev
File | Date | Author | Commit |
---|---|---|---|
configure | 2009-04-22 | mgdev | [r2] initial commit |
envs | 2009-04-22 | mgdev | [r2] initial commit |
patches | 2009-04-22 | mgdev | [r2] initial commit |
special_install | 2009-04-22 | mgdev | [r2] initial commit |
LICENSE | 2009-04-22 | mgdev | [r2] initial commit |
README | 2009-04-22 | mgdev | [r2] initial commit |
eGuiEval.sh | 2009-04-22 | mgdev | [r2] initial commit |
prepare_la_files.sh | 2009-04-22 | mgdev | [r2] initial commit |
EDIT following files: configure/all.conf // --host=... patches/glib-2.16.5.patch // use glib-target-test-tool on target to get the necessary values for the variables envs/... // ELDK_ROOT_FS (==INSTALL_ROOT_PATH) // CROSS_COMPILE // ARCH // PREFIX After changing the PREFIX, pleas delete tmp/src/* LIBS on the build system: build-essential autoconf2.13 automake1.10 autotools-dev m4 libtool xtrans-dev ncurses-dev xserver-xorg-dev xutils-dev check gtk-doc-tools libglib2.0-dev libgtk2.0-dev pkg-config-0.23 with patch from: http://lists.freedesktop.org/archives/pkg-config/attachments/20080122/424351fe/attachment.ksh ------------------------------------------------------------------------------- INSTALL Make sure your Kernel is linked to ${ELDK_ROOT_FS}/usr/src/linux !!! source envs/<my_env>.sh GTK+ with DirectFB Backend ./eGuiEval.sh --build-directfb --build-directfb-gtk GTK with X11 Backend ./eGuiEval.sh --build-x --build-matchbox --build-x-gtk ------------------------------------------------------------------------------- HELP: buildpkgs.txt (created after eGuiEval.sh was executed) shows which packages will be build. After an error resume building with option "--startwith <full-pkg-name-without-tar-gz-extension>". ------------------------------------------------------------------------------- QEMU with arm: ELDK (arm) 4.1: Install nfs-kernel-server. Put your ${ELDK_ROOT_FS} into /etc/exports e.g.: /opt/eldk-arm-4.1/arm 127.0.0.1(rw,no_root_squash,sync,insecure) Restart NFS-Server. Build your Kernel (e.g. 2.6.26.5): make versatile_defconfig Add CMDLINE for qemu to your .config: CONFIG_CMDLINE="ide0=0x1f0,0x3f6,13 ide1=0x170,0x376,13 netdev=9,0x300,eth0 console=tty0 ip=10.0.2.15:10.0.2.2:255.0.0.0:arm-qemu root=nfs rw nfsroot=10.0.2.2:/opt/eldk-arm-4.1/arm" Start your qemu: qemu-system-arm -M versatileab -m 128 -kernel zImage-arm -redir tcp:5555::23 Now you can connect to your qemu telnet with: telent localhost 5555 ------------------------------------------------------------------------------- Qt for Embedded Linux (4.4.1) ./configure -embedded arm -little-endian -no-webkit make INSTALL_ROOT=${ELDK_ROOT_FS} make install Example for starting an application on the target: ./styledemo -qws -display :0.0 ------------------------------------------------------------------------------- FAQ: gtk-demo Q: (#) DirectFBError [gdk_display_open: GetDisplayLayer]: Requested ID not found! A: Install (directfb-)keyboard-module (--with-inputdrivers=keyboard) Q: command not found: "no" A: Install ligtk2.0-dev on your build system. Q: Mouse does not work A: Make sure your device entries exist (/dev/input/event*). Create with e.g.: mknod /dev/input/event0 c 13 64 libXt-1.0.4: Q: Error: /bin/sh ../libtool --mode=link gcc -g -O2 ... libtool: link: unable to infer tagged configuration libtool: link: specify a tag with `--tag' make[2]: *** [makestrs] Fehler 1 A: Check your automake symlink. Use automake-1.10 instead of automake-1.7 Q: Missing linux/linux.h A: Link ${ELDK_ROOT_FS}/usr/src/linux to your working/configured kernel. Q: Problems with asm-generic e.g. asm-generic/int-ll64.h (with arm) - maybe ELDK-4.1 only problem. A: Remove ${ELDK_ROOT_FS}/usr/include/asm-generic and link it to your working/configured kernel! ------------------------------------------------------------------------------- TODO: Add xext to gdk-x11-2.0.pc