HIP:TS7400

From Earlham CS Department
Revision as of 22:07, 23 March 2008 by Madunnh (talk | contribs) (Auto development (debian) startup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Board Configuration

Auto development (debian) startup

  • Bypass fastboot and proceed directly into starting the SD card version of linux

From the fastboot shell

ln -sf /linuxrc-sdroot /linuxrc; save
  • Restore fastboot shell
cd / 
touch fastboot
reboot

Networking

eth0

  • I'm having trouble acquiring a DHCP lease. I believe it has something to do with the DHCP configuration, but for now I'm manually assigning an IP address.

/etc/network/interfaces:

iface eth0 inet static
address 192.168.1.138
network 192.168.1.1
netmask 255.255.255.0
broadcast 192.168.1.255

Add default route

route add default gw 192.168.1.1 eth0

Edit rc#.d to run, because ifup -a only brings up interfaces assigned with auto

ifup eth0

wlan0

insmod scsi_mod
insmod sd_mod
ifconfig wlan0 up
iwconfig wlan0 essid eni
iwconfig wlan0 192.168.1.132

Development Environment

Setup

  • Get crosstools from TS ftp
ftp://oz.embeddedarm.com:21//ts-arm-linux-cd/cross-toolchains/crosstool-linux-gcc-3.3-glibc-2.2.5.tar.bz2
  • unpack as root, export path
export PATH=$PATH:/usr/local/opt/crosstool/arm-linux/gcc-3.3-glibc-2.2.5/arm-9tdmi-linux-gnu/bin
  • now you can build with something like
arm-9tdmi-linux-gnu-gcc -Wall -o hello hello.c

Board Specifications

Links

DIO