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

Caleb Connolly caleb.connolly at linaro.org
Fri Apr 11 16:48:30 CEST 2025


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 to get the boot media from xBL ?

In the chainloaded case we could i think map some DT path from the 
kernel cmdline to the boot device, but I think just checking that if we 
have SCSI then the partition we find MUST be on a SCSI device would be 
enough.

In the non-chainloaded case, we actually do get handed a pointer to a 
shared data structure from sbl1 which has all kinds of goodies in but 
the whole thing is proprietary :(

> 
> Anyway, with the typo fix:

Ack, seems like the 'z' is how U-Boot tends to do it, though it pains me 
so :P

> Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>

Thanks>
> Neil
-- 
Caleb (they/them)



More information about the U-Boot mailing list