[syslinux] Kernel Image CRC checking
Gene Cumm
gene.cumm at gmail.com
Tue Jun 4 04:05:15 PDT 2019
On Sat, May 25, 2019 at 8:33 AM Johann Obermayr via Syslinux
<syslinux at syslinux.org> wrote:
>
> Hello,
>
> Is there a function to check a bzImage CRC ?
>
> If (ImageCRC("/bzImage") == -1)
> Load_kernel("/BACKUP/bzImage") or what else
>
> Thanks
>
> Regards
> Johann
It doesn't appear so. I'm assuming you're referring to the CRC32
present in Linux x86 boot protocol 2.08+ found in Linux versions
2.6.26+ ? libupload has a CRC-16 function. zlib has a CRC-32
function but looks like it's initialized with different
polynomial/remainder.
--
-Gene
More information about the Syslinux
mailing list