ts-7000
[Top] [All Lists]

Re: [ts-7000] script to allow ts 7260 run a program on boot without log

To:
Subject: Re: [ts-7000] script to allow ts 7260 run a program on boot without log in 'root'
From: Don Tucker <>
Date: Wed, 12 Jun 2013 09:25:06 -0500

On 6/11/2013 11:12 PM, tanganyang1985 wrote:

Hi, I got a ts 7260 with 3 switches. My questions are:

1, how could I 'link' the 3 switches to the ts 7260?

You can use the DIO header on the board to read discrete inputs.

http://wiki.embeddedarm.com/wiki/TS-7260#DIO1_Header
http://wiki.embeddedarm.com/wiki/TS-7260#Digital_I.2FO


2, I want the ts 7260 to check the status of the switch (like switch
'on' or 'off')

You can write an application to read the values of the discrete inputs
on the DIO header.

http://wiki.embeddedarm.com/wiki/Linux_for_ARM_on_TS-72XX_User%27s_Guide#DIO

3, how could I do the switch check without boot in the Linux,
alternately, I want the ts 7260 check the switch status after connect
to 5 DC power.

You can write a script that will run your application when the board
boots (receives power).

http://wiki.embeddedarm.com/wiki/Linux_for_ARM_on_TS-72XX_User%27s_Guide#Initialization_Scripts


>> TS-SDBOOT - built Aug 10 2009

>> Copyright (c) 2007, Technologic Systems

.
.
.
Finished booting in 2.14 seconds
Type 'tshelp' for help

$

Any idea or tutorial materials will be great help, thank you & have a
good night.




Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU