Build Your Own Lubuntu Img For Cubiescreen — ybmaker.org 1. prepare Ybmaker's host OS system is ubuntu64-12.04. if you use fedora or others, please repleace the right instruction.


1.1. tools

If you have install git, please ignore this step directly to 1.2. cubiescreen@ybmaker:~$ sudo apt-get update cubiescreen@ybmaker:~$ sudo apt-get install git

1.2. sd-card Please be sure sd-card storage is more than 2G byte.

2. download kernel ubuntu sdk and configure files 2.1. cd to work path, for example: cubiescreen@ybmaker:~$

2.2. download linux-kernel and building tools using git cubiescreen@ybmaker:~$ git clone https://github.com/linux-sunxi/linux-sunxi.git

2.3. download cubiescreen driver File cubiescreen.tar.gz include the drivers and configure files. cubiescreen@ybmaker:~$ wget http://ybmaker.org/wp-content/uploads/2014/09/ cubiescreen.tar.gz cubiescreen@ybmaker:~$ tar zxvf cubiescreen.tar.gz

2.4. install driver cp lcd and touch panel driver to kernel. cubiescreen@ybmaker:~$ input/touchscreen/ cubiescreen@ybmaker:~$ sunxi/disp/ cubiescreen@ybmaker:~$ sunxi/lcd/ cubiescreen@ybmaker:~$

