diff options
author | Francis Rowe <info@gluglug.org.uk> | 2014-11-27 23:42:50 (EST) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2014-11-27 23:42:50 (EST) |
commit | 1628aa2faf7d00444e56bd6c0b2a33c9408cd7db (patch) | |
tree | d52288ea6b5ab49d0214e38880a82541c3b2bc99 /buildrom-withgrub | |
parent | 9f6881e87f68dd8cc13add1bcee9418877fda1b3 (diff) | |
download | libreboot-1628aa2faf7d00444e56bd6c0b2a33c9408cd7db.zip libreboot-1628aa2faf7d00444e56bd6c0b2a33c9408cd7db.tar.gz libreboot-1628aa2faf7d00444e56bd6c0b2a33c9408cd7db.tar.bz2 |
build: fix bug: images for i945 ROM's were not dd'd
For X60/X60T/T60
An optimization was made earlier to reduce the number of steps
taken but it was found that the ROM images did not contain
identical data in the top two 64K regions of the image.
This would have bricked the users machine if the followed the
correct instructions, even. This patch fixed the issue.
Diffstat (limited to 'buildrom-withgrub')
-rwxr-xr-x | buildrom-withgrub | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/buildrom-withgrub b/buildrom-withgrub index d0454eb..b097196 100755 --- a/buildrom-withgrub +++ b/buildrom-withgrub @@ -51,15 +51,6 @@ do # .config no longer needed rm -f .config - # Needed on i945 systems for the bucts/dd trick (documented) - # This enables the ROM to be flashed over the lenovo bios firmware - if [ "$1" = "x60" ] || [ "$1" = "x60t" ] || [ "$1" = "t60" ] - then - dd if="$1"_"$romtype".rom of=top64k.bin bs=1 skip=$[$(stat -c %s "$1"_"$romtype".rom) - 0x10000] count=64k - dd if=top64k.bin of="$1"_"$romtype".rom bs=1 seek=$[$(stat -c %s "$1"_"$romtype".rom) - 0x20000] count=64k conv=notrunc - rm -f top64k.bin - fi - # Add the correct GRUB configuration file for this image. for keymap in $(ls ../resources/utilities/grub-assemble/keymap/original) do |