well i've made some progress w/ the X apps, but I am still running into many problems that I am not sure how to fix. Currently I have some basic apps like twm, xterm, xlogo, etc. compiled but I am getting errors that I don't know what to do with. For example, wen I try to run xterm I get the following:
Code:
1 X Error of failed request: BadValue (integer parameter out of range for operation)
2 Major opcode of failed request: 53 (X_CreatePixmap)
3 Value in failed request: 0x20
4 Serial number of failed request: 15
5 Current serial number in output stream: 69
If anybody is interested in trying this out, and/or helping debugging it, I have a opie_X package available that I can share, but its about 29 MB and I do not know how to distribute it. PM me if you are interested. For reference, here is the README file that I have so far:
Code:
# opie_X_package_0.1:
# opie_X.cramfs contains all of the files from cyph's ezx-opie
# package along the following X apps (in X/bin/):
#
# Xqt (the qt-based X server), twm, xcalc, xclock, xconsole, xeyes,
# xlogo and xterm
#
# as well as all of the necessary libs (in X/lib) and some additional
# opie apps (in bin/). Note that most of the apps result in errors
# of some kind, however at this time I cannot figure out how to resolve the
# problems (it is not clear to me from the strace results what the problem
# might be, but I don't have any experience with this). Note that all apps
# and libs were compiled with the cross-compiler setup as part of
# leprechaun's opie guide so I don't think that there is a softfloat
# compatibility problem.
###########
# To use:
###########
#------------
# Copy files:
#------------
mv opie_X.cramfs /mmc/mmca1/opie/lib
# (the same location as the opie.cramfs image from cyph's package)
mv opiehome_files.tar.gz to /mmc/mmca1/opiehome
cd /mmc/mmca1/opiehome/
tar zxvf opiehome_files.tar.gz
# (this will provide some default files)
#----------------------------------------
# Modify /mmc/mmca1/opie/scripts/opie.sh:
#---------------------------------------
# replace opie.cramfs with opie_X.cramfs
#------------
# Start Xqt:
#------------
# Start opie using the opie.lin script. After Opie starts go to the
# Unsupported apps and you can click on the X icon to start Xqt along
# w/ xeyes and twm (see the bin/startX script for details
#################################
# To test some of the other apps:
#################################
# Set the following environment variables
export XQTROOT=$OPIEDIR/X
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$XQTROOT/lib
export PATH=$PATH:$XQTROOT/bin
export DISPLAY=":0.0"
export FONTCONFIG_PATH=$XQTROOT/etc/fonts
export ETCX11DIR=$XQTROOT/etc/X11
export LIBDIR=$XQTROOT/lib
Also, I have a source code package that I can share, but it needs to be cleaned up and documented a bit (right now its around 200 MB and I have had to hack some of the files from the standard OE/bitbake install to get it to work).