Re: First time using coreboot+edk2, I didn't get to see the beginning.
|H| via coreboot <[email protected]>
| Newsgroups | gmane.linux.bios |
|---|---|
| Message-ID | <i_-uq8Ybn_gu_X-WmjxoX5YTv1oCWlrDrFtIuM1jsX8Z2ukgE6NUnt_eI6L2ENBHEiOhEshHzbQ40xQfmXW8RAszCPAPg9G3O_4npX0PgA8=@protonmail.com> |
Hi Kevin, You mentioned you've been hacking with SeaBIOS for a while. You may have already seen building as a CSM mentioned here: https://seabios.org/Build_overview This seems to suggest the process as building SeaBIOS as a CSM module and then building EDKII. I think I tried to do this once and EDKII ended up being too big to fit in the CBFS I had. There was also a talk on getting SeaBIOS working as a CSM on hardware at OSFC one year: https://cfp.osfc.io/osfc2020/talk/YWWRVG/ I'd be interested to see how to solve this, and I'm sorry I can't be of much help. -------- Original Message -------- On 14 Sept 2023, 14:37, Keith Hui wrote: > On Thu., Sep. 14, 2023, 09:18 Matt DeVillier, <[email protected]> wrote: > >> On Wed, Sep 13, 2023 at 11:28 PM Keith Hui <[email protected]> wrote: >> >>> I did add SeaBIOS as >>> secondary payload, and it couldn't boot. Then I pulled out the main >>> drive out of my laptop which is all UEFI, and it booted fine after >>> probably 30 seconds of nothing - the first thing I saw on screen is >>> the Fedora spinner. Nothing from edk2 or grub on the drive. >> >> edk2 doesn't support secondary payloads > > Then how should edk2 + CSM (seabios?) + (i)PXE be set up so it can boot from anything? > >>> There also was a bit of delay on my connected serial console, then >>> when info finally started flowing, it's already well into ramstage. >>> And when I checked cbmem, it unfortunately overflowed so I lost logs >>> of raminit, which would be most important given my patch train now >>> under review. It would take a warm reboot before I start getting the >>> head of the boot logs. >>> >>> I didn't set a boot logo. >>> >>> What more set up I have to do to get my edk2 and grub boot menu back? >>> >>> I've attached logs from minicom, cbmem, and my Kconfig, if it helps. >> >> as Nico said, you need to use a linear framebuffer, not vga text. The display resolution should be native. >> >> also, edk2 cbmem logging may or may not work, and may or may not slow down boot time. > > I'll report back when I return from a trip in a week. > > edk2 cbmem logging probably works. I remember seeing some EFI things in there. > > Thanks > Keith _______________________________________________ coreboot mailing list -- [email protected] To unsubscribe send an email to [email protected]