160 likes | 197 Views
Dive into the journey of connecting TS 7260 board to USB drives, SD cards, and exploring Linux options. Discover challenges faced, progress made, and future plans outlined by G. Alagu Ganesh.
E N D
Connecting TS 7260 By GanesanAlaguGanesh Feb 26, 2008 Connecting TS 7260 by G AlaguGanesh
Connecting TS 7260 Linux option – the survey result TS 7260 board – a look! Connecting the board to computer Connecting an USB thumb drive Connecting a SD card Check the memory ! Challenges ? The Progress… What next? Connecting TS 7260 by G Alagu Ganesh
Linux option – the survey result Connecting TS 7260 by G AlaguGanesh
TS 7260 board – a look! Connecting TS 7260 by G Alagu Ganesh
Connecting the board to computer • Linux installed by default on onboard flash. • The serial port is set to 115200 baud, 8N1, with no flow control • In Linux- the minicom program is configured using the “-s” parameter (minicom -s) • In Windows, Putty or HyperTerminal can be used Connecting TS 7260 by G Alagu Ganesh
Connecting an USB thumb drive • 2 USB 2.0 ports available • USB flash drive has to be formatted as either ext2 or vfat • TS-Linux comes with USB drivers • After booting at command prompt do “loadUSBModules.sh” “mount /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/” Connecting TS 7260 by G Alagu Ganesh
Connecting an USB thumb drive • “LoadUSBModules.sh” script loads the following modules: • usbcore • pcipool • usb-ohci • usb-ohci-ep93xx • scsi_mod • sd_mod • usb-storage Connecting TS 7260 by G Alagu Ganesh
Run “loadUSBModule.sh” Connecting TS 7260 by G Alagu Ganesh
Run “LoadUSB.sh” Connecting TS 7260 by G Alagu Ganesh
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/sdcard0” is used to mount into the file system. • “mount -t ext2 /dev/sdcard0/disc0/part3 /mnt” Connecting TS 7260 by G Alagu Ganesh
Check the memory ! • We could see all three disks and the percentage of memory usage • Inference : need more memory Connecting TS 7260 by G Alagu Ganesh
Check the memory! Connecting TS 7260 by G Alagu Ganesh
Challenges?(as of Feb 14,2008) • 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 Connecting TS 7260 by G Alagu Ganesh
The progress… (as on Feb 21,2008) • Understanding the USB communication layers & protocols • Understanding the boot sequence and boot modes of the TS 7260 • Understanding loadUSB script files • Working on Debian Linux on flash drive • Able to write, compile, execute C programs onboard Connecting TS 7260 by G Alagu Ganesh
The progress… (contd..) Connecting TS 7260 by G Alagu Ganesh
What next? • Install Debian linux image in flash ? • Install gcc, g++ compliers ? • Install cross compiler & Interface the kit • Software development for USB access Connecting TS 7260 by G Alagu Ganesh