Skip to content

RFC GPT over MTD

Ladislav Michl u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [Resend RFC PATCH v1 0/3] GPT over MTD

Hi,

Quoted 4 lines · Patrick Delaunay

I have a request to support GPT over MTD to be able to have dynamic MTD informations without u-Boot environment(CONFIG_ENV_IS_NOWHERE is a other requirement of my project).

I'm just curious, could you provide some reasoning, why this is a requirement?

Quoted 3 lines

The idea is to use the GPT header to save partitioning information directly in flash device (NOR or NAND), then the MTD variables are rebuild from these GPT partitions and can be used by DISTRO to search bootable binary.

Ok, so you stored partitioning information on flash... That seems to be some kind of limited environment saved :-)

Quoted 4 lines

I make a first prototyping for this request but I want ask you if this feature is acceptable for u-boot and if this patches, after some update and cleanups, would be merged in u-boot mainline.
Do you see already some blocking points ?

Is there any reason why you cannot use UBI?

Quoted 10 lines

- added code is under a new CONFIG : CONFIG_EFI_PARTITION_MTD
- for implementation details, see doc/README.gpt.mtd

TODO:
- split patch between core impact (disk/part_efi.c)
and command update
- full support for modified command
(today I limit the support for the command used by DISTRO macro)
- DISTRO macro update for automatic boot on GPT bootable partition found in MTD devices

Best regards,
ladis