I have no idea bro.... may be I am doing something wrong.

This original FW of this embedded system is FULL OF BUGS... even the latest 
release.
I can guess many of you don't have problems doing it this way.
Maybe I have an early release of VBIOS which doesn't work with coreboot as 
expected.
The libgfxinit solution given by our friend Nico today works.

Later I will try another panel and variant of embedded system.
Thank you,
Jose Trujillo.

> [Got it.]
>
> Does that mean coreboot+tianocore where it has to install GOP protocol and 
> can’t really working with VBIOS/OpRom?
>
> Thanks,
>
> Subrata
>
> From: Jose Trujillo [mailto:[email protected]]
> Sent: Wednesday, December 4, 2019 5:27 PM
> To: Banik, Subrata <[email protected]>
> Subject: RE: [coreboot] Sandybridge-M help request in setting up LVDS panel.
>
> Dear Subrata:
>
> I got the pdf.
>
> I already tested all modes and even video mode 105 is showing only vertical 
> lines.
>
> 101 = 640x480 256 colors = vertical lines.
>
> 103 = 800x600 256 colors = vertical lines.
>
> 105 = 1024x768 256 colors = vertical lines.
>
> 111 = 640x480 64k colors = vertical lines.
>
> 112 = 640x480 16M colors = vertical lines.
>
> 114 = 800x600 64k colors = vertical lines.
>
> 115 = 800x600 16M colors = vertical lines.
>
> 117 = 1024x768 64k colors =  vertical lines.
>
> 118 = 1024x768 16M colors = vertical lines.
>
> But in some modes when the system boots to linux it does with good video on 
> the panel.
>
> Just never good video on coreboot-tianocore.
>
> Jose.
>
>>
>>
>> FYI
>>
>> https://pdos.csail.mit.edu/6.828/2018/readings/hardware/vbe3.pdf
>>
>> Thanks,
>>
>> Subrata
>>
>> -----Original Message-----
>> From: Banik, Subrata
>> Sent: Wednesday, December 4, 2019 2:13 PM
>> To: 'Jose Trujillo' <[email protected]>
>> Subject: RE: [coreboot] Sandybridge-M help request in setting up LVDS panel.
>>
>> HI Jose,
>>
>> I believe first you should try one off below mode to see if your display is 
>> working proper.
>>
>> Supported Video Mode list for OpRom:
>>
>> 105
>>
>> 117
>>
>> 118
>>
>> 112
>>
>> 114
>>
>> 115
>>
>> 101
>>
>> 103
>>
>> 111
>>
>> I guess if you download VESA spec you might know about all those mode more 
>> and know what is supported X, Y and bit width.
>>
>> Thanks,
>>
>> Subrata
>>
>> -----Original Message-----
>>
>> From: Jose Trujillo [mailto:[email protected]]
>>
>> Sent: Wednesday, December 4, 2019 2:10 PM
>>
>> To: Banik, Subrata <[email protected]>
>>
>> Subject: RE: [coreboot] Sandybridge-M help request in setting up LVDS panel.
>>
>> Good morning Subrata:
>>
>> You were right!
>>
>> #116 doesn't appear on the list.
>>
>> Then how the original FW support it?
>>
>> I am even working (building and flashing) on this panel.
>>
>> Also remember even at video mode #118 the system halts with vertical lines.
>>
>> Any workaround for this?
>>
>> This panel is 1024x768@18bit and I will test another one 1024x768@24bit to 
>> see...
>>
>> CBFS: Locating 'pci8086,0116.rom'
>>
>> CBFS: Found @ offset 2d440 size 10000
>>
>> In CBFS, ROM address for PCI: 00:02.0 = ffe3d688 Copying VGA ROM Image from 
>> ffe3d688 to 0xc0000, 0xf200 bytes Calling Option ROM...
>>
>> intel_vga_int15_handler: AX=5f34 BX=c000 CX=0002 DX=03da
>>
>> intel_vga_int15_handler: AX=5f52 BX=0000 CX=0002 DX=0008 Unknown INT15 
>> function 5f52!
>>
>> int15 call returned error.
>>
>> intel_vga_int15_handler: AX=5f14 BX=078f CX=000a DX=fde8 Unknown INT15 
>> function 5f14!
>>
>> int15 call returned error.
>>
>> intel_vga_int15_handler: AX=5f35 BX=c000 CX=0002 DX=03da
>>
>> intel_vga_int15_handler: AX=5f70 BX=c003 CX=0002 DX=0303 ... Option ROM 
>> returned.
>>
>> Supported Video Mode list for OpRom:
>>
>> 105
>>
>> 117
>>
>> 118
>>
>> 112
>>
>> 114
>>
>> 115
>>
>> 101
>>
>> 103
>>
>> 111
>>
>> VBE: Getting information about VESA mode 4116
>>
>> VBE: Function call failed!
>>
>> Error: In vbe_get_mode_info function
>>
>> Thank you,
>>
>> Jose Trujillo.
>>
>>> Hi Jose,
>>
>>>
>>
>>> Can you please try below code changes ?
>>
>>>
>>
>>> diff --git a/src/device/oprom/realmode/x86.c
>>
>>> b/src/device/oprom/realmode/x86.c index 0a5ede3..12c70cb 100644
>>
>>> --- a/src/device/oprom/realmode/x86.c
>>
>>> +++ b/src/device/oprom/realmode/x86.c
>>
>>> @@ -437,6 +437,7 @@ void run_bios(struct device *dev, unsigned long
>>
>>> addr) realmode_call(addr + 0x0003, num_dev, 0xffff, 0x0000, 0xffff,
>>
>>> 0x0, 0x0); printk(BIOS_DEBUG, "... Option ROM returned.\n");
>>
>>>
>>
>>> -         vbe_oprom_supported_mode_list();
>>
>>>
>>
>>>
>>
>>>
>>
>>> #if CONFIG(FRAMEBUFFER_SET_VESA_MODE)
>>
>>> if ((dev->class >> 8)== PCI_CLASS_DISPLAY_VGA)
>>
>>>
>>
>>>                 vbe_set_graphics();
>>
>>>
>>
>>>
>>
>>> Thanks,
>>
>>> Subrata
>>
>>>
_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to