Saturday, March 20, 2010

Booting AT91SAM9G20-EK

Before attempting to boot Android on the AT91SAM9G20 Evaluation Kit you should start with getting a regular Linux to boot.

Start by going to http://www.at91.com/linux4sam/bin/view/Linux4SAM/ which will guide you through the steps of getting Linux to boot.

You should use the "Linux4SAM DataFlash demo - Memory map" described at http://www.at91.com/linux4sam/bin/view/Linux4SAM/GettingStarted. This means that you must use:

dataflash_at91sam9g20ek.bin
u-boot-1.3.4-exp.3-at91sam9g20ek-dataflash_cs1.bin
linux-2.6.30-at91-exp-at91sam9g20ek.bin
Angstrom-console-image-demo-glibc.rootfs.jffs2

When you have booted this configuration you are ready to get started with Android.

The Ångström distribution supports easy download and install of additional software through the ipkg package system - just like a normal PC distribution.

Use username root with no password to login to Ångström and change the password with:

passwd


Using vi, edit the eth0 section in /etc/network/interfaces to setup network proberly. E.g.

auto eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1

Also edit /etc/resolv.conf

nameserver 208.67.222.222

This will add an opendns nameserver. Then restart network and check that you can ping android.com

/etc/init.d/networking restart

When network is up and running you can use ipkg to download and install additional utilities:

ipkg update
ipkg install nano

No comments:

Post a Comment