[coreboot] Re: inteltool does not properly dump gpio values for south bridge CM238 chipset

2019-05-24 Thread justidl3
Thanks for the help, I was able to run -g -G and I got this output, its the same when you do -g = GPIOS = --- GPIO Community 0 --- PCR Port ID: 0xaf --- GPIO Group GPP_A --- 0x0400: 0x301844000502 GPP_A0 RCIN# 0x0408: 0x0019

[coreboot] Re: inteltool does not properly dump gpio values for south bridge CM238 chipset

2019-05-22 Thread justidl3
Thanks, I was actually able to get it up and running on coreboot 4.9. The main issue was that i am on fedora, and CONFIG_STRICT_DEVMEM is enabled by default. adding GRUB_CMDLINE_LINUX"iomem=relaxed" while also adding the proper defines in gpio.c and gpio_group.c seemed to fix the issue. my outpu

[coreboot] Re: inteltool does not properly dump gpio values for south bridge CM238 chipset

2019-05-21 Thread Ranga Rao
Hi Justin, Ensure the GPIO’s for the south bridge you are looking for kaby lake 7280 are available in coreboot\util\inteltool\gpio.c CM238 is a skylake chipset -> https://en.wikipedia.org/wiki/List_of_Intel_chipsets Have you tried inteltool -g -G? Regards Ranga From: Justin Dong-Il Lee Sent:

[coreboot] Re: inteltool does not properly dump gpio values for south bridge CM238 chipset

2019-05-21 Thread justidl3
Thanks. I've done that and i have gotten a gpio output. Should it look like this? gpiobase+0x: 0x (GPIO_USE_SEL) gpiobase+0x0004: 0x (GP_IO_SEL) gpiobase+0x0008: 0x (RESERVED) gpiobase+0x000c: 0x (GP_LVL) gpiobase+0x0010: 0x (RESERVED) gpiobase+0x0014:

[coreboot] Re: inteltool does not properly dump gpio values for south bridge CM238 chipset

2019-05-21 Thread Justin Dong-Il Lee
Thanks. I've done that and i have gotten a gpio output. Should it look like this? gpiobase+0x: 0x (GPIO_USE_SEL) gpiobase+0x0004: 0x (GP_IO_SEL) gpiobase+0x0008: 0x (RESERVED) gpiobase+0x000c: 0x (GP_LVL) gpiobase+0x0010: 0x (RESERVED) gpiobase+0x0014: 0x

[coreboot] Re: inteltool does not properly dump gpio values for south bridge CM238 chipset

2019-05-21 Thread Matt DeVillier
whoops, I meant inteltool, not intelmetool On Tue, May 21, 2019 at 6:14 PM Matt DeVillier wrote: > support already exists in intelmetool for several 7th-gen/Kabylake > platforms, just not KBL-H. Easiest thing to try would be to add the PCI > IDs into inteltool.h next to the existing ones for KB

[coreboot] Re: inteltool does not properly dump gpio values for south bridge CM238 chipset

2019-05-21 Thread Matt DeVillier
support already exists in intelmetool for several 7th-gen/Kabylake platforms, just not KBL-H. Easiest thing to try would be to add the PCI IDs into inteltool.h next to the existing ones for KBL north/south bridges (ie, add: #define PCI_DEVICE_ID_INTEL_CORE_7TH_GEN_H 0x5910) then add it everywhere