[Bug 275065] FreeBSD 14 images for armv7 doesn't boot on beaglebone black

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 13 Nov 2023 21:22:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275065

            Bug ID: 275065
           Summary: FreeBSD 14 images for armv7 doesn't boot on beaglebone
                    black
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: rodrigo@FreeBSD.org

Hi,

The FreeBSD 14 images (armv7 GENERIC RC2, RC3 or RC4) doesn't boot in a
beaglebone black. See bellow the console output.

At the end of the sequence, the board reset and restart the kernel loading.
The 13.2 image looks fine.


Loading kernel...
/boot/kernel/kernel text=0x1b4 text=0x71ad54 text=0x196750 data=0xaf3cc
data=0x0+0x1e4000 0x4+0xa1ff0+0x4+0x112ee2-
Loading configured modules...
can't find '/boot/entropy'
/boot/kernel/umodem.ko text=0x1540 text=0xea0 data=0x238 0x4+0xe50+0x4+0xa6c
loading required module 'ucom'
/boot/kernel/ucom.ko text=0x19f8 text=0x2d18 data=0x4cc+0x838
0x4+0x1480+0x4+0xbcf
can't find '/etc/hostid'

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
Using DTB provided by EFI at 0x87ee4000.
Kernel entry at 0x97000200...
Kernel args: (null)

U-Boot SPL 2022.04-ge0d31da5 (Aug 04 2023 - 18:48:26 +0000)
Trying to boot from MMC2


U-Boot 2022.04-ge0d31da5 (Aug 04 2023 - 18:48:26 +0000)

CPU  : AM335X-GP rev 2.1
Model: TI AM335x BeagleBone Black
DRAM:  512 MiB
Reset Source: watchdog reset has occurred.
Reset Source: Power-on reset has occurred.
RTC 32KCLK Source: External.
Core:  150 devices, 14 uclasses, devicetree: separate
WDT:   Started wdt@44e35000 with servicing (60s timeout)
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from EXT4...
** Unable to use mmc 0:1 for loading the env **
Board: BeagleBone Black
<ethaddr> not set. Validating first E-fuse MAC
BeagleBone Black:
BeagleBone Cape EEPROM: no EEPROM at address: 0x54
BeagleBone Cape EEPROM: no EEPROM at address: 0x55
BeagleBone Cape EEPROM: no EEPROM at address: 0x56
BeagleBone Cape EEPROM: no EEPROM at address: 0x57
Net:   eth2: ethernet@4a100000, eth3: usb_ether
Press SPACE to abort autoboot in 0 seconds
board_name=[A335BNLT] ...
board_rev=[00C0] ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
Couldn't find partition 0:2 0x82000000
Can't set block device
Couldn't find partition 0:2 0x82000000
Can't set block device
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
98558 bytes read in 10 ms (9.4 MiB/s)
Scanning disk mmc@48060000.blk...
Scanning disk mmc@481d8000.blk...
Found 5 disks
No EFI system partition
BootOrder not defined
EFI boot manager: Cannot load any image
Found EFI removable media binary efi/boot/bootarm.efi
852268 bytes read in 58 ms (14 MiB/s)
Booting /efi\boot\bootarm.efi

Consoles: EFI console
    Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk0p1:
FreeBSD/arm EFI loader, Revision 1.1

   Command line arguments: l
   Image base: 0x9ce40000
   EFI version: 2.90
   EFI Firmware: Das U-Boot (rev 8226.1024)
   Console: efi,comconsole (0)
   Load Path: /efi\boot\bootarm.efi
   Load Device:
/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x800,0x19000)
Trying ESP:
/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x800,0x19000)
Setting currdev to disk0p1:
Trying:
/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,0x01,0,0x19800,0x9e6800)
Setting currdev to disk0p2:
Loading /boot/defaults/loader.conf
Loading /boot/defaults/loader.conf
Loading /boot/device.hints
Loading /boot/loader.conf
Loading /boot/loader.conf.local
/

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