HIP:TS7400: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 31: | Line 31: | ||
= 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 | |||
= Links = | = Links = | ||
Revision as of 22:24, 18 March 2007
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
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
Links
- [TS-7000 Yahoo User Group]
- Mailing list available