// A7 : LCD_bl_en , D22 : LCD_RST, C28:LCD_DISP , extension: LCD_PWRCTL #define LCD_PROT_INT() BITCSET(HwGPIOA->GPEN, Hw7, Hw7); \ BITCSET(HwGPIOD->GPEN, Hw22, Hw22); \ BITCSET(HwGPIOC->GPEN, Hw28 , Hw28); \ BITCSET(HwGPIOA->GPDAT, Hw7, 0); \ BITCSET(HwGPIOD->GPDAT, Hw22, 0); \ BITCSET(HwGPIOC->GPDAT, Hw28 , 0); #define LCD_POWER_ON() Power_OnOff(1) #define LCD_POWER_OFF() Power_OnOff(0) #define LCD_DISPLAYON() BITCSET(HwGPIOC->GPDAT, Hw28 ,Hw28) #define LCD_DISPLAYOFF() BITCSET(HwGPIOC->GPDAT, Hw28, 0) #define LCD_RESET_H() BITCSET(HwGPIOD->GPDAT, Hw22 ,Hw22) #define LCD_RESET_L() BITCSET(HwGPIOD->GPDAT, Hw22, 0)
tar -jxvf armv6_codesourcery.tar.bz2
export PATH=/opt/armv6/codesourcery/bin:$PATHCheck version
arm-none-linux-gnueabi-gcc -vInstall other needed tools
sudo apt-get install libncurses5-dev libqt3-mt-dev qt3-dev-tools g++ flex bison gperfRemove Java 6
sudo apt-get remove openjdk-6-jreInstall Java 5 (it is needed for Android 2.1)
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu dapper main multiverse" sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu dapper-updates main multiverse" sudo apt-get update sudo apt-get install sun-java5-jdk
ls -l ~/mydroid/androidFirst prepare & compile kernel
cd ~/mydroid/android/kernel make tcc8900_defconfig make menuconfig makeGo back to android directory
cd ~/mydroid/android lunch 27Now its time to compile bootloader (lk.rom)
cd ~/mydroid/android/bootable/bootloader/lk rm build-tcc* make tcc8900_evmFinally, go to build final images
cd ~/mydroid/android/ make
Now make a tea or coffee :) Correction: after you return with tea/coffee go for a walk...
Creating tcc8900_mtd.imgmkmtdimg --boot out/target/product/tcc8900/boot.img --system out/target/product/tcc8900/system.img --recovery out/target/product/tcc8900/recovery.img --output tcc8900_mtd.img
FWDN_V7