2023-07-10 15:43:08 +00:00
|
|
|
---
|
|
|
|
title: GA-G41M-ES2L flashing tutorial
|
|
|
|
x-toc-enable: true
|
|
|
|
...
|
|
|
|
|
2023-10-26 00:10:41 +00:00
|
|
|
This guide is for those who want Canoeboot on their Intel GA-G41M-ES2L
|
2023-07-10 15:43:08 +00:00
|
|
|
motherboard while they still have the original BIOS present.
|
|
|
|
|
|
|
|
MAC ADDRESS
|
|
|
|
===========
|
|
|
|
|
|
|
|
NOTE: due to a bug in the hardware, the MAC address is hardcoded in
|
|
|
|
coreboot. Therefore, you must set your own MAC address in your
|
|
|
|
operating system.
|
|
|
|
|
|
|
|
Use [macchanger](http://www.gnu.org/software/macchanger) in your
|
|
|
|
distro, to set a valid MAC address. By doing this, your NIC should
|
|
|
|
work nicely.
|
|
|
|
|
|
|
|
Flash chip size {#flashchips}
|
|
|
|
===============
|
|
|
|
|
|
|
|
Use this to find out:
|
|
|
|
|
2024-01-27 22:35:38 +00:00
|
|
|
flashprog -p internal
|
2023-07-10 15:43:08 +00:00
|
|
|
|
|
|
|
Flashing instructions {#clip}
|
|
|
|
=====================
|
|
|
|
|
|
|
|
Refer to [spi.md](spi.md) for how to set up an SPI programmer for
|
|
|
|
external flashing. *You can only externally reprogram one of the chips
|
|
|
|
at a time, and you need to disable the chip that you're not flashing,
|
|
|
|
by connecting 3v3 to /CS of that chip, so you will actually need second test
|
|
|
|
clip or IC pin mini grabber.*
|
|
|
|
|
|
|
|
NOTE: on GA-G41M-ES2L, the flash shares a common voltage plane with the
|
|
|
|
southbridge, which draws a lot of current. This will cause under-voltage on
|
|
|
|
most SPI flashers, so do not use the 3.3V rail from your flasher. Do not
|
|
|
|
connect +3.3V to the chip. Instead, turn the board on and then turn it off by
|
|
|
|
holding the power button. With the board powered down, but plugged in, there
|
|
|
|
will be a 3.3V supply from the ATX PSU. You can then flash, but DO NOT connect
|
|
|
|
the +3.3V supply from your SPI flasher!
|
|
|
|
|
|
|
|
NOTE: You should use a resistor in series, between 1K to 10K ohms, for the 3.3v
|
|
|
|
connection to the CS pin. This is to protect from over-current.
|
|
|
|
|
|
|
|
Here is an image of the flash chip:\
|
2023-10-26 00:10:41 +00:00
|
|
|
![](https://av.canoeboot.org/ga-g41m-es2l/ga-g41m-es2l.jpg)
|
2023-07-10 15:43:08 +00:00
|
|
|
|
|
|
|
Internal flashing is possible. Boot with the proprietary BIOS and
|
2023-07-17 15:45:56 +00:00
|
|
|
GNU+Linux. There are 2 flash chips (one is backup).
|
2023-07-10 15:43:08 +00:00
|
|
|
|
|
|
|
Flash the first chip:
|
|
|
|
|
2024-01-27 22:35:38 +00:00
|
|
|
./flashprog -p internal:dualbiosindex=0 -w canoeboot.rom
|
2023-07-10 15:43:08 +00:00
|
|
|
|
|
|
|
Flash the second chip:
|
|
|
|
|
2024-01-27 22:35:38 +00:00
|
|
|
./flashprog -p internal:dualbiosindex=1 -w canoeboot.rom
|
2023-07-10 15:43:08 +00:00
|
|
|
|
|
|
|
NOTE: you can still boot the system with just the main flash chip
|
|
|
|
connected, after desoldering the backup chip. This has been tested while
|
2023-10-26 00:10:41 +00:00
|
|
|
Canoeboot was already installed onto the main chip.
|
2023-07-10 15:43:08 +00:00
|
|
|
|
|
|
|
NOTE: If you don't flash both chips, the recovery program from the default
|
|
|
|
factory BIOS will kick in and your board will be soft bricked. Make sure that
|
|
|
|
you flash both chips!
|
|
|
|
|
extreme cleanup / grandiose gesture
make canoeboot a truly GNU FSDG compliant coreboot distro,
by removing all overly positive reference to Libreboot;
what remains is technical in nature, so as to provide
historical context since Canoeboot is a fork of Libreboot.
I've stated before that I wish to take a more neutral tone
toward the FSF, in contrast to the *coldboot war* of 2023
when GNU Boot started.
Canoeboot was heavily linking to Libreboot, even going so far
as to call itself "inferior" and tell the reader to use
Libreboot.
From now on, Canoeboot will be maintained as though I actually
believed in FSF propoganda. I don't, but its users do. Treat
them with respect. My reason for providing Canoeboot is
precisely that I wish for such people to have a high quality
coreboot distro, much unlike the inferior *GNU Boot* project;
inferior because to this day, it's still based on very old
Libreboot, with not much changed (of any real substance)
relative to the Libreboot 20220710 release on which it forked.
In general, I've also found a lot of stragglers from when
Canoeboot started, where paragraphs referred to Libreboot that
should have actually referred to Canoeboot, or paragraphs
with Libreboot-specific information that does not make sense
in the Canoeboot project e.g. references to vendor scripts.
The resulting canoeboot.org will now look no different to any
typical reader than a typical FSF-aligned project.
There is a next stage to this, which will become apparent to
everyone if I have my way.
Signed-off-by: Leah Rowe <info@minifree.org>
2024-05-10 02:12:44 +00:00
|
|
|
NOTE: Canoeboot standardises on [flashprog](https://flashprog.org/wiki/Flashprog)
|
2024-01-27 22:35:38 +00:00
|
|
|
now, as of 3 May 2024, which is a fork of flashrom.
|