From 50c4ca21103d6afcefda81833852c8f274398e20 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sat, 14 Feb 2015 03:34:31 -0500 Subject: Move the "get" scripts to resources/scripts/helpers/fetch/ Replace "getall" with "download", which takes as input an argument specifying which programme the user wants to download. --- (limited to 'getcb') diff --git a/getcb b/getcb deleted file mode 100755 index 68ff9da..0000000 --- a/getcb +++ /dev/null @@ -1,102 +0,0 @@ -#!/bin/bash - -# getcb script: downloads coreboot and patches/deblobs it -# -# 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 . -# - -set -u -e -v - -# This grabs current base used, and applies patches -# This is also used to run the deblob scripts. - -# Remove the old version that may exist -# ---------------------------------------------------------------------------------- - -rm -rf coreboot - -# Get latest coreboot: -# ---------------------------------------------------------------------------------- - -# download it using git -git clone http://review.coreboot.org/coreboot - -# there are modifications required -cd coreboot/ - -# reset to previously tested revision -git reset --hard 6532676f9328ca3bd197b714db4f1de23544cbde - -# Get patches from review.coreboot.org -# ---------------------------------------------------------------------------------- - -# Text mode patch for X60 native graphics (main patch already merged in coreboot. See 6723 on coreboot gerrit) -git fetch http://review.coreboot.org/coreboot refs/changes/25/6725/3 && git cherry-pick FETCH_HEAD - -# lenovo/x60: Enable legacy brightness controls (native graphics) -git fetch http://review.coreboot.org/coreboot refs/changes/48/7048/4 && git cherry-pick FETCH_HEAD - -# Enable T60 native graphics -git fetch http://review.coreboot.org/coreboot refs/changes/45/5345/9 && git cherry-pick FETCH_HEAD -# Enable text-mode graphics for T60 -git fetch http://review.coreboot.org/coreboot refs/changes/50/7050/2 && git cherry-pick FETCH_HEAD -# lenovo/t60: Enable legacy brightness controls (native graphics) -git fetch http://review.coreboot.org/coreboot refs/changes/51/7051/1 && git cherry-pick FETCH_HEAD - -# Enable cstates 1 and 2 on macbook21. This reduces heat / power usage when the system is idle -git fetch http://review.coreboot.org/coreboot refs/changes/23/7923/2 && git cherry-pick FETCH_HEAD - -# ec/lenovo/h8: permanently enable wifi/trackpoint/touchpad/bluetooth/wwan -git fetch http://review.coreboot.org/coreboot refs/changes/58/7058/7 && git cherry-pick FETCH_HEAD - -# i945: permanently set tft_brightness to 0xff. this fixes the issue with X60 and "scrolling" backlight -git fetch http://review.coreboot.org/coreboot refs/changes/61/7561/2 && git cherry-pick FETCH_HEAD - -# northbridge/gm45/raminit.c: enable GS45 high-perf (i.e. add X200S support to libreboot) -git fetch http://review.coreboot.org/coreboot refs/changes/86/7786/1 && git cherry-pick FETCH_HEAD -# fix uneven backlight on X200 (when setting brightness low) -git fetch http://review.coreboot.org/coreboot refs/changes/79/7979/1 && git cherry-pick FETCH_HEAD - -# ThinkPad R400 support. Based on http://review.coreboot.org/#/c/8393/ -# This diff will be deleted later, and instead the patch will be fetched from coreboot gerrit -# (and later, it won't even do that, once the R400 support is merged in coreboot) -git am ../resources/libreboot/patch/r400.diff - -# Fix build issue when building coreboot without .git -git fetch http://review.coreboot.org/coreboot refs/changes/23/8423/1 && git cherry-pick FETCH_HEAD -# TODO: delete the above line, test these commits: -# http://review.coreboot.org/#/c/8427/ -# http://review.coreboot.org/#/c/8428/ - -# Run coreboot-libre deblob scripts -# --------------------------------------------------------------------------------- - -# The git history (git diff command) shows what blobs were deleted -# along with the contents of those blobs. This needs to be deleted -# for libreboot's purposes. -rm -rf .git -rm -f .gitreview -rm -f .gitmodules -rm -f .gitignore - -cd ../ - -# Deblob coreboot -./DEBLOB - -# ------------------- DONE ---------------------- - - -- cgit v0.9.1