ts-7000
[Top] [All Lists]

Re: [ts-7000] auto boot from sd card without the ts-752 board.

To:
Subject: Re: [ts-7000] auto boot from sd card without the ts-752 board.
From: Jonathan Leslie <>
Date: Thu, 17 Jan 2013 14:32:38 -0800 (PST)


definitely work with a 700 ohm resistor between pin 5 and ground.  It didn't work without the resisitor. 

next question, where and what  are the script files that run on debian boot?

 reboot works too:

ts7500:/initrd# shutdown -r 0

Broadcast message from (ttyS0) (Thu Jan  1 00:14:07 1970):

The system is going down for reboot NOW!
INIT: Switching to runlevel: 6
INIT: Sending processes the TERM signal
Stopping web server: apache2 ... waiting ..
Stopping NFS common utilities: statd.
Stopping internet superserver: inetd.
Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Stopping enhanced syslogd: rsyslogd.
Asking all remaining processes to terminate...done.
All processes ended within 1 seconds....done.
Stopping portmap daemon....
not deconfiguring network interfaces: network devices still mounted. (warning).
Cleaning up ifupdown....
Deactivating swap...done.
Unmounting local filesystems...umount2: Device or resource busy
umount: /dev/root busy - remounted read-only
done.
Will now restart.

>> TS-BOOTROM - built Jul 30 2009 13:41:34
>> Copyright (c) 2009, Technologic Systems
>> Booting from microSD card...
.
.
.
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
Activating swap...done.
Cleaning up ifupdown....
Loading kernel modules...done.
Checking file systems...fsck 1.41.3 (12-Oct-2008)
done.
Setting kernel variables (/etc/sysctl.conf)...done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Setting up networking....
Configuring network interfaces...done.
Starting portmap daemon....
Starting NFS common utilities: statd.
INIT: Entering runlevel: 2
Starting enhanced syslogd: rsyslogd.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting OpenBSD Secure Shell server: sshd.
Starting NFS common utilities: statd.
Starting internet superserver: inetd.
Starting periodic command scheduler: crond.
Starting web server: apache2.

Debian GNU/Linux 5.0 ts7500 ttyS0

ts7500 login: root
Last login: Thu Jan  1 00:01:40 UTC 1970 on ttyS0
Linux ts7500 2.6.24.4 #10 Tue Oct 13 16:15:47 MST 2009 armv4l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
ts7500:~# dhclient eth0; pump;
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:d0:69:42:40:de
Sending on   LPF/eth0/00:d0:69:42:40:de
Sending on   Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 10.0.1.1
bound to 10.0.1.74 -- renewal in 306773 seconds.
ts7500:~#





--- On Thu, 1/17/13, Jonathan Klay - NOAA Federal <> wrote:

From: Jonathan Klay - NOAA Federal <>
Subject: Re: [ts-7000] auto boot from sd card without the ts-752 board.
To:
Date: Thursday, January 17, 2013, 5:26 PM

 

Funny, we just had this problem yesterday - our engineer had a jumper on the new baseboard tying that pin to ground and it just kept rebooting.  Had to connect a console terminal to figure out what was happening.


On Thu, Jan 17, 2013 at 2:21 PM, Jonathan Leslie <m("yahoo.com","jleslie48");" target="_blank" href="/mc/compose?to=">> wrote:


I got it!     I attached pin 5 on the 44 pin connector (the MODE2 pin??) to a 700 ohm resistor, and tied that to ground.   

44-Pin Header

The TS-7500 includes a .1" pin spacing external header for board to board interfacing. The TS-7500 external interfaces uses a total of 44 pins.

    _________________________________________________________________ 
   | 2  4  6  8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44|
 * | 1  3  5  7  9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43|
   \-----------------------------------------------------------------/

Pin table:

3.1 44-Pin Header

Pin#Name Function
1JTAG_DOUT
2JTAG_TMS 4.7k pull-up
3JTAG_CLK 2.2k pull-up
4JTAG_DIN 4.7k pull-up
5DIO_05 DIO, XUART#0 TX, RS232 RTS on TS-752, 4.7k pull-up
6DIO_06 DIO, XUART#0 RX, RS232 CTS on TS-752
7DIO_07 Console TX, DB9 RS232 TXD on TS-752, 4.7k pull-up
8DIO_08 Console RX, DB9 RS232 RXD on TS-752, 4.7k pull-up
9DIO_09 DIO or ext_reset#


The DIO registers are described in the #Syscon section. This board has 40 logical DIO registers on the FPGA to remain consistant with the series, but not all of the pins are brought out. DIO 9 by default is an external reset which is pulled high, and when it is set to 0 the board will reboot. You can disable this functionality by clearing bit 4 of 0x76 in the #Syscon.

DIO NumberLocationAlternate Function
5 Pin 5 of the #44 Pin Header MODE2XUART 0 TX
6Pin 6 of the #44 Pin Header XUART 0 RX
7Pin 7 of the #44 Pin Header MODE1


--- On Thu, 1/17/13, Jonathan Leslie <m("yahoo.com","jleslie48");" target="_blank" href="/mc/compose?to=">> wrote:

From: Jonathan Leslie <m("yahoo.com","jleslie48");" target="_blank" href="/mc/compose?to=">>Date: Thursday, January 17, 2013, 4:56 PM


 

I tried that:

"rm linuxrc; ln -sf /linuxrc-sdroot /linuxrc; save

*After that you will see this message: Saving initrd to SD card...done 

I ran the above from the busybox prompt but it didn't work. 





--- On Thu, 1/17/13, Jonathan Klay - NOAA Federal <m("noaa.gov","jonathan.klay");" target="_blank" href="/mc/compose?to=">> wrote:

From: Jonathan Klay - NOAA Federal <m("noaa.gov","jonathan.klay");" target="_blank" href="/mc/compose?to=">>
Subject: Re: [ts-7000] auto boot from sd card without the ts-752 board.
To: m("yahoogroups.com","ts-7000");" target="_blank" href="/mc/compose?to=">
Date: Thursday, January 17, 2013, 4:44 PM

 

Let the board boot.
Do an "ls -al" -- you should see a link of linuxrc -> linuxrc-fastboot
you will need to rm linuxrc, and then ln -s linuxrc-sdroot linuxrc
to make a new link for the boot type you want.

All in the manual, I believe.

There are many ways to run your script.  Perhaps put a line in /etc/rc.local to call it.

Jonathan


On Thu, Jan 17, 2013 at 1:19 PM, Jon L <> wrote:
I have the TS-7500 on a hand made breadboard.  Currently to get to busybox, I have to:

1) set up a puTTY session to monitor the UART 0
2) when the busybox finishes booting, I type 'exit'
3) the debian linux boots off of the SD card.

I want on power up to boot directly from the SD card, or at least I want the busybox to automatically type in its own 'exit' on the console so it boots the debian linux everytime.   I then want the debian linux to run my startup_script.sh    starting whatever processes' I want,

can anybody give me step by step instructions?   The manual says I should be able to do this by setting MODE1 or MODE2, and I thought this was achievable by pulling these pins (5, and 7 respectively) to ground, but that does not seem to work.

sincerely,

jleslie






------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
   
   

<*> To unsubscribe from this group, send an email to:
   

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/




--
Jonathan Klay
System Administrator -- System Manager
PMEL CNSD -- Vents Program

NOAA Using Google Get To Know Google AppsLearn About UMS






--
Jonathan Klay
System Administrator -- System Manager
PMEL CNSD -- Vents Program

NOAA Using Google Get To Know Google AppsLearn About UMS


__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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