Hi David, could you please look into this briefly?
Tommaso: please provide David with a more complete description of the symptom that you see. Can you tell what line exactly in edk2 triggers the problem? Thanks Laszlo On 11/06/19 17:17, Tommaso Mazzoni wrote: > Dear all, > > Dear David Woodhouse, > > I'm trying to add Csm packages to my edk2-platform (based on > devel-IntelAtomProcessorE3900 branch). I customized the repository to > fit a custom module based on Apollo Lake CPU. > > edk2 is the UDK2018 branch. > > I generated Csm16.bin with David Woodhouse SeaBios > (git://git.infradead.org/users/dwmw2/seabios.git). > > Then I updated LegacyBbs.c in LegacyBiosDxe.inf because edk2-UDK2018 > version supports only Floppy and IDE HDD. I used LegacyBbs.c from > edk2-master to scan also removable devices. > > Now I can scan removable devices and Boot Manager populate the boot list > with Legacy options, even it calls all options "Harddisk". > > So I can try to boot it but the boot procedure stacks when it try to > disconnect EFI devices (in PciShadowRoms function of LegacyPci.c). > Function starts to disconnect from VGA, at that point boot stacks. > > My dsc file contains the following includes: > > MdeModulePkg/Universal/BdsDxe/BdsDxe.inf { > <LibraryClasses> > !ifdef $(CSM_ENABLE) > NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf > > NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf > > !endif > } > MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf { > <LibraryClasses> > DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf > } > MdeModulePkg/Application/UiApp/UiApp.inf { > <LibraryClasses> > NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf > NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf > > NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf > > !ifdef $(CSM_ENABLE) > > NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf > > > NULL|IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf > > !endif > } > > and: > > !ifdef $(CSM_ENABLE) > > IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/KeyboardDxe.inf > > IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf > > IntelFrameworkModulePkg/Csm/BiosThunk/BlockIoDxe/BlockIoDxe.inf > > IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/Snp16Dxe.inf > > IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf > > OvmfPkg/Csm/Csm16/Csm16.inf > > !endif > > I try to replicate what Laszlo suggest in > https://ml01.01.org/hyperkitty/list/edk2-de...@lists.01.org/thread/AT7EWPIOJ3GUPBAHIDZLR5V5ZK5S442K/ > > > Do you have any suggestions? Do you understand what is happening? > > Thank you. > > Best regards, > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#50668): https://edk2.groups.io/g/devel/message/50668 Mute This Topic: https://groups.io/mt/44306447/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-