laptop:lenovo-x230:flash-lenovo-x230-coreboot
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
laptop:lenovo-x230:flash-lenovo-x230-coreboot [2020/03/15 20:00] – [Check Voltage] chuck | laptop:lenovo-x230:flash-lenovo-x230-coreboot [2024/03/17 09:13] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Flashing my Lenovo x230 with Coreboot====== | ======Flashing my Lenovo x230 with Coreboot====== | ||
+ | <WRAP info smaller> | ||
+ | This guide is fairly old (2020/2021) and I haven' | ||
+ | |||
+ | Most of the steps will still be relevant but I suggest cross-checking with the Coreboot site for any necessary updates until I can update this guide. | ||
+ | |||
+ | I apologize for any inconveniences this causes. | ||
+ | </ | ||
+ | |||
I flashed my Lenovo x230 with Coreboot and documented how I did it. | I flashed my Lenovo x230 with Coreboot and documented how I did it. | ||
Line 24: | Line 32: | ||
=====Gather Supplies===== | =====Gather Supplies===== | ||
+ | <WRAP announcement red smaller > | ||
+ | ==Warning== | ||
+ | It is NOT recommended to use the CH341a!\\ | ||
+ | The following page for recommendations and an explanation of why the CH341a is not advised:\\ | ||
+ | https:// | ||
+ | </ | ||
+ | |||
First, we need to gather the supplies that we need to perform the flash. This time, we will be using a CH341a instead of the BeagleBone Black that I used on the [[laptop: | First, we need to gather the supplies that we need to perform the flash. This time, we will be using a CH341a instead of the BeagleBone Black that I used on the [[laptop: | ||
Line 60: | Line 75: | ||
flex \ | flex \ | ||
git \ | git \ | ||
- | gnat-5 \ | + | gnat \ |
libncurses5-dev \ | libncurses5-dev \ | ||
m4 \ | m4 \ | ||
+ | rename \ | ||
zlib1g-dev | zlib1g-dev | ||
</ | </ | ||
Line 147: | Line 163: | ||
===Stock Black CH341a=== | ===Stock Black CH341a=== | ||
- | {{gallery>: | + | {{gallery> |
Line 153: | Line 169: | ||
===Modified Black CH341a=== | ===Modified Black CH341a=== | ||
- | {{gallery>: | + | {{gallery> |
<WRAP tip> | <WRAP tip> | ||
- | I modified the ch341a to provide the 3.3V, [[usb-device: | + | I modified the ch341a to provide the 3.3V, [[usb-devices: |
</ | </ | ||
Line 165: | Line 181: | ||
===CH341a=== | ===CH341a=== | ||
- | |||
I bought the special adapter that connects to the top of the CH341a but then realized that these pins have the connections we need. In the past, I’ve read a few forum posts ( [[https:// | I bought the special adapter that connects to the top of the CH341a but then realized that these pins have the connections we need. In the past, I’ve read a few forum posts ( [[https:// | ||
===Bottom=== | ===Bottom=== | ||
- | The bottom of the CH341a has labels of what each pin is for, although there is a misprint of MIOS (supposed to read MISO){{ :zzz-site:coreboot-x230: | + | The bottom of the CH341a has labels of what each pin is for, although there is a misprint of MIOS (supposed to read MISO){{ :usb-device:ch341a: |
\\ | \\ | ||
===Top=== | ===Top=== | ||
- | Transfer those labels to the top and we get the pins we need to perform the flash. Make sure the jumper is connected on the other side to pins 1 and 2.{{ :zzz-site:coreboot-x230: | + | Transfer those labels to the top and we get the pins we need to perform the flash. Make sure the jumper is connected on the other side to pins 1 and 2.{{ :usb-device:ch341a: |
\\ | \\ | ||
Line 342: | Line 357: | ||
[user@mainpc: | [user@mainpc: | ||
[user@mainpc: | [user@mainpc: | ||
+ | [user@mainpc: | ||
[user@mainpc: | [user@mainpc: | ||
File x230-bios.rom is 12582912 bytes | File x230-bios.rom is 12582912 bytes | ||
Line 350: | Line 366: | ||
Flash Region 4 (Platform Data): 00fff000 - 00000fff (unused) | Flash Region 4 (Platform Data): 00fff000 - 00000fff (unused) | ||
- | [user@mainpc: | + | [user@mainpc: |
flashregion_0_flashdescriptor.bin | flashregion_0_flashdescriptor.bin | ||
Line 428: | Line 444: | ||
* Secondary Payloads: | * Secondary Payloads: | ||
* Select: Load coreinfo | * Select: Load coreinfo | ||
- | * Select: Load Memtest86+ | ||
* Select: Load nvramcui | * Select: Load nvramcui | ||
- | * Memtest 86+ version (Stable) | ||
* **Save** | * **Save** | ||
* **Exit** | * **Exit** | ||
Line 444: | Line 458: | ||
===Pictures=== | ===Pictures=== | ||
{{gallery> | {{gallery> | ||
+ | |||
---- | ---- | ||
Line 591: | Line 606: | ||
If you run into this problem do the following: | If you run into this problem do the following: | ||
- | < | + | < |
# append i915 to the end of the file | # append i915 to the end of the file | ||
[user@mainpc: | [user@mainpc: | ||
Line 598: | Line 613: | ||
[user@mainpc: | [user@mainpc: | ||
- | If grub isn’t full screen you may have to set the resolution: | + | # If grub isn’t full screen you may have to set the resolution: |
[user@mainpc: | [user@mainpc: | ||
Line 623: | Line 638: | ||
* [[https:// | * [[https:// | ||
* IRC Freenode: #coreboot | * IRC Freenode: #coreboot | ||
+ |
laptop/lenovo-x230/flash-lenovo-x230-coreboot.1584316849.txt.gz · Last modified: 2020/03/15 20:00 by chuck