-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f42d791
commit 9924d1b
Showing
6 changed files
with
804 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Lenovo t430 | ||
|
||
**NOTE**: This has only been tested with a T430 with Intel HD Video. NVidia video may or may not work. | ||
|
||
### Prep work | ||
As long as only the BIOS partition is being flashed without the VGA blob, the stock BIOS | ||
back up is not required to compile. | ||
|
||
### Compiling | ||
Build the latest merged into the master git branch: | ||
`./build.sh --bleeding-edge t430` | ||
|
||
Latest stable release: | ||
`./build.sh t430` | ||
|
||
### Output | ||
##### Internal flashing | ||
`coreboot_lenovo-t430-complete.rom` - The complete Coreboot ROM is the 12MB version used for internal flashing. | ||
`coreboot_lenovo-t430-complete.rom.sha256` - sha256 checksum of 12MB Coreboot Rom | ||
|
||
*NOTE:* As this is compiled without the stock BIOS, all IFD, GBE and ME blobs are stubs. Use the `flash.sh` script at the root of the directory. | ||
|
||
|
||
##### External flashing | ||
`coreboot_lenovo-t430-top.rom` - The 4MB Coreboot BIOS that can be flashed externally onto the top BIOS chip. | ||
`coreboot_lenovo-t430-top.rom.sha256` - sha256 checksum of 4MB Coreboot BIOS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#!/bin/bash | ||
# SPDX-License-Identifier: GPL-3.0+ | ||
|
||
# shellcheck disable=SC1091 | ||
source /home/coreboot/common_scripts/variables.sh | ||
source /home/coreboot/common_scripts/download_coreboot.sh | ||
source /home/coreboot/common_scripts/config_and_make.sh | ||
|
||
################################################################################ | ||
## MODEL VARIABLES | ||
################################################################################ | ||
MAINBOARD="lenovo" | ||
MODEL="t430" | ||
|
||
################################################################################ | ||
|
||
############################################### | ||
## download/git clone/git pull Coreboot ## | ||
############################################### | ||
downloadOrUpdateCoreboot | ||
|
||
############################## | ||
## Copy config and make ## | ||
############################## | ||
configAndMake | ||
|
||
##################### | ||
## Post build ## | ||
##################### | ||
if [ ! -f "$DOCKER_COREBOOT_DIR/build/coreboot.rom" ]; then | ||
echo "Uh oh. Things did not go according to plan." | ||
exit 1; | ||
else | ||
mv "$DOCKER_COREBOOT_DIR/build/coreboot.rom" "$DOCKER_COREBOOT_DIR/coreboot_$MAINBOARD-$MODEL-complete.rom" | ||
|
||
#split out top BIOS | ||
dd if="$DOCKER_COREBOOT_DIR/coreboot_$MAINBOARD-$MODEL-complete.rom" of="$DOCKER_COREBOOT_DIR/coreboot_$MAINBOARD-$MODEL-top.rom" bs=1M skip=8 | ||
|
||
sha256sum "$DOCKER_COREBOOT_DIR/coreboot_$MAINBOARD-$MODEL-complete.rom" > "$DOCKER_COREBOOT_DIR/coreboot_$MAINBOARD-$MODEL-complete.rom.sha256" | ||
sha256sum "$DOCKER_COREBOOT_DIR/coreboot_$MAINBOARD-$MODEL-top.rom" > "$DOCKER_COREBOOT_DIR/coreboot_$MAINBOARD-$MODEL-top.rom-sha256" | ||
fi |
Oops, something went wrong.