grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disable graphics completly


From: Andrei Borzenkov
Subject: Re: Disable graphics completly
Date: Mon, 20 Mar 2017 14:58:22 +0300

On Mon, Mar 20, 2017 at 2:57 PM, Andrei Borzenkov <address@hidden> wrote:
> On Mon, Mar 20, 2017 at 1:47 PM, Gailu Singh <address@hidden> wrote:
>> Thanks Daniel.
>>
>> I do not see video specific modules in the below list (guessing based on the
>> names though, so may be wrong)
>>
>
> Default output driver on coreboot platform in text mode VGA.
> Unfortunately GRUB starts output even before evaluating embedded
> config so it will probably reset screen anyway. For testing
>
> 1. use terminal_output to change output driver in embedded config
> 2. Comment out
>

[I hate webmail]

  /* Hello.  */
  grub_setcolorstate (GRUB_TERM_COLOR_HIGHLIGHT);
  grub_printf ("Welcome to GRUB!\n\n");
  grub_setcolorstate (GRUB_TERM_COLOR_STANDARD);

In grub-core/kern/main.c:main()

Does it help?

>
>> ./grub-mkstandalone --grub-mkimage=./grub-mkimage -O i386-coreboot -o
>> default_payload.elf --modules='ls ahci pata ehci uhci ohci usb_keyboard
>> usbms part_msdos ext2 fat at_keyboard part_gpt usbserial_usbdebug cbfs'
>> --install-modules='linux search configfile normal cbtime cbls memrw iorw
>> minicmd lsmmap lspci halt reboot hexdump pcidump regexp setpci lsacpi chain
>> test serial multiboot cbmemc linux16 gzio echo help syslinuxcfg xnu affs afs
>> bfs btrfs cbfs cpio cpio_be exfat ext2 fat hfs hfsplus iso9660 jfs minix
>> minix2 minix2_be minix3 minix3_be minix_be newc nilfs2 ntfs odc procfs
>> reiserfs romfs sfs squash4 tar udf ufs1 ufs1_be ufs2 xfs zfs password_pbkdf2
>> ' --fonts= --themes= --locales= -d grub-core/
>> /boot/grub/grub.cfg=./coreboot.cfg
>>
>> On Mon, Mar 20, 2017 at 4:06 PM, Daniel Kiper <address@hidden> wrote:
>>>
>>> On Mon, Mar 20, 2017 at 02:58:01PM +0530, Gailu Singh wrote:
>>> > Hi Experts,
>>> >
>>> > We are using coreboot + grub to load Linux. We display splash screen in
>>> > coreboot but this splash screen is wiped out by GRUB. Our requirement is
>>> > to
>>> > continue same splash screen (loaded by coreboot) on display until Linux
>>> > booting is completed. Grub console/menu is needed on on serial port but
>>> > not
>>> > on display
>>> >
>>> > Is this possible? If yes how can I achieve it in grub.cfg.
>>>
>>> I am not sure but you can try to not load any of video modules
>>> and fiddle with terminal_input and terminal_output commands.
>>>
>>> Daniel
>>
>>
>>
>> _______________________________________________
>> Grub-devel mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/grub-devel
>>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]