Join Today
+ Reply to Thread
Results 1 to 6 of 6

Thread: X on e680/i

  1. #1

    Default X on e680/i

    Using cyph's modified qte libs and opieproxy we can get X/Qt (a qt-based X server) to work essentially on top of opie. The only place I could find the source code was from the Japanese sourceforge page, but compiling is a royal pain in the butt.

    I am trying to compile the apps (e.g. twm, xmms, xterm, etc) because it looks like most are available pre-built but were compiled w/o the softfloat option and return "illegal instruction" errors. If I can get things stable and some interesting apps running I will try to generate an extended opie_X.cramfs using cyph's opie.cramfs as a starting point and adding the necessary libs and apps.
    Attached Thumbnails Attached Thumbnails X on e680/i-fb0_x.png  

  2. #2
    Join Date
    May 2005
    Location
    Germany, Hannover
    Posts
    289

    Default Re: X on e680/i

    great work rpconnect!

    a running xmms on phone would be really cool

    good luck!

  3. #3

    Default Re: X on e680/i

    Nice... reminds me of 5 years ago when I first got X running on my Pentium I. Oh the memories....

    You know... actually. I was thinking. It will be even more efficient to get X running on the framebuffer directly. Instead of making it talk from ezx->opieproxy->opie->X we can shorten it to ezx->opieproxy(modified to become x11proxy perhaps)->X

  4. #4
    Join Date
    May 2005
    Location
    Germany, Hannover
    Posts
    289

    Default Re: X on e680/i

    but then we can not run opie at the same time?

  5. #5

    Default Re: X on e680/i

    Quote Originally Posted by cyph
    Nice... reminds me of 5 years ago when I first got X running on my Pentium I. Oh the memories....
    that is exactly the feeling i got when the X server first came up!

    Quote Originally Posted by cyph
    You know... actually. I was thinking. It will be even more efficient to get X running on the framebuffer directly. Instead of making it talk from ezx->opieproxy->opie->X we can shorten it to ezx->opieproxy(modified to become x11proxy perhaps)->X
    I think that the ezx->opieproxy->X should work, its just a matter of modifying the .sh scripts that come w/ your package. all we really need is a good way for X to get touchscreen and button input w/o the ezx stuff grabbing it first, and your opieproxy is ideal for that.

    Currently I am running it under / with opie for two reasons: 1) I am just testing things out right now and i'm kind of lazy, and 2) the X stuff that I have working right now doesn't have any keyboard input so by having opie running we can use the opie keyboard.

  6. #6

    Default Re: X on e680/i

    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).


 
+ Reply to Thread

Similar Threads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1