trezor-firmware icon indicating copy to clipboard operation
trezor-firmware copied to clipboard

Prepare a system to embed bootloader version according to model type in core

Open TychoVrahe opened this issue 3 years ago • 1 comments

Currently we only have a bootloader binary for model T in Core source. We will need to design a way to do it for additional models. Obviously a solution like bootloader_T.bin and bootloader_R.bin is possible, but maybe there might be a better way to do it? something that will not bloat the repo over time with binaries, like pulling the bootloader binary from CI during build or something?

TychoVrahe avatar Jun 27 '22 08:06 TychoVrahe

bootloader_T.bin and bootloader_R.bin is possible

+1

The binaries are really small, there is no need to over-optimize things right now. Later, we could be considering using git-lfs, but I don't think that's required right now and adds lot of new issues.

prusnak avatar Jun 27 '22 08:06 prusnak

given that we have predefined internal names, the solution is now clear: bootloader_T2T1.bin bootloader_T2B1.bin

matejcik avatar Dec 19 '22 12:12 matejcik