bootloader - How to use the fatls command in uboot sandbox? -
i working uboot sandbox. here how see fatls in sandbox.
=> fatls fatls - list files in directory (default /) usage: fatls <interface> [<dev[:part]>] [directory] - list files 'dev' on 'interface' in 'directory'
here interface , dev in system. trying,
=> fatls sda 0 ** bad device sda 0 **
you have bit more work. assuming have built sandbox already:
$ dd if=/dev/zero of=fat.img bs=1k count=2048 $ mkfs.vfat ./fat.img $ ./u-boot ... => host bind 0 fat.img => fatls host 0:0 0 file(s), 0 dir(s) =>
Comments
Post a Comment