[SeaBIOS] Re: [PATCH 4/4] boot: Support booting more than 2 hard drives

2021-01-17 Thread Kevin O'Connor
On Thu, Dec 31, 2020 at 07:08:26PM -0800, Bin Gao wrote: > By default SeaBIOS can map up to 2 hard disks, and more hard disks beyond > 2 will be rejected. This restriction is caused by limited BDA slots. > This patch added support for mapping more than 2 hard disks by dynamically > mapping the hard

[SeaBIOS] Re: [PATCH 3/4] csm: Move pci_probe_devices() from InitializeYourself phase to PreparToBoot phase

2021-01-17 Thread Kevin O'Connor
On Thu, Dec 31, 2020 at 07:08:25PM -0800, Bin Gao wrote: > On physical hardware, some PCI devices are not detectable when > UEFI invokes our InitializeYourself() function. But they > are guaranteed to be available before UEFI invokes our > PreparToBoot() function. > > Signed-off-by: Bin Gao > ---

[SeaBIOS] Re: [PATCH 2/4] csm: Enable boot from pci option rom

2021-01-17 Thread Kevin O'Connor
On Thu, Dec 31, 2020 at 07:08:24PM -0800, Bin Gao wrote: > In csm mode, the bev pointer of the pci option rom was not > added to the bootentry list, resulting in failure to boot > from pci option rom. This patch fixed it. > Also we enabled hw timer interrupt and clock update before > we call the op

[SeaBIOS] Re: [PATCH 1/4] pci: Allow scanning pci bus number up to 255 in CSM mode

2021-01-17 Thread Kevin O'Connor
On Thu, Dec 31, 2020 at 07:08:23PM -0800, Bin Gao wrote: > On real hardware especially server platforms, there might be multiple > root buses, thus pci bus number could run up to 255. This patch fixed > pci_probe_devices() by allowing to scan all 256 pci bus numbers(0-255). > > Signed-off-by: Bin