Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yana Timoshenko
coreboot-files
Commits
79c60d3f
Commit
79c60d3f
authored
Apr 26, 2018
by
Youness Alaoui
Browse files
Add a Librem 13 v3 build
parent
de72eff1
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
build_coreboot.sh
View file @
79c60d3f
...
...
@@ -46,6 +46,8 @@ L15V2_COREBOOT_BIOS_SHA="bfa553e1a9a6069900a687ca6ea30ac748f329b43bae693edab09b5
L15V2_COREBOOT_VERSION
=
"4.7-Purism-5"
L13V2_COREBOOT_BIOS_SHA
=
"0f644c93d0431675eb3b089dd198d653f22838a702a366ad8a7be31f7cfe1143"
L13V2_COREBOOT_VERSION
=
"4.7-Purism-4"
L13V3_COREBOOT_BIOS_SHA
=
"b3346742854435312ba294239eec210a40e23610dfac9898a47e09b776015c25"
L13V3_COREBOOT_VERSION
=
"4.7-Purism-4"
L15V3_COREBOOT_BIOS_SHA
=
"315abcdfa6c004045a4bbba8f2f73b46d228ba18869efd91e08bafb8835c4c8b"
L15V3_COREBOOT_VERSION
=
"4.7-Purism-4"
...
...
@@ -350,14 +352,19 @@ echo "1 - Librem 13 v1 (Version : $L13V1_COREBOOT_VERSION)"
echo
"2 - Librem 15 v2 (Version :
$L15V2_COREBOOT_VERSION
)"
echo
"3 - Librem 13 v2 (Version :
$L13V2_COREBOOT_VERSION
)"
echo
"4 - Librem 15 v3 (Version :
$L15V3_COREBOOT_VERSION
)"
echo
"5 - Librem 13 v3 (Version :
$L13V3_COREBOOT_VERSION
)"
echo
""
machine
=
0
while
[
"
$machine
"
!=
"1"
]
&&
[
"
$machine
"
!=
"2"
]
&&
[
"
$machine
"
!=
"3"
]
&&
[
"
$machine
"
!=
"4"
]
;
do
while
[
"
$machine
"
!=
"1"
]
&&
[
"
$machine
"
!=
"2"
]
&&
\
[
"
$machine
"
!=
"3"
]
&&
[
"
$machine
"
!=
"4"
]
&&
\
[
"
$machine
"
!=
"5"
]
;
do
read
-r
-p
"Enter your choice (default: 1): "
machine
if
[
"
$machine
"
=
""
]
;
then
machine
=
1
fi
if
[
"
$machine
"
!=
"1"
]
&&
[
"
$machine
"
!=
"2"
]
&&
[
"
$machine
"
!=
"3"
]
&&
[
"
$machine
"
!=
"4"
]
;
then
if
[
"
$machine
"
!=
"1"
]
&&
[
"
$machine
"
!=
"2"
]
&&
\
[
"
$machine
"
!=
"3"
]
&&
[
"
$machine
"
!=
"4"
]
&&
\
[
"
$machine
"
!=
"5"
]
;
then
echo
"Invalid choice"
fi
done
...
...
@@ -381,12 +388,21 @@ elif [ "$machine" = "3" ]; then
COREBOOT_BIOS_SHA
=
"
$L13V2_COREBOOT_BIOS_SHA
"
COREBOOT_TAG
=
"
$L13V2_COREBOOT_VERSION
"
SKL
=
1
el
se
el
if
[
"
$machine
"
=
"4"
]
;
then
BLOB_DIR
=
"3rdparty/blobs/mainboard/purism/librem_skl"
COREBOOT_FILENAME
=
"coreboot-l15v3.rom"
COREBOOT_BIOS_SHA
=
"
$L15V3_COREBOOT_BIOS_SHA
"
COREBOOT_TAG
=
"
$L15V3_COREBOOT_VERSION
"
SKL
=
1
elif
[
"
$machine
"
=
"5"
]
;
then
BLOB_DIR
=
"3rdparty/blobs/mainboard/purism/librem_skl"
COREBOOT_FILENAME
=
"coreboot-l13v3.rom"
COREBOOT_BIOS_SHA
=
"
$L13V3_COREBOOT_BIOS_SHA
"
COREBOOT_TAG
=
"
$L13V3_COREBOOT_VERSION
"
SKL
=
1
else
echo
"Unexpected error. Unknown choice"
exit
1
fi
mkdir
-p
$BLOB_DIR
...
...
@@ -454,9 +470,12 @@ elif [ "$machine" = "2" ]; then
elif
[
"
$machine
"
=
"3"
]
;
then
cp
coreboot-files/configs/config.librem13v2 .config
cp
coreboot-files/bootorder-l13v2.txt bootorder.txt
el
se
el
if
[
"
$machine
"
=
"4"
]
;
then
cp
coreboot-files/configs/config.librem15v3 .config
cp
coreboot-files/bootorder-l13v2.txt bootorder.txt
elif
[
"
$machine
"
=
"5"
]
;
then
cp
coreboot-files/configs/config.librem13v3 .config
cp
coreboot-files/bootorder-l13v2.txt bootorder.txt
fi
HAVE_SERIAL
=
"no"
...
...
configs/config.librem13v3
0 → 100644
View file @
79c60d3f
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment