how to download a file to specified mem location using tftp

Antony Pavlov antonynpavlov at gmail.com
Thu Nov 15 00:45:40 EST 2012


On 15 November 2012 07:11, zzs <zzs213 at 126.com> wrote:
> tftp command only have filename args, Now I want
> download a file to mem loctaion, ex 0x21f00000.
> How to do that?
>
> --
> Best Regards,
> zzs


AFAIR,
 memcpy -s /mnt/tftp/file -d /dev/mem 0 <memaddr> <size>

(but /dev/mem is default value for -d).


> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox



-- 
Best regards,
  Antony Pavlov



More information about the barebox mailing list