Iman Bingi has uploaded a new patch set (#3). ( https://review.coreboot.org/c/coreboot/+/69328 )
Change subject: payloads/cbflashrom: Add new payload CBFlashrom
......................................................................
payloads/cbflashrom: Add new payload CBFlashrom
Flashrom with Graphical User Interface.
Depends on libpayload and nuklear.
Features:
* Graphical menus with scrolling.
* Text rendering engine (atm only bitmap font)
* Support for keyboard and mouse
* Support for USB and PS/2 devices
* Support for FAT32 file system (USB drives)
* Works as ELF payload
* Works as Seabios secondary payload
* Runs in qemu and on real hardware
Shortcomings:
* Doesn't work in VGA text mode
* Untested
TODO:
* Test on as many hardware/platforms as possible
Change-Id: Ib523ae9eb002f14749942137e53add4986098314
Signed-off-by: Ben Adu-Boahen <imanbingy(a)gmail.com>
---
M payloads/Kconfig
M payloads/Makefile.inc
A payloads/cbflashrom/.gitignore
A payloads/cbflashrom/Kconfig
A payloads/cbflashrom/Makefile
A payloads/cbflashrom/NuklearUI/NuklearCBFlashrom.c
A payloads/cbflashrom/NuklearUI/NuklearCBFlashrom.h
A payloads/cbflashrom/NuklearUI/NuklearCheckbox.c
A payloads/cbflashrom/NuklearUI/NuklearCheckbox.h
A payloads/cbflashrom/NuklearUI/NuklearCommon.h
A payloads/cbflashrom/NuklearUI/NuklearDataGrid.c
A payloads/cbflashrom/NuklearUI/NuklearDataGrid.h
A payloads/cbflashrom/NuklearUI/NuklearFieldFile.c
A payloads/cbflashrom/NuklearUI/NuklearFieldFile.h
A payloads/cbflashrom/NuklearUI/NuklearFieldHex.c
A payloads/cbflashrom/NuklearUI/NuklearFieldHex.h
A payloads/cbflashrom/NuklearUI/NuklearFileChooser.c
A payloads/cbflashrom/NuklearUI/NuklearFileChooser.h
A payloads/cbflashrom/NuklearUI/NuklearHex.c
A payloads/cbflashrom/NuklearUI/NuklearHex.h
A payloads/cbflashrom/NuklearUI/NuklearInput.c
A payloads/cbflashrom/NuklearUI/NuklearInput.h
A payloads/cbflashrom/NuklearUI/NuklearObject.c
A payloads/cbflashrom/NuklearUI/NuklearObject.h
A payloads/cbflashrom/NuklearUI/NuklearStyle.c
A payloads/cbflashrom/NuklearUI/NuklearStyle.h
A payloads/cbflashrom/NuklearUI/NuklearUI.h
A payloads/cbflashrom/arch/x86/cpuid.c
A payloads/cbflashrom/arch/x86/cpuid.h
A payloads/cbflashrom/arch/x86/memcpy.c
A payloads/cbflashrom/arch/x86/memcpy.h
A payloads/cbflashrom/cbflashrom.c
A payloads/cbflashrom/cbflashrom.h
A payloads/cbflashrom/flashrom/82802ab.c
A payloads/cbflashrom/flashrom/COPYING
A payloads/cbflashrom/flashrom/Doxyfile
A payloads/cbflashrom/flashrom/MAINTAINERS
A payloads/cbflashrom/flashrom/Makefile
A payloads/cbflashrom/flashrom/Makefile.include
A payloads/cbflashrom/flashrom/README
A payloads/cbflashrom/flashrom/amd_imc.c
A payloads/cbflashrom/flashrom/at45db.c
A payloads/cbflashrom/flashrom/atahpt.c
A payloads/cbflashrom/flashrom/atavia.c
A payloads/cbflashrom/flashrom/bitbang_spi.c
A payloads/cbflashrom/flashrom/board_enable.c
A payloads/cbflashrom/flashrom/buspirate_spi.c
A payloads/cbflashrom/flashrom/cbtable.c
A payloads/cbflashrom/flashrom/ch341a_spi.c
A payloads/cbflashrom/flashrom/chipset_enable.c
A payloads/cbflashrom/flashrom/cli_common.c
A payloads/cbflashrom/flashrom/cli_output.c
A payloads/cbflashrom/flashrom/custom_baud.c
A payloads/cbflashrom/flashrom/dediprog.c
A payloads/cbflashrom/flashrom/developerbox_spi.c
A payloads/cbflashrom/flashrom/digilent_spi.c
A payloads/cbflashrom/flashrom/dirtyjtag_spi.c
A payloads/cbflashrom/flashrom/dmi.c
A payloads/cbflashrom/flashrom/drkaiser.c
A payloads/cbflashrom/flashrom/edi.c
A payloads/cbflashrom/flashrom/en29lv640b.c
A payloads/cbflashrom/flashrom/flashchips.c
A payloads/cbflashrom/flashrom/flashrom.8.tmpl
A payloads/cbflashrom/flashrom/flashrom.c
A payloads/cbflashrom/flashrom/fmap.c
A payloads/cbflashrom/flashrom/ft2232_spi.c
A payloads/cbflashrom/flashrom/gfxnvidia.c
A payloads/cbflashrom/flashrom/helpers.c
A payloads/cbflashrom/flashrom/helpers_fileio.c
A payloads/cbflashrom/flashrom/hwaccess_physmap.c
A payloads/cbflashrom/flashrom/hwaccess_x86_io.c
A payloads/cbflashrom/flashrom/hwaccess_x86_msr.c
A payloads/cbflashrom/flashrom/ich_descriptors.c
A payloads/cbflashrom/flashrom/ichspi.c
A payloads/cbflashrom/flashrom/include/chipdrivers.h
A payloads/cbflashrom/flashrom/include/coreboot_tables.h
A payloads/cbflashrom/flashrom/include/custom_baud.h
A payloads/cbflashrom/flashrom/include/edi.h
A payloads/cbflashrom/flashrom/include/ene.h
A payloads/cbflashrom/flashrom/include/flash.h
A payloads/cbflashrom/flashrom/include/flashchips.h
A payloads/cbflashrom/flashrom/include/fmap.h
A payloads/cbflashrom/flashrom/include/hwaccess_physmap.h
A payloads/cbflashrom/flashrom/include/hwaccess_x86_io.h
A payloads/cbflashrom/flashrom/include/hwaccess_x86_msr.h
A payloads/cbflashrom/flashrom/include/i2c_helper.h
A payloads/cbflashrom/flashrom/include/ich_descriptors.h
A payloads/cbflashrom/flashrom/include/layout.h
A payloads/cbflashrom/flashrom/include/libflashrom.h
A payloads/cbflashrom/flashrom/include/platform.h
A payloads/cbflashrom/flashrom/include/platform/pci.h
A payloads/cbflashrom/flashrom/include/platform/swap.h
A payloads/cbflashrom/flashrom/include/programmer.h
A payloads/cbflashrom/flashrom/include/spi.h
A payloads/cbflashrom/flashrom/include/usb_device.h
A payloads/cbflashrom/flashrom/include/writeprotect.h
A payloads/cbflashrom/flashrom/internal.c
A payloads/cbflashrom/flashrom/internal.h
A payloads/cbflashrom/flashrom/it8212.c
A payloads/cbflashrom/flashrom/it87spi.c
A payloads/cbflashrom/flashrom/jedec.c
A payloads/cbflashrom/flashrom/jlink_spi.c
A payloads/cbflashrom/flashrom/known_boards.c
A payloads/cbflashrom/flashrom/layout.c
A payloads/cbflashrom/flashrom/libflashrom.c
A payloads/cbflashrom/flashrom/libflashrom.map
A payloads/cbflashrom/flashrom/mcp6x_spi.c
A payloads/cbflashrom/flashrom/meson.build
A payloads/cbflashrom/flashrom/meson_options.txt
A payloads/cbflashrom/flashrom/mstarddc_spi.c
A payloads/cbflashrom/flashrom/nic3com.c
A payloads/cbflashrom/flashrom/nicintel.c
A payloads/cbflashrom/flashrom/nicintel_eeprom.c
A payloads/cbflashrom/flashrom/nicintel_spi.c
A payloads/cbflashrom/flashrom/nicnatsemi.c
A payloads/cbflashrom/flashrom/nicrealtek.c
A payloads/cbflashrom/flashrom/ogp_spi.c
A payloads/cbflashrom/flashrom/opaque.c
A payloads/cbflashrom/flashrom/parade_lspcon.c
A payloads/cbflashrom/flashrom/parallel.c
A payloads/cbflashrom/flashrom/pcidev.c
A payloads/cbflashrom/flashrom/pickit2_spi.c
A payloads/cbflashrom/flashrom/platform/endian_big.c
A payloads/cbflashrom/flashrom/platform/endian_little.c
A payloads/cbflashrom/flashrom/platform/memaccess.c
A payloads/cbflashrom/flashrom/platform/meson.build
A payloads/cbflashrom/flashrom/pony_spi.c
A payloads/cbflashrom/flashrom/processor_enable.c
A payloads/cbflashrom/flashrom/programmer.c
A payloads/cbflashrom/flashrom/programmer_table.c
A payloads/cbflashrom/flashrom/raiden_debug_spi.c
A payloads/cbflashrom/flashrom/rayer_spi.c
A payloads/cbflashrom/flashrom/realtek_mst_i2c_spi.c
A payloads/cbflashrom/flashrom/s25f.c
A payloads/cbflashrom/flashrom/satamv.c
A payloads/cbflashrom/flashrom/satasii.c
A payloads/cbflashrom/flashrom/sb600spi.c
A payloads/cbflashrom/flashrom/serprog.c
A payloads/cbflashrom/flashrom/sfdp.c
A payloads/cbflashrom/flashrom/spi.c
A payloads/cbflashrom/flashrom/spi25.c
A payloads/cbflashrom/flashrom/spi25_statusreg.c
A payloads/cbflashrom/flashrom/spi95.c
A payloads/cbflashrom/flashrom/sst28sf040.c
A payloads/cbflashrom/flashrom/sst49lfxxxc.c
A payloads/cbflashrom/flashrom/sst_fwhub.c
A payloads/cbflashrom/flashrom/stlinkv3_spi.c
A payloads/cbflashrom/flashrom/stm50.c
A payloads/cbflashrom/flashrom/test_build.sh
A payloads/cbflashrom/flashrom/udelay.c
A payloads/cbflashrom/flashrom/usb_device.c
A payloads/cbflashrom/flashrom/usbblaster_spi.c
A payloads/cbflashrom/flashrom/usbdev.c
A payloads/cbflashrom/flashrom/w29ee011.c
A payloads/cbflashrom/flashrom/w39.c
A payloads/cbflashrom/flashrom/wbsio_spi.c
A payloads/cbflashrom/flashrom/writeprotect.c
A payloads/cbflashrom/flashrom/writeprotect_ranges.c
A payloads/cbflashrom/fsys/usbstorage.c
A payloads/cbflashrom/fsys/usbstorage.h
A payloads/cbflashrom/gfx/gfx.c
A payloads/cbflashrom/gfx/gfx.h
A payloads/cbflashrom/gfx/splash.c
A payloads/cbflashrom/gfx/splash.h
A payloads/cbflashrom/lang/en.c
A payloads/cbflashrom/lang/lang.c
A payloads/cbflashrom/lang/lang.h
A payloads/cbflashrom/libftdi/LICENSE
A payloads/cbflashrom/libftdi/src/ftdi.c
A payloads/cbflashrom/libftdi/src/ftdi.h
A payloads/cbflashrom/libftdi/src/ftdi_i.h
A payloads/cbflashrom/libftdi/src/ftdi_stream.c
A payloads/cbflashrom/libjaylink/buffer.c
A payloads/cbflashrom/libjaylink/core.c
A payloads/cbflashrom/libjaylink/device.c
A payloads/cbflashrom/libjaylink/discovery.c
A payloads/cbflashrom/libjaylink/discovery_usb.c
A payloads/cbflashrom/libjaylink/emucom.c
A payloads/cbflashrom/libjaylink/error.c
A payloads/cbflashrom/libjaylink/fileio.c
A payloads/cbflashrom/libjaylink/jtag.c
A payloads/cbflashrom/libjaylink/libjaylink-internal.h
A payloads/cbflashrom/libjaylink/libjaylink.h
A payloads/cbflashrom/libjaylink/list.c
A payloads/cbflashrom/libjaylink/log.c
A payloads/cbflashrom/libjaylink/strutil.c
A payloads/cbflashrom/libjaylink/swd.c
A payloads/cbflashrom/libjaylink/swo.c
A payloads/cbflashrom/libjaylink/target.c
A payloads/cbflashrom/libjaylink/transport.c
A payloads/cbflashrom/libjaylink/transport_usb.c
A payloads/cbflashrom/libjaylink/util.c
A payloads/cbflashrom/libusb/libusb.c
A payloads/cbflashrom/libusb/libusb.h
A payloads/cbflashrom/logo/cbui.png
A payloads/cbflashrom/lp.config
A payloads/cbflashrom/util/buffers.c
A payloads/cbflashrom/util/buffers.h
A payloads/cbflashrom/util/vector.c
A payloads/cbflashrom/util/vector.h
200 files changed, 92,857 insertions(+), 11 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/69328/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/69328
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib523ae9eb002f14749942137e53add4986098314
Gerrit-Change-Number: 69328
Gerrit-PatchSet: 3
Gerrit-Owner: Iman Bingi <imanbingy(a)gmail.com>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Elyes Haouas has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/62362 )
Change subject: treewide: Drop unused Kconfig symbols
......................................................................
Patch Set 13:
(1 comment)
File src/mainboard/portwell/m107/Kconfig:
https://review.coreboot.org/c/coreboot/+/62362/comment/8416523c_f0fd5887
PS11, Line 22: config ONBOARD_MEM_SAMSUNG
> This config is used indirect. […]
isn't default ONBOARD_MEM_MICRON ?
please see line #20 and please run 'grep -r ONBOARD_MEM_SAMSUNG'
--
To view, visit https://review.coreboot.org/c/coreboot/+/62362
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I96380d4567356c81e17de469fd78cec2fcb7e5c9
Gerrit-Change-Number: 62362
Gerrit-PatchSet: 13
Gerrit-Owner: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Reviewer: Erik van den Bogaert <ebogaert(a)eltan.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Frans Hendriks <fhendriks(a)eltan.com>
Gerrit-Reviewer: Lance Zhao
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Tim Wawrzynczak <inforichland(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-CC: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Comment-Date: Tue, 08 Nov 2022 14:17:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Frans Hendriks <fhendriks(a)eltan.com>
Gerrit-MessageType: comment
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/69042 )
Change subject: soc/intel/meteorlake: Remove PM Energy Report WA
......................................................................
soc/intel/meteorlake: Remove PM Energy Report WA
Disable Pch PM Energy Report WA was added to enhance boot time
with HFPGA only. SoC needs reporting enabled.
BUG=None
TEST=Build and Boot Google, Rex and Intel, MTLRVP without any boot time regression..
Signed-off-by: Ravi Sarawadi <ravishankar.sarawadi(a)intel.com>
Change-Id: If5f1f9c6ab31652977d436a49a3531edffbd60c5
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69042
Reviewed-by: Angel Pons <th3fanbus(a)gmail.com>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Sridhar Siricilla <sridhar.siricilla(a)intel.com>
---
M src/soc/intel/meteorlake/fsp_params.c
1 file changed, 20 insertions(+), 8 deletions(-)
Approvals:
build bot (Jenkins): Verified
Angel Pons: Looks good to me, but someone else must approve
Sridhar Siricilla: Looks good to me, approved
diff --git a/src/soc/intel/meteorlake/fsp_params.c b/src/soc/intel/meteorlake/fsp_params.c
index 4fd8f79..4fe2f63 100644
--- a/src/soc/intel/meteorlake/fsp_params.c
+++ b/src/soc/intel/meteorlake/fsp_params.c
@@ -375,14 +375,6 @@
s_cfg->PsOnEnable = 1;
/* Enable the energy efficient turbo mode */
s_cfg->EnergyEfficientTurbo = 1;
-
- /*
- * UPDATEME: This is WA for HFPGA
- * Disable Pch Pm Energy Report
- * Energy Report is disabled to enhance boottime with HFPGA.
- */
- s_cfg->PchPmDisableEnergyReport = 1;
-
s_cfg->PmcLpmS0ixSubStateEnableMask = get_supported_lpm_mask();
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/69042
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If5f1f9c6ab31652977d436a49a3531edffbd60c5
Gerrit-Change-Number: 69042
Gerrit-PatchSet: 5
Gerrit-Owner: Ravishankar Sarawadi <ravishankar.sarawadi(a)intel.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Sridhar Siricilla <sridhar.siricilla(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Tarun Tuli <taruntuli(a)google.com>
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/+/69205 )
Change subject: mb/google/brya/var/kinox: Disable PCH USB2 phy power gating
......................................................................
mb/google/brya/var/kinox: Disable PCH USB2 phy power gating
The patch disables PCH USB2 Phy power gating to prevent possible display
flicker issue for kinox board. Please refer Intel doc#723158 for more
information.
BUG=b:257373738
TEST=Verify the build for kinox board
Signed-off-by: Dtrain Hsu <dtrain_hsu(a)compal.corp-partner.google.com>
Change-Id: Ifcf4f89ea4c61ec4f9a31edba069d2111ca06010
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69205
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Subrata Banik <subratabanik(a)google.com>
Reviewed-by: Ricky Chang <rickytlchang(a)google.com>
Reviewed-by: Eric Lai <eric_lai(a)quanta.corp-partner.google.com>
---
M src/mainboard/google/brya/variants/kinox/overridetree.cb
1 file changed, 26 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Ricky Chang: Looks good to me, but someone else must approve
Subrata Banik: Looks good to me, approved
Eric Lai: Looks good to me, approved
diff --git a/src/mainboard/google/brya/variants/kinox/overridetree.cb b/src/mainboard/google/brya/variants/kinox/overridetree.cb
index 8356320..01610c1 100644
--- a/src/mainboard/google/brya/variants/kinox/overridetree.cb
+++ b/src/mainboard/google/brya/variants/kinox/overridetree.cb
@@ -12,6 +12,10 @@
# GPE configuration
register "pmc_gpe0_dw1" = "GPP_H"
+ # As per Intel Advisory doc#723158, the change is required to prevent possible
+ # display flickering issue.
+ register "usb2_phy_sus_pg_disable" = "1"
+
# Intel Common SoC Config
#+-------------------+---------------------------+
#| Field | Value |
--
To view, visit https://review.coreboot.org/c/coreboot/+/69205
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ifcf4f89ea4c61ec4f9a31edba069d2111ca06010
Gerrit-Change-Number: 69205
Gerrit-PatchSet: 6
Gerrit-Owner: Dtrain Hsu <dtrain_hsu(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Eric Lai <eric_lai(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Ricky Chang <rickytlchang(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Tarun Tuli <taruntuli(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged