Re: [PATCH] disk: part_dos: update partition table entries after write

2021-01-28 Thread Gary Bisson
Hi Heinrich, On Wed, Jan 27, 2021 at 09:56:13PM +0100, Heinrich Schuchardt wrote: > On 1/27/21 9:19 PM, Gary Bisson wrote: > > Fixes issues when switching from GPT to MBR partition tables. > > This does not catch all cases of changing the MBR. See function > write_mbr_partitions() with writes bot

Re: [PATCH] disk: part_dos: update partition table entries after write

2021-01-27 Thread Heinrich Schuchardt
On 1/27/21 9:19 PM, Gary Bisson wrote: Fixes issues when switching from GPT to MBR partition tables. This does not catch all cases of changing the MBR. See function write_mbr_partitions() with writes both the MBR and EBRs (if applicable). Android devices typically have more than 4 partitions.

[PATCH] disk: part_dos: update partition table entries after write

2021-01-27 Thread Gary Bisson
Fixes issues when switching from GPT to MBR partition tables. Signed-off-by: Gary Bisson --- Hi, Sending this patch as a follow-up to the other one [1] doing the same thing for GPT write. Let me know if you have any questions. Regards, Gary [1] https://lists.denx.de/pipermail/u-boot/2021-Janu