Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jan 2021 17:00:58 +0000
From:      Andy McClements <ajm@ip-ether.net>
To:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: RPi4b 8GB 13.0-Current, XHCI broken, wrong U-Boot ?
Message-ID:  <5621784b-2506-1216-f40e-4f1040989f3b@ip-ether.net>
In-Reply-To: <007c8658-b7b6-6852-536c-9c36af64506b@ip-ether.net>
References:  <007c8658-b7b6-6852-536c-9c36af64506b@ip-ether.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/01/2021 14:03, Andy McClements wrote:
> Hi, I'm new to FreeBSD on the RPI, so have been frantically reading old
> mailing-list posts and so on. I've managed to arrive at a fairly
> 'current' configuration which boots, but on which XHCI is broken. So I
> could do with some pointers.

Further, I've now tried the later 20201224 ISO (which contains a later 
U-Boot.bin) on the same hardware, with similar results to before:

Config #2:
RPI4B 8GB recent HW, v. 0xd03114
Bootloader: Sep  3 2020
Boot device: 32GB SDHC
SD imaged with:
FreeBSD-13.0-CURRENT-arm64-aarch64-RPI-20201224-3cc0c0d66a0-255241.img.xz

Uboot.bin from the above ISO.

All RPI firmware files on the DOS partition updated from the Github master:
https://github.com/raspberrypi/firmware/archive/master.zip
(Without the updated firmware I just got a crash loop in u-boot.)

Dmesg #2: https://dmesgd.nycbug.org/index.cgi?do=view&id=5848

U-boot.bin output #2:

U-Boot 2020.10 (Dec 24 2020 - 04:18:29 +0000)

DRAM:  7.9 GiB
RPI 4 Model B (0xd03114)
MMC:   mmc@7e300000: 1, emmc2@7e340000: 0
Loading Environment from FAT... In:    serial
Out:   vidconsole
Err:   vidconsole
Net:   eth0: ethernet@7d580000
PCIe BRCM: link up, 5.0 Gbps x1 (SSC)
starting USB...
Bus xhci_pci: probe failed, error -110
No working controllers found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found EFI removable media binary efi/boot/bootaa64.efi
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Scanning disk mmc@7e300000.blk...
Disk mmc@7e300000.blk not ready
Scanning disk emmc2@7e340000.blk...
** Unrecognized filesystem type **
Found 3 disks
No EFI system partition
BootOrder not defined
EFI boot manager: Cannot load any image
1183548 bytes read in 69 ms (16.4 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Booting /efi\boot\bootaa64.efi
Consoles: EFI console
     Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk0p1:
FreeBSD/arm64 EFI loader, Revision 1.1
(Thu Dec 24 07:03:20 UTC 2020 root@releng1.nyi.freebsd.org)

    Command line arguments: loader.efi
    Image base: 0x39e0f000
    EFI version: 2.80
    EFI Firmware: Das U-Boot (rev 8224.4096)
    Console: comconsole (0)
    Load Path: /efi\boot\bootaa64.efi
    Load Device: 
/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0xe3c2d098,0x81f,0x18fa8)
Trying ESP: 
/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0xe3c2d098,0x81f,0x18fa8)
Setting currdev to disk0p1:
Trying: 
/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,MBR,0xe3c2d098,0x197c7,0x5e6821)
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
Loading kernel...
/boot/kernel/kernel text=0x2a8 text=0x8861c8 text=0x1f2de4 data=0x19cf50 
data=0x0+0x5446f6 syms=[0x8+0x117de0+0x8+0x13cad4]
Loading configured modules...
can't find '/boot/entropy'
can't find '/etc/hostid'
/boot/kernel/umodem.ko text=0x2120 text=0x1390 data=0x6e0+0x10 
syms=[0x8+0xf48+0x8+0xb6e]
loading required module 'ucom'
/boot/kernel/ucom.ko text=0x21a0 text=0x2e20 data=0x880+0x858 
syms=[0x8+0x11a0+0x8+0xb2c]

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5621784b-2506-1216-f40e-4f1040989f3b>