mirror of
https://codeberg.org/canoeboot/cbwww.git
synced 2024-11-22 10:24:44 +00:00
633dbebbc6
docs/hardware is redundant, because it now mostly contains installation instructions, and docs/install also contains hardware information. therefore, in practise, they are both the same kind of information. merge the two, and streamline everything. a lot of redundant information has been removed. docs/install/ has been re-structured in such a way as to enable more chronological reading, to make it easier for the average user to install Canoeboot. This is part of a larger series of changes I'm working on for the documentation. I'm massively auditing the entire Canoeboot documentation. Signed-off-by: Leah Rowe <info@minifree.org>
169 lines
6.4 KiB
Markdown
169 lines
6.4 KiB
Markdown
---
|
|
title: Gigabyte GA-G41M-ES2L desktop board
|
|
...
|
|
|
|
<<<<<<< HEAD
|
|
This guide is for those who want Canoeboot on their Intel GA-G41M-ES2L
|
|
motherboard while they still have the original BIOS present.
|
|
=======
|
|
<div class="specs">
|
|
<center>
|
|
GA-G41M-ES2L
|
|
</center>
|
|
|
|
| ***Specifications*** | |
|
|
|----------------------------|------------------------------------------------|
|
|
| **Manufacturer** | Gigabyte |
|
|
| **Name** | GA-G41M-ES2L |
|
|
| **Released** | 2009 |
|
|
| **Chipset** | Intel G41 |
|
|
| **CPU** | Intel Core 2 Extreme/Quad/Duo,
|
|
Pentium Extreme/D/4 Extreme/4/Celeron |
|
|
| **Graphics** | Integrated |
|
|
| **Display** | None. |
|
|
| **Memory** | Up to 8GB (2x4GB DDR2-800) |
|
|
| **Architecture** | x86_64 |
|
|
| **Original boot firmware** | AWARD BIOS |
|
|
| **Intel ME/AMD PSP** | Present. Can be disabled |
|
|
| **Flash chip** | 2x8Mbit |
|
|
|
|
```
|
|
W+: Works without blobs;
|
|
N: Doesn't work;
|
|
W*: Works with blobs;
|
|
U: Untested;
|
|
P+: Partially works;
|
|
P*: Partially works with blobs
|
|
```
|
|
|
|
| ***Features*** | |
|
|
|----------------|---------------------------------------|
|
|
| **Internal flashing with original boot firmware** | W+ |
|
|
| **Display** | - |
|
|
| **Audio** | W+ |
|
|
| **RAM Init** | P+ |
|
|
| **External output** | P+ |
|
|
| **Display brightness** | - |
|
|
|
|
| ***Payloads supported*** | |
|
|
|---------------------------|-------|
|
|
| **GRUB** | Slow! |
|
|
| **SeaBIOS** | Works |
|
|
| **SeaBIOS with GRUB** | Works |
|
|
</div>
|
|
|
|
Introduction
|
|
============
|
|
|
|
This is a desktop board using intel hardware (circa \~2009, ICH7
|
|
southbridge, similar performance-wise to the ThinkPad X200. It can make
|
|
for quite a nifty desktop. Powered by Canoeboot.
|
|
|
|
IDE on the board is untested, but it might be possible to use a SATA HDD
|
|
using an IDE SATA adapter. The SATA ports do work, but it's IDE emulation. The
|
|
emulation is slow in DMA mode sia SeaBIOS, so SeaBIOS is configured to use PIO
|
|
mode on this board. This SeaBIOS configuration does not affect the Linux kernel.
|
|
|
|
You need to set a custom MAC address in Linux for the NIC to work.
|
|
In /etc/network/interfaces on debian-based systems like Debian or
|
|
Devuan, this would be in the entry for your NIC:\
|
|
hwaddress ether macaddressgoeshere
|
|
|
|
Alternatively:
|
|
|
|
cbfstool canoeboot.rom extract -n rt8168-macaddress -f rt8168-macaddress
|
|
|
|
Modify the MAC address in the file `rt8168-macaddress` and then:
|
|
|
|
cbfstool canoeboot.rom remove -n rt8168-macaddress
|
|
cbfstool canoeboot.rom add -f rt8168-macaddress -n rt8168-macaddress -t raw
|
|
|
|
Now you have a different MAC address hardcoded. In the above example, the ROM
|
|
image is named `canoeboot.rom` for your board. You can find cbfstool
|
|
under `cbutils/` after running the following command
|
|
in the build system:
|
|
|
|
./mk -d coreboot TREENAME
|
|
|
|
You can learn more about using the build system, cbmk, here:\
|
|
[Canoeboot build instructions](../build/)
|
|
|
|
RAM
|
|
===
|
|
|
|
**This board is very picky with RAM. If it doesn't boot, try an EHCI debug
|
|
dongle, serial usb adapter and null modem cable, or spkmodem, to get a
|
|
coreboot log to see if it passed raminit.**
|
|
|
|
Kingston 8 GiB Kit KVR800D2N6/8G with Elpida Chips E2108ABSE-8G-E
|
|
|
|
this is a 2x4GB setup and these work quite well, according to a user on IRC.
|
|
|
|
Nanya NT2GT64U8HD0BY-AD with 2 GiB of NT5TU128M8DE-AD chips works too.
|
|
|
|
Many other modules will probably work just fine, but raminit is very picky on
|
|
this board. Your mileage *will* fluctuate, wildly.
|
|
>>>>>>> 09844d62 (simplify docs/install and merge docs/hardware)
|
|
|
|
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:
|
|
|
|
flashprog -p internal
|
|
|
|
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:\
|
|
![](https://av.canoeboot.org/ga-g41m-es2l/ga-g41m-es2l.jpg)
|
|
|
|
Internal flashing is possible. Boot with the proprietary BIOS and
|
|
GNU+Linux. There are 2 flash chips (one is backup).
|
|
|
|
Flash the first chip:
|
|
|
|
./flashprog -p internal:dualbiosindex=0 -w canoeboot.rom
|
|
|
|
Flash the second chip:
|
|
|
|
./flashprog -p internal:dualbiosindex=1 -w canoeboot.rom
|
|
|
|
NOTE: you can still boot the system with just the main flash chip
|
|
connected, after desoldering the backup chip. This has been tested while
|
|
Canoeboot was already installed onto the main chip.
|
|
|
|
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!
|
|
|
|
NOTE: Canoeboot standardises on [flashprog](https://flashprog.org/wiki/Flashprog)
|
|
now, as of 3 May 2024, which is a fork of flashrom.
|