snapd icon indicating copy to clipboard operation
snapd copied to clipboard

uc20: add dtbo partition support for lk boot loader

Open kubiko opened this issue 4 years ago • 2 comments

Some devices use dtbo image, which is stored in separate partition from where boot image is This requires lk bootloader plugin to extract correct file from the kernel snap to the correct partition.

We use spare slots in lkenv to define mapping matrix(Bootimg_to_dtboimg_matrix). This tells snapd which dtbo_* partition is to be used for which boot_* partition. Additionally there is also value for dtbo filename (Dtboimg_file_name). Since this is optional feature, defining value for Dtboimg_file_name is used to control if in use.

Both Dtboimg_file_name and Bootimg_to_dtboimg_matrix are static and defined at gadget build time. Snapd does not change or alter any of those values.

Thanks for helping us make a better snapd! Have you signed the license agreement and read the contribution guide?

kubiko avatar Mar 09 '21 21:03 kubiko

@kubiko is this still relevant?

Meulengracht avatar Feb 21 '24 08:02 Meulengracht

Discussed with @kubiko , this is still relevant and should not be removed.

ernestl avatar Feb 28 '24 07:02 ernestl