[PATCH] pci: add ECAM generic controller support

Ahmad Fatoum a.fatoum at pengutronix.de
Wed Nov 17 05:03:31 PST 2021


On 17.11.21 07:40, Sascha Hauer wrote:
> On Mon, Nov 15, 2021 at 10:04:32AM +0100, Ahmad Fatoum wrote:
>> This has been tested with QEMU AArch64 Virt. The default (-M
>> virt,highmem=on) will have two ranges specified in the device trees for
>> memory bars. One 32-bit and the other 64-bit. As barebox can't yet
>> handle 64-bit BARs, the driver will prefer the 32-bit memory region if
>> available. If none is available, consider using -M virt,highmem=off or
>> fixing 64-bit support.
> Looks straight forward. What can I do with it?

I wanted video output with qemu-system-aarch64 for my EFI loader
work. The Bochs PCI driver is the only driver I tested so far:

  test/emulate.pl qemu_virt64_defconfig -- -device VGA

You'll need some config changes. See the series, I just sent out.


> Sascha

Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

More information about the barebox mailing list