Re: [PATCH v5 23/46] pci: Allow the video BIOS to work in SPL with QEMU

2023-07-26 Thread Simon Glass
Hi Bin, On Mon, 17 Jul 2023 at 00:20, Bin Meng wrote: > > Hi Simon, > > On Sun, Jul 16, 2023 at 11:39 AM Simon Glass wrote: > > > > QEMU emulates two common machines (Q35 and i440fx) which use mapping to > > determine whether RAM is present below 1MB. In order to copy the video > > BIOS to c

Re: [PATCH v5 23/46] pci: Allow the video BIOS to work in SPL with QEMU

2023-07-16 Thread Bin Meng
Hi Simon, On Sun, Jul 16, 2023 at 11:39 AM Simon Glass wrote: > > QEMU emulates two common machines (Q35 and i440fx) which use mapping to > determine whether RAM is present below 1MB. In order to copy the video > BIOS to c we need to flip this mapping over to RAM. This does not > happen autom

[PATCH v5 23/46] pci: Allow the video BIOS to work in SPL with QEMU

2023-07-15 Thread Simon Glass
QEMU emulates two common machines (Q35 and i440fx) which use mapping to determine whether RAM is present below 1MB. In order to copy the video BIOS to c we need to flip this mapping over to RAM. This does not happen automatically until SPL has finished running. Switch in RAM at these address s