Hi All,
I try network boot on rpi4, first try no ethernet found on uboot with snapshot image.
After replace it with https://sourceforge.net/projects/rpi4uboot202010-fbsdonly-klaus/files/u-boot.bin/download
uboot network works, and then bootaa64.efi could get kernel from remote tftp server.
But kernel print a lots of "genet0: gen_intr2", it's a unused interrupt I think because the IRQ handler only print it.
Also I try copy uboot to SD card, but it works fine.
Here is boot log
I try network boot on rpi4, first try no ethernet found on uboot with snapshot image.
After replace it with https://sourceforge.net/projects/rpi4uboot202010-fbsdonly-klaus/files/u-boot.bin/download
uboot network works, and then bootaa64.efi could get kernel from remote tftp server.
But kernel print a lots of "genet0: gen_intr2", it's a unused interrupt I think because the IRQ handler only print it.
Also I try copy uboot to SD card, but it works fine.
Here is boot log
Code:
PM_RSTS: 0x00001000
RPi: BOOTLOADER release VERSION:c305221a DATE: Sep 3 2020 TIME: 13:11:46 BOOTMODE: 0x00000006 part: 0 BUILD_TIMESTAMP=1599135103 0x3d790597 0x00b03111
uSD voltage 3.3V
Initialising SDRAM 'Micron' 16Gb x1 total-size: 16 Gbit 3200
XHCI-STOP
xHC ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb
xHC ports 5 slots 32 intrs 4
Reset USB port-power 1000 ms
Boot mode: SD (01) order f24
SD HOST: 250000000 CTL0: 0x00000000 BUS: 100000 Hz actual: 100000 HZ div: 2500 (1250) status: 0x1fff0000 delay: 1080
SD HOST: 250000000 CTL0: 0x00000f00 BUS: 100000 Hz actual: 100000 HZ div: 2500 (1250) status: 0x1fff0000 delay: 1080
EMMC
SD HOST: 250000000 CTL0: 0x00000000 BUS: 100000 Hz actual: 100000 HZ div: 2500 (1250) status: 0x1fff0000 delay: 1080
SD HOST: 250000000 CTL0: 0x00000000 BUS: 100000 Hz actual: 100000 HZ div: 2500 (1250) status: 0x1fff0000 delay: 1080
SDV1
SD HOST: 250000000 CTL0: 0x00000000 BUS: 100000 Hz actual: 100000 HZ div: 2500 (1250) status: 0x1fff0000 delay: 1080
SD CMD: 0x371a0010 (55) 0x0 0x1fff0001
Failed to open device: 'sdcard' (cmd 371a0010 status 1fff0001)
Boot mode: USB-MSD (04) order f2
XHCI-STOP
xHC ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb
XHCI-STOP
xHC ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb
xHC ports 5 slots 32 intrs 4
USB3 rport 2 status 00000000 -> 000002a0
USB3 rport 3 status 00000000 -> 000002a0
USB3 rport 4 status 00000000 -> 000002a0
USB3 rport 5 status 00000000 -> 000002a0
USB2 rport 1 status 00000000 -> 400002e1
USB2 rport 1 status 40000331 -> 40200e03
root HUB port 1 init
DEV [01:00] 2.16 000000:01 class 9 VID 2109 PID 3431
HUB init [01:00] 2.16 000000:01
XHCI-STOP
xHC ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb
USB MSD timed out after 20 seconds
Boot mode: NETWORK (02) order f
GENET: RESET_PHY
NET_BOOT: dc:a6:32:34:bc:c5 wait for link TFTP: 0.0.0.0
LINK STATUS: speed: 1000 full duplex
Link ready
GENET START: 64 16 32
GENET: UMAC_START 0xdca63234 0xbcc50000
RX: 0 IP: 0 IPV4: 0 MAC: 0 UDP: 0 UDP RECV: 0 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
RX: 54 IP: 0 IPV4: 10 MAC: 0 UDP: 0 UDP RECV: 0 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
RX: 54 IP: 0 IPV4: 10 MAC: 0 UDP: 0 UDP RECV: 0 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
RX_DISCARD: 0
GR64: 0x00000013 GR64: 0x0000001b GR127: 0x00000008 GR255: 0x00000005
GR511: 0x00000001 GR1023: 0x00000000 GR1518: 0x00000000 GRMGV: 0x00000000
GR2047: 0x00000000 GR4095: 0x00000000 GR9216: 0x0000003c GRPKT: 0x00002062
GRBYT: 0x00000025 GRMCA: 0x00000011 GRBCA: 0x00000000 GRFCS: 0x00000000
GRXCF: 0x00000000 GRXPF: 0x00000000 GRXUO: 0x00000000 GRALN: 0x00000000
GRFLR: 0x00000000 GRCDE: 0x00000000 GRFCR: 0x00000000 GROVR: 0x00000000
GRJBR: 0x00000000 GRMTUE: 0x0000003c GRPOK: 0x00000006 GRUC: 0x00000000
GRPPP: 0x00000000 GRCRC: 0x00000000
TR64: 0x00000000 TR127: 0x00000000 TR255: 0x00000000 TR511: 0x00000003
TR1023: 0x00000000 TR1518: 0x00000000 TRMGV: 0x00000000 TR2047: 0x00000000
TR4095: 0x00000000 TR9216: 0x00000000 GTPKT: 0x00000003 GTMCA: 0x00000000
GTBCA: 0x00000003 GTXPF: 0x00000000 GTXCF: 0x00000000 GTFCS: 0x00000000
GTOVR: 0x00000000 GTDRF: 0x00000000 GTEDF: 0x00000000 GTSCL: 0x00000000
GTMCL: 0x00000000 GTLCL: 0x00000000 GTXCL: 0x00000000 GTFRG: 0x00000000
GTNCL: 0x00000000 GTJBR: 0x00000000 GTBYT: 0x00000450 GTPOK: 0x00000003
GTUC: 0x00000000
GENET STOP: 0
NETBOOT CANCEL
NETBOOT init failed
Boot mode: RESTART (0f) order 0
Restart 0 max -1
Boot mode: SD (01) order f24
SD HOST: 250000000 CTL0: 0x00000000 BUS: 100000 Hz actual: 100000 HZ div: 2500 (1250) status: 0x1fff0000 delay: 1080
SD HOST: 250000000 CTL0: 0x00000f00 BUS: 100000 Hz actual: 100000 HZ div: 2500 (1250) status: 0x1fff0000 delay: 1080
EMMC
SD HOST: 250000000 CTL0: 0x00000000 BUS: 100000 Hz actual: 100000 HZ div: 2500 (1250) status: 0x1fff0000 delay: 1080
SD HOST: 250000000 CTL0: 0x00000000 BUS: 100000 Hz actual: 100000 HZ div: 2500 (1250) status: 0x1fff0000 delay: 1080
SDV1
SD HOST: 250000000 CTL0: 0x00000000 BUS: 100000 Hz actual: 100000 HZ div: 2500 (1250) status: 0x1fff0000 delay: 1080
SD CMD: 0x371a0010 (55) 0x0 0x1fff0001
Failed to open device: 'sdcard' (cmd 371a0010 status 1fff0001)
Boot mode: USB-MSD (04) order f2
XHCI-STOP
xHC ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb
xHC ports 5 slots 32 intrs 4
USB3 rport 2 status 00000000 -> 000002a0
USB3 rport 3 status 00000000 -> 000002a0
USB3 rport 4 status 00000000 -> 000002a0
USB3 rport 5 status 00000000 -> 000002a0
USB2 rport 1 status 00000000 -> 400002e1
USB2 rport 1 status 40000331 -> 40200e03
root HUB port 1 init
DEV [01:00] 2.16 000000:01 class 9 VID 2109 PID 3431
HUB init [01:00] 2.16 000000:01
XHCI-STOP
xHC ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb
USB MSD timed out after 20 seconds
Boot mode: NETWORK (02) order f
NET_BOOT: dc:a6:32:34:bc:c5 wait for link TFTP: 0.0.0.0
LINK STATUS: speed: 1000 full duplex
Link ready
GENET START: 64 16 32
GENET: UMAC_START 0xdca63234 0xbcc50000
RX: 75 IP: 0 IPV4: 26 MAC: 1 UDP: 1 UDP RECV: 0 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
DHCP src: 00:0e:c4:cf:50:91 192.168.2.84
YI_ADDR 192.168.2.163
SI_ADDR 192.168.2.10
OPTIONS:-
op: 53 len: 1 DHCP recv OFFER (2) expect OFFER
op: 54 len: 4 192.168.2.84
op: 51 len: 4
op: 1 len: 4 255.255.255.0
op: 3 len: 4 192.168.2.84
op: 66 len: 12 192.168.2.10[66]: 192.168.2.10
DHCP src: 00:0e:c4:cf:50:91 192.168.2.84
YI_ADDR 192.168.2.163
SI_ADDR 192.168.2.10
OPTIONS:-
op: 53 len: 1 DHCP recv ACK (5) expect ACK
op: 54 len: 4 192.168.2.84
op: 51 len: 4
op: 1 len: 4 255.255.255.0
op: 3 len: 4 192.168.2.84
op: 6 len: 4
op: 17 len: 24
op: 66 len: 12 192.168.2.10[66]: 192.168.2.10
op: 42 len: 4
op: 15 len: 11
NET 192.168.2.163 255.255.255.0 gw 0.0.0.0 tftp 192.168.2.10
ARP 192.168.2.10 a8:a1:59:03:1c:36
NET 192.168.2.163 255.255.255.0 gw 0.0.0.0 tftp 192.168.2.10
RX: 80 IP: 0 IPV4: 32 MAC: 4 UDP: 3 UDP RECV: 2 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
TFTP_GET: a8:a1:59:03:1c:36 192.168.2.10 3d790597/start4.elf
RX: 80 IP: 0 IPV4: 32 MAC: 4 UDP: 3 UDP RECV: 2 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
TFTP 1: File not found
RX: 81 IP: 0 IPV4: 34 MAC: 5 UDP: 4 UDP RECV: 3 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
3d790597/start4.elf not found
TFTP_GET: a8:a1:59:03:1c:36 192.168.2.10 3d790597/start.elf
RX: 81 IP: 0 IPV4: 34 MAC: 5 UDP: 4 UDP RECV: 3 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
TFTP 1: File not found
RX: 82 IP: 0 IPV4: 36 MAC: 6 UDP: 5 UDP RECV: 4 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
3d790597/start.elf not found
TFTP_GET: a8:a1:59:03:1c:36 192.168.2.10 config.txt
RX: 82 IP: 0 IPV4: 36 MAC: 6 UDP: 5 UDP RECV: 4 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
TFTP: complete 147
RX: 84 IP: 0 IPV4: 40 MAC: 8 UDP: 7 UDP RECV: 6 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
Read config.txt bytes 147 hnd 0x00000000 hash '0370b4dfaea0caaf'
TFTP_GET: a8:a1:59:03:1c:36 192.168.2.10 vl805.sig
RX: 84 IP: 0 IPV4: 40 MAC: 8 UDP: 7 UDP RECV: 6 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
TFTP 1: File not found
RX: 85 IP: 0 IPV4: 42 MAC: 9 UDP: 8 UDP RECV: 7 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
Read vl805.bin failed
TFTP_GET: a8:a1:59:03:1c:36 192.168.2.10 pieeprom.sig
RX: 85 IP: 0 IPV4: 42 MAC: 9 UDP: 8 UDP RECV: 7 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
TFTP 1: File not found
RX: 86 IP: 0 IPV4: 44 MAC: 10 UDP: 9 UDP RECV: 8 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
Read pieeprom.upd failed
TFTP_GET: a8:a1:59:03:1c:36 192.168.2.10 recover4.elf
RX: 86 IP: 0 IPV4: 44 MAC: 10 UDP: 9 UDP RECV: 8 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
TFTP 1: File not found
RX: 87 IP: 0 IPV4: 46 MAC: 11 UDP: 10 UDP RECV: 9 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
Read recover4.elf failed
recover4.elf not found (6)
TFTP_GET: a8:a1:59:03:1c:36 192.168.2.10 recovery.elf
RX: 87 IP: 0 IPV4: 46 MAC: 11 UDP: 10 UDP RECV: 9 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
TFTP 1: File not found
RX: 88 IP: 0 IPV4: 48 MAC: 12 UDP: 11 UDP RECV: 10 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
Read recovery.elf failed
recovery.elf not found (6)
TFTP_GET: a8:a1:59:03:1c:36 192.168.2.10 start4.elf
RX: 88 IP: 0 IPV4: 48 MAC: 12 UDP: 11 UDP RECV: 10 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
TFTP: complete 2775076
RX: 2802 IP: 0 IPV4: 5472 MAC: 2724 UDP: 2723 UDP RECV: 2722 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
Read start4.elf bytes 2775076 hnd 0x00000000 hash '0797505a72b169c3'
TFTP_GET: a8:a1:59:03:1c:36 192.168.2.10 fixup4.dat
RX: 2802 IP: 0 IPV4: 5472 MAC: 2724 UDP: 2723 UDP RECV: 2722 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
TFTP: complete 6193
RX: 2810 IP: 0 IPV4: 5488 MAC: 2732 UDP: 2731 UDP RECV: 2730 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
Read fixup4.dat bytes 6193 hnd 0x00000000 hash '5945fb04d1ba9299'
0x00b03111 0x00000000 0x00000000
MEM GPU: 76 ARM: 948 TOTAL: 1024
RX: 2810 IP: 0 IPV4: 5488 MAC: 2732 UDP: 2731 UDP RECV: 2730 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
RX: 2810 IP: 0 IPV4: 5488 MAC: 2732 UDP: 2731 UDP RECV: 2730 IP_CSUM_ERR: 0 UDP_CSUM_ERR: 0
RX_DISCARD: 0
GR64: 0x00000002 GR64: 0x0000000d GR127: 0x00000001 GR255: 0x00000003
GR511: 0x00000000 GR1023: 0x00000a9c GR1518: 0x00000000 GRMGV: 0x00000000
GR2047: 0x00000000 GR4095: 0x00000000 GR9216: 0x00000aaf GRPKT: 0x002c8bb8
GRBYT: 0x00000002 GRMCA: 0x00000001 GRBCA: 0x00000000 GRFCS: 0x00000000
GRXCF: 0x00000000 GRXPF: 0x00000000 GRXUO: 0x00000000 GRALN: 0x00000000
GRFLR: 0x00000000 GRCDE: 0x00000000 GRFCR: 0x00000000 GROVR: 0x00000000
GRJBR: 0x00000000 GRMTUE: 0x00000aaf GRPOK: 0x00000aac GRUC: 0x00000000
GRPPP: 0x00000000 GRCRC: 0x00000000
TR64: 0x00000aa3 TR127: 0x00000009 TR255: 0x00000000 TR511: 0x00000002
TR1023: 0x00000000 TR1518: 0x00000000 TRMGV: 0x00000000 TR2047: 0x00000000
TR4095: 0x00000000 TR9216: 0x00000000 GTPKT: 0x00000aae GTMCA: 0x00000000
GTBCA: 0x00000003 GTXPF: 0x00000000 GTXCF: 0x00000000 GTFCS: 0x00000000
GTOVR: 0x00000000 GTDRF: 0x00000000 GTEDF: 0x00000000 GTSCL: 0x00000000
GTMCL: 0x00000000 GTLCL: 0x00000000 GTXCL: 0x00000000 GTFRG: 0x00000000
GTNCL: 0x00000000 GTJBR: 0x00000000 GTBYT: 0x0002aeaf GTPOK: 0x00000aae
GTUC: 0x00000aab
GENET STOP: 0
Starting start4.elf @ 0xfec00200 partition -1
U-Boot 2020.10-rc5 (Oct 05 2020 - 03:08:23 +0000)
DRAM: 1.9 GiB
RPI 4 Model B (0xb03111)
MMC: emmc2@7e340000: 0, mmc@7e300000: 1
Loading Environment from FAT... In: serial
Out: serial
Err: serial
Net: eth0: genet@7d580000
starting USB...
No working controllers found
Hit any key to stop autoboot: 0
Card did not respond to voltage select!
starting USB...
No working controllers found
USB is stopped. Please issue 'usb start' first.
starting USB...
No working controllers found
genet@7d580000 Waiting for PHY auto negotiation to complete.... done
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10
BOOTP broadcast 11
BOOTP broadcast 12
BOOTP broadcast 13
BOOTP broadcast 14
BOOTP broadcast 15
BOOTP broadcast 16
BOOTP broadcast 17
Retry time exceeded; starting again
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/01-dc-a6-32-34-bc-c5
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-bcm283x-rpi
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-bcm283x
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
*** ERROR: `serverip' not set
Config file not found
starting USB...
No working controllers found
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
DHCP client bound to address 192.168.2.163 (754 ms)
Using genet@7d580000 device
TFTP from server 192.168.2.10; our IP address is 192.168.2.163
Filename 'boot.scr.uimg'.
Load address: 0x2400000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
BOOTP broadcast 1
DHCP client bound to address 192.168.2.163 (2 ms)
Using genet@7d580000 device
TFTP from server 192.168.2.10; our IP address is 192.168.2.163
Filename 'bootaa64.efi'.
Load address: 0x80000
Loading: ################################################## 1.1 MiB
10.8 MiB/s
done
Bytes transferred = 1182828 (120c6c hex)
Using genet@7d580000 device
TFTP from server 192.168.2.10; our IP address is 192.168.2.163
Filename 'dtb/broadcom/bcm2711-rpi-4-b.dtb'.
Load address: 0x2600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Card did not respond to voltage select!
Scanning disk emmc2@7e340000.blk...
Disk emmc2@7e340000.blk not ready
Scanning disk mmc@7e300000.blk...
Disk mmc@7e300000.blk not ready
Found 0 disks
No EFI system partition
Booting /dtb\broadcom\bcm2711-rpi-4-b.dt
Consoles: EFI console
Reading loader env vars from /efi/freebsd/loader.env
FreeBSD/arm64 EFI loader, Revision 1.1
(Thu Dec 10 12:29:22 UTC 2020 root@releng1.nyi.freebsd.org)
Command line arguments: loader.efi
Image base: 0x39e10000
EFI version: 2.80
EFI Firmware: Das U-Boot (rev 8224.4096)
Console: comconsole (0)
Load Path: /dtb\broadcom\bcm2711-rpi-4-b.dt
Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(dca63234bcc5,1)
Setting currdev to net0:
net0: cannot set rx. filters (status=3)
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=0x88211c text=0x1f2174 data=0x19cd48 data=0x0+0x5446f6 syms=[0x8+0x117780+0x8+0x13c5ab]
Loading configured modules...
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]
can't find '/boot/entropy'
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
Using DTB provided by EFI at 0x7f00000.
---<<BOOT>>---
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2020 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 13.0-CURRENT #0 7578a4862f0-c255032(main): Thu Dec 10 13:12:53 UTC 2020
root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673)
WARNING: WITNESS option enabled, expect reduced performance.
VT: init without driver.
module firmware already present!
real memory = 2067619840 (1971 MB)
avail memory = 1990131712 (1897 MB)
Starting CPU 1 (1)
Starting CPU 2 (2)
Starting CPU 3 (3)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled.
random: entropy device external interface
MAP 39f36000 mode 2 pages 1
MAP 39f3a000 mode 2 pages 3
MAP 39f3e000 mode 2 pages 4
MAP 3b350000 mode 2 pages 16
MAP fe100000 mode 0 pages 1
WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 13.0.
kbd0 at kbdmux0
WARNING: Device "openfirm" is Giant locked and may be deleted before FreeBSD 13.0.
ofwbus0: <Open Firmware Device Tree>
simplebus0: <Flattened device tree simple bus> on ofwbus0
ofw_clkbus0: <OFW clocks bus> on ofwbus0
clk_fixed0: <Fixed clock> on ofw_clkbus0
clk_fixed1: <Fixed clock> on ofw_clkbus0
simplebus1: <Flattened device tree simple bus> on ofwbus0
simplebus2: <Flattened device tree simple bus> on ofwbus0
regfix0: <Fixed Regulator> on ofwbus0
regfix1: <Fixed Regulator> on ofwbus0
psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0
gic0: <ARM Generic Interrupt Controller> mem 0x40041000-0x40041fff,0x40042000-0x40043fff,0x40044000-0x40045fff,0x40046000-0x40047fff irq 46 on simplebus0
gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 256
gpio0: <BCM2708/2835 GPIO controller> mem 0x7e200000-0x7e2000b3 irq 22,23 on simplebus0
gpiobus0: <OFW GPIO bus> on gpio0
mbox0: <BCM2835 VideoCore Mailbox> mem 0x7e00b880-0x7e00b8bf irq 21 on simplebus0
bcm2835_firmware0: <BCM2835 Firmware> on simplebus0
gpio1: <Raspberry Pi Firmware GPIO controller> on bcm2835_firmware0
gpiobus1: <GPIO bus> on gpio1
gpioregulator0: <GPIO controlled regulator> on ofwbus0
generic_timer0: <ARMv7 Generic Timer> irq 4,5,6,7 on ofwbus0
Timecounter "ARM MPCore Timecounter" frequency 54000000 Hz quality 1000
Event timer "ARM MPCore Eventtimer" frequency 54000000 Hz quality 1000
usb_nop_xceiv0: <USB NOP PHY> on ofwbus0
bcm_dma0: <BCM2835 DMA Controller> mem 0x7e007000-0x7e007aff irq 9,10,11,12,13,14,15,16,17,18,19 on simplebus0
bcmwd0: <BCM2708/2835 Watchdog> mem 0x7e100000-0x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f on simplebus0
gpioc0: <GPIO controller> on gpio0
uart0: <PrimeCell UART (PL011)> mem 0x7e201000-0x7e2011ff irq 24 on simplebus0
uart0: console (115200,n,8,1)
spi0: <BCM2708/2835 SPI controller> mem 0x7e204000-0x7e2041ff irq 26 on simplebus0
spibus0: <OFW SPI bus> on spi0
spibus0: <unknown card> at cs 0 mode 0
spibus0: <unknown card> at cs 1 mode 0
iichb0: <BCM2708/2835 BSC controller> mem 0x7e804000-0x7e804fff irq 38 on simplebus0
sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0x7e340000-0x7e3400ff irq 60 on simplebus0
mmc0: <MMC/SD bus> on sdhci_bcm0
sdhci_bcm1: <Broadcom 2708 SDHCI controller> mem 0x7e300000-0x7e3000ff irq 61 on simplebus0
mmc1: <MMC/SD bus> on sdhci_bcm1
gpioc1: <GPIO controller> on gpio1
fb0: <BCM2835 VT framebuffer driver> on simplebus0
fb0: changing fb bpp from 0 to 24
mbox0: mbox response error
fb0: bcm2835_mbox_fb_init failed, err=5
device_attach: fb0 attach returned 6
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
bcm2835_cpufreq0: <CPU Frequency Control> on cpu0
cpu1: <Open Firmware CPU> on cpulist0
cpu2: <Open Firmware CPU> on cpulist0
cpu3: <Open Firmware CPU> on cpulist0
pcib0: <BCM2838-compatible PCI-express controller> mem 0x7d500000-0x7d50930f,0x7e00f300-0x7e00f31f irq 66,67 on simplebus2
pcib0: hardware identifies as revision 0x304.
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> irq 77 at device 0.0 on pci0
pci1: <PCI bus> on pcib1
bcm_xhci0: <VL805 USB 3.0 controller (on the Raspberry Pi 4b)> irq 78 at device 0.0 on pci1
bcm_xhci0: 32 bytes context size, 64-bit DMA
usbus0 on bcm_xhci0
genet0: <RPi4 Gigabit Ethernet> mem 0x7d580000-0x7d58ffff irq 68,69 on simplebus2
genet0: GENET version 5.0 phy 0x0000
miibus0: <MII bus> on genet0
brgphy0: <BCM54213PE 1000BASE-T media interface> PHY 1 on miibus0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
genet0: Ethernet address: dc:a6:32:34:bc:c5
gpioled0: <GPIO LEDs> on ofwbus0
lock order reversal: (sleepable after non-sleepable)
1st 0xffff000000c27958 LED mtx (LED mtx, sleep mutex) @ /usr/src/sys/dev/led/led.c:298
2nd 0xffffa00000b0d810 Raspberry Pi firmware gpio (Raspberry Pi firmware gpio, sx) @ /usr/src/sys/arm/broadcom/bcm2835/raspberrypi_gpio.c:252
lock order LED mtx -> Raspberry Pi firmware gpio attempted at:
#0 0xffff00000056d068 at witness_checkorder+0xc54
#1 0xffff000000509ee0 at _sx_xlock+0x7c
#2 0xffff0000007e49d4 at rpi_fw_gpio_pin_set+0xe8
#3 0xffff0000002961cc at led_create_state+0x158
#4 0xffff000000267b18 at gpioled_attach+0x290
#5 0xffff000000538ecc at device_attach+0x400
#6 0xffff000000538a34 at device_probe_and_attach+0x7c
#7 0xffff00000053ac1c at bus_generic_new_pass+0xf8
#8 0xffff00000053abcc at bus_generic_new_pass+0xa8
#9 0xffff00000053abcc at bus_generic_new_pass+0xa8
#10 0xffff000000535fac at bus_set_pass+0x4c
#11 0xffff00000048d92c at mi_startup+0x12c
#12 0xffff0000000010d8 at virtdone+0x64
uma_zalloc_debug: zone "malloc-64" with the following non-sleepable locks held:
exclusive sleep mutex LED mtx (LED mtx) r = 0 (0xffff000000c27958) locked @ /usr/src/sys/dev/led/led.c:298
stack backtrace:
#0 0xffff00000056d388 at witness_debugger+0x64
#1 0xffff00000056e518 at witness_warn+0x3ec
#2 0xffff000000778f9c at uma_zalloc_debug+0x2c
#3 0xffff000000778998 at uma_zalloc_arg+0x2c
#4 0xffff0000004d534c at malloc+0xa0
#5 0xffff0000007d9b94 at bcm2835_firmware_property+0x44
#6 0xffff0000007e49ec at rpi_fw_gpio_pin_set+0x100
#7 0xffff0000002961cc at led_create_state+0x158
#8 0xffff000000267b18 at gpioled_attach+0x290
#9 0xffff000000538ecc at device_attach+0x400
#10 0xffff000000538a34 at device_probe_and_attach+0x7c
#11 0xffff00000053ac1c at bus_generic_new_pass+0xf8
#12 0xffff00000053abcc at bus_generic_new_pass+0xa8
#13 0xffff00000053abcc at bus_generic_new_pass+0xa8
#14 0xffff000000535fac at bus_set_pass+0x4c
#15 0xffff00000048d92c at mi_startup+0x12c
#16 0xffff0000000010d8 at virtdone+0x64
uma_zalloc_debug: zone "malloc-16" with the following non-sleepable locks held:
exclusive sleep mutex LED mtx (LED mtx) r = 0 (0xffff000000c27958) locked @ /usr/src/sys/dev/led/led.c:298
stack backtrace:
#0 0xffff00000056d388 at witness_debugger+0x64
#1 0xffff00000056e518 at witness_warn+0x3ec
#2 0xffff000000778f9c at uma_zalloc_debug+0x2c
#3 0xffff000000778998 at uma_zalloc_arg+0x2c
#4 0xffff0000004d534c at malloc+0xa0
#5 0xffff0000007f1b0c at bounce_bus_dmamem_alloc+0x50
#6 0xffff0000007dc66c at bcm2835_mbox_property+0xdc
#7 0xffff0000007d9bc8 at bcm2835_firmware_property+0x78
#8 0xffff0000007e49ec at rpi_fw_gpio_pin_set+0x100
#9 0xffff0000002961cc at led_create_state+0x158
#10 0xffff000000267b18 at gpioled_attach+0x290
#11 0xffff000000538ecc at device_attach+0x400
#12 0xffff000000538a34 at device_probe_and_attach+0x7c
#13 0xffff00000053ac1c at bus_generic_new_pass+0xf8
#14 0xffff00000053abcc at bus_generic_new_pass+0xa8
#15 0xffff00000053abcc at bus_generic_new_pass+0xa8
#16 0xffff000000535fac at bus_set_pass+0x4c
#17 0xffff00000048d92c at mi_startup+0x12c
uma_zalloc_debug: zone "malloc-128" with the following non-sleepable locks held:
exclusive sleep mutex LED mtx (LED mtx) r = 0 (0xffff000000c27958) locked @ /usr/src/sys/dev/led/led.c:298
stack backtrace:
#0 0xffff00000056d388 at witness_debugger+0x64
#1 0xffff00000056e518 at witness_warn+0x3ec
#2 0xffff000000778f9c at uma_zalloc_debug+0x2c
#3 0xffff000000778998 at uma_zalloc_arg+0x2c
#4 0xffff0000004d534c at malloc+0xa0
#5 0xffff0000007f1b54 at bounce_bus_dmamem_alloc+0x98
#6 0xffff0000007dc66c at bcm2835_mbox_property+0xdc
#7 0xffff0000007d9bc8 at bcm2835_firmware_property+0x78
#8 0xffff0000007e49ec at rpi_fw_gpio_pin_set+0x100
#9 0xffff0000002961cc at led_create_state+0x158
#10 0xffff000000267b18 at gpioled_attach+0x290
#11 0xffff000000538ecc at device_attach+0x400
#12 0xffff000000538a34 at device_probe_and_attach+0x7c
#13 0xffff00000053ac1c at bus_generic_new_pass+0xf8
#14 0xffff00000053abcc at bus_generic_new_pass+0xa8
#15 0xffff00000053abcc at bus_generic_new_pass+0xa8
#16 0xffff000000535fac at bus_set_pass+0x4c
#17 0xffff00000048d92c at mi_startup+0x12c
cryptosoft0: <software crypto>
Timecounters tick every 1.000 msec
genet0: gen_intr2
genet0: gen_intr2
genet0: gen_intr2
genet0: gen_intr2
genet0: gen_intr2
genet0: gen_intr2
genet0: gen_intr2
genet0: gen_intr2
genet0: gen_intr2
genet0: gen_intr2
genet0: gen_intr2
genet0: gen_intr2
genet0: gen_intr2
genet0: gen_intr2
genet0: gen_intr2
genet0: gen_intr2
genet0: gen_intr2
genet0: gen_intr2
genet0: gen_intr2
...(never stop)...