Giter VIP home page Giter VIP logo

openbsd-uefi's People

Contributors

4a6f656c avatar bluerise avatar bluhm avatar bob-beck avatar cjeker avatar cnst avatar djmdjm avatar drahn avatar jasperla avatar jcs avatar jmatthew avatar jonathangray avatar kettenis avatar marcespie avatar mbelop avatar mfriedl avatar mherrb avatar mpieuchot avatar mvpivotal avatar nicm avatar omoerbeek avatar pirofti avatar ratchov avatar reyk avatar rnagy avatar sthen avatar stspdotname avatar sylvestreg avatar xsa avatar yasuoka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

openbsd-uefi's Issues

Cannot find files/partitions on drive after boot

I'm testing on a Macbook 2015. I've tried from both an external USB drive as well as my own EFI partition on the laptop. It only has the EFI partition on the internal disk, created by OSX running on a USB flash drive.

I'm using the snapshot from ftp.openbsd.org/pub/OpenBSD/snapshots/amd64, both the bootx and bsd.sd. Ihad trouble objcopy as noted, so I was going for a fresh install when I found the snapshot files.

When booted from external USB, the boot strings find hd0 and hd1--which maps logically to me to the USB drive and internal drive. The default drive is fd0a. fd0a doesn't seem to function with ls. I'm having a similar problem with the drives. I'm not sure what to call them. hd0, sd0, wd0, hd0a....?

The same holds true for a boot using only the internal disk. Only hd0 found on boot, defaults to fd0a, can't find bsd to push forward.

Anything I can do, i will try.

Cannot build: `objcopy: BOOTX64.so: Invalid bfd target`

So I'm trying to build the efi bootloader on OpenBSD 5.7 but I'm hitting this error

===> bootx64
objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel  -j .rel.* -j .rela -j .rela.* -j .reloc  --target=efi-app-x86_64 BOOTX64.so BOOTX64.EFI
objcopy: BOOTX64.so: Invalid bfd target
*** Error 1 in bootx64 (../Makefile.common:63 'BOOTX64.EFI')
*** Error 1 in /usr/src/openbsd-uefi/src/sys/arch/amd64/stand/efiboot (<bsd.subdir.mk>:48 'all')

Indeed objcopy doesn't support this target

$ objcopy -h
[...]
objcopy: supported targets: elf64-x86-64 elf32-i386 coff-i386 efi-app-ia32 elf64-little elf64-big elf32-little elf32-big srec symbolsrec tekhex binary ihex netbsd-core

How do you get this to build? Have the targets been changed in OpenBSD-current?
I've been trying to build binutils with this target manually but I haven't been successful.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.