[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] netflash, checksum, and u-boot



Hi all,

I'm looking at netflash to upgrade my kernel and I wanted to add the hmacmd5 hash to the image, but there seems to be an order of operations problem. The vendor common.mak file appends version info to image.bin, then runs the hmacmd5 tool, THEN prepends the u-boot header to create image.ub. Now u-boot wants to load image.ub from flash (i.e. needs the 64 byte u-boot header) but when I run netflash on the image.ub image the signature check fails since the u-boot header was added AFTER the signature. I can netflash image.bin but u-boot doesn't like it.

Should the makefile be changed to sign the image.ub file, or should netflash skip the u-boot header before the signature or what?


Thanks,
Jim

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/