Difference between revisions of "AlcdcapeSoftware"
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
==Install Ubuntu== | ==Install Ubuntu== | ||
+ | ===Ubuntu 14.04.3 with kernel 4.1=== | ||
+ | Download ubuntu 14.04.3 with kernel 4.1 <br> | ||
+ | http://www.cembsoft.com/user/lcdCape/alcdCape/ubuntu/ubuntu-kernel4.1-03112015.img.gz <br> | ||
+ | You will need 4GB SD card.<br> | ||
+ | <pre> | ||
+ | gunzip ubuntu-kernel4.1-03112015.img.gz | ||
+ | sudo dd if=./ubuntu-kernel4.1-03112015.img of=/dev/sdX; sync | ||
+ | </pre> | ||
+ | |||
+ | This image comes with preinstalled tslib.<br> | ||
+ | <br> | ||
+ | User: ubuntu <br> | ||
+ | Password: temppwd <br> | ||
+ | |||
+ | tslib | ||
+ | <pre> | ||
+ | sudo su | ||
+ | ts_test | ||
+ | </pre> | ||
+ | |||
+ | This image should be booted with pressed BOOT button. | ||
+ | If you want to eliminate this - connect BBB as USB slave to PC and wait for boot. When it will recognized as USB disk - enter and rename file MLO to something else. It will enable boot from SD card only. | ||
+ | |||
+ | For graphic interface: | ||
+ | <pre> | ||
+ | sudo apt-get install lxde | ||
+ | </pre> | ||
+ | |||
+ | X11 should be changed to 24 bit for correct color display (change default color depth to 24) | ||
+ | <pre> | ||
+ | sudo nano /etc/X11/xorg.conf | ||
+ | </pre> | ||
===Ubuntu 14.04 with kernel 3.15=== | ===Ubuntu 14.04 with kernel 3.15=== | ||
Download ubuntu 14.04 with kernel 3.15 <br> | Download ubuntu 14.04 with kernel 3.15 <br> | ||
− | + | http://www.cembsoft.com/user/lcdCape/alcdCape/ubuntu/ubuntu-14.04-3.15-151114.img.gz <br> | |
− | http://www.cembsoft.com/user/lcdCape/ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
You will need 4GB SD card.<br> | You will need 4GB SD card.<br> | ||
<pre> | <pre> | ||
gunzip ubuntu-3.15-221014.img.gz | gunzip ubuntu-3.15-221014.img.gz | ||
− | sudo dd if=./ubuntu-14.04-3.15- | + | sudo dd if=./ubuntu-14.04-3.15-151114.img of=/dev/sdX; sync |
</pre> | </pre> | ||
Line 50: | Line 73: | ||
===Ubuntu 14.04 with kernel 3.8=== | ===Ubuntu 14.04 with kernel 3.8=== | ||
Download ubuntu 14.04 with kernel 3.8 from | Download ubuntu 14.04 with kernel 3.8 from | ||
− | http://www.cembsoft.com/user/lcdCape/ubuntu | + | http://www.cembsoft.com/user/lcdCape/alcdCape/ubuntu/ubuntu-14.04-3.8-151114.img.gz <br> |
You will need 4GB SD card.<br> | You will need 4GB SD card.<br> | ||
− | |||
<pre> | <pre> | ||
− | gunzip ubuntu-14.04-3.8- | + | gunzip ubuntu-14.04-3.8-151114.img.gz |
sudo dd if=./ubuntu-14.04-3.8-221014.img of=/dev/sdX; sync | sudo dd if=./ubuntu-14.04-3.8-221014.img of=/dev/sdX; sync | ||
</pre> | </pre> | ||
Line 81: | Line 103: | ||
===AOSP Android 4.4 with kernel 3.2=== | ===AOSP Android 4.4 with kernel 3.2=== | ||
Download android image from | Download android image from | ||
− | http://www.cembsoft.com/user/lcdCape/alcdCape/android/android-aosp-151114.img.gz<br> | + | http://www.cembsoft.com/user/lcdCape/alcdCape/android/android-aosp-4.4-151114.img.gz<br> |
You will need 16GB SD card.<br> | You will need 16GB SD card.<br> | ||
<pre> | <pre> | ||
− | gunzip android-aosp-151114.img.gz | + | gunzip android-aosp-4.4-151114.img.gz |
− | sudo dd if=./android-aosp-151114.img of=/dev/sdX; sync | + | sudo dd if=./android-aosp-4.4-151114.img of=/dev/sdX; sync |
</pre> | </pre> | ||
Install gapps as described [http://www.2net.co.uk/tutorial/android-4.4-beaglebone-gapps here] | Install gapps as described [http://www.2net.co.uk/tutorial/android-4.4-beaglebone-gapps here] | ||
Line 100: | Line 122: | ||
Patch it | Patch it | ||
<pre> | <pre> | ||
− | wget http://www.cembsoft.com/user/lcdCape/patches/ | + | wget http://www.cembsoft.com/user/lcdCape/alcdCape/patches/alcdcape_3.8.patch |
− | wget http://www.cembsoft.com/user/lcdCape/ | + | wget http://www.cembsoft.com/user/lcdCape/alcdCape/patches/alcdcape_touchscreen.patch |
− | + | patch -p1 < alcdcape_touchscreen.patch | |
− | patch -p1 < | + | patch -p1 < alcdcape_3.8.patch |
− | patch -p1 < | ||
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> | ||
+ | |||
Rebuild the kernel | Rebuild the kernel | ||
<pre> | <pre> | ||
Line 122: | Line 140: | ||
git checkout origin/am33x-v3.15 -b tmp | git checkout origin/am33x-v3.15 -b tmp | ||
./build_kernel.sh | ./build_kernel.sh | ||
− | wget http://www.cembsoft.com/user/lcdCape/patches/ | + | wget http://www.cembsoft.com/user/lcdCape/alcdCape/patches/alcdcape_3.15.patch |
− | wget http://www.cembsoft.com/user/lcdCape/patches/ | + | wget http://www.cembsoft.com/user/lcdCape/alcdCape/patches/alcdcape_touchscreen.patch |
− | patch -p1 < | + | patch -p1 < alcdcape_touchscreen.patch |
− | patch -p1 < | + | patch -p1 < alcdcape_3.15.patch |
</pre> | </pre> | ||
− | + | Rebuild the kernel | |
− | |||
<pre> | <pre> | ||
− | / | + | tools/rebuild.sh |
− | |||
− | |||
− | |||
</pre> | </pre> | ||
− | + | When it asks for kernel configuration - navigate to drivers - input - touchscreen and enable ft5x0x_ts driver | |
− | + | ===Kernel 4.1=== | |
+ | Download kernel source | ||
<pre> | <pre> | ||
− | + | git clone https://github.com/RobertCNelson/bb-kernel.git | |
− | // | + | cd bb-kernel/ |
− | + | git checkout origin/am33x-v4.1 -b tmp | |
+ | ./build_kernel.sh | ||
+ | wget http://www.cembsoft.com/user/lcdCape/alcdCape/patches/alcdcape-touchscreen-4.1.patch | ||
+ | patch -p1 < alcdcape-touchscreen-4.1.patch | ||
</pre> | </pre> | ||
Rebuild the kernel | Rebuild the kernel | ||
Line 146: | Line 164: | ||
tools/rebuild.sh | tools/rebuild.sh | ||
</pre> | </pre> | ||
− | When it asks for kernel configuration - navigate to drivers - input - touchscreen and enable ft5x0x_ts driver | + | When it asks for kernel configuration - navigate to drivers - input - touchscreen and enable ft5x0x_ts driver<br> |
+ | dts file can be found at<br> | ||
+ | http://www.cembsoft.com/user/lcdCape/alcdcape/BB-BONE-ALCDC-01-A0.dts <br> | ||
+ | uEnv.txt can be found at <br> | ||
+ | http://www.cembsoft.com/user/lcdCape/nh5cape/uEnv.txt | ||
===Rowboat android=== | ===Rowboat android=== | ||
Follow instructions from https://code.google.com/p/rowboat/wiki/JellybeanOnBeaglebone_WithSGX for download and build rowboat source<br> | Follow instructions from https://code.google.com/p/rowboat/wiki/JellybeanOnBeaglebone_WithSGX for download and build rowboat source<br> | ||
− | Download patch from http://www.cembsoft.com/user/lcdCape/patches | + | Download patch from http://www.cembsoft.com/user/lcdCape/alcdCape/patches/rowboat-android.patch<br> |
Copy patch to android source root folder<br> | Copy patch to android source root folder<br> | ||
Apply the patch | Apply the patch | ||
Line 158: | Line 180: | ||
Rebuild the kernel<br><br><br> | Rebuild the kernel<br><br><br> | ||
To go back to the alcdcape, please click [http://elinux.org/Alcdcape here] | To go back to the alcdcape, please click [http://elinux.org/Alcdcape here] | ||
+ | |||
+ | [[Category:BeagleBoard]] | ||
+ | [[Category:BeagleBoard Expansion Boards]] |
Latest revision as of 01:36, 3 November 2015
Install Ubuntu
Ubuntu 14.04.3 with kernel 4.1
Download ubuntu 14.04.3 with kernel 4.1
http://www.cembsoft.com/user/lcdCape/alcdCape/ubuntu/ubuntu-kernel4.1-03112015.img.gz
You will need 4GB SD card.
gunzip ubuntu-kernel4.1-03112015.img.gz sudo dd if=./ubuntu-kernel4.1-03112015.img of=/dev/sdX; sync
This image comes with preinstalled tslib.
User: ubuntu
Password: temppwd
tslib
sudo su ts_test
This image should be booted with pressed BOOT button. If you want to eliminate this - connect BBB as USB slave to PC and wait for boot. When it will recognized as USB disk - enter and rename file MLO to something else. It will enable boot from SD card only.
For graphic interface:
sudo apt-get install lxde
X11 should be changed to 24 bit for correct color display (change default color depth to 24)
sudo nano /etc/X11/xorg.conf
Ubuntu 14.04 with kernel 3.15
Download ubuntu 14.04 with kernel 3.15
http://www.cembsoft.com/user/lcdCape/alcdCape/ubuntu/ubuntu-14.04-3.15-151114.img.gz
You will need 4GB SD card.
gunzip ubuntu-3.15-221014.img.gz sudo dd if=./ubuntu-14.04-3.15-151114.img of=/dev/sdX; sync
This image comes with preinstalled tslib and SGX libraries.
User: ubuntu
Password: temppwd
tslib
sudo su ts_test
SGX demo
cd /opt/gfxsdkdemos/ogles2/ ./OGLES2ChameleonMan
This image should be booted with pressed BOOT button. If you want to eliminate this - connect BBB as USB slave to PC and wait for boot. When it will recognized as USB disk - enter and rename file MLO to something else. It will enable boot from SD card only.
For graphic interface:
sudo apt-get install lxde
X11 should be changed to 24 bit for correct color display (change default color depth to 24)
sudo nano /etc/X11/xorg.conf
Ubuntu 14.04 with kernel 3.8
Download ubuntu 14.04 with kernel 3.8 from
http://www.cembsoft.com/user/lcdCape/alcdCape/ubuntu/ubuntu-14.04-3.8-151114.img.gz
You will need 4GB SD card.
gunzip ubuntu-14.04-3.8-151114.img.gz sudo dd if=./ubuntu-14.04-3.8-221014.img of=/dev/sdX; sync
This image comes with preinstalled tslib.
User: ubuntu
Password: temppwd
tslib
sudo su ts_test
Install Android
Android 4.2.2 with kernel 3.2
Download rowboat android image from
http://www.cembsoft.com/user/lcdCape/alcdCape/android/rowboat-android-151114.img.gz
You will need 4GB SD card.
gunzip rowboat-android-151114.img.gz sudo dd if=./rowboat-android-151114.img of=/dev/sdX; sync
AOSP Android 4.4 with kernel 3.2
Download android image from
http://www.cembsoft.com/user/lcdCape/alcdCape/android/android-aosp-4.4-151114.img.gz
You will need 16GB SD card.
gunzip android-aosp-4.4-151114.img.gz sudo dd if=./android-aosp-4.4-151114.img of=/dev/sdX; sync
Install gapps as described here
Build Kernel
Kernel 3.8
Download kernel source
git clone https://github.com/RobertCNelson/bb-kernel.git cd bb-kernel/ git checkout origin/am33x-v3.8 -b tmp ./build_kernel.sh
Patch it
wget http://www.cembsoft.com/user/lcdCape/alcdCape/patches/alcdcape_3.8.patch wget http://www.cembsoft.com/user/lcdCape/alcdCape/patches/alcdcape_touchscreen.patch patch -p1 < alcdcape_touchscreen.patch patch -p1 < alcdcape_3.8.patch
Rebuild the kernel
tools/rebuild.sh
When it asks for kernel configuration - navigate to drivers - input - touchscreen and enable ft5x0x_ts driver
Kernel 3.15, 3.17, 3.18
Download kernel source
git clone https://github.com/RobertCNelson/bb-kernel.git cd bb-kernel/ git checkout origin/am33x-v3.15 -b tmp ./build_kernel.sh wget http://www.cembsoft.com/user/lcdCape/alcdCape/patches/alcdcape_3.15.patch wget http://www.cembsoft.com/user/lcdCape/alcdCape/patches/alcdcape_touchscreen.patch patch -p1 < alcdcape_touchscreen.patch patch -p1 < alcdcape_3.15.patch
Rebuild the kernel
tools/rebuild.sh
When it asks for kernel configuration - navigate to drivers - input - touchscreen and enable ft5x0x_ts driver
Kernel 4.1
Download kernel source
git clone https://github.com/RobertCNelson/bb-kernel.git cd bb-kernel/ git checkout origin/am33x-v4.1 -b tmp ./build_kernel.sh wget http://www.cembsoft.com/user/lcdCape/alcdCape/patches/alcdcape-touchscreen-4.1.patch patch -p1 < alcdcape-touchscreen-4.1.patch
Rebuild the kernel
tools/rebuild.sh
When it asks for kernel configuration - navigate to drivers - input - touchscreen and enable ft5x0x_ts driver
dts file can be found at
http://www.cembsoft.com/user/lcdCape/alcdcape/BB-BONE-ALCDC-01-A0.dts
uEnv.txt can be found at
http://www.cembsoft.com/user/lcdCape/nh5cape/uEnv.txt
Rowboat android
Follow instructions from https://code.google.com/p/rowboat/wiki/JellybeanOnBeaglebone_WithSGX for download and build rowboat source
Download patch from http://www.cembsoft.com/user/lcdCape/alcdCape/patches/rowboat-android.patch
Copy patch to android source root folder
Apply the patch
patch -p1 < rowboat-android.patch
Enable ft5x0x_ts in drivers - input - touchscreen
Rebuild the kernel
To go back to the alcdcape, please click here