From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: u-boot@lists.denx.de
Subject: [PATCH v1] doc: README.distro: Special case with Windows formatted disk
Date: Fri, 17 Jan 2020 12:44:51 +0200 [thread overview]
Message-ID: <20200117104451.62417-1-andriy.shevchenko@linux.intel.com> (raw)
If someone wants to use shared (by installed OS) eMMC partition to
the Windows to boot from, it's not possible due to U-Boot limitations.
Describe this case and possible workaround.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
doc/README.distro | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/doc/README.distro b/doc/README.distro
index ab6e6f4e74..807a82c910 100644
--- a/doc/README.distro
+++ b/doc/README.distro
@@ -405,3 +405,23 @@ of the boot environment and are not guaranteed to exist or work in the same
way in future u-boot versions. In particular the <device type>_boot
variables (e.g. mmc_boot, usb_boot) are a strictly internal implementation
detail and must not be used as a public interface.
+
+Using a eMMC partition that has been formatted as a disk by Windows 10
+======================================================================
+
+Let's assume we have an (embedded) board with U-Boot and Linux OS
+installed on eMMC. Linux OS shares one of the eMMC partitions as
+a disk via USB Mass Storage protocol.
+
+It may be useful to utilize that disk to copy bootable files from
+Windows machine to the board in case someone doesn't want to erase
+stock installation on it.
+
+Unfortunately, Windows 10 doesn't provide knobs and always formats
+that disk as a whole, meaning that it creates a partition table on it
+with requested (FAT) partition. As a result U-Boot may not see any
+files on it due to nesting partition tables.
+
+The workaround may be in formatting the partition under Linux OS,
+setting up a network connection between Linux OS and Windows 10 and
+use it to copy files to the partition.
--
2.24.1
next reply other threads:[~2020-01-17 10:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-17 10:44 Andy Shevchenko [this message]
2020-12-27 0:27 ` [PATCH v1] doc: README.distro: Special case with Windows formatted disk Pali Rohár
2020-12-27 9:08 ` Andy Shevchenko
2020-12-28 17:50 ` Pali Rohár
2020-12-28 18:27 ` Andy Shevchenko
2021-01-29 19:28 ` Tom Rini
2021-01-29 21:05 ` Andy Shevchenko
2021-01-29 21:39 ` Heinrich Schuchardt
2021-01-29 22:09 ` Andy Shevchenko
2021-01-30 7:13 ` Heinrich Schuchardt
2021-01-29 22:53 ` Pali Rohár
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200117104451.62417-1-andriy.shevchenko@linux.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox