<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lbmk.git/resources/scripts/blobs/download, branch 20230423</title>
<subtitle>libreboot build system (LibreBoot MaKe)
</subtitle>
<link rel='alternate' type='text/html' href='https://browse.libreboot.org/lbmk.git/'/>
<entry>
<title>Add HP EliteBook Folio 9470m</title>
<updated>2023-04-22T01:04:37+00:00</updated>
<author>
<name>Riku Viitanen</name>
<email>riku.viitanen@protonmail.com</email>
</author>
<published>2023-04-22T01:04:37+00:00</published>
<link rel='alternate' type='text/html' href='https://browse.libreboot.org/lbmk.git/commit/?id=6ff0284a510e8d7a8721dd769ba6a773610c2cad'/>
<id>6ff0284a510e8d7a8721dd769ba6a773610c2cad</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>chmod +x on blobutil/download script</title>
<updated>2023-04-20T21:24:11+00:00</updated>
<author>
<name>Leah Rowe</name>
<email>leah@libreboot.org</email>
</author>
<published>2023-04-20T21:24:11+00:00</published>
<link rel='alternate' type='text/html' href='https://browse.libreboot.org/lbmk.git/commit/?id=560642c585b991a24d626227ff9a6956f74477df'/>
<id>560642c585b991a24d626227ff9a6956f74477df</id>
<content type='text'>
i downloaded this file from git manually at some point,
when rebasing changes (i think it was the ec ones)

the logic in the file is correct but i forgot to mark
it executable

without this commit, lbmk fails utterly, on all the newer
intel boards
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
i downloaded this file from git manually at some point,
when rebasing changes (i think it was the ec ones)

the logic in the file is correct but i forgot to mark
it executable

without this commit, lbmk fails utterly, on all the newer
intel boards
</pre>
</div>
</content>
</entry>
<entry>
<title>blobutil: support fetching KBC1126 EC (HP laptops)</title>
<updated>2023-04-14T23:11:23+00:00</updated>
<author>
<name>Leah Rowe</name>
<email>leah@libreboot.org</email>
</author>
<published>2023-04-02T00:33:33+00:00</published>
<link rel='alternate' type='text/html' href='https://browse.libreboot.org/lbmk.git/commit/?id=b9ee4e79c33365ede01fb7d2a0d5c8f3c1a1928c'/>
<id>b9ee4e79c33365ede01fb7d2a0d5c8f3c1a1928c</id>
<content type='text'>
This is useful for e.g. HP EliteBook 2560p.

In coreboot config, enable e.g. (for lbmk blobutil):

CONFIG_KBC1126_FW1="../../ec/hp2560p/ec.bin.fw1"
CONFIG_KBC1126_FW2="../../ec/hp2560p/ec.bin.fw2"

In resources/blobs/sources you would have these entries:

EC_url
EC_url_bkup
EC_hash
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is useful for e.g. HP EliteBook 2560p.

In coreboot config, enable e.g. (for lbmk blobutil):

CONFIG_KBC1126_FW1="../../ec/hp2560p/ec.bin.fw1"
CONFIG_KBC1126_FW2="../../ec/hp2560p/ec.bin.fw2"

In resources/blobs/sources you would have these entries:

EC_url
EC_url_bkup
EC_hash
</pre>
</div>
</content>
</entry>
<entry>
<title>blobutil: support extracting ME from full ROMs</title>
<updated>2023-04-14T00:41:07+00:00</updated>
<author>
<name>Leah Rowe</name>
<email>leah@libreboot.org</email>
</author>
<published>2023-04-14T00:36:54+00:00</published>
<link rel='alternate' type='text/html' href='https://browse.libreboot.org/lbmk.git/commit/?id=668de6d81f66c336c7a780edfd8af6550c50a057'/>
<id>668de6d81f66c336c7a780edfd8af6550c50a057</id>
<content type='text'>
In cases where the vendor update file contains a full
ROM image encompassing IFD+GbE+ME+BIOS, blobutil was
saving the *entire* ROM containing those, as me.bin.
For example, if it's an 8MB ROM, blobutil would create
a me.bin file that is actually the whole ROM containing:

* Vendor IFD region
* Vendor GbE(if it has one)
* Vendor ME region
* Vendor BIOS region

This fix tries with -M and -O first. In this combination,
me_cleaner shall extract me.bin (neutered) and save it.

If that fails, then the normal method with just -O is
tried, which by this logic would always be a lone ME
image if it succeeds.

I tested downloading ME images on existing boards with
this, and it didn't break them, and this fixes the bug.

This is done for HP 8200 SFF which Riku_V is adding to
lbmk. I'm on IRC with Riku_V as I write this commit
message! Super hot hotfix patch.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In cases where the vendor update file contains a full
ROM image encompassing IFD+GbE+ME+BIOS, blobutil was
saving the *entire* ROM containing those, as me.bin.
For example, if it's an 8MB ROM, blobutil would create
a me.bin file that is actually the whole ROM containing:

* Vendor IFD region
* Vendor GbE(if it has one)
* Vendor ME region
* Vendor BIOS region

This fix tries with -M and -O first. In this combination,
me_cleaner shall extract me.bin (neutered) and save it.

If that fails, then the normal method with just -O is
tried, which by this logic would always be a lone ME
image if it succeeds.

I tested downloading ME images on existing boards with
this, and it didn't break them, and this fixes the bug.

