[Bug 258467] fails to boot on riscv: loader.efi Unhandled exception: Load access fault

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 13 Sep 2021 01:22:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258467

            Bug ID: 258467
           Summary: fails to boot on riscv:  loader.efi  Unhandled
                    exception: Load access fault
           Product: Base System
           Version: CURRENT
          Hardware: riscv
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: riscv
          Assignee: riscv@FreeBSD.org
          Reporter: maciphone2@googlemail.com

U-Boot 2021.07 (Jul 26 2021 - 02:27:08 +0200)
....

root@:~ # uname -paKU
FreeBSD  14.0-CURRENT FreeBSD 14.0-CURRENT #5 main-n249326-b864b67a0d19: Mon
Sep 13 00:22:12 UTC 2021    
root@generic:/usr/obj/usr/src/riscv.riscv64/sys/GENERIC-NODEBUG  riscv riscv64
1400033 1400033
--
(cross-compiled on aarch64 into NFS-directory )
---------------------reset-loop with current
loader.efi-----------------------------------
Consoles: EFI console  
    Reading loader env vars from /efi/freebsd/loader.env
FreeBSD/riscv EFI loader, Revision 1.1
(Tue Aug 17 02:06:19 UTC 2021 root@generic)

   Command line arguments: l
   Image base: 0xfe5dd000
   EFI version: 2.80
   EFI Firmware: Das U-Boot (rev 8225.1792)
   Console: comconsole (0)
   Load Path: /boot\loader.efi
   Load Device:
/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(70b3d592f1d5,1)
Setting currdev to net0:
ethernet@10090000: PHY present at 0
ethernet@10090000: Starting autonegotiation...
ethernet@10090000: Autonegotiation complete
ethernet@10090000: link up, 1000Mbps full-duplex (lpa: 0x3800)
net0: cannot set rx. filters (status=3)
Unhandled exception: Load access fault
EPC: 00000000fe62ce6a RA: 00000000fe62b8be TVAL: ffffffd200000000
EPC: 000000007e8b0e6a RA: 000000007e8af8be reloc adjusted
UEFI image [0x00000000fe5dd000:0x00000000fe7386bf] pc=0x4fe6a
'/boot\loader.efi'

resetting ...     
----

when I overwrite loader.efi with a backup file of the previous loader.efi, the
machine boots up again.

-- 
You are receiving this mail because:
You are the assignee for the bug.