iTOP 4412
Chip
chip | num | description |
---|---|---|
Samsung Exynos 4412 | 1 | Cortex-A9 1.4GHz-1.6GHz |
KLM8G | 1 | eMMC |
KLMAG(16G) | 1 | eMMC |
K4B2G16 | 4 | 256M /per chip |
K4B4G16 | 4 | 512M /per chip |
- 2.65V–5.5V (recommended 4.0V)
- Linux+QT/Android/Ubuntu
- Ctrl + Alt + t ==» ubuntu16 terminal
- Ctrl + d ==» exit ubuntu16 terminal
- Ctrl + Alt + F1 ===» ubuntu16 DOS
- Ctrl + Alt + F7 ===» return to desktop mode
DIP Switch
1
close to letter0
close to numberuboot mode
hitenter
as soon as power upfs mode
hit any key as pompt
DIP Number | 1 | 2 |
---|---|---|
EMMC | 0 | 1 |
TF Card | 1 | 0 |
DIP Number | 3 | 4 | Resolution |
---|---|---|---|
9.7 Inch Screen | 0 | 0 | 1024*768 |
Plastic 7 Inch | 0 | 1 | 1280*800 |
4.3 Inch | 1 | 0 | 480*272 |
Metal frame | 1 | 1 | 1024*600 |
10.1 Inch | 1 | 1 | 1024*600 |
HDMI screen | 1 | 1 | 1080P |
5 Inch | not related | to 3 or 4, | use other kernel |
environment setup
# VM Ware Workstation
# Ubuntu 12.04LTS
apt-get update
apt-get install vim
# cross compiler install
tar -xf arm-2009q3.tar.bz2 -C /usr/local/arm/
cd /root
vim .bashrc
# export PATH=$PATH:/usr/local/arm/arm-2009q3/bin
source .bashrc
# JDK install
tar -xf Android_JDK.tar.bz2 -C .
cd Android_JDK/jdk6
./install-sun-java6.sh
cd ..
./install-devel-packages.sh
# downgrade GCC to v4.4.7
apt-get install gcc-4.4 g++-4.4 g++=4.4-multilib gcc-4.4-multilib
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.4 100
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 50
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.4 100
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 50
update-alternatives --install /usr/bin/cpp cpp-bin /usr/bin/cpp-4.4 100
update-alternatives --install /usr/bin/cpp cpp-bin /usr/bin/cpp-4.6 50
Compile
arm-none-linux-gnueabi-gcc -o open file.c -static
- [project]file file.c
adb push file /data/test
#include <stdio.h>
#include <string.h>
int main(int argc, char const *argv[])
{
int i, j;
i = atoi(argv[1]);
i = atoi(argv[2]);
printf("The programe name is %s\n", argv[0]);
printf("The command line has %d argument:\n", argc - 1);
printf("%d,%d\n", i, j);
return 0;
}
Experiments
zImage
u-boot-iTop-4412.bin
system.img
-
ramdisk-uboot.img
- RS232