Re: [PATCH 2/4] mach-snapdragon: CapsuleUpdate: support all boot methods

2025-04-11 Thread Caleb Connolly
Hi Neil, The logic is complex but looks to be good. What would happen if we plug an eMMC with conflicting partitions names ? That would cause issues... Probably the more correct way to do things here would be to use part UUIDs, but it's not clear how consistent those are. Is there a way

Re: [PATCH 2/4] mach-snapdragon: CapsuleUpdate: support all boot methods

2025-04-03 Thread Caleb Connolly
On 4/1/25 14:42, Ilias Apalodimas wrote: Hi Caleb On Wed, 26 Mar 2025 at 19:41, Caleb Connolly wrote: Expand capsule update support to correctly identify which partition U-Boot is flashed to (between xbl, uefi, and boot including A/B variants). Use qcom_boot_source to determine if we were

Re: [PATCH 2/4] mach-snapdragon: CapsuleUpdate: support all boot methods

2025-04-01 Thread Neil Armstrong
On 26/03/2025 18:40, Caleb Connolly wrote: Expand capsule update support to correctly identify which partition U-Boot is flashed to (between xbl, uefi, and boot including A/B variants). Use qcom_boot_source to determine if we were chainloaded from ABL, meaning U-Boot is on the boot partition, ot

Re: [PATCH 2/4] mach-snapdragon: CapsuleUpdate: support all boot methods

2025-04-01 Thread Ilias Apalodimas
Hi Caleb On Wed, 26 Mar 2025 at 19:41, Caleb Connolly wrote: > > Expand capsule update support to correctly identify which partition > U-Boot is flashed to (between xbl, uefi, and boot including A/B > variants). > > Use qcom_boot_source to determine if we were chainloaded from ABL, > meaning U-Bo

[PATCH 2/4] mach-snapdragon: CapsuleUpdate: support all boot methods

2025-03-26 Thread Caleb Connolly
Expand capsule update support to correctly identify which partition U-Boot is flashed to (between xbl, uefi, and boot including A/B variants). Use qcom_boot_source to determine if we were chainloaded from ABL, meaning U-Boot is on the boot partition, otherwise we assume uefi if it's available, fin