Difference between revisions of "Devkit8000 Ubuntu"
(→Kernel and RootFS) |
(→u-boot env) |
||
Line 58: | Line 58: | ||
=u-boot env= | =u-boot env= | ||
+ | Put the SD Card in the DEVKIT and boot,press Spacebar while bootdelay. | ||
+ | |||
On the DEVKIT u-boot commandline edit the Bootcmd and Bootargs Env Var. | On the DEVKIT u-boot commandline edit the Bootcmd and Bootargs Env Var. | ||
setenv bootcmd 'mmcinit;fatload mmc 0 80300000 uImage;bootm 80300000' | 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' | setenv bootargs 'console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait video=omapfb:mode:7inch_LCD' | ||
saveenv | saveenv | ||
− | + | boot | |
− | |||
=Boooting= | =Boooting= |
Revision as of 19:18, 21 February 2010
Contents
SD-CARD
First create a SD card. See this Link for instruction : http://www.elinux.org/BeagleBoardBeginners#SD_card_setup
NOTE: After format 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
Short Version:
255 Heads 63 Sectors nn cylinders cylinders = Byte/255/63/512 Round down the cylinders Create 1 FAT32 Partition (DEVK-BOOT) Create 1 Linux Partition (DEVK-SYS) Create FAT File System mkfs.msdos -F 32 /dev/sdx1 -n DEVK-BOOT /dev/sdx1 has to be your SD Card Create EXt3 File System mkfs.ext3 -L DEVK-SYS /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
u-boot env
Put the SD Card in the DEVKIT and boot,press Spacebar while bootdelay.
On the DEVKIT 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
Boooting
Put the SD Card in the DEVKIT and boot. 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 System User Password temppwd
Update the System
sudo apt-get update
Upgrade the System
sudo apt-get upgrade
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 stop gdm
Now you have to Login again. After you are logged in type:
sudo start gdm
This will start the X-Server. Now the Touchscreen should work
Troubleshoot Touchscreen
Check if the Touchscreen respons: cat /dev/event2 If you touch the Screen the should be some garbage Output