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

Tom Rini trini at konsulko.com
Fri Jan 17 15:51:43 CET 2020


On Fri, Jan 17, 2020 at 11:47:03AM +0200, Andy Shevchenko wrote:
> On Fri, Jan 17, 2020 at 8:13 AM AKASHI Takahiro
> <takahiro.akashi at linaro.org> wrote:
> > On Thu, Jan 16, 2020 at 10:31:49PM +0200, Andy Shevchenko wrote:
> 
> ...
> 
> > > Prerequisites:
> > >  - the board with U-Boot and installed Linux OS on eMMC
> > >  - g_multi module in Linux OS that shares *one of the eMMC partitions*
> > > (pay attention here) as a disk to Windows host
> >
> > I also misunderstood your assumption above; You are developing
> > a linux-based USB gadget for Windows (10)?
> 
> No.
> 
> > > Now, when you format that exposed disk (which is actually a partition
> > > on eMMC!) in Windows, you will get nested partitioning.
> >
> > So why do you want to access *that* partition from U-Boot on the board?
> > I don't think it is a common case.
> 
> What I'm trying to do is to copy some bootables to that partition from
> Windows machine in order to boot them via U-Boot.
> That's allow me not to disturb stock image on that board.
> 
> If U-Boot is not going to support nested partitioning, perhaps I can
> submit a documentation fix to advertise this explicitly.

I'm confused here, sorry.  I thought one of the described examples was
how to have Windows use the whole device it was given, without partition
table, as FAT and thus it would be shareable.  Is that not possible?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200117/d94156d4/attachment.sig>


More information about the U-Boot mailing list