Connecting TS 7260 By Ganesan Alagu Ganesh Feb
Connecting TS 7260 By Ganesan Alagu Ganesh Feb 21, 2008 2/21/2008 Connecting TS 7260 by G Alagu Ganesh 1
Connecting TS 7260 Linux option – the survey result • TS 7260 board – a look! • Connecting the board to computer • Getting started with TS 7260 • Connecting an USB thumb drive • Connecting a SD card • Check the memory ! • Challenges ? • The Progress… • What next? • 2/21/2008 Connecting TS 7260 by G Alagu Ganesh 2
Linux option – the survey result Linux Boards Fox Board TS 7260 Software Features: Kernel Full Linux ver 2. 4. 31 Linux ver 1. 06 Language C, C++, PHP, PYTHON Not available onboard (as of now) Tools GNU C compiler from Dev kit Memory USB 1. 1 (low speed & full speed ) 8 MB FLASH 32 MB RAM USB 1. 1 (low speed & full speed ) 32 Mbytes RAM Ports 2 USB 1. 1 Dual USB host ports - v 1. 1 Power 5 Volt 280 m. A (1 watt) 1. 9 W @ + 5 V only Cpu Cirrus EP 9302 ARM 920 T Cost Axis ETRAX 100 LX 32 bit, RISC, 100 MHz (100 MIPS) $205 Open source support YES Hardware Features: Data Transfer Rate 2/21/2008 Dev kit $100 Connecting. NO TS 7260 by G Alagu Ganesh 3
TS 7260 board – a look! 2/21/2008 Connecting TS 7260 by G Alagu Ganesh 4
Connecting the board to computer Linux installed by default on onboard flash. The serial port is set to 115200 baud, 8 N 1, with no flow control In Linux- the minicom program is configured using the ”-s” parameter (minicom -s) In Windows, Putty or Hyper. Terminal can be used 2/21/2008 Connecting TS 7260 by G Alagu Ganesh 6
Connecting an USB thumb drive 2 USB 2. 0 ports available USB flash drive has to be formatted as either ext 2 or vfat TS-Linux comes with USB drivers After booting at command prompt do “load. USBModules. sh” “mount /dev/scsi/host 0/bus 0/target 0/lun 0/part 1 /mnt/” 2/21/2008 Connecting TS 7260 by G Alagu Ganesh 8
Connecting an USB thumb drive “Load. USBModules. sh” script loads the following modules: ◦ usbcore ◦ pcipool ◦ usb-ohci-ep 93 xx ◦ scsi_mod ◦ sd_mod ◦ usb-storage 2/21/2008 Connecting TS 7260 by G Alagu Ganesh 9
Run “load. USBModule. sh” 2/21/2008 Connecting TS 7260 by G Alagu Ganesh 10
Run “Load. USB. sh” 2/21/2008 Connecting TS 7260 by G Alagu Ganesh 11
Connecting a SD card A binary Linux driver module and a set of generic, OS-independent read/write routines is in ARM object (. o) file by default After the SD Card module is loaded, the device entry “/dev/sdcard 0” is used to mount into the file system. “cp /dev/sdcard 0/disc 0/part 1 /dev/sdcard 0/disc 0/part 3” “mount -t ext 2 /dev/sdcard 0/disc 0/part 3 /mnt” 2/21/2008 Connecting TS 7260 by G Alagu Ganesh 12
Check the memory ! We could see all three disks and the percentage of memory usage Inference : need more memory 2/21/2008 Connecting TS 7260 by G Alagu Ganesh 13
Check the memory! 2/21/2008 Connecting TS 7260 by G Alagu Ganesh 14
Challenges? (as of now) Older version of linux kernel No onboard software development support Very low memory available Technical user manual and actual configuration details not exactly matched No special debugger Solution: Development KIT 2/21/2008 Connecting TS 7260 by G Alagu Ganesh 15
The progress… (as on Feb 21, 2008) Found that one of the two boards was not working Understanding the USB communication layers & protocols Understood the boot sequence and boot modes of the TS 7260 Learnt - How to write customized “Load. USB. sh” script? 2/21/2008 Connecting TS 7260 by G Alagu Ganesh 16
What next? Install Debian linux image in flash Install gcc, g++ compliers Install cross compiler & Interface the kit Software development for USB access 2/21/2008 Connecting TS 7260 by G Alagu Ganesh 17
- Slides: 15