how to download a file to specified mem location using tftp

Sascha Hauer s.hauer at pengutronix.de
Thu Nov 15 02:41:34 EST 2012


On Thu, Nov 15, 2012 at 03:07:55PM +0800, zzs wrote:
> > So how to mount tftp to /mnt/tftp
> >
> Greped barebox code, Now I SEE
> 
> mkdir /mnt/tftp -p && mount -t tftp $eth0.serverip /mnt/tftP

Additionally you'll find this:

mkdir /mnt/tftp
automount /mnt/tftp 'ifup eth0 && mount -t tftp $eth0.serverip /mnt/tftp'

which will automount it for you once you need it.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list