Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

Devkit8000 Ubuntu

From eLinux.org
Revision as of 18:23, 26 January 2010 by JTer (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Ubuntu on DevKit8000

Fist create a SD card. See this Link for instruction : http://www.elinux.org/BeagleBoardBeginners#SD_card_setup

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

After you created the SD-Card go to the directory of the Angstrom Distribution on the CD.

Copy MLO,uboot.bin and uImage from CD to /dev/sdx1 or /media/DEVK-BOOT  (FAT32 Partition)

Get a Ubuntu rootfs from here:

http://www.elinux.org/BeagleBoardUbuntu#Demo_Image

Unpack rootfs

7za x ubuntu-9.04-minimal-armel.tar.7z
tar xvf /path/to/rootfs/armel-rootfs-200912081224.tgz -C /media/DEVK-SYS/ (EXT3 Partition)

Edit /etc/network/interfaces add:

auto eth0
iface eth0 inet dhcp

To get a IP on startup.

Edit /etc/rc.local add:

ntpdate-debian

This sets the clock while booting.

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

check Env Var

printenv

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.

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

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/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 probably haave to Login again. After you are logged in type:

sudo start gdm

This will start the X-Server. Now the Touchscreen should work

Check if the Touchscreen respons: cat /dev/event2 If you touch the Screen the should be some garbage Output