Hi Nico,
Thanks for your email & response.
The problem originally I had was that on PortC, DP/HDMI did not work for
the external display in the OS, In BIOS it looked good,
so I configured PortC as an eDP interface then the external display started
working in the OS.
Now at runtime when there is no external display, the VBIOS is causing
delay, so I want to disable PortC for eDP at runtime when there is no
external display connected.
So am trying to find which MMIO register gets set when there is external
Display connected to DisplayPort
Thanks
Rao
On Fri, Jul 30, 2021 at 3:29 PM Rao G <grao.v80(a)gmail.com> wrote:
> Hi Nico,
>
> Thanks for your response, though I enabled Bits 29,28,27 in 0x61110h, the
> values in 0x61114h returned 0,
> I have configured the port as eDP in VBIOS not as HDMI/DP, will that
> make a difference?
> For eDP which MMIO register need to be checked?
>
> Thanks
> Rao
>
> On Fri, Jul 30, 2021 at 2:47 PM Nico Huber <nico.h(a)gmx.de> wrote:
>
>> Hello Rao,
>>
>> On 30.07.21 13:53, Rao G wrote:
>> > trying to see the MMIO or VBIOS data when a external display device is
>> > plugged/unplugged with DP/HDMI interface, which MMIO register is set or
>> > cleared
>>
>> I think you are looking at the right register (last one below).
>>
>> >
>> > Any inputs are appreciated, some of the registers tried on Port B/Port C
>> > are given below. when Display is connected and when Display is not
>> > connected, both these instances
>> > return the same data. Looking for register/bit that sets/clears when
>> > external display is connected/disconnected
>> >
>> > printk(BIOS_DEBUG, "Intel Gfx BAR GTTMMADR\n");
>> > printk(BIOS_DEBUG, " DP_B %X\n", read32(bar+0x180000+0x64100));
>> > printk(BIOS_DEBUG, " DP_C %X\n", read32(bar+0x180000+0x64200));
>> > printk(BIOS_DEBUG, " HDMIC %X\n", read32(bar+0x180000+0x61160));
>> > printk(BIOS_DEBUG, " HDMIB %X\n", read32(bar+0x180000+0x61140));
>> > printk(BIOS_DEBUG, " Hotplug control %X\n",
>> read32(bar+0x180000+0x61164));
>> > printk(BIOS_DEBUG, " pipeA control %X\n", read32(bar+0x180000+0x61204));
>> > printk(BIOS_DEBUG, " pipeB control %X\n", read32(bar+0x180000+0x61304));
>> > printk(BIOS_DEBUG, " porthot plug stat %X\n",
>> read32(bar+0x180000+0x61114));
>>
>> According to the datasheet, the bits in this register should change but
>> only if enabled in PORT_HOTPLUG_EN (0x61110).
>>
>> Nico
>>
>> NB. There is also libgfxinit support under review [1]. In case you are
>> trying to do some native graphics init ;)
>>
>> [1] https://review.coreboot.org/q/topic:%2522baytrail-libgfxinit%2522
>>
>
$ cat defconfig
...
CONFIG_ADD_FSP_BINARIES=y
...
There is *no* "fspt.bin" file in this chromebook recovery bios file used as source.
$ make
...
src/soc/intel/apollolake/fspcar.c:3:10: fatal error: FsptUpd.h: No such file or directory
#include <FsptUpd.h>
^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:379: build/bootblock/soc/intel/apollolake/fspcar.o] Error 1
What Makefile is that? There is no such line 379.
$ find -name FsptUpd.h
...
./3rdparty/fsp/ApolloLakeFspBinPkg/Include/FsptUpd.h
...
$ less src/soc/intel/alderlake/Kconfig
...
config FSP_HEADER_PATH
string "Location of FSP headers"
default "src/vendorcode/intel/fsp/fsp2_0/alderlake/"
$ less src/drivers/intel/fsp2_0/Kconfig
...
config FSP_T_FILE
string "Intel FSP-T (temp RAM init) binary path and filename" if !FSP_FULL_FD
depends on ADD_FSP_BINARIES
depends on FSP_CAR
default "\$(obj)/Fsp_T.fd" if FSP_FULL_FD
help
The path and filename of the Intel FSP-T binary for this platform.
$ make nconfig
...
> Generic Drivers
...
(src/vendorcode/intel/fsp/fsp2_0/glk) Location of FSP headers
How did that get there? Not me...
$ ll src/vendorcode/intel/fsp/fsp2_0/glk
total 116
drwxr-x--- 2 james james 4096 Oct 29 2020 .
drwxr-x--- 9 james james 4096 Jun 14 19:04 ..
-rw-r----- 1 james james 45977 Oct 29 2020 FspmUpd.h
-rw-r----- 1 james james 57332 Oct 29 2020 FspsUpd.h
-rw-r----- 1 james james 1967 Oct 29 2020 FspUpd.h
Why is src/soc/intel/apollolake/fspcar.c being built here? It seems that no fspt.bin file is needed.
James
Hello,
Does anyone know if coreboot supports the ASRock H110M-DVS R3.0
mainboard? The documentation doesn't mention the revision number but the
links are all for the R2.0 board and I can only find R3.0 boards for sale.
Thanks,
Alex
Issue #315 has been reported by Master Geek.
----------------------------------------
Bug #315: Xorg/Wayland show black screen when system memory is 4GB or higher
https://ticket.coreboot.org/issues/315
* Author: Master Geek
* Status: New
* Priority: Normal
* Assignee:
* Category:
* Target version:
----------------------------------------
Board: ASROCK G41M-VS3 R2.0
CB Revision: coreboot-4.14-1258-gfbc46a3bfb
When this board has one memory stick with 2GB of ram, or two memory sticks with 1GB and 2GB (3GB total) there's no issue with display; Xorg and wayland (using weston) work as expected. But when there's 4GB or maybe more (two 2GB sticks only available, haven't tried a single 4GB stick) the system works as expected up to just before starting Xorg or wayland, the screen goes black and nothing else happens. Returning to a tty by means of Ctrl-Alt-# 'ing to some other tty doesn't bring display back, neither does exitting/killing Xorg or wayland. Not even forcefully removing and reloading the relevant kernel modules (i915, drm) does anything to bring the display back, display will only comeback with a reboot.
When the screen goes black there's no system freeze of any kind, and the kernel complains with a single line:
"i915 0000:00:02.0: [drm] *ERROR* CPU pipe A FIFO underrun"
that isn't very helpful for debugging imo.
Attached dmesg loglevel=9 logs of stock bios, coreboot with 4GB (coreboot_bad) and with 2GB (coreboot_good), cbmem console log of coreboot with 2GB (cbmem_good).
---Files--------------------------------
cb_config.txt (16.3 KB)
cbmem_good.log (31.3 KB)
dmesg_coreboot_bad.log (443 KB)
dmesg_coreboot_good.log (457 KB)
dmesg_stock_bios.log (315 KB)
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: https://ticket.coreboot.org/my/account