ts-7000
[Top] [All Lists]

[ts-7000] Re: Embedded Linux

To:
Subject: [ts-7000] Re: Embedded Linux
From: "charliem_1216" <>
Date: Sat, 20 Dec 2008 15:42:08 -0000
Hi --

--- In  "bonjelo2000" <> wrote:
>
> Hi,
> 
> I am new to embedded linux (been working with Rabbit processors) and
am 
> new to embeded linux.  Could anyone suggest any good references on 
> embeded linux.  I know enough about the linux (ubuntu) on my desktop
to 
> be dangerous.

A great reference is "Building Embedded Linux Systems" by Karim
Yaghmour (O'Reilly).  2nd edition came out this past fall.  This is
the book to go to if you are already familiar with linux, and want to
build an embedded system.  If you want to learn linux, shell
programming, unix, RT or network system programming techniques, etc,
then there are better books. 

> 
> I have successfully compiled simple programs (hello world) for both
my 
> linux desktop (intel) and TS 7250 (ARM) environments.  For another 
> program I am making calls to a shell script that makes use of system 
> calls (ntpdate and ftp) that work in my desktop environment but not
on 

IMHO, one nice thing about using linux on your embedded system is that
you have basically the same environment & resources on your target
systems as on your desktop (well, modulo GUI stuff).  Most of what you
learn on your desktop will port directly: shell code, POSIX C code,
unix system utilies, etc.

> the TS 7250.  I found I can get the ntpdate to function by using a
copy 
> supplied off of the USB stick supplied by Techologic.  I cant get
the 
> ftp to work (see below for how I am using it in shell script).  I am 
> finding I have to install a few more items that just the ftp
program.

One thing I've run into a few times is that the busybox shell supplied
by TS has built-in commands for some utilities that don't quite work
properly.  If you find that, you can either compile & install a
substitute binary & remove the symbolic link to busybox, or install a
later version of busybox that has usually fixed the issue.  Don't know
if that's the case with ftp or ntpdate, but just FYI.

regards, ........... Charlie

> Instead of guessing on what to do I would rather get an
understanding 
> of the embedded linux environment and how to control it so any help
in 
> references is appreciated.
> 
> Thanks  
> 
> ftp -n <<END_SCRIPT
> open $HOST
> quote user $USER 
> quote pass $PASSWD
> put $FILE $FILE1
> get $FILE1 $FILE
> bye
> END_SCRIPT
>



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

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