From: Tom Rini Date: Fri, 7 Apr 2017 12:26:16 -0400 Subject: [U-Boot] [PATCH v4 00/16] GPT over MTD In-Reply-To: <1489587107-7268-1-git-send-email-patrick.delaunay@st.com> References: <1489587107-7268-1-git-send-email-patrick.delaunay@st.com> Message-ID: <20170407162616.GL19897@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Mar 15, 2017 at 03:11:31PM +0100, Patrick Delaunay wrote: > > I have a request to support GPT over MTD to have the MTD informations > without U-Boot environment(CONFIG_ENV_IS_NOWHERE is a other requirement > of my project to manage several board configuration with > the same defconfig; boot from NAND or NOR or SDCARD). > > The current idea is to use the GPT header format to save the partitioning > information directly in flash device (NOR or NAND), then the U-Boot MTD > variables are rebuild from these GPT partitions and can be used by DISTRO > command to search bootable binary. > > This information are directly used by BootRom to locate and load > the first bootstage. > > The added code is under a new CONFIG : CONFIG_EFI_PARTITION_MTD > and in the new file "disk/part_efi_mtd.c" > > For implementation details, see doc/README.gpt.mtd > > TODO: full support for modified command (if needed) > today I limit the support for the command expected > used by DISTRO macro: > + gpt write > + part list ... what I said just now to v3 applies here really, sorry for the confusion. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: