summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-07-03 02:53:14 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-07-03 02:53:14 (EDT)
commit85a59c7bfd2909433660bb41c48de7510571f343 (patch)
tree6d44436afca9b3f0e873f4948d369a8d3ff8fb91
parent3eb9cfb44d310767c562590a17b8ee999100b368 (diff)
downloadlibreboot-85a59c7bfd2909433660bb41c48de7510571f343.zip
libreboot-85a59c7bfd2909433660bb41c48de7510571f343.tar.gz
libreboot-85a59c7bfd2909433660bb41c48de7510571f343.tar.bz2
build/roms/withgrub: fix path names when running ich9gen
Otherwise, these images are brick.rom images
-rw-r--r--docs/tasks.html7
-rwxr-xr-xresources/scripts/helpers/build/roms/withgrub8
2 files changed, 11 insertions, 4 deletions
diff --git a/docs/tasks.html b/docs/tasks.html
index d194af1..7011042 100644
--- a/docs/tasks.html
+++ b/docs/tasks.html
@@ -474,6 +474,13 @@
<p><a href="#pagetop">Back to top of page.</a></p>
</div>
+
+<!--
+
+http://vzimmer.blogspot.co.uk/2015/06/firmware-related-blogs.html
+^ list of links to look out for (news items)
+
+-->
<div class="section">
diff --git a/resources/scripts/helpers/build/roms/withgrub b/resources/scripts/helpers/build/roms/withgrub
index cb205d2..92bcdb1 100755
--- a/resources/scripts/helpers/build/roms/withgrub
+++ b/resources/scripts/helpers/build/roms/withgrub
@@ -93,15 +93,15 @@ done
# Build the deblobbed descriptor+gbe regions for GM45/ICH9M targets.
# Then put them in the ROM images.
-if [ -d "bin/" ]; then
- cd "bin/"
+if [ -d "bin/grub/" ]; then
+ cd "bin/grub/"
for board in "x200" "r400" "t400" "t500"
do
for romsize in "4m" "8m"
do
if [ -d "${board}_${romsize}b/" ]; then
cd "${board}_${romsize}b/"
- ../../resources/utilities/ich9deblob/ich9gen
+ ../../../resources/utilities/ich9deblob/ich9gen
for rom in $(ls)
do
dd if="ich9fdgbe_${romsize}.bin" of="${rom}" bs=1 count=12k conv=notrunc
@@ -112,7 +112,7 @@ if [ -d "bin/" ]; then
fi
done
done
- cd ../
+ cd ../../
fi
# The GRUB payloads are no longer needed