Re: how to download a file to specified mem location using tftp

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

 



In message <CAA4bVAEhhLxXfzNZ_mBP_=W-TNOHOkEnwF=vgBMBy16ezd2_NA@xxxxxxxxxxxxxx> Antony Pavlov wrote:
> >> tftp command only have filename args, Now I want
> >> download a file to mem loctaion, ex 0x21f00000.
> >> How to do that?
> >
> > AFAIR,
> >  memcpy -s /mnt/tftp/file -d /dev/mem 0 <memaddr> <size>
> >
> > (but /dev/mem is default value for -d).
> >
>
> If you have tftp command only (old barebox without tftp filesystem support)
> then use
>
>  barebox:/ tftp your_file
>  barebox:/ memcpy -s your_file 0 0x21f00000 <file size>
>

Thanks, I'm a barebox beginner.

So how to mount tftp to /mnt/tftp

my barebox version is 2012.10.0


-- 
Best Regards,
zzs



_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux