public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Questions about uefi bios's vga mode
@ 2017-08-31  9:08 Tiger Liu
  2017-08-31 18:47 ` Andrew Fish
  0 siblings, 1 reply; 4+ messages in thread
From: Tiger Liu @ 2017-08-31  9:08 UTC (permalink / raw)
  To: edk2-devel@lists.01.org

Hi, experts:
I have a question about uefi bios’s vga mode.
Could we use VGA’s text mode to boot into uefi shell environment?

It seems vga class driver/mini port driver could support VGA’s text mode.

It seems gop driver support graphic mode.

Thanks


保密声明:
本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: Questions about uefi bios's vga mode
@ 2017-09-01  3:24 Tiger Liu
  0 siblings, 0 replies; 4+ messages in thread
From: Tiger Liu @ 2017-09-01  3:24 UTC (permalink / raw)
  To: afish@apple.com; +Cc: edk2-devel@lists.01.org

Hi, Andrew:
Thanks a lot.

best wishes,
-----邮件原件-----
发件人: afish@apple.com [mailto:afish@apple.com]
发送时间: 2017年9月1日 2:47
收件人: Tiger Liu
抄送: edk2-devel@lists.01.org
主题: Re: [edk2] [EDK2] Questions about uefi bios's vga mode


> On Aug 31, 2017, at 2:08 AM, Tiger Liu <TigerLiu@zhaoxin.com> wrote:
>
> Hi, experts:
> I have a question about uefi bios’s vga mode.
> Could we use VGA’s text mode to boot into uefi shell environment?
>
> It seems vga class driver/mini port driver could support VGA’s text mode.
>

Tiger,

You can always write a driver to produce the SipleTextOut protocol directly to produce a console on an arbitrary device. Duet may already have something close, I can't remember?

> It seems gop driver support graphic mode.
>

Yes GOP is a graphics abstraction, and the ROM carries the the code to produce SimpleTextout on top of GOP.

> Thanks
>
>
> 保密声明:
> 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
> CONFIDENTIAL NOTE:
> This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel



保密声明:
本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: Questions about uefi bios's vga mode
@ 2017-09-01  6:17 Tiger Liu
  0 siblings, 0 replies; 4+ messages in thread
From: Tiger Liu @ 2017-09-01  6:17 UTC (permalink / raw)
  To: edk2-devel@lists.01.org

Hi, Andrew:
I have tried VgaClass driver/mini port protocol to implement a simple text out protocol.

It seems ok during bios boot phase.
I tried to use Simple text out protocol's output string function, it could output a string in the vga screen.

But, I tried to boot with shell.efi, failed to display on vga screen.
bios has finished boot, and print:
[Bds]Booting Internal EDK Shell

But the screen is blank.

Thanks

best wishes,
-----邮件原件-----
发件人: Tiger Liu
发送时间: 2017年9月1日 11:24
收件人: 'afish@apple.com'
抄送: edk2-devel@lists.01.org
主题: Re: [edk2] [EDK2] Questions about uefi bios's vga mode

Hi, Andrew:
Thanks a lot.

best wishes,
-----邮件原件-----
发件人: afish@apple.com [mailto:afish@apple.com]
发送时间: 2017年9月1日 2:47
收件人: Tiger Liu
抄送: edk2-devel@lists.01.org
主题: Re: [edk2] [EDK2] Questions about uefi bios's vga mode


> On Aug 31, 2017, at 2:08 AM, Tiger Liu <TigerLiu@zhaoxin.com> wrote:
>
> Hi, experts:
> I have a question about uefi bios’s vga mode.
> Could we use VGA’s text mode to boot into uefi shell environment?
>
> It seems vga class driver/mini port driver could support VGA’s text mode.
>

Tiger,

You can always write a driver to produce the SipleTextOut protocol directly to produce a console on an arbitrary device. Duet may already have something close, I can't remember?

> It seems gop driver support graphic mode.
>

Yes GOP is a graphics abstraction, and the ROM carries the the code to produce SimpleTextout on top of GOP.

> Thanks
>
>
> 保密声明:
> 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
> CONFIDENTIAL NOTE:
> This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel



保密声明:
本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-09-01  6:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-31  9:08 Questions about uefi bios's vga mode Tiger Liu
2017-08-31 18:47 ` Andrew Fish
  -- strict thread matches above, loose matches on Subject: below --
2017-09-01  3:24 Tiger Liu
2017-09-01  6:17 Tiger Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox