Difference between revisions of "Devkit8000 Ubuntu"
(→SD-CARD) |
Yclinda666 (talk | contribs) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
[[Category: OMAP]] | [[Category: OMAP]] | ||
[[Category: Development Boards]] | [[Category: Development Boards]] | ||
− | [[Category: | + | [[Category: Devkit8000]] |
=SD-CARD= | =SD-CARD= | ||
− | First create | + | First create an SD card with partition. |
− | + | Please get some instruction from below site: | |
http://www.elinux.org/BeagleBoardBeginners#SD_card_setup | http://www.elinux.org/BeagleBoardBeginners#SD_card_setup | ||
− | NOTE: After | + | NOTE: After formatting SD card, you must pull out SD card and insert it into the computer, then unpack and install rootfs, otherwise it may appear the phenomenon which can not mount EXT3 partition. |
It's better that the capacity of SD Card bigger than 2G. | It's better that the capacity of SD Card bigger than 2G. | ||
Line 57: | Line 57: | ||
nameserver 202.96.134.133 | nameserver 202.96.134.133 | ||
This sets the DNS,determined based on your area | This sets the DNS,determined based on your area | ||
+ | |||
+ | =System Deveplopment Environment= | ||
+ | Put the SD Card、7inch LCD、Serial Line 、5V power supply and net Cable in the DEVKIT8000. | ||
=u-boot env= | =u-boot env= | ||
− | + | Power on DEVKIT8000 and boot,press Spacebar while bootdelay. | |
On the DEVKIT8000 u-boot commandline edit the Bootcmd and Bootargs Env Var. | On the DEVKIT8000 u-boot commandline edit the Bootcmd and Bootargs Env Var. | ||
Line 67: | Line 70: | ||
boot | boot | ||
− | = | + | =Booting= |
You should see the one Pinguin, after that the Screen goes blank. | You should see the one Pinguin, after that the Screen goes blank. | ||
Wait. After a while you get the Login Screen. | Wait. After a while you get the Login Screen. | ||
Line 111: | Line 114: | ||
=Troubleshoot Touchscreen= | =Troubleshoot Touchscreen= | ||
Check if the Touchscreen respons: | Check if the Touchscreen respons: | ||
− | cat /dev/event2 | + | cat /dev/input/event2 |
If you touch the Screen the should be some garbage Output | If you touch the Screen the should be some garbage Output |
Latest revision as of 02:05, 15 June 2011
Contents
SD-CARD
First create an SD card with partition. Please get some instruction from below site: http://www.elinux.org/BeagleBoardBeginners#SD_card_setup
NOTE: After formatting SD card, you must pull out SD card and insert it into the computer, then unpack and install rootfs, otherwise it may appear the phenomenon which can not mount EXT3 partition. It's better that the capacity of SD Card bigger than 2G.
Short Version:
255 Heads 63 Sectors nn cylinders cylinders = Byte/255/63/512 Round down the cylinders Create 1 FAT32 Partition (LABEL1) Create 1 Linux Partition (LABEL2) Create FAT File System mkfs.msdos -F 32 /dev/sdx1 -n LABEL1 /dev/sdx1 has to be your SD Card Create EXt3 File System mkfs.ext3 -L LABEL2 /dev/sdix2 /dev/sdx2 has to be your SD Card
Kernel and RootFS
After you created the SD-Card go to the directory of the devkit8000 Distribution on the CD\devkit8000\linux\image.
Copy MLO,uboot.bin and uImage from CD to /media/LABEL1 (FAT32 Partition)
Get a Ubuntu rootfs from here:
http://www.elinux.org/BeagleBoardUbuntu#Demo_Image
Unpack and install rootfs
7za x ubuntu-9.10-minimal-armel.tar.7z tar xvf ubuntu-9.10-minimal-armel-1.1.tar cd ubuntu-9.10-minimal-armel-1.1 tar xvf armel-rootfs-200912081224.tgz -C /media/LABEL2/ (EXT3 Partition)
System configuartion
Edit /etc/network/interfaces add:
auto eth0 iface eth0 inet dhcp
or edit /media/2/etc/network/interfaces add:
auto eth0 iface eth0 inet static address 192.192.12.17 netmask 255.255.255.0 gateway 192.192.12.101
To get a IP on startup.
Edit /etc/rc.local add:
ntpdate-debian
This sets the clock while booting.
Edit /media/2/etc/resolv.conf add:
nameserver 202.96.134.133
This sets the DNS,determined based on your area
System Deveplopment Environment
Put the SD Card、7inch LCD、Serial Line 、5V power supply and net Cable in the DEVKIT8000.
u-boot env
Power on DEVKIT8000 and boot,press Spacebar while bootdelay.
On the DEVKIT8000 u-boot commandline edit the Bootcmd and Bootargs Env Var.
setenv bootcmd 'mmcinit;fatload mmc 0 80300000 uImage;bootm 80300000' setenv bootargs 'console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait video=omapfb:mode:7inch_LCD' saveenv boot
Booting
You should see the one Pinguin, after that the Screen goes blank. Wait. After a while you get the Login Screen.
Ubuntu
If you are using the above mentioned rootfs, login as ubuntu, Password temppwd
Start root user
sudo passwd root
Update the System
sudo apt-get update
Upgrade the System
sudo apt-get upgrade
Install vim
sudo apt-get install vim
Install gdm
sudo apt-get install gdm
Install xfce desktop(it need about 1.4G space)
sudo apt-get install xfce4
After execute above steps,restart the system
Touchscreen support
Remove the Synaptics Driver
sudo apt-get remove xserver-xorg-input-synaptics
Install the tslib driver and the tslib tools
sudo apt-get install xserver-xorg-input-tslib libts-bin
Now we have to calibrate the Touchscreen Type in Terminal
TSLIB_TSDEVICE=/dev/input/event2 TSLIB_CONFFILE=/etc/ts.conf export TSLIB_TSDEVICE TSLIB_CONFFILE ts_calibrate
This will start the calibration Process for the Touchscreen. After that we have to restart the X-Server. In the Terminal type:
sudo /usr/sbin/gdm stop
Now you have to Login again. After you are logged in type:
sudo /usr/sbin/gdm start
This will start the X-Server. Now the Touchscreen should work
Troubleshoot Touchscreen
Check if the Touchscreen respons: cat /dev/input/event2 If you touch the Screen the should be some garbage Output