Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Board files for x86 based systems

Usually all embedded platform boards such as beaglebone/board, Rasp pi, etc etc have there board files that describe what hardware is present using structure's.

So Is there anything similar for the x86 based systems. How do we supply platform data for non discoverable devices in x86 systems

Edit: the config allows option to either compile with Device tree support or without it.

CONFIG_USE_OF=y

CONFIG_DTC=y

CONFIG_OF=y

CONFIG_PROC_DEVICETREE=y

Thanks. GNA

like image 223
RootPhoenix Avatar asked Oct 19 '22 22:10

RootPhoenix


1 Answers

Most devices are discoverable through PCI and ACPI. (Even though most x86 CPUs are not SoCs, they have many built-in PCI devices.)

The few remaining devices (mostly legacy stuff going back to IBM PCs) are hardcoded in the x86 arch code.

Any 'new' devices that aren't PCI must be described by the BIOS in some ACPI table.

like image 57
CL. Avatar answered Oct 29 '22 23:10

CL.