ts-7000
[Top] [All Lists]

[ts-7000] Re: What a great little device this TS-7200! Couple questions

To:
Subject: [ts-7000] Re: What a great little device this TS-7200! Couple questions..
From: "parkranger_dan" <>
Date: Wed, 04 May 2011 20:02:18 -0000
Roberto,

Very, very cool.  That would be such a great help.  I'll be ecstatic if I can 
get the newest version of socat compiled on it!  

I'm actually considering mounting darn near the entire volume read-only.  My 
app does not write anything to disk, nor do I care about logging anything 
locally.  The unit will be basically acting as a serial to internet transceiver 
that does nothing but attempt to connect to a 'mothership' linux server every 
minute.

On boot, I have a script that copies my main script to a ramfs volume to 
minimize CF hit (it's called by crontab on the */1).   

Best,

Dan


--- In  "r_bergo" <> wrote:
>
> Hi Dan
> tomorrow morning I'll put images and instructions on my webserver.
> 
> Well, I know ext3 use more write cycle than ext2 but when I use ext2 I got 
> two SD corruption in a few months due unattended power failures.
> Now, with ext3, I switch ON/OFF the system without shutdown every day and it 
> works fine!
> 
> The SD is partitioned as follow:
> 1st (83) ext3 on / mounted in rw
> 2nd (83) ext3 on /opt mounted in ro contains my app. It's remounted in rw for 
> upgrade system and then remounted in ro
> 3rd (83) ext3 on /var mounted in rw contains logs and data is 100 time 
> greather than my required space so, file system can use much sectors...
> 4th (82) swap
> 
> Roberto
> 
> --- In  "parkranger_dan" <dkeller76@> wrote:
> >
> > Hi Roberto,
> > 
> > Oh man that would be awesome if I could try your image.  My 7200 has CF, 
> > not SD though, wonder if that will be an issue?  Do you happen to have a 
> > web-server somewhere I could just wget this from?
> > 
> > Have yet to flash the device, need to find a procedure for that.  I'm very 
> > nervous about bricking!
> > 
> > Curious as to why you went with a journaling filesystem on a flash card?  
> > From what I've read there's 3 times the writes per write-cycle, which kills 
> > the card quicker.  I THINK this may be why they chose ext2 in the first 
> > place, from what I've read.
> > 
> > Thanks Roberto!
> > 
> > -Dan
> > 
> > --- In  "r_bergo" <roberto.bergo@> wrote:
> > >
> > > Hi Dan,
> > > As you I'm on embedded Linux from bit more than one year !
> > > 
> > > I had the same corruption problem and kernel questions as you. TS does 
> > > not support 2.6 yet..... I hope they does soon !
> > > 
> > > Now I'm using TS7260 flashed with 2.6 kernel + external SD card 
> > > partitioned ext3.
> > > This kit works well and I never saw corruption or system crash.
> > > 
> > > If you want to try that, I could send you flash image and SD image 
> > > files...
> > > 
> > > Roberto
> > > 
> > > --- In  "parkranger_dan" <dkeller76@> wrote:
> > > >
> > > > Hey all - 
> > > > 
> > > > I'm a half-seasoned Linux nut, but pretty new to the embedded computer 
> > > > thing.  I chose the TS-7200 for a secure remote-serial/reverse tunnel 
> > > > project, basically linking lasers at customer sites via serial port to 
> > > > LabView machines at the support facility.  
> > > > 
> > > > Thusfar, all of my code works perfect on it and I pretty much have this 
> > > > thing configured exactly how I need it with the exception of a few key 
> > > > things...
> > > > 
> > > > NOTE: I have disabled the console, and the device is now booting from 
> > > > the CF card (I purchased the 2.4 based Debian distro through 
> > > > Technologic Systems).
> > > > 
> > > > 1.  The version of socat in the repositories is rather old (v1.4), I 
> > > > REALLY need the 2.0.0-b4 version, as the previous is not stable with my 
> > > > app.  I tried compiling the newer version but many errors result.
> > > > 
> > > > =======
> > > > SNIPPET
> > > > =======
> > > > :socat-2.0.0-b4.generic# make
> > > > gcc -O -D_GNU_SOURCE  -Wall -Wno-parentheses -DHAVE_CONFIG_H -I.  -I.   
> > > > -c -o socat.o socat.c
> > > > In file included from /usr/include/linux/ext2_fs.h:20,
> > > >                  from sysincludes.h:163,
> > > >                  from socat.c:11:
> > > > /usr/include/linux/ext2_fs_sb.h:48: error: syntax error before "u32"
> > > > /usr/include/linux/ext2_fs_sb.h:50: error: syntax error before '*' token
> > > > /usr/include/linux/ext2_fs_sb.h:55: error: syntax error before '}' token
> > > > make: *** [socat.o] Error 1
> > > > ========================================================
> > > > 
> > > > The more I read, the more I think I'll need the 2.6 Kernel to compile 
> > > > correctly.  I could be wrong.  Also, a bit concerned with CF card 
> > > > support in 2.6, as the website indicates that there was no official 
> > > > testing.  They recommended different hardware for 2.6.
> > > > 
> > > > 2.  Powering down unsafely will be common-place once this things is 
> > > > deployed, and I really don't want the CF card corrupted.  I've read 
> > > > that some people have managed to mount the card as read-only and create 
> > > > ramdrives for linking things that must change in the OS.  
> > > > 
> > > > Is there a standard procedure for doing this?  
> > > > 
> > > > Thanks in advance!
> > > > 
> > > > Dan
> > > >
> > >
> >
>




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

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/

<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