Difference between revisions of "HIP:TS7400"

From Earlham CS Department
Jump to navigation Jump to search
(Auto development (debian) startup)
 
(3 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
From the fastboot shell
 
From the fastboot shell
 
  ln -sf /linuxrc-sdroot /linuxrc; save
 
  ln -sf /linuxrc-sdroot /linuxrc; save
 +
 +
* Restore fastboot shell
 +
cd /
 +
touch fastboot
 +
reboot
  
 
== Networking ==
 
== Networking ==
Line 31: Line 36:
  
 
= Development Environment =
 
= 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 =
 +
* [[TS7400:GPIO|GPIO]]
  
 
= Links =
 
= Links =

Latest revision as of 21:07, 23 March 2008

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