Binary package “pibootctl” in ubuntu mantic

query and manipulate the boot configuration of the Raspberry Pi

 pibootctl is a utility for querying and manipulating the boot-loader
 configuration of the Raspberry Pi, i.e. config.txt and associated files on
 the boot partition.