fat: handle Windows formatted partition (thru USB Mass Storage)

Andy Shevchenko andy.shevchenko at gmail.com
Tue Jan 14 09:23:44 CET 2020


On Tue, Jan 14, 2020 at 10:21 AM Andy Shevchenko
<andy.shevchenko at gmail.com> wrote:
> On Tue, Jan 14, 2020 at 1:14 AM Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> > On 1/13/20 10:52 PM, Andy Shevchenko wrote:

...

> > This image loads fine on current U-Boot, see below.
>
> Of course it does *in the test case you have done*.
> I'm describing different one. The provided image must be a *partition*
> on the real disk.
>
> So, before use it the preparatory steps must be made.
>
> Something like
>
> % dd if=/dev/zero of=image-file bs=1M count=1000
> % fdisk image-file
>  ...create a partition table, where one partition has a (similar) size
> of the image I provided
> % mount -o loop,offset=... image-file /mnt # use *partition* as a disk!
> % dd --sparse if=mmc-fat-part of=/mnt
> % umount /mnt
>
> And use image-file instead.

Should I prepare it for you or you can do it yourself?

--
With Best Regards,
Andy Shevchenko


More information about the U-Boot mailing list