From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Wu Date: Wed, 11 Jun 2014 11:36:32 +0800 Subject: [U-Boot] [U-boot] sandbox test script question In-Reply-To: References: Message-ID: <5397CEC0.2070300@atmel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, Tiger On 6/10/2014 7:01 PM, TigerLiu at via-alliance.com wrote: > Hi, Simon: > Is there any doc described how to use 'sb load host / sb ls host' etc > cmds? so far seems no doc yet. If you want to access the host file system, you need apply a patch: http://patchwork.ozlabs.org/patch/358406/ (fix the typo) then you can access the host file system by use: 'sb load hostfs 0 200000 /home/xxx' > I tried to run: > sb info > > it displayed: > 0 Not bound to a backing file > ...... if you want to access a file as a block device. you need use 'sb bind 0 test.img' to bind a file as a host 0 interface. Hope it helps. Best Regards, Josh Wu > > Best wishes, > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot