Embedding/IPCLiteAPI BeagleBoard: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 47: Line 47:
ln -s /usr/share/pkg-config-crosswrapper arm-linux-gnueabi-pkg-config
ln -s /usr/share/pkg-config-crosswrapper arm-linux-gnueabi-pkg-config


</pre>
Prepare Mozilla source tree with Embedding IPC patches and HONK (plain linux port)
Clone mozilla repository + patch queue (for IPC Embedding), better to create some folder like /build
<pre>
mkdir /build
cd /build
hg clone http://hg.mozilla.org/mozilla-central
cd mozilla-central
hg clone http://hg.mozilla.org/users/romaxa_gmail.com/embedipc_queue .hg/patches
hg update `cat .hg/patches/changeset`
hg qpush -a
</pre>
Mozilla toolkit-Xlib-less HONK port, b2g, for rendering into Framebuffer
<pre>
# Install main Mozilla B2G Honk port base dependencies
# Install main Mozilla B2G Honk port base dependencies
apt-get install libfreetype6-dev:armel libfontconfig1-dev:armel libasound-dev:armel libudev-dev:armel
apt-get install libfreetype6-dev:armel libfontconfig1-dev:armel libasound-dev:armel libudev-dev:armel
Line 54: Line 73:
MOZCONFIG=$(pwd)/.hg/patches/mozconfig.cross.oneiric-honk make -f client.mk build_all
MOZCONFIG=$(pwd)/.hg/patches/mozconfig.cross.oneiric-honk make -f client.mk build_all


To launch b2g clone and copy https://github.com/andreasgal/gaia to your local PC apache /var/www folder or put it into device /var/www folder
Copy b2g stub to device
cp -rfL obj-build-linaro-honk/dist/bin ./b2g-build
arm-linux-gnueabi-strip ./b2g-build/*
scp -r ./b2g-build/ root@device-ip:/opt
on device:
cd /opt/b2g-build
B2G_HOMESCREEN=http://server[local-server]/gaia/homescreen.html ./b2g
</pre>
</pre>


Line 80: Line 107:
cp /tmp/rcc /usr/bin/rcc
cp /tmp/rcc /usr/bin/rcc
cp /tmp/uic-qt4 /usr/bin/uic-qt4
cp /tmp/uic-qt4 /usr/bin/uic-qt4
# Clone mozilla repository + patch queue (for IPC Embedding), better to create some folder like /build
mkdir /build
cd /build
hg clone http://hg.mozilla.org/mozilla-central
cd mozilla-central
hg clone http://hg.mozilla.org/users/romaxa_gmail.com/embedipc_queue .hg/patches
hg update `cat .hg/patches/changeset`
hg qpush -a


# Create mozconfig
# Create mozconfig
Confirmed users
180

edits

Navigation menu