ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] How to run an application on Embedded Linux


From: Stuart Hughes
Subject: Re: [Ltib] How to run an application on Embedded Linux
Date: Sun, 25 Jul 2010 11:19:11 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Casper,

Lots of questions, but I answer to try help what I think is most useful.

* Once Linux is booted, don't worry about tftp, although it could be
used for file transfer, it rarely used in this scenario.  Much better is
to use scp.  If you enabled dropbear in ltib --configure, that will
provide an ssh client/server, so from either side you can run scp, and
also log in/out using ssh. BTW: tftp (client) is in busybox and inetutils.

* Regarding IP configuration (and other).  The model in LTIB is that you
configure on the build side.  So in this case, run ./ltib --configure
and select: Target System Configuration Options / Network setup / ....
the simplest is to use "get network parameters using dhcp"

Note that you can change this on the target by editing /etc/rc.d/rc.conf
and changing IPADDR0 and other settings (depending on dhcp/static) and
then restarting networking (/etc/rc.d/rcS restart network)/.  However if
you re-built the rootfs, this will get lost, so host side config is
preferred.

Regards, Stuart


casper iway wrote:
> hi Stuart,
> 
> Actually i have two reasons why i need to access my usb device. At first
> yup, i want to copy my application from usb to the target board, as i
> can't get any other communication to work. Second of course i want to
> try all the functionality of devices on my Dev. Board. But right now i'm
> more focus on transferring apps to my target board.
> 
> I tried tftp,unfortunately it doesn't work for me or maybe i don't do it
> right... I have number of questions about tftp, could you help me
> understand about it?
> How do i keep tftp on my target board working?
> 1. Do you know a specific option in the kernel configuration that i
> could check or uncheck so that tftp is enabled (i'm referring in LTIB
> configuration option, the one with User Interface)?
> 2. Next, should i only use Linux as my host TFTP or can i use Windows
> machine for host TFTP(i have downloaded TFTP program for windows, i
> don't know if its ok to use)?
> 3. About the connection, if i connect it directly from my PC host to the
> target board, i think i'm gonna use cross cable right??
> 4. Assuming i did my kernel configuration right, where should i
> configure the IP on my target board. Is it in Uboot environment or in
> the Bash prompt, the one when you successfully load the kernel and
> filesystem (i'm planning to do direct connection from my Local PC to my
> target board)?
> 
> Hope you could help me with this one, cause right now i could not
> proceed anymore. Any advices are welcome..
> 
> Thanks..
> 
> 
> Casper
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]