Files for x86-based systems

Typically, all embedded board platforms, such as beaglebone / board, Rasp pi, etc., have board files that describe what hardware is present using the structure.

So, something similar for x86 based systems. How we deliver platform data for undetectable devices on x86 systems.

Edit: config allows you to either compile with or without device tree support.

CONFIG_USE_OF = y

CONFIG_DTC = y

CONFIG_OF = y

CONFIG_PROC_DEVICETREE = y

Thanks. STA

+5
source share
1 answer

Most devices can be detected through PCI and ACPI. (Although most x86 processors are not SoCs, they have many built-in PCI devices.)

The few remaining devices (mostly obsolete stuff running on an IBM PC) are hard-coded in x86 architecture code.

Any "new" devices that are not PCI must be described by the BIOS in some ACPI table.

+3
source

Source: https://habr.com/ru/post/1206997/


All Articles