From mboxrd@z Thu Jan 1 00:00:00 1970 From: AKASHI Takahiro Date: Tue, 21 Jan 2020 09:39:28 +0900 Subject: fat: handle Windows formatted partition (thru USB Mass Storage) In-Reply-To: References: <20200115001258.GG28530@linaro.org> <20200116020108.GH28530@linaro.org> <7a1d7387-82d2-e425-953e-aae95eda30d3@gmx.de> <20200117061240.GO28530@linaro.org> Message-ID: <20200121003927.GA8146@linaro.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Jan 17, 2020 at 11:47:03AM +0200, Andy Shevchenko wrote: > On Fri, Jan 17, 2020 at 8:13 AM AKASHI Takahiro > 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. Really? I've got messed up now. - Why do you need to use g_multi to access the disk? - Where is a disk attached to? - Are Linux and Windows running on the same board? -Takahiro Akashi > > > 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. > > -- > With Best Regards, > Andy Shevchenko