EFI native support on amd64
Hi, I see some pieces of EFI in the base (gnu-efi, grub support) but no complete native support. If I remember correctly, someone worked on it but I don't have any link to their work. Are there any patches I can hack on further? PS I was able to link a hello world amd64 executable. It printed gibberish, though, presumably because it expected CHAR16. Otherwise, coding was quite easy given my lack of knowledge in this area. Alex
Re: EFI native support on amd64
Hi, 2016-12-08 18:35 GMT+09:00 Alexander Nasonov : > I see some pieces of EFI in the base (gnu-efi, grub support) but > no complete native support. If I remember correctly, someone worked > on it but I don't have any link to their work. Are there any patches > I can hack on further? I'm working on efiboot. http://cdn.netbsd.org/pub/NetBSD/misc/nonaka/efiboot/ Regards, -- Kimihiro Nonaka
Re: EFI native support on amd64
Kimihiro Nonaka wrote: > > I'm working on efiboot. > > http://cdn.netbsd.org/pub/NetBSD/misc/nonaka/efiboot/ Hi Kimihiro, That's cool! I can boot from your bootloader. The compilation fails, though: /home/alnsn/netbsd-current/tooldir.amd64/bin/x86_64--netbsd-ld: cannot find startprog32.o: No such file or directory I'm building on amd64 -current. -- Alex
Re: EFI native support on amd64
Hi, 2016-12-09 7:09 GMT+09:00 Alexander Nasonov : >> http://cdn.netbsd.org/pub/NetBSD/misc/nonaka/efiboot/ > > Hi Kimihiro, > > That's cool! I can boot from your bootloader. The compilation fails, > though: > > /home/alnsn/netbsd-current/tooldir.amd64/bin/x86_64--netbsd-ld: cannot > find startprog32.o: No such file or directory I updated the patches. Regards, -- Kimihiro Nonaka
Re: EFI native support on amd64
Kimihiro Nonaka wrote: > I updated the patches. It works great. Some observations: - When the kernel starts booting, it prints lines painfully slow on my Asus laptop. When the kernel initialises genfb(4), printing suddenly speeds up. If I connect to Sony TV via HDMI, it somewhat slow but acceptable. - I can't figure out how to change screen size in boot.cfg. Adding text=2 to boot.cfg doesn't work. - Likewise, I don't know how to change screen size in genfb(4). I will google more on the topic. - Does the bootloader suport msdos fs? Currently, I create an ffs partition solely for hosting boot.cfg file. It would be nice to read boot.cfg file from the boot EFI partition. Alex