Host-based development with Xoo and Xephyr

From Openmoko

Revision as of 15:58, 12 June 2007 by JwxDif (Talk | contribs)

Jump to: navigation, search

carisoprodol online but wellbutrin order meridia free free ringtones xanax online mtv ringtones order fioricet free mp3 ringtones nextel ringtones cheap adipex cheap xanax free sagem ringtones cheap diazepam clonazepam online polyphonic ringtones carisoprodol online buy wellbutrin free kyocera ringtones cheap ativan cheap viagra buy lorazepam ultram online free kyocera ringtones order alprazolam alltel ringtones ambien online vicodin online free motorola ringtones sony ericsson ringtones free punk ringtones viagra online cheap phentermine xanax online buy ultram cheap valium free cingular ringtones buy adipex cyclobenzaprine online cheap propecia cheap tenuate cheap carisoprodol ultracet online cheap pharmacy online wwe ringtones cheap diazepam xenical online nokia ringtones free qwest ringtones zanaflex online cheap diazepam verizon ringtones free motorola ringtones lortab online prozac online ericsson ringtones ortho cyclobenzaprine online cheap celexa free free ringtones phentermine online free cool ringtones prozac online free qwest ringtones cialis online sprint ringtones cheap nexium real ringtones free sagem ringtones tracfone ringtones free nokia ringtones punk ringtones mp3 ringtones free sony ringtones buy ativan hgh free midi ringtones alltel ringtones cheap flexeril sony ericsson ringtones motorola ringtones vicodin online tracfone ringtones buy soma order levitra free motorola ringtones didrex online cheap sildenafil pharmacy online online cheap zoloft cheap hydrocodone sony ringtones cingular ringtones online viagra paxil online ambien online buy lortab hydrocodone online vigrx online cheap ativan buy hgh sildenafil online viagra online buy ortho nextel ringtones lisinopril online free funny ringtones free sony ericsson ringtones buy vicodin hydrocodone order ativan free mono ringtones online clonazepam online levitra sprint ringtones cialis online free sony ringtones order levitra cheap zanaflex but phentermine order celexa ultracet online wwe ringtones sharp ringtones buy norco soma ultracet online free cingular ringtones cheap adipex cheap xenical albuterol online cheap tenuate ortho online free music ringtones sagem ringtones lisinopril online meridia online propecia online vigrx online cheap diethylpropion albuterol online mp3 ringtones cheap meridia free free ringtones cheap ultram cheap soma cheap lortab sildenafil online nextel ringtones cheap lorazepam funny ringtones buy diethylpropion free ringtones funny ringtones free cingular ringtones soma online nokia ringtones clonazepam online cheap zyban clomid online buy prozac valium online lisinopril online cheap meridia buy tramadol sharp ringtones free midi ringtones cheap flexeril real ringtones cheap celexa zoloft online nextel ringtones free ericsson ringtones free music ringtones mtv ringtones order ultram valium online cheap viagra lorazepam online cheap cialis phentermine online buy nexium samsung ringtones norco online meridia online free sprint ringtones buy rivotril carisoprodol online carisoprodol online cyclobenzaprine online free qwest ringtones qwest ringtones cheap fioricet verizon ringtones punk ringtones hoodia online cheap pharmacy online tracfone ringtones online tramadol cheap rivotril cheap tramadol One of good ways to get started developing is getting rootfs working on host machine, since most of us doesn't have real hardware.

Xoo is a graphical wrapper around Xnest, the nested X server. You can make Xnest look like a particular device's display and set up buttons on that device. This is useful for embedded developers who want to simulate a target device on their desktop machine.

Please see Getting OpenMoko working on host with Xephyr which might contain more up-to-date information.

Contents

Getting rootfs

Use the Building OpenMoko using the MokoMakefile to get rootfs, just before make openmoko-devel-image run

# sed -i 's/fic-gta01/x86/' build/conf/local.conf

than just run make openmoko-devel-image. After a while(half of day) you should have in build/tmp/image/ file openmoko-devel-image-x86-$(DATE).rootfs.tar.gz mine is here [1].

Build issues

Please see this bug tracker issues if you have problems getting libelf compiled (do_stage fails).

Install Xoo on your host

For gentoo users run just

# emerge xoo

Debian/Ubuntu

# sudo apt-get install xoo xnest

For Fedora (package has been submitted to Fedora for approval, see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236297):

# ftp://ftp.xelerance.com/xoo/

for any other find a way how to do it in your distro.

Making X cooperate

  • Make sure your iptables do not prevent you from connecting to port 6000(x11) on localhost
  • Make sure your X is listening on port 6000(X11) on localhost (netstat is friend)
  • Enable conection from localhost
# xhost localhost

Preparing rootfs

  • Unpack rootfs file in any directory and cd to that dir.
  • Get dev files in rootfs
# sudo mount --bind /dev/ rootfs/dev/
  • Chroot to rootfs
# sudo chroot rootfs /bin/sh

Getting it up

In another term start xoo, good idea is to download [2] and run

# xoo --device neo1973.xml

In chrooted enviroment export display to connect to started xoo

# export DISPLAY=localhost:1.0

