[U-Boot] [PATCH v4 00/16] GPT over MTD

Patrick DELAUNAY patrick.delaunay at st.com
Tue Apr 11 16:13:47 UTC 2017


From: Tom Rini [mailto:trini at konsulko.com]
Sent: vendredi 7 avril 2017 18:26
> 
> 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

Hi, Tom

Sorry I don't expect some issue in boards as I only modify file system part under compilation flag (expect includes).

Today I already see one issue in patch 08 (because I include linux/mtd/mtd.h, part.h and that cause error for some boards)

I will correct all the errors and  warnings for all boards, rebase my patch on latest master version and push a PATCH version 5 soon.

Patrick


More information about the U-Boot mailing list