From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pa0-f49.google.com ([209.85.220.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TYsGl-0006RM-AQ for barebox@lists.infradead.org; Thu, 15 Nov 2012 05:45:44 +0000 Received: by mail-pa0-f49.google.com with SMTP id bi5so789777pad.36 for ; Wed, 14 Nov 2012 21:45:40 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20121115031146.GA31296@greatfirst.com> References: <20121115031146.GA31296@greatfirst.com> Date: Thu, 15 Nov 2012 09:45:40 +0400 Message-ID: From: Antony Pavlov List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: how to download a file to specified mem location using tftp To: barebox On 15 November 2012 07:11, zzs 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 (but /dev/mem is default value for -d). > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox -- Best regards, Antony Pavlov _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox