Peter Stuge wrote:
then run dd if=coreboot.rom of=top64k.bin bs=1 \ skip=$[sizeof(coreboot.rom) - 0x10000] count=64k
Insert one step here:
then run dd if=coreboot.rom bs=1 \ skip=$[sizeof(coreboot.rom) - 0x10000] count=64k | hexdump # and verify that the complete range is filled with ff bytes before # proceeding further. if this is not the case, the coreboot image # needs to be recreated with the second-to-last 64kbyte block unused
then run dd if=top64k of=coreboot.rom bs=1 \ seek=$[sizeof(coreboot.rom) - 0x20000] count=64k conv=notrunc
That should of course read:
then run dd if=top64k.bin of=coreboot.rom bs=1 \ seek=$[sizeof(coreboot.rom) - 0x20000] count=64k conv=notrunc
//Peter