I’m using a yocto recipe to create/package my kernel and device tree in
/boot along with
/boot/extlinux/extlinux.conf as well as the associated signature files.
Upon first boot the dtb and dtb.sig are read fine but the sha256sum of the kernel image is not computed correctly. I’ve modified the cboot code to print out the hash that is computed along with what is read from the signature file. The signature looks fine but the computed checksum is wrong.
Now, if I have cboot ignore the extlinux, scp off the Image and scp it back then it works fine. There seems to be something about how cboot reads the initially packaged file that causes problems.
Is there something about how cboot reads files that could be causing this problem?