cp cubiescreen/driver/touchscreen/* linux-sunxi/drivers/ cp cubiescreen/driver/video/disp/* linux-sunxi/drivers/video/ cp cubiescreen/driver/video/lcd/* linux-sunxi/drivers/video/ cp cubiescreen/driver/ctp.h linux-sunxi/include/linux/

2.5. update board configure file cubieboard2.fex is for cubieboard2 , while cubieboard.fex for cubieboard1. For A10(cubieboard1): cubiescreen@ybmaker:~$ cp cubiescreen/cubieboard.fex sunxi-boards/sys_config/a10/

For A20(cubieboard2): cubiescreen@ybmaker:~$ cp cubiescreen/cubieboard2.fex sunxi-boards/sys_config/a20/

2.6. update kernel configure For A10(cubieboard1): There is no need to modify the default kernel configure file . For A20(cubieboard2): cubiescreen@ybmaker:~$ cp cubiescreen/sun7i_defconfig linux-sunxi/arch/arm/configs/

2.7. download ubuntu SDK 13.04

2.7.1. download SDK Firstly please download the original ubuntu SDK tar file. cubiescreen@ybmaker:~$ wget http://releases.linaro.org/13.04/ubuntu/quantal-images/ alip/linaro-quantal-alip-20130422-342.tar.gz

Uncompress the ubuntu SDK tar file, we need to replace some SDK configure files to create the new customized ubuntu SDK. cubiescreen@ybmaker:~$ tar zxvf linaro-quantal-alip-20130422-342.tar.gz

File binary will be created.

2.7.2. alternative you also could download customized ubuntu SDK from ybmaker.org, then please go to step 3 to build ubuntu. cubiescreen@ybmaker:~$ wget http://ybmaker.org/…/

2.8. update SDK configure 2.8.1. update SDK configure cubiescreen@ybmaker:~$ cubiescreen@ybmaker:~$ cubiescreen@ybmaker:~$ cubiescreen@ybmaker:~$ X11/xorg.conf.d/ cubiescreen@ybmaker:~$ X11/xorg.conf.d/ cubiescreen@ybmaker:~$ bin/

cp cubiescreen/sdk_configure/sources.list binary/etc/apt/ cp cubiescreen/sdk_configure/lightdm.conf binary/etc/lightdm/ echo “ft5x_ts” >> binary/etc/modules cp cubiescreen/sdk_configure/10-evdev.conf binary/usr/share/ cp cubiescreen/sdk_configure/exynos.conf binary/usr/share/ cp cubiescreen/sdk_configure/xinput_calibrator binary/usr/

cubiescreen@ybmaker:~$ cp cubiescreen/sdk_configure/xinput_calibrator.1.gz binary/ usr/share/man/man1/

2.8.2. re-tar SDK cubiescreen@ybmaker:~$ tar zcvf ubuntu_sdk.tar.gz binary

3. build ubuntu sd-card img 3.1. configure

For A10(cubieboard1) cubiescreen@ybmaker:~$ ./configure cubieboard

For A20(cubieboard2) cubiescreen@ybmaker:~$ ./configure cubieboard2

3.2. build hw packet cubiescreen@ybmaker:~$ make

When finished, cubieboard2_hwpack.tar.bz2 will be created in folder output.

3.3. create sd-card img

First plug in your tf-card and identify the device of the card , if the card is connected via usb and the device may be recognized as /dev/sdx(please replace “sdx” with the real device index). For A10(cubieboard1) cubiescreen@ybmaker:~$ ./scripts/sunxi-media-create.sh /dev/sdb output/ ubuntucubieboard_hwpack.tar.xz ubuntu_sdk.tar.gz

For A20(cubieboard2) cubiescreen@ybmaker:~$ ./scripts/sunxi-media-create.sh /dev/sdb output/ ubuntucubieboard2_hwpack.tar.xz ubuntu_sdk.tar.gz

3.4. boot Now you should be able to unmount your sd-card filesystems, then boot your board, that's so easy!

4. QA

4.1. How to udpate img to card dd if=a20_ubuntu_cubiescreen.img if=/dev/sdx


Install Gursture Recognition For Cubiescreen — ybmaker.org 1. prepare If you will, you could install opens-client to copy files from any host to cubieboard, also you could use td-card or u-disk.First of all, be make sure cubieboard could connect to internet,Maybe you need to update DNS . Please replace the DNS. cubiescreen@ybmaker:~$ echo “nameserver 8.8.8.8” > /etc/resolv.conf cubiescreen@ybmaker:~$ service networking restart

1.1. update source If you will, you could install opens-client to copy files from any host to cubieboard, also you could use td-card or u-disk. cubiescreen@ybmaker:~$ sudo apt-get update cubiescreen@ybmaker:~$ sudo apt-get install openssh-client

1.2. install essential buid tools and libs
 cubiescreen@ybmaker:~$ sudo apt-get update cubiescreen@ybmaker:~$ sudo apt-get install build-essential cubiescreen@ybmaker:~$ sudo apt-get install -f libxft-dev libxpm-dev libxtst-dev \ pkg-config

2. xstroke installation 2.1. download xstroke

cubiescreen@ybmaker:~$ wget http://ybmaker.org/wp-content/uploads/2014/09/ xstroke.tar.gz cubiescreen@ybmaker:~$ tar xvf xstrike.tar.gz cubiescreen@ybmaker:~$ cd xstrike

2.2. uncompress and cd to xstroke cubiescreen@ybmaker:~$ tar xvf xstroke.tar.gz && cd xstroke-0.6

2.3. compile and install cubiescreen@ybmaker:~$ ./configure cubiescreen@ybmaker:~$ make cubiescreen@ybmaker:~$ make install

2.4. menu shortcut cubiescreen@ybmaker:~$ cd ~/xstrike cubiescreen@ybmaker:~$ sudo cp xstrokekill.desktop xstroke.desktop /usr/share/ applications/

xstrok.desktop is used to start xstroke and xstrokekill.desktop to kill xstroke. After installation, you will see these two shortcut in the start menu as following.

After starting xstrok, an icon will appear on the task bar at the right. You will need to click on this icon to enable gesture recognition.

2.5. addtion You could download all the source to host from ybmaker.org firstly, then copy to board .

Gursture Set — ybmaker.org

TouchScreen Calibrator — ybmaker.org 1. install xinput calibrator If you will,.First of all, please check whether you have installed input calibrator. If not , please install it. cubiescreen@ybmaker:~$ sudo apt-get install xinput_calibrator

2. xstroke installation

2.1. use input calibrator to determine the x and y co-ordinates cubiescreen@ybmaker:~$ ./xinput_calibrator

Use a stylus to tap the four registration point indicated in red on screen by the program.

2.2. note the results from input calibrator Use Make a note of the calibration data supplied by input calibrator, but ignore the instruction supplied regarding making the calibration permanent.

2.3. Update X11 evdev configuration Replace the xMin, xMax, yMin and yMax values with your values obtained in step 2.2. cubiescreen@ybmaker:~$ sudo gedit /usr/share/X11/xorg.conf.d/10-evdev.conf

Then replace calibration option settings.

3. Logout to restart X11 Maybe you need to get more than one group calibrate data to get precise xMin, xMax, yMin, yMax,then restart x11.

cubiescreen for ubuntu -

Build Your Own Lubuntu Img For Cubiescreen ... 3. build ubuntu sd-card img .... cubiescreen@ybmaker:~$ sudo cp xstrokekill.desktop xstroke.desktop /usr/share ...

289KB Sizes 19 Downloads 293 Views

Recommend Documents

Cubiescreen Android User's-Manual For Cubieboard - cubieboard.org
The document which described the perfect usage of Cubieboard and CubieScreen , using the. Allwinner of A10/A20 processor, relative to the earlier launch of ...

pdf writer for ubuntu
... a problem loading more pages. pdf writer for ubuntu. pdf writer for ubuntu. Open. Extract. Open with. Sign In. Main menu. Displaying pdf writer for ubuntu.

Ubuntu 9.10 post install guide. "Ubuntu 9.10 as it ... - Knightwise.com
Install a basic version of Ubuntu 9.10 using the livecd or the alternate installation method. ... sudo apt-get install ubuntu-restricted-extras community-themes ...

Ubuntu installation
Second, Ubuntu for PC is a multi-user system, whereas Ubuntu for phones currently is not. ... In the past the installer was also comparable to the setup for ​Wubi​ and ​Ubuntu for Android​. ...... Meeting notes 31 March 2010 (Mark / Michael).

ubuntu raspberry pi.pdf
ubuntu netbook. Remotelogin ubuntumatefor raspberry pi 2, with ssh and xrdp. Raspberry pi 2 b con ubuntu youtube. Xbmc 12.0 frodo stable. released. useit on ...

Ubuntu 14.04.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Ubuntu 14.04.

ubuntu pdf creator
File: Ubuntu pdf creator. Download now. Click here if your download doesn't start automatically. Page 1 of 1. ubuntu pdf creator. ubuntu pdf creator. Open.

Ubuntu Kung Fu - The-Eye.eu!
3. Show how Ubuntu can be fun. Along the way you'll pick up many skills that will make you a more ...... When the desktop appears remember that you're browsing the pseudo-file system created in RAM .... partition is also used to hold the RAM contents

ubuntu unlock pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. ubuntu unlock ...

Ubuntu Kung Fu
Throughout this process you'll be able to download updated PDFs from your ..... 192. 148. Use versions of Ubuntu that are entirely Free Software 193. 149. ...... want unhindered (like in, say, Windows XP) should be obvious: admin- istering the ......

ubuntu reader pdf
There was a problem loading more pages. ubuntu reader pdf. ubuntu reader pdf. Open. Extract. Open with. Sign In. Main menu. Displaying ubuntu reader pdf.

beyond compare for ubuntu 1204.pdf
Download. Connect more apps... Try one of the apps below to open or edit this item. beyond compare for ubuntu 1204.pdf. beyond compare for ubuntu 1204.pdf.

Ubuntu en VirtualBox.pdf
Sign in. Loading… Whoops! There was a problem loading more pages. Retrying... Whoops! There was a problem previewing this document. Retrying.

Shohoj Ubuntu Shikkha.pdf
Shohoj Ubuntu Shikkha.pdf. Shohoj Ubuntu Shikkha.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying Shohoj Ubuntu Shikkha.pdf. Page 1 of 101.

Ubuntu Kung Fu
ISBN-10: 1-934356-22-0. ISBN-13: ...... Digg.com social networking website. ... popular with the Digg.com crowd, but there was a more important rea- son.

pdf editor ubuntu free
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. pdf editor ...

man-103\ubuntu-install-packages.pdf
PDF Ebook : Virtualbox Install Ubuntu From Iso. 12. PDF Ebook : Ubuntu Manual ... PDF Ebook : How To Install Ubuntu On Oracle Vm Virtualbox. 15. PDF Ebook ...

Installing MAMBA in Ubuntu -
May 22, 2012 - This document is an helper for those of you who would like to use Mamba with Linux but who are newcomers (like me..) to Linux. Many friends ...