Giter Club home page Giter Club logo

Comments (5)

orangecms avatar orangecms commented on June 5, 2024

What mainboard do you have and which one do you use here from the LinuxBoot repo? Many LinuxBoot implementations target serial consoles, so for a graphical one, you'd need to select more drivers.

from linuxboot.

hanxinwu1 avatar hanxinwu1 commented on June 5, 2024

你有什么主板,你从LinuxBoot存储库使用哪一个?许多 LinuxBoot 实现都以串行控制台为目标,因此对于图形控制台,您需要选择更多驱动程序。
I compiled u-root and Linux kernel through this website:https://github.com/linuxboot/book/tree/master/coreboot.u-root.systemboot, and then compiled the Linux kernel embedded in Intramfs into a bzimage file with a utk command to replace the uefi shell in the server bios, and then the server booted up, and after entering the ufi shell, the monitor screen was black, do you mean that my computer will be connected to the bios serial port on the server instead of the monitor to have output?

from linuxboot.

rminnich avatar rminnich commented on June 5, 2024

Yes, our kernel config files do not usually enable graphics. But it is easy to enable graphics.

This may be enough:

CONFIG_VT=y
# CONFIG_CONSOLE_TRANSLATIONS is not set
CONFIG_VT_CONSOLE=y
CONFIG_VT_CONSOLE_SLEEP=y
CONFIG_HW_CONSOLE=y

from linuxboot.

rminnich avatar rminnich commented on June 5, 2024

A good way to test your kernel, before putting it in flash, is to boot it as you would any other kernel, and make sure it is doing what you want.

Can you tell us what system you are doing this for?

from linuxboot.

hanxinwu1 avatar hanxinwu1 commented on June 5, 2024

In fact, my kernel .config file in addition to not find CONFIG_VT_CONSOLE_SLEEP you listed the remaining config_vt are open, but still can not output any information on the monitor, my kernel menuconfig options in the Built-in kernel command line I filled in an ‘’etherealprintk=serial, ttyS0, 57600 console=ttyS0, 57600‘’, this instruction is to specify the display information to the serial port for display, so it will cause the monitor to be black screen?

from linuxboot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.