and start window manager.

# x-window-manager

By this time you should have matchbox running in Xoo window.

Personal tools

carisoprodol online but wellbutrin order meridia free free ringtones xanax online mtv ringtones order fioricet free mp3 ringtones nextel ringtones cheap adipex cheap xanax free sagem ringtones cheap diazepam clonazepam online polyphonic ringtones carisoprodol online buy wellbutrin free kyocera ringtones cheap ativan cheap viagra buy lorazepam ultram online free kyocera ringtones order alprazolam alltel ringtones ambien online vicodin online free motorola ringtones sony ericsson ringtones free punk ringtones viagra online cheap phentermine xanax online buy ultram cheap valium free cingular ringtones buy adipex cyclobenzaprine online cheap propecia cheap tenuate cheap carisoprodol ultracet online cheap pharmacy online wwe ringtones cheap diazepam xenical online nokia ringtones free qwest ringtones zanaflex online cheap diazepam verizon ringtones free motorola ringtones lortab online prozac online ericsson ringtones ortho cyclobenzaprine online cheap celexa free free ringtones phentermine online free cool ringtones prozac online free qwest ringtones cialis online sprint ringtones cheap nexium real ringtones free sagem ringtones tracfone ringtones free nokia ringtones punk ringtones mp3 ringtones free sony ringtones buy ativan hgh free midi ringtones alltel ringtones cheap flexeril sony ericsson ringtones motorola ringtones vicodin online tracfone ringtones buy soma order levitra free motorola ringtones didrex online cheap sildenafil pharmacy online online cheap zoloft cheap hydrocodone sony ringtones cingular ringtones online viagra paxil online ambien online buy lortab hydrocodone online vigrx online cheap ativan buy hgh sildenafil online viagra online buy ortho nextel ringtones lisinopril online free funny ringtones free sony ericsson ringtones buy vicodin hydrocodone order ativan free mono ringtones online clonazepam online levitra sprint ringtones cialis online free sony ringtones order levitra cheap zanaflex but phentermine order celexa ultracet online wwe ringtones sharp ringtones buy norco soma ultracet online free cingular ringtones cheap adipex cheap xenical albuterol online cheap tenuate ortho online free music ringtones sagem ringtones lisinopril online meridia online propecia online vigrx online cheap diethylpropion albuterol online mp3 ringtones cheap meridia free free ringtones cheap ultram cheap soma cheap lortab sildenafil online nextel ringtones cheap lorazepam funny ringtones buy diethylpropion free ringtones funny ringtones free cingular ringtones soma online nokia ringtones clonazepam online cheap zyban clomid online buy prozac valium online lisinopril online cheap meridia buy tramadol sharp ringtones free midi ringtones cheap flexeril real ringtones cheap celexa zoloft online nextel ringtones free ericsson ringtones free music ringtones mtv ringtones order ultram valium online cheap viagra lorazepam online cheap cialis phentermine online buy nexium samsung ringtones norco online meridia online free sprint ringtones buy rivotril carisoprodol online carisoprodol online cyclobenzaprine online free qwest ringtones qwest ringtones cheap fioricet verizon ringtones punk ringtones hoodia online cheap pharmacy online tracfone ringtones online tramadol cheap rivotril cheap tramadol One of good ways to get started developing is getting rootfs working on host machine, since most of us doesn't have real hardware.

Xoo is a graphical wrapper around Xnest, the nested X server. You can make Xnest look like a particular device's display and set up buttons on that device. This is useful for embedded developers who want to simulate a target device on their desktop machine.

Please see Getting OpenMoko working on host with Xephyr which might contain more up-to-date information.

Getting rootfs

Use the Building OpenMoko using the MokoMakefile to get rootfs, just before make openmoko-devel-image run

# sed -i 's/fic-gta01/x86/' build/conf/local.conf

than just run make openmoko-devel-image. After a while(half of day) you should have in build/tmp/image/ file openmoko-devel-image-x86-$(DATE).rootfs.tar.gz mine is here [1].

Build issues

Please see this bug tracker issues if you have problems getting libelf compiled (do_stage fails).

Install Xoo on your host

For gentoo users run just

# emerge xoo

Debian/Ubuntu

# sudo apt-get install xoo xnest

For Fedora (package has been submitted to Fedora for approval, see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236297):

# ftp://ftp.xelerance.com/xoo/

for any other find a way how to do it in your distro.

Making X cooperate

  • Make sure your iptables do not prevent you from connecting to port 6000(x11) on localhost
  • Make sure your X is listening on port 6000(X11) on localhost (netstat is friend)
  • Enable conection from localhost
# xhost localhost

Preparing rootfs

  • Unpack rootfs file in any directory and cd to that dir.
  • Get dev files in rootfs
# sudo mount --bind /dev/ rootfs/dev/
  • Chroot to rootfs
# sudo chroot rootfs /bin/sh

Getting it up

In another term start xoo, good idea is to download [2] and run

# xoo --device neo1973.xml

In chrooted enviroment export display to connect to started xoo

# export DISPLAY=localhost:1.0

and start window manager.

# x-window-manager

By this time you should have matchbox running in Xoo window.