2 ms·
The PC has PCI enumeration, that allows the kernel to ask each device on the bus for a id code. This in turn allows the kernel to load the appropriate drivers.
by digi_owl 11y ago
The PC has PCI enumeration, that allows the kernel to ask each device on the bus for a id code. This in turn allows the kernel to load the appropriate drivers.
ARM do not really have this. Unless you know exactly what device is on what address range etc, you risk sending the wrong signals and fill its firmware with garbage or something.
This means you can't really cook up a generic kernel package and apply it across the product range as you can on PC.
- ocdtrekkie 11y agoThis seems like a fatal flaw in the design of ARM.
- gvb 11y agoU-Boot and linux have the Flattened Device Tree[1] (FDT) which allows the kernel to load and configure the appropriate drivers. Your statement is true, however, that someone knowledgeable of the actual hardware has to create the correct FDT. This is slowly getting better and easier. The more intractable problem, as others observed, is that ARM hardware vendors tend to throw together a custom kernel for a given ARM processor and board and then abandon it. [1] https://en.wikipedia.org/wiki/Device_tree https://en.wikipedia.org/wiki/Device_tree