diff options
author | Francis Rowe <info@gluglug.org.uk> | 2014-07-20 03:37:00 (EDT) |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2014-08-22 13:15:07 (EDT) |
commit | 488242eb941305ef61319b8499d4a1e8ccf218a1 (patch) | |
tree | b0347f360df51ac5a8edd06068e7ae24510864d6 /build-macbook21 | |
parent | 8b484a19b51fb0591d938b3b7cf4fcb8f06c7a2f (diff) | |
download | libreboot-533a14160f9310f230922a33cdfaa293b744ba04.zip libreboot-533a14160f9310f230922a33cdfaa293b744ba04.tar.gz libreboot-533a14160f9310f230922a33cdfaa293b744ba04.tar.bz2 |
Libreboot release 6 beta 3.r20140720
- Fixed typo that existed in 2nd beta where the release date of the
2nd beta was listed as being in year 2016, when in actual fact it
was 2014.
- Documentation: added (preliminary) details about (rare) buggy CPU's
on the ThinkPad T60 that were found to fail (instability, kernel
panics, etc) without the microcode updates.
- Documentation: added docs/howtos/x60_heatsink.html for showing how
to change the heatsink on the Thinkpad X60
- Added ROM images for Azerty (French) keyboard layout in GRUB
(courtesy of Olivier Mondoloni)
- Tidied up some scripts:
- Re-factored those scripts (made easier to read/maintain):
build-x60, build-x60t, build-t60, build-macbook21
- Reduced the number of grub configs to 2 (or 1, for macbook21), the
build scripts now generate the other configs at build time.
- Deleted build-x60, build-x60t, build-t60, build-macbook21 and
replaced with intelligent (generic) buildrom-withgrub script
- Updated build to use buildrom-withgrub script for building the ROM
images.
- coreboot.rom and coreboot_serial.rom renamed to
coreboot_usqwerty.rom and coreboot_serial_usqwerty.rom
- coreboot_dvorak and coreboot_serial_dvorak.rom renamed to
coreboot_usdvorak.rom and coreboot_serial_usdvorak.rom
- Renamed coreboot*rom to libreboot*rom
- Made flash, lenovobios_firstflash and lenovobios_secondflash
scripts fail if the specified file does not exist.
- Updated all relevant parts of the documentation to reflect the
above.
- Replaced background.png with background.jpg. added
gnulove.jpg. (resources/grub/background/)
- Updated buildrom-withgrub to use background.jpg instead of
background.png
- Updated buildrom-withgrub to use gnulove.jpg aswell
- Updated resources/grub/config/macbook21/grub*cfg to use gnulove.jpg
background.
- Updated resources/grub/config/{x60,t60,x60t}/grub*cfg to use
background.jpg background.
- Documentation: updated docs/index.html#grub_custom_keyboard to be
more generally useful.
- nvramtool:
- Updated builddeps-coreboot script to build it
- Updated build script to include it in libreboot_bin
- Documentation: added docs/howtos/x60_security.html (security
hardening for X60)
Diffstat (limited to 'build-macbook21')
-rwxr-xr-x | build-macbook21 | 135 |
1 files changed, 0 insertions, 135 deletions
diff --git a/build-macbook21 b/build-macbook21 deleted file mode 100755 index 39509e7..0000000 --- a/build-macbook21 +++ /dev/null @@ -1,135 +0,0 @@ -#!/bin/bash - -# build-macbook21: builds's the Apple MacBook2,1 ROM's -# -# Copyright (C) 2014 Francis Rowe -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -# DO NOT RUN THIS DIRECTLY! -# Use "build" - -# Build the ROM's (for MacBook2,1): -# ---------------------------------------------------------------------------------------------------------------------- - -# MacBook2,1 uses the same chipsets as the X60/T60 -# Unlike X60/T60, MacBook2,1 has no dock or serial port available -# Therefore, no *_serial_*.rom images will be generated here. - -cd coreboot -rm -rf .config - -# MacBook2,1: prepare coreboot and build it: -cp ../resources/libreboot/config/macbook21config .config -make -cp build/coreboot.rom . -make clean -# MacBook2,1: prepare the ROM's that will have alternative (dvorak) configs inserted -cp coreboot.rom coreboot_dvorak.rom -# MacBook2,1: prepare the ROM's that will have alternative (uk dvorak) configs inserted -cp coreboot.rom coreboot_ukdvorak.rom -# MacBook2,1: prepare the ROM's that will have alternative (uk qwerty) configs inserted -cp coreboot.rom coreboot_ukqwerty.rom -rm -rf .config -rm -rf macbook21 -mkdir macbook21 -# move the ROM's into the newly created x60 directory -mv coreboot*rom macbook21 - -# Insert additional configs and other files into the ROM's: -# --------------------------------------------------------------------------------------------------------------------- - -# MacBook2,1: prepare finished coreboot.rom -# Configuration: US Qwerty keyboard layout in GRUB payload. No MemTest86+. No serial output. (for those without dock). -mv macbook21/coreboot.rom util/cbfstool -cp ../resources/grub/config/macbook21/grub.cfg util/cbfstool -cp ../resources/grub/background/background1024x768.png util/cbfstool/background.png -cp ../resources/grub/font/dejavusansmono.pf2 util/cbfstool -cd util/cbfstool -./cbfstool coreboot.rom add -f grub.cfg -n grub.cfg -t raw -./cbfstool coreboot.rom add -f background.png -n background.png -t raw -./cbfstool coreboot.rom add -f dejavusansmono.pf2 -n dejavusansmono.pf2 -t raw -./cbfstool coreboot.rom print -mv coreboot.rom ../../macbook21 -rm -rf grub.cfg -rm -rf background.png -rm -rf dejavusansmono.pf2 -cd ../../ - -# MacBook2,1: prepare finished coreboot_dvorak.rom -# Configuration: US Dvorak keyboard layout in GRUB payload. No MemTest86+. No serial output. (for those without dock) -mv macbook21/coreboot_dvorak.rom util/cbfstool/coreboot.rom -cp ../resources/grub/config/macbook21/grub_dvorak.cfg util/cbfstool/grub.cfg -cp ../resources/grub/background/background1024x768.png util/cbfstool/background.png -cp ../resources/grub/font/dejavusansmono.pf2 util/cbfstool -cd util/cbfstool -./cbfstool coreboot.rom add -f grub.cfg -n grub.cfg -t raw -./cbfstool coreboot.rom add -f background.png -n background.png -t raw -./cbfstool coreboot.rom add -f dejavusansmono.pf2 -n dejavusansmono.pf2 -t raw -./cbfstool coreboot.rom print -mv coreboot.rom ../../macbook21/coreboot_dvorak.rom -rm -rf grub.cfg -rm -rf background.png -rm -rf dejavusansmono.pf2 -cd ../../ - -# MacBook2,1: prepare finished coreboot_ukdvorak.rom -# Configuration: UK Dvorak keyboard layout in GRUB payload. No MemTest86+. No serial output. (for those without dock) -mv macbook21/coreboot_ukdvorak.rom util/cbfstool/coreboot.rom -cp ../resources/grub/config/macbook21/grub_ukdvorak.cfg util/cbfstool/grub.cfg -cp ../resources/grub/background/background1024x768.png util/cbfstool/background.png -cp ../resources/grub/font/dejavusansmono.pf2 util/cbfstool -cd util/cbfstool -./cbfstool coreboot.rom add -f grub.cfg -n grub.cfg -t raw -./cbfstool coreboot.rom add -f background.png -n background.png -t raw -./cbfstool coreboot.rom add -f dejavusansmono.pf2 -n dejavusansmono.pf2 -t raw -./cbfstool coreboot.rom print -mv coreboot.rom ../../macbook21/coreboot_ukdvorak.rom -rm -rf grub.cfg -rm -rf background.png -rm -rf dejavusansmono.pf2 -cd ../../ - -# MacBook2,1: prepare finished coreboot_ukqwerty.rom -# Configuration: UK Qwerty keyboard layout in GRUB payload. No MemTest86+. No serial output. (for those without dock) -mv macbook21/coreboot_ukqwerty.rom util/cbfstool/coreboot.rom -cp ../resources/grub/config/macbook21/grub_ukqwerty.cfg util/cbfstool/grub.cfg -cp ../resources/grub/background/background1024x768.png util/cbfstool/background.png -cp ../resources/grub/font/dejavusansmono.pf2 util/cbfstool -cd util/cbfstool -./cbfstool coreboot.rom add -f grub.cfg -n grub.cfg -t raw -./cbfstool coreboot.rom add -f background.png -n background.png -t raw -./cbfstool coreboot.rom add -f dejavusansmono.pf2 -n dejavusansmono.pf2 -t raw -./cbfstool coreboot.rom print -mv coreboot.rom ../../macbook21/coreboot_ukqwerty.rom -rm -rf grub.cfg -rm -rf background.png -rm -rf dejavusansmono.pf2 -cd ../../ - -# Now we clean up and prepare the binary archive ready for release. -# ---------------------------------------------------------------------------------------------------------------------------- - -# now we are back in the main coreboot directory - -# MacBook2,1 ROM's: -# delete the old ROM's -rm -rf ../bin/macbook21 -# now put the new ROM's in ./bin -mv macbook21 ../bin - -# go back to main source directory -cd ../ - |