background image

TS-7400/TS-9441 MANUAL

 

SOFTWARE 

/dev/mtdblock/4 - 4th MBR partition (unused in default load)

Note that the MBR installed by default on the TS-7400 contains a 443 byte bootloader 
program   that   loads   the   initial   power-on   kernel   and   initrd   from   the   first   and   second 
partitions.    Replacing  it with a MBR  found on a  PC would  not work as a PC MBR 
contains an x86 code bootup program.  Doing so would cause the device to constantly 
reset itself every 8 seconds as the hardware watchdog expires.

Linux uses a NAND flash filesystem called YAFFS2 for general purpose file storage. 
This filesystem is a log-structured filesystem which is safe against corruption caused by 
system  crashes   and  power  loss   without   the  need for  consistency   checking  on next 
boot. A normal PC cannot use this filesystem as it is specifically designed for NAND 
flash which a PC does not have.

The   TS   version   of   Linux   uses   a   special   device   driver   at   /dev/misc/bootloader   to 
accommodate the hooks needed by the "bootload" program to allow Linux to act as a 
bootloader and boot other Linux kernels and operating systems.

3.8  Debian Linux OS

The typical way of doing Linux development on the TS-7400 is actually on the board itself. 
Since the TS-7400 CPU is a PC-class processor in everything but power consumption 
and performance, it has  no problem running real PC-class  operating systems such as 
Linux.   By running the full version of Linux (and not scaled-down microcontroller project 
OS's such as ucLinux), the TS-7400 can run the entire suite of applications contained in 
the Debian Linux  distribution including  the  compilers.  Since almost every open source 
program available for Linux is contained within the Debian Linux binary distribution, one 
rarely has to compile the large code-bases that would otherwise have forced integrators to 
a   complicated   cross-compilation   environment   due   to   the   limited   RAM/Mhz   of   the 
embedded computer.  All too often, open-source projects do not anticipate the possibility 
of  cross-compilation   in  their  build  systems,   leaving   issues  for  the  system   integrator   to 
resolve.

The   default   SD   card   contains   compilers   and   everything   needed   for   developing 
applications in C, C++, PERL, PHP, and SH.  Java, BASIC, TCL, Python and others are 
available for Debian, but not installed by default. 

One can still use cross-compilers hosted on just about any platform if there is a specific 
need.     Technologic   systems   includes   binary   versions   of   the   popular   Linux   "crosstool" 
project at http://www.kegel.com/crosstool/ to allow cross-compiling on Windows/cygwin or 
a Linux/i386 PC on our website website.

apt-get

When using the Debian Linux file system, adding new packages and removing undesired 
ones   is   done   all   through   Debian's   package   management.   “apt“,   “dpkg“,  all   behave   as 
expected. With Debian, one can easily install and remove software packages. For a quick 
demonstration   of   how   easy   it   is   to   remove   and   install   programs   with   Debian,   try   the 
following commands:

apt-get install hexedit

hexedit /etc/passwd

^C (hit CTRL+C to safely exit)

apt-get remove hexedit

apt-get   install   installs   a   package   name,   while   apt-get   remove   removes   the   named 
package.   Visit   the   Debian   home-page

 

for   further   information,   since   a   full   in-depth 

discussion on Debian is outside the scope of this document.

http://www.debian.org

 © May, 2010                                              www.embeddedARM.com                                                         20

Содержание TS-7400

Страница 1: ...TS 7400 TS 9441 MANUAL May 2010 www embeddedARM com 1 www embeddedARM com 1 4 May 2010 TS 7400 TS 9441 Manual Hardware Software...

Страница 2: ...urn shipping Please contact Technologic Systems to arrange for any repair service and to obtain repair charge information FCC Advisory Statement This equipment generates uses and can radiate radio fre...

Страница 3: ...ess 13 2 4 Loading or Transferring Files 13 Transferring Files via the Ethernet Port 13 Transferring Files via Flash Memory Device 14 Zmodem Downloads 14 2 5 TS 7400 production lifetime 14 3 SOFTWARE...

Страница 4: ...al Purpose 8 bit Multiplexed Bus GPBUS 32 6 CONNECTORS AND HEADERS 34 6 1 10 100 Base T Ethernet Connector 34 6 2 USB Connector 34 6 3 SD Card Connector CPLD 35 6 4 General Header 35 Upper header 35 L...

Страница 5: ...nge of 40 to 70 C Extended Temperature 40 to 85 C is also standard but CPU clock must be decreased to 166MHz for higher temperatures Unlike other TS 7000 ARM products the TS 7400 is not a stand alone...

Страница 6: ...abit Ethernet port 20 general purpose I O pins with Schmitt trigger Power requirements are 5V DC 350mA Flexible 40 pin expansion connector Small size 2 9 x 4 7 inches 7 4 x 11 9 cm Optional battery ba...

Страница 7: ...S DC420 ENC Peripheral board provides 8 30VDC power input Xbee radio socket DIO lines 3 A D channels 3 COM ports RS 485 RS 422 with full duplex and aluminum enclosure PS 18VDC REG Regulated 18VDC wall...

Страница 8: ...Development Kit contains a 256 or 512 MB Flash drive SD Card which includes A self hosting ARM installation of the Debian Linux 3 0 distribution compiled for ARM gcc 2 95 4 and gcc 3 0 compiler with...

Страница 9: ...short lead times 20 year history Free technical support from engineers by phone fax or email Production tests and burn in prior to shipment on every board Board customizations available with no minimu...

Страница 10: ...tem image in the on board Flash NFS root via Ethernet port after fast bootup mount a NFS root and chroot to it Note The TS Kernel supports the Real Time Application Interface RTAI project making the e...

Страница 11: ...ulator to verify that the board is operating properly Disconnecting AC Power Unplug from the power source Disconnect other cables as required 2 2 Console and Power Up An ANSI terminal or a PC running...

Страница 12: ...common utilities and libraries and is identical to the distribution installed by default on the TS 7200 line of single board computers Other community supported embedded Linux distributions are availa...

Страница 13: ...rst partition Linux kernel at offset 0x2180000 and the second partition if it exists at 0x1000000 Linux initrd If a bad sector or a sector failing an ECC check is detected it skips to the next 16kbyte...

Страница 14: ...s This is not a problem Zmodem uses very accurate CRC checks to detect errors and simply resends bad data Once the file transfer is complete the file is completely error free For best results when usi...

Страница 15: ...s and applying power with the USB dongle on wait for the LED to go off then proceed to the next board The tsinit script will begin to execute approximately 3 seconds after power on 3 2 Updating Recove...

Страница 16: ...ernel from e g ftp with a command such as wget ftp mycompany com newvmlnx bin mv newvmlnx bin vmlinux bin Command usage information follows bootload help Usage bootload OPTION FILE Linux to Linux boot...

Страница 17: ...now what you re doing probably is not what you want when dealing with hardware registers mmap must be called only on pagesize 4096 byte boundaries and size must at least have pagesize granularity mmap...

Страница 18: ...of the SD card on the board to verify before bootup If the checksum fails the bootup firmware will refuse to boot the inserted SD card Another feature is the ability to boot a password protected SD c...

Страница 19: ...re allowing bootup If the stored CRC does not match the actual CRC the board will refuse to boot and blink the red LED continuously The various SD commands that manipulate the password lock are marked...

Страница 20: ...ux distribution including the compilers Since almost every open source program available for Linux is contained within the Debian Linux binary distribution one rarely has to compile the large code bas...

Страница 21: ...of power cycles while the file systems are mounted Therefore the shutdown command is not required when the root file system is JFFS YAFFS but is still recommended Initialization Scripts The initializa...

Страница 22: ...ess GW_DEV eth0 Default gateway HOSTNAME ts7200 Host name of this computer BOOTPROTO no FORWARD_IPV4 no DEFRAG_IPV4 no The TCP IP name resolution server is configured in etc resolv conf Here is a list...

Страница 23: ...network information Network Services TS Linux includes solutions for the main network services including Telnet HTTP FTP SSH NFS and Mail Some of these services can be started restarted or stopped by...

Страница 24: ...systems The ARM core operates from a 1 8 V supply while the I O operates at 3 3 V with power usage between 100 mW and 750 mW dependent on speed As a general purpose processor it provides a standard s...

Страница 25: ...it enabling high level operating systems such as Embedded Linux and Windows CE to run on the TS 7400 In the same way the Linux TS Kernel takes advantage of the MMU functionality The MMU is controlled...

Страница 26: ...memory drivers On Board SDRAM The TS 7400 uses 32 MB SDRAM technology to provide 32 64 or 128 MB of high speed volatile memory The memory is soldered directly to the board making the TS 7400 more rel...

Страница 27: ...pact flash adapter which will also be included in the TS ARM Development Kit if requested The USB flash drive can be hot swapped Note Drivers are available in the TS Kernel to support USB flash drives...

Страница 28: ...r a minimum of 10 years in the absence of power The 114 bytes of non volatile RAM physically located in the RTC chip are available to the user Contact Technologic Systems for driver support The RTC is...

Страница 29: ...in 30 uS the WDT control register must be written Writes to this register without first doing a WDT feed have no affect In order to clear the WDT counter feeding the watchdog a value of Hex 05 must be...

Страница 30: ...one can safely interface to 5V TTL logic devices since in every other way 3 3V LVCMOS is compatible with 5V TTL logic Note that 5V CMOS is NOT compatible with 3 3V LVCMOS as the logic 1 threshold for...

Страница 31: ...the ADCSWLock register 0x8090_00C0 OR in the TSEN bit bit 31 to the ADCClkDiv register 0x8093_0090 2 Unlock the software lock again before OR ing in the ADCEN ADC clock enable bit 31 to 0x8093_0080 3...

Страница 32: ...7 binary 111 For the purposes of the timing diagrams below we will assume this configuration The default timing of the GPBUS cycle uses a 55 nS read write pulse when reading writing the data register...

Страница 33: ...lications can not directly set up interrupt handler functions or translate the virtual addresses of process data structures to the physical addresses needed by the DMA controller When writing a kernel...

Страница 34: ...ontrolled by the EP9302 Digital output on Port H bit 2 A logic zero will power down the KS8721 PHY interface Note TS Kernel provides all the software support to use the EP9302 10 100 Ethernet core For...

Страница 35: ...header closest to board edge and a 26 pin upper header Pin numbering is arranged as follows Upper header 2 4 6 8 10 12 14 16 18 20 22 24 26 1 3 5 7 9 11 13 15 17 19 21 23 25 Lower header 2 4 6 8 10 1...

Страница 36: ...12 SPI_MOSI SPI master out slave in output 13 FLASH_CS chip select used for 2 megabyte SPI flash on TS 9441 used by TS SPIBOOT boot program 14 SPI_CLK SPI clock output 15 5V 5V regulated power input o...

Страница 37: ...0 device node in Linux 20 DIO_16 GPIO 16 or serial UART 2 receive data input dev ttyTS0 device node in Linux 21 DIO_17 GPIO 17 or serial UART 2 transmit output dev ttyTS0 device node in Linux 22 DIO_1...

Страница 38: ...e details Technologic Systems has made the design choice to save on board real estate and not bring out the JTAG header If you need access to the JTAG pins a skilled technician can solder wires to the...

Страница 39: ...lashed on and off again briefly After booting is complete these LEDs can be used for user applications The RED and Green LEDs can be controlled at physical address location 0x8084_0020 Bit 1 is the Re...

Страница 40: ...t Temperature 20 to 70 C The internal temperature must not exceed 70 C 40 to 85 C Extended temperature range is also standard in our TS 7300 product Note Extended Temp requires lower CPU speed 166Mhz...

Страница 41: ..._ep9301 ug pdf EP9301 Data sheet http www embeddedarm com documentation third party ts 7000_ep9302 ds pdf TS 7000 Yahoo Users Group http groups yahoo com group TS 7000 TS 7400 schematic http www embed...

Страница 42: ...ty features and GPIO 10 24 2006 0 4 Added mention of fastboot file autoboot abort 01 11 2007 0 6 Errata for Rev B CPLD 05 18 2007 0 8 Modified UART naming convention for consistency 05 22 2008 1 0 Ful...

Страница 43: ...data reg bits3 5 0x8084_0034 DIO_8 direction register bit 1 0x8084_0030 DIO_8 data register bit 1 0x8084_0020 On board LEDs register bits 0 1 0x8084_0018 Port C direction register 0x8084_0008 Port C d...

Страница 44: ...Linux STAT register bit 0 TBRE Transmit buffer empty RO bit 1 DR Receive data ready RO bit 2 OERR Overflow error RO bit 4 3 reserved bit 7 5 MODE baud rate RW 0 115200 8N1 1 57600 8N1 2 38400 8N1 3 19...

Страница 45: ...x Yes 2x Yes 2x Yes 2x Yes 2x VGA Video Out No No No Yes Yes IDE Compact Flash Yes No No No No SD Card Interface No No Yes 1x on RevB Yes 2x Yes 1x Digital I O 20 20 30 55 20 TS XDIO No No Yes 1 Yes 2...

Страница 46: ...8 TEL 1 480 837 5200 FAX 1 480 837 5300 www embeddedARM com support embeddedARM com Call us Monday Friday from 9 am to 5 pm Arizona USA time or email us at any time Our engineers answer tech support c...

Отзывы: