Difference between revisions of "Devkit8000 Ubuntu"

From eLinux.org
Jump to: navigation, search
Line 5: Line 5:
 
== Ubuntu on DevKit8000 ==
 
== Ubuntu on DevKit8000 ==
  
 
+
=SD-CARD=
 
Fist create a SD card.
 
Fist create a SD card.
 
See this Link for instruction :
 
See this Link for instruction :
Line 23: Line 23:
 
  /dev/sdx2 has to be your SD Card
 
  /dev/sdx2 has to be your SD Card
  
 +
=Kernel and RootFS=
 
After you created the SD-Card go to the directory of the Angstrom Distribution on the CD.
 
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)
 
  Copy MLO,uboot.bin and uImage from CD to /dev/sdx1 or /media/DEVK-BOOT  (FAT32 Partition)
Line 33: Line 34:
 
  tar xvf /path/to/rootfs/armel-rootfs-200912081224.tgz -C /media/DEVK-SYS/ (EXT3 Partition)
 
  tar xvf /path/to/rootfs/armel-rootfs-200912081224.tgz -C /media/DEVK-SYS/ (EXT3 Partition)
  
 +
=System configuartion=
 
Edit /etc/network/interfaces add:
 
Edit /etc/network/interfaces add:
 
  auto eth0
 
  auto eth0
Line 42: Line 44:
 
This sets the clock while booting.
 
This sets the clock while booting.
  
 +
=u-boot env=
 
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'
Line 49: Line 52:
 
  printenv
 
  printenv
  
 +
=Boooting=
 
Put the SD Card in the DEVKIT and boot.
 
Put the SD Card in the DEVKIT and boot.
 
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.
  
 +
=Ubuntu=
 
If you are using the above mentioned rootfs,
 
If you are using the above mentioned rootfs,
 
login as Ubuntu System User Password temppwd
 
login as Ubuntu System User Password temppwd
Line 60: Line 65:
 
Upgrade the System
 
Upgrade the System
 
  sudo apt-get upgrade
 
  sudo apt-get upgrade
 +
 +
=Touchscreen support=
 
Remove the Synaptics Driver
 
Remove the Synaptics Driver
 
  sudo apt-get remove xserver-xorg-input-synaptics
 
  sudo apt-get remove xserver-xorg-input-synaptics
Line 74: Line 81:
 
In the Terminal type:
 
In the Terminal type:
 
  sudo stop gdm
 
  sudo stop gdm
Now you probably haave to Login again. After you are logged in type:
+
Now you probably have to Login again. After you are logged in type:
 
  sudo start gdm
 
  sudo start gdm
 
This will start the X-Server.
 
This will start the X-Server.
 
Now the Touchscreen should work
 
Now the Touchscreen should work
  
 +
=Troubleshoot Touchscreen=
 
Check if the Touchscreen respons:
 
Check if the Touchscreen respons:
 
cat /dev/event2
 
cat /dev/event2
 
If you touch the Screen the should be some garbage Output
 
If you touch the Screen the should be some garbage Output

Revision as of 20:55, 26 January 2010

Ubuntu on DevKit8000

SD-CARD

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

Kernel and RootFS

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)

System configuartion

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.

u-boot env

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

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/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 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