Attention is currently required from: Felix Singer.
Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/60372 )
Change subject: util/liveiso: Merge build scripts
......................................................................
Patch Set 1: Code-Review+1
(2 comments)
File util/liveiso/build.sh:
https://review.coreboot.org/c/coreboot/+/60372/comment/aa72387c_89186793
PS1, Line 6: echo "No config given. Exiting."
maybe also print usage like this? "Usage: build.sh <graphical.nix|console.nix|...>"
https://review.coreboot.org/c/coreboot/+/60372/comment/faddfbc1_12c28ca5
PS1, Line 12: nixos-config=$config
could be `nixos-config=${config}.nix` - not requirement, just some random idea :)
--
To view, visit https://review.coreboot.org/c/coreboot/+/60372
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I49360a5c57954a205c697a4ae07361779db2aa83
Gerrit-Change-Number: 60372
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Comment-Date: Sun, 26 Dec 2021 10:23:08 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: David Wu, Subrata Banik, Tim Wawrzynczak, Nick Vaccaro, EricR Lai.
Felix Singer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/60377 )
Change subject: mb/google/brya: Make more brya variants to choose eNEM for CAR
......................................................................
Patch Set 2:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/60377/comment/1c14714c_f244ca3d
PS2, Line 7: Make more brya variants to choose eNEM for CAR
> This is good suggestion Felix, but I will keep this patch open for one more week to see if any more […]
Oh sure 😊
--
To view, visit https://review.coreboot.org/c/coreboot/+/60377
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie5734606e58410545a5f5421837080680664707f
Gerrit-Change-Number: 60377
Gerrit-PatchSet: 2
Gerrit-Owner: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: David Wu <david_wu(a)quantatw.com>
Gerrit-Reviewer: EricR Lai <ericr_lai(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: David Wu <david_wu(a)quantatw.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Attention: EricR Lai <ericr_lai(a)compal.corp-partner.google.com>
Gerrit-Comment-Date: Sun, 26 Dec 2021 10:09:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Felix Singer <felixsinger(a)posteo.net>
Comment-In-Reply-To: Subrata Banik <subratabanik(a)google.com>
Gerrit-MessageType: comment
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/60324 )
Change subject: soc/intel/{skl,cnl}: Guard USB macro parameters
......................................................................
soc/intel/{skl,cnl}: Guard USB macro parameters
Add parentheses around the parameter of the `USB_PORT_WAKE_ENABLE`
macro to prevent unintentional operator precedence problems.
Change-Id: I61fbacc129cbfb42ade7e64ee40cd07c98d87683
Signed-off-by: Angel Pons <th3fanbus(a)gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60324
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Reviewed-by: Felix Singer <felixsinger(a)posteo.net>
---
M src/soc/intel/cannonlake/include/soc/usb.h
M src/soc/intel/skylake/include/soc/usb.h
2 files changed, 2 insertions(+), 2 deletions(-)
Approvals:
build bot (Jenkins): Verified
Felix Singer: Looks good to me, approved
Tim Wawrzynczak: Looks good to me, approved
diff --git a/src/soc/intel/cannonlake/include/soc/usb.h b/src/soc/intel/cannonlake/include/soc/usb.h
index 66b3f8b..20b3149 100644
--- a/src/soc/intel/cannonlake/include/soc/usb.h
+++ b/src/soc/intel/cannonlake/include/soc/usb.h
@@ -191,6 +191,6 @@
* to Port 1, Bit n corresponds to Port (n+1). This bitmap is later used to
* decide what ports need to set PORTSCN/PORTSCXUSB3 register bits.
*/
-#define USB_PORT_WAKE_ENABLE(x) (1 << (x - 1))
+#define USB_PORT_WAKE_ENABLE(x) (1 << ((x) - 1))
#endif
diff --git a/src/soc/intel/skylake/include/soc/usb.h b/src/soc/intel/skylake/include/soc/usb.h
index d87c859..7912603 100644
--- a/src/soc/intel/skylake/include/soc/usb.h
+++ b/src/soc/intel/skylake/include/soc/usb.h
@@ -185,6 +185,6 @@
* to Port 1, Bit n corresponds to Port (n+1). This bitmap is later used to
* decide what ports need to set PORTSCN/PORTSCXUSB3 register bits.
*/
-#define USB_PORT_WAKE_ENABLE(x) (1 << (x - 1))
+#define USB_PORT_WAKE_ENABLE(x) (1 << ((x) - 1))
#endif
--
To view, visit https://review.coreboot.org/c/coreboot/+/60324
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I61fbacc129cbfb42ade7e64ee40cd07c98d87683
Gerrit-Change-Number: 60324
Gerrit-PatchSet: 2
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/56838 )
Change subject: mb/acer/g43t-am3: Add documentation
......................................................................
mb/acer/g43t-am3: Add documentation
Signed-off-by: Michael Büchler <michael.buechler(a)posteo.net>
Change-Id: I0e296b3efbff0260f32badc699f1062f9885fa53
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56838
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Angel Pons <th3fanbus(a)gmail.com>
---
A Documentation/mainboard/acer/g43t-am3.md
M Documentation/mainboard/index.md
2 files changed, 181 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Angel Pons: Looks good to me, approved
diff --git a/Documentation/mainboard/acer/g43t-am3.md b/Documentation/mainboard/acer/g43t-am3.md
new file mode 100644
index 0000000..2e9b8d6
--- /dev/null
+++ b/Documentation/mainboard/acer/g43t-am3.md
@@ -0,0 +1,177 @@
+# Acer G43T-AM3
+
+The Acer G43T-AM3 is a microATX-sized desktop board. It was used for the
+Acer models Aspire M3800, Aspire M5800 and possibly more.
+
+## Technology
+
+```eval_rst
++------------------+--------------------------------------------------+
+| Northbridge | Intel G43 (called x4x in coreboot code) |
++------------------+--------------------------------------------------+
+| Southbridge | Intel ICH10R (called i82801jx in coreboot code) |
++------------------+--------------------------------------------------+
+| CPU socket | LGA 775 |
++------------------+--------------------------------------------------+
+| RAM | 4 x DDR3-1066 |
++------------------+--------------------------------------------------+
+| SuperIO | ITE IT8720F |
++------------------+--------------------------------------------------+
+| Audio | Realtek ALC888S |
++------------------+--------------------------------------------------+
+| Network | Intel 82567V-2 Gigabit Ethernet |
++------------------+--------------------------------------------------+
+```
+
+There is no serial port. Serial console output is possible by soldering
+to a point at the corresponding Super I/O pin and patching the
+mainboard-specific code accordingly.
+
+## Status
+
+### Working
+
+Tests were done with SeaBIOS 1.14.0 and slackware64-live from 2019-07-12
+(linux-4.19.50).
+
++ Intel Core 2 processors at up to FSB 1333
++ All four DIMM slots at 1066 MHz (tested 2x2GB + 2x4GB)
++ Integrated graphics (libgfxinit)
++ HDMI and VGA ports
++ Both PCI slots
++ Both PCI-e slots
++ USB (8 internal, 4 external)
++ All six SATA ports
++ Onboard Ethernet
++ Onboard sound card with output on the rear stereo connector
++ PS/2 mouse and keyboard
+ + With SeaBIOS, use CONFIG_SEABIOS_PS2_TIMEOUT, tested: 500
+ + With FILO it works without further settings
++ Temperature readings from the Super I/O (including the CPU temperature
+ via PECI)
++ Super I/O EC automatic fan control
++ S3 suspend/resume
++ Poweroff
+
+### Not working
+
++ DDR3 memory with 512Mx8 chips (G43 limitation)
++ 4x4GB of DDR3 memory (works, but showed a single bit error within one
+ pass of Memtest86+ 5.01)
++ Super I/O voltage reading conversions
+
+### Untested
+
++ Other audio jacks or the front panel header
++ S/PDIF output
++ On-board Firewire
++ Wake-on-LAN
+
+## Flashing coreboot
+
+```eval_rst
++-------------------+---------------------+
+| Type | Value |
++===================+=====================+
+| Socketed flash | No |
++-------------------+---------------------+
+| Model | Macronix MX25L1605D |
++-------------------+---------------------+
+| Size | 2 MiB |
++-------------------+---------------------+
+| Package | 8-Pin SOP |
++-------------------+---------------------+
+| Write protection | No |
++-------------------+---------------------+
+| Dual BIOS feature | No |
++-------------------+---------------------+
+| Internal flashing | Yes |
++-------------------+---------------------+
+```
+
+The flash is divided into the following regions, as obtained with
+`ifdtool -f rom.layout backup.rom`:
+```
+00000000:00001fff fd
+00100000:001fffff bios
+00006000:000fffff me
+00002000:00005fff gbe
+```
+
+In general, flashing is possible internally and from an external header. It
+might be necessary to specify the chip type; `MX25L1605D/MX25L1608D/MX25L1673E`
+is the correct one, not `MX25L1605`.
+
+### Internal flashing
+
+Internal access to the flash chip is unrestricted. When installing coreboot,
+only the BIOS region should be updated by passing the `--ifd` and `-i bios`
+parameters to flashrom. A full backup is advisable.
+
+Here is an example:
+
+```
+$ sudo flashrom \
+ -p internal \
+ -c "MX25L1605D/MX25L1608D/MX25L1673E" \
+ -r backup.rom
+$ sudo flashrom \
+ -p internal \
+ -c "MX25L1605D/MX25L1608D/MX25L1673E" \
+ --ifd -i bios \
+ -w coreboot.rom
+```
+
+```eval_rst
+In addition to the information here, please see the
+:doc:`../../flash_tutorial/index`.
+```
+
+### External flashing
+
+The SPI flash chip on this board can be flashed externally through the
+SPI_ROM1 header while the board is off and disconnected from power. There
+seems to be a diode that prevents the external programmer from powering the
+whole board.
+
+The signal assigment on the header is identical to the pinout of the flash
+chip. The pinout diagram below is valid when the PCI slots are on the left
+and the CPU is on the right. Note that HOLD# and WP# must be pulled high
+(to VCC) to be able to flash the chip.
+
+ +---+---+
+ SPI_CSn <- | x | x | -> VCC
+ +---+---+
+ SPI_MISO <- | x | x | -> HOLDn
+ +---+---+
+ WPn <- | x | x | -> SPI_CLK
+ +---+---+
+ GND <- | x | x | -> SPI_MOSI
+ +---+---+
+
+## Intel Management Engine
+
+The Intel Management Engine (ME) can be disabled by setting the ME_DISABLE
+jumper on the board. It pulls GPIO33 on the ICH10 low, causing the "Flash
+Descriptor Security Override Strap" to be set. This disables the ME and also
+disables any read/write restrictions to the flash chip that may be set in the
+Intel Flash Descriptor (IFD) (none on this board). Note that changing this
+jumper only comes into effect when starting the board from a shutdown or
+suspend state, not during normal operation.
+
+To completely remove the ME blob from the flash image and to decrease the size
+of the ME region, thus increasing the size of the BIOS region, `me_cleaner` can
+be used with the `-t`, `-r` and `-S` options.
+
+## Fan control
+
+There are two fan connectors that can be controlled individually. CPU_FAN
+can only control a fan by a PWM signal and SYS_FAN only by voltage. See
+the mainboard's `devicetree.cb` file for how coreboot configures the Super
+I/O to control the fans.
+
+## Variants
+
+Various similar mainboards exist, like the Acer Q45T-AM. During a discussion
+in #coreboot on IRC, ECS was suspected to be the original designer of this
+series of mainboards. They have similar models such as the ECS G43T-WM.
diff --git a/Documentation/mainboard/index.md b/Documentation/mainboard/index.md
index fc602de..67af86f 100644
--- a/Documentation/mainboard/index.md
+++ b/Documentation/mainboard/index.md
@@ -6,6 +6,10 @@
- [X210](51nb/x210.md)
+## Acer
+
+- [G43T-AM3](acer/g43t-am3.md)
+
## AMD
- [padmelon](amd/padmelon/padmelon.md)
--
To view, visit https://review.coreboot.org/c/coreboot/+/56838
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0e296b3efbff0260f32badc699f1062f9885fa53
Gerrit-Change-Number: 56838
Gerrit-PatchSet: 6
Gerrit-Owner: Michael Büchler <michael.buechler(a)posteo.net>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/55320 )
Change subject: include/types.h: #include <limits.h>
......................................................................
include/types.h: #include <limits.h>
It makes sense to provide limits.h via the types.h header.
Change-Id: I3ba189b998644c68068b85f25b11cff4d70c037d
Signed-off-by: Angel Pons <th3fanbus(a)gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55320
Reviewed-by: Nico Huber <nico.h(a)gmx.de>
Reviewed-by: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Reviewed-by: Felix Held <felix-coreboot(a)felixheld.de>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
---
M src/include/types.h
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Nico Huber: Looks good to me, approved
Felix Held: Looks good to me, approved
Tim Wawrzynczak: Looks good to me, but someone else must approve
diff --git a/src/include/types.h b/src/include/types.h
index cbdb67a..8724d4b 100644
--- a/src/include/types.h
+++ b/src/include/types.h
@@ -5,6 +5,7 @@
/* types.h is supposed to provide the standard headers defined in here: */
#include <commonlib/bsd/cb_err.h>
+#include <limits.h>
#include <stdbool.h>
#include <stdint.h>
#include <stddef.h>
--
To view, visit https://review.coreboot.org/c/coreboot/+/55320
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3ba189b998644c68068b85f25b11cff4d70c037d
Gerrit-Change-Number: 55320
Gerrit-PatchSet: 5
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-MessageType: merged
Attention is currently required from: Felix Singer, David Wu, Tim Wawrzynczak, Nick Vaccaro, EricR Lai.
Subrata Banik has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/60377 )
Change subject: mb/google/brya: Make more brya variants to choose eNEM for CAR
......................................................................
Patch Set 2:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/60377/comment/5526680e_78c7e33e
PS2, Line 7: Make more brya variants to choose eNEM for CAR
> How about: […]
This is good suggestion Felix, but I will keep this patch open for one more week to see if any more brya variants are migrating from ES to QS, if not then I will remain the commit msg and call out only "gimble". WDYT about this plan ?
--
To view, visit https://review.coreboot.org/c/coreboot/+/60377
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie5734606e58410545a5f5421837080680664707f
Gerrit-Change-Number: 60377
Gerrit-PatchSet: 2
Gerrit-Owner: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: David Wu <david_wu(a)quantatw.com>
Gerrit-Reviewer: EricR Lai <ericr_lai(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Attention: David Wu <david_wu(a)quantatw.com>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Attention: EricR Lai <ericr_lai(a)compal.corp-partner.google.com>
Gerrit-Comment-Date: Sun, 26 Dec 2021 07:26:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Felix Singer <felixsinger(a)posteo.net>
Gerrit-MessageType: comment