This is done for HP 8200 SFF which Riku_V is adding to
lbmk. I'm on IRC with Riku_V as I write this commit
message! Super hot hotfix patch.
</pre>
</div>
</content>
</entry>
<entry>
<title>blob/download: don't use bad character in printf</title>
<updated>2023-04-10T05:50:33+00:00</updated>
<author>
<name>Leah Rowe</name>
<email>leah@libreboot.org</email>
</author>
<published>2023-04-10T05:50:33+00:00</published>
<link rel='alternate' type='text/html' href='https://browse.libreboot.org/lbmk.git/commit/?id=65d7e7c1ddddf2fbd6f5d49c4d0f437e034bb02e'/>
<id>65d7e7c1ddddf2fbd6f5d49c4d0f437e034bb02e</id>
<content type='text'>
This fixes errors when running that script.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes errors when running that script.
</pre>
</div>
</content>
</entry>
<entry>
<title>blobutil: replace fake tabs with tabs</title>
<updated>2023-04-01T16:59:09+00:00</updated>
<author>
<name>Leah Rowe</name>
<email>leah@libreboot.org</email>
</author>
<published>2023-04-01T16:59:09+00:00</published>
<link rel='alternate' type='text/html' href='https://browse.libreboot.org/lbmk.git/commit/?id=df534acd244e1289633a635e80c9bad331bbffcc'/>
<id>df534acd244e1289633a635e80c9bad331bbffcc</id>
<content type='text'>
always use tabs
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
always use tabs
</pre>
</div>
</content>
</entry>
<entry>
<title>blobutil: don't hardcode paths</title>
<updated>2023-04-01T16:12:19+00:00</updated>
<author>
<name>Leah Rowe</name>
<email>leah@libreboot.org</email>
</author>
<published>2023-04-01T16:12:19+00:00</published>
<link rel='alternate' type='text/html' href='https://browse.libreboot.org/lbmk.git/commit/?id=a2686bf4f41f535c95c8f31b6482d05d15e78e64'/>
<id>a2686bf4f41f535c95c8f31b6482d05d15e78e64</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>blobutil/download: don't hardcode me.bin paths</title>
<updated>2023-04-01T12:47:01+00:00</updated>
<author>
<name>Leah Rowe</name>
<email>leah@libreboot.org</email>
</author>
<published>2023-04-01T12:47:01+00:00</published>
<link rel='alternate' type='text/html' href='https://browse.libreboot.org/lbmk.git/commit/?id=688e5081759a23214ed0b4e934f4e4b5cf3362de'/>
<id>688e5081759a23214ed0b4e934f4e4b5cf3362de</id>
<content type='text'>
Bruteforce it. Some executables are just using inno
archival but some are simple LZMA. This patch handles
both of them, and also the event where you have LZMA
compressed files (even LZMA compressed files within
LZMA compressed archives) within any inno/lzma compressed
executable.

It recursively scans inside a vendor update, to find
a me.bin files for neutering with me_cleaner.

This is in preparation for two new ports in Libreboot:

* HP EliteBook 8560w
* Apple MacBook Air 4,2 (2011)

This script can literally be used with multiple vendors now.
It is no longer specific just to Lenovo. I originally did
this and other recent commits to the file, as one big
commit, but I decided to split it all up into small commits.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bruteforce it. Some executables are just using inno
archival but some are simple LZMA. This patch handles
both of them, and also the event where you have LZMA
compressed files (even LZMA compressed files within
LZMA compressed archives) within any inno/lzma compressed
executable.

It recursively scans inside a vendor update, to find
a me.bin files for neutering with me_cleaner.

This is in preparation for two new ports in Libreboot:

* HP EliteBook 8560w
* Apple MacBook Air 4,2 (2011)

This script can literally be used with multiple vendors now.
It is no longer specific just to Lenovo. I originally did
this and other recent commits to the file, as one big
commit, but I decided to split it all up into small commits.
</pre>
</div>
</content>
</entry>
<entry>
<title>blobutil/download: split into small functions</title>
<updated>2023-04-01T12:06:35+00:00</updated>
<author>
<name>Leah Rowe</name>
<email>leah@libreboot.org</email>
</author>
<published>2023-04-01T12:06:35+00:00</published>
<link rel='alternate' type='text/html' href='https://browse.libreboot.org/lbmk.git/commit/?id=ed47c9145348ed9802e1c173b062826ca84a773a'/>
<id>ed47c9145348ed9802e1c173b062826ca84a773a</id>
<content type='text'>
This patch makes it easier to determine which part does what.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch makes it easier to determine which part does what.
</pre>
</div>
</content>
</entry>
<entry>
<title>blobutil/download: make more logic top-down</title>
<updated>2023-04-01T10:27:56+00:00</updated>
<author>
<name>Leah Rowe</name>
<email>leah@libreboot.org</email>
</author>
<published>2023-04-01T10:27:56+00:00</published>
<link rel='alternate' type='text/html' href='https://browse.libreboot.org/lbmk.git/commit/?id=b10bfacf67ff04e3c0853818884bb7122d5301ce'/>
<id>b10bfacf67ff04e3c0853818884bb7122d5301ce</id>
<content type='text'>
Basically, I really like OpenBSD coding style, and I want to
replicate this, somewhat, in shell scripts.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Basically, I really like OpenBSD coding style, and I want to
replicate this, somewhat, in shell scripts.
</pre>
</div>
</content>
</entry>
</feed>
