Date: Thu, 20 Feb 2025 07:18:46 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 254381] bootloader is very slow Message-ID: <bug-254381-227-UHLr5NGkvm@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-254381-227@https.bugs.freebsd.org/bugzilla/> References: <bug-254381-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254381 Toomas Soome <tsoome@me.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tsoome@me.com --- Comment #14 from Toomas Soome <tsoome@me.com> --- (In reply to Jung-uk Kim from comment #11) We can not use SetVirtualAddressMap() at this point: "The function can only be called at runtime, and is called by the owner of = the system=E2=80=99s memory map: i.e., the component which called EFI_BOOT_SERVICES.ExitBootServices()." That is, we only can use it after we did ExitBootServices() and we can only call it just before trampoline to kernel (otherwise we can not access disks etc). For experiment, we have two options. First one is already existing - use 'g= op off' command to switch console to use SimpleTextOutput() method. If the con= sole was performing ok with earlier versions, then this will help. Second option is to add option to tell gfxfb_bl() in stand/common/gfx_fb.c = to not use gop->Blt(), so it would use memory mapped framebuffer directly. If there is a bug with gop Blt() but memory attributes are set correctly, then this would work, because its the same as our kernel is doing. Unfortunately= I do not have misbehaving system to test with. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254381-227-UHLr5NGkvm>