Solved network boot fail on rpi4

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
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)...
 
I'm seeing the same issue on my RPI4b. I'd also add that the only way to get this much output was to use a USB/Serial dongle as the HDMI video output went blank after ...
Code:
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
This isn't a problem when booting off of SSD.

Not sure how to get around either of these issues. Did you have any luck? I'm going to ping the arm mailing list if I can't figure this out.
 
I'm seeing the same issue on my RPI4b. I'd also add that the only way to get this much output was to use a USB/Serial dongle as the HDMI video output went blank after ...
Code:
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
This isn't a problem when booting off of SSD.

Not sure how to get around either of these issues. Did you have any luck? I'm going to ping the arm mailing list if I can't figure this out.
No, but if use the linux version of dtb, could be up without genet.
I also try boot from EDK II, loader.efi can't load kernel from tftp, bootp fail.
 
And you should remind this: FreeBSD for RB4 is actually FreeBSD for RP3.
There would be difference between RP3 and RP4 about network(I'm not sure about this)
I also have RP4, so later I'll try it.
 
And you should remind this: FreeBSD for RB4 is actually FreeBSD for RP3.
There would be difference between RP3 and RP4 about network(I'm not sure about this)
I also have RP4, so later I'll try it.
When boot from SD use same frimware and FreeBSD kernel, ethernet works.
But boot from network, during kernel boot up, ethernet LED light off and light on soon, I think that's because kernel reset genet when attach device.
Then LED keep on and not blink..

BTW, uboot in image of rpi3 don't support genet, but sysutils/u-boot-rpi4 do.
 
The new u-boot-rpi-arm64-2020.10 port supposedly now works for either rpi 3 or 4. I just tried netbooting my rpi4 4GB board using the arm64-aarch64-RPI-20201224 image which contains a new firmware set and u-boot version ...
Code:
drwxr-xr-x   1 root  wheel    16384 Dec 31  1979 .
drwxr-xr-x  19 root  wheel     1024 Dec 30 12:41 ..
drwxr-xr-x   1 root  wheel     4096 Dec 24 02:38 EFI
-rwxr-xr-x   1 root  wheel     1594 Dec  1 04:43 LICENCE.broadcom
-rwxr-xr-x   1 root  wheel      240 Dec 23 22:19 README
-rwxr-xr-x   1 root  wheel     5888 Dec 23 22:22 armstub8-gic.bin
-rwxr-xr-x   1 root  wheel     5888 Dec 23 22:22 armstub8.bin
-rwxr-xr-x   1 root  wheel    26450 Dec  1 04:43 bcm2710-rpi-2-b.dtb
-rwxr-xr-x   1 root  wheel    28567 Dec  1 04:43 bcm2710-rpi-3-b-plus.dtb
-rwxr-xr-x   1 root  wheel    27948 Dec  1 04:43 bcm2710-rpi-3-b.dtb
-rwxr-xr-x   1 root  wheel    47484 Dec  1 04:43 bcm2711-rpi-4-b.dtb
-rwxr-xr-x   1 root  wheel    52456 Dec  1 04:43 bootcode.bin
-rwxr-xr-x   1 root  wheel      171 Dec 23 22:22 config.txt
drwxr-xr-x   1 root  wheel     4096 Dec 24 02:38 dtb
-rwxr-xr-x   1 root  wheel     7298 Dec  1 04:43 fixup.dat
-rwxr-xr-x   1 root  wheel     5428 Dec  1 04:43 fixup4.dat
-rwxr-xr-x   1 root  wheel     3171 Dec  1 04:43 fixup4cd.dat
-rwxr-xr-x   1 root  wheel     8437 Dec  1 04:43 fixup4db.dat
-rwxr-xr-x   1 root  wheel     8433 Dec  1 04:43 fixup4x.dat
-rwxr-xr-x   1 root  wheel     3171 Dec  1 04:43 fixup_cd.dat
-rwxr-xr-x   1 root  wheel    10285 Dec  1 04:43 fixup_db.dat
-rwxr-xr-x   1 root  wheel    10283 Dec  1 04:43 fixup_x.dat
drwxr-xr-x   1 root  wheel     4096 Dec 24 02:39 overlays
-rwxr-xr-x   1 root  wheel  2937568 Dec  1 04:43 start.elf
-rwxr-xr-x   1 root  wheel  2213312 Dec  1 04:43 start4.elf
-rwxr-xr-x   1 root  wheel   789084 Dec  1 04:43 start4cd.elf
-rwxr-xr-x   1 root  wheel  3714248 Dec  1 04:43 start4db.elf
-rwxr-xr-x   1 root  wheel  2973128 Dec  1 04:43 start4x.elf
-rwxr-xr-x   1 root  wheel   789084 Dec  1 04:43 start_cd.elf
-rwxr-xr-x   1 root  wheel  4786152 Dec  1 04:43 start_db.elf
-rwxr-xr-x   1 root  wheel  3696744 Dec  1 04:43 start_x.elf
-rwxr-xr-x   1 root  wheel   555264 Dec 23 22:19 u-boot.bin
Still, it has the same issue where it starts to spin with genet0: gen_intr2 being printed on the console.
 
Last edited by a moderator:
Hey folks. I was able to get this working by replacing the Dec 1st copy of bcm2711-rpi-4-b.dtb with a copy downloaded from the firmware master ...

fetch https://github.com/raspberrypi/firmware/archive/master.zip

After copying that in, my firmware directory looks like this ...
Code:
drwxr-xr-x  5 root  wheel     1024 Jan  4 14:37 .
drwxr-xr-x  9 root  wheel      512 Jan  4 17:10 ..
drwxr-xr-x  3 root  wheel      512 Dec 24 02:38 EFI
-rwxr-xr-x  1 root  wheel     1594 Dec  1 04:43 LICENCE.broadcom
-rwxr-xr-x  1 root  wheel      240 Dec 23 22:19 README
-rwxr-xr-x  1 root  wheel     5888 Dec 23 22:22 armstub8-gic.bin
-rwxr-xr-x  1 root  wheel     5888 Dec 23 22:22 armstub8.bin
-rwxr-xr-x  1 root  wheel    26450 Dec  1 04:43 bcm2710-rpi-2-b.dtb
-rwxr-xr-x  1 root  wheel    28567 Dec  1 04:43 bcm2710-rpi-3-b-plus.dtb
-rwxr-xr-x  1 root  wheel    27948 Dec  1 04:43 bcm2710-rpi-3-b.dtb
-rwxr-xr-x  1 root  wheel    47972 Jan  4 17:32 bcm2711-rpi-4-b.dtb
-rwxr-xr-x  1 root  wheel    52456 Dec  1 04:43 bootcode.bin
-rwxr-xr-x  1 root  wheel      171 Dec 23 22:22 config.txt
drwxr-xr-x  7 root  wheel      512 Dec 24 02:38 dtb
-rwxr-xr-x  1 root  wheel     7298 Dec  1 04:43 fixup.dat
-rwxr-xr-x  1 root  wheel     5428 Dec  1 04:43 fixup4.dat
-rwxr-xr-x  1 root  wheel     3171 Dec  1 04:43 fixup4cd.dat
-rwxr-xr-x  1 root  wheel     8437 Dec  1 04:43 fixup4db.dat
-rwxr-xr-x  1 root  wheel     8433 Dec  1 04:43 fixup4x.dat
-rwxr-xr-x  1 root  wheel     3171 Dec  1 04:43 fixup_cd.dat
-rwxr-xr-x  1 root  wheel    10285 Dec  1 04:43 fixup_db.dat
-rwxr-xr-x  1 root  wheel    10283 Dec  1 04:43 fixup_x.dat
drwxr-xr-x  2 root  wheel      512 Dec 24 02:39 overlays
-rwxr-xr-x  1 root  wheel  2937568 Dec  1 04:43 start.elf
-rwxr-xr-x  1 root  wheel  2213312 Dec  1 04:43 start4.elf
-rwxr-xr-x  1 root  wheel   789084 Dec  1 04:43 start4cd.elf
-rwxr-xr-x  1 root  wheel  3714248 Dec  1 04:43 start4db.elf
-rwxr-xr-x  1 root  wheel  2973128 Dec  1 04:43 start4x.elf
-rwxr-xr-x  1 root  wheel   789084 Dec  1 04:43 start_cd.elf
-rwxr-xr-x  1 root  wheel  4786152 Dec  1 04:43 start_db.elf
-rwxr-xr-x  1 root  wheel  3696744 Dec  1 04:43 start_x.elf
-rwxr-xr-x  1 root  wheel   555264 Dec 23 22:19 u-boot.bin
And then I can network boot successfully ...
Code:
U-Boot 2020.10 (Dec 24 2020 - 04:18:29 +0000)

DRAM:  3.9 GiB
RPI 4 Model B (0xc03112)
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: Register 5000420 NbrPorts 5
Starting the controller
USB XHCI 1.00
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  2  1  0 
Card did not respond to voltage select!

Device 0: unknown device
ethernet@7d580000 Waiting for PHY auto negotiation to complete. done
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
DHCP client bound to address x.x.x.26 (1759 ms)
Using ethernet@7d580000 device
...
Code:
---<<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 r368766: Fri Dec 18 21:16:54 CST 2020
    [email]root@rpi4.blah.lab[/email]:/var/rpi4/build/obj/usr/src/arm64.aarch64/sys/GENERIC-NODEBUG arm64
FreeBSD clang version 11.0.0 ([email]git@github.com[/email]:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673)
VT(efifb): resolution 1824x984
module firmware already present!
real memory  = 4147929088 (3955 MB)
avail memory = 4021616640 (3835 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 39f2b000 mode 2 pages 1
MAP 39f2f000 mode 2 pages 3
MAP 39f33000 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
clk_fixed2: <Fixed clock> on ofwbus0
clk_fixed3: <Fixed clock> on ofwbus0
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
regfix2: <Fixed Regulator> on ofwbus0
simplebus3: <Flattened device tree simple bus> on ofwbus0
simple_mfd0: <Simple MFD (Multi-Functions Device)> mem 0x7d5d2000-0x7d5d2eff on simplebus0
simple_mfd1: <Simple MFD (Multi-Functions Device)> on simplebus0
ofw_clkbus1: <OFW clocks bus> on simple_mfd1
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 30 on simplebus0
gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 256
mbox0: <BCM2835 VideoCore Mailbox> mem 0x7e00b880-0x7e00b8bf irq 13 on simplebus0
gpioregulator0: <GPIO controlled regulator> on ofwbus0
gpioregulator0: cannot get pin 0
gpioregulator0: cannot parse parameters
device_attach: gpioregulator0 attach returned 6
generic_timer0: <ARMv8 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
gpioregulator0: <GPIO controlled regulator> on ofwbus0
gpioregulator0: cannot get pin 0
gpioregulator0: cannot parse parameters
device_attach: gpioregulator0 attach returned 6
gpioregulator0: <GPIO controlled regulator> on ofwbus0
gpioregulator0: cannot get pin 0
gpioregulator0: cannot parse parameters
device_attach: gpioregulator0 attach returned 6
gpioregulator0: <GPIO controlled regulator> on ofwbus0
gpioregulator0: cannot get pin 0
gpioregulator0: cannot parse parameters
device_attach: gpioregulator0 attach returned 6
gpioregulator0: <GPIO controlled regulator> on ofwbus0
gpioregulator0: cannot get pin 0
gpioregulator0: cannot parse parameters
device_attach: gpioregulator0 attach returned 6
usb_nop_xceiv0: <USB NOP PHY> on ofwbus0
gpioregulator0: <GPIO controlled regulator> on ofwbus0
gpioregulator0: cannot get pin 0
gpioregulator0: cannot parse parameters
device_attach: gpioregulator0 attach returned 6
uart0: <PrimeCell UART (PL011)> mem 0x7e201000-0x7e2011ff irq 16 on simplebus0
uart0: console (115200,n,8,1)
spi0: <BCM2708/2835 SPI controller> mem 0x7e204000-0x7e2041ff irq 18 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 26 on simplebus0
bcm_dma0: <BCM2835 DMA Controller> mem 0x7e007000-0x7e007aff irq 31,32,33,34,35,36,37,38,39,40,41 on simplebus0
bcmwd0: <BCM2708/2835 Watchdog> mem 0x7e100000-0x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f on simplebus0
sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0x7e300000-0x7e3000ff irq 62 on simplebus0
mmc0: <MMC/SD bus> on sdhci_bcm0
fb0: <BCM2835 VT framebuffer driver> on simplebus0
fb0: keeping existing fb bpp of 32
fbd0 on fb0
WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 13.0.
VT: Replacing driver "efifb" with new "fb".
fb0: 1824x984(1824x984@0,0) 32bpp
fb0: fbswap: 1, pitch 7296, base 0x3e495000, screen_size 7237632
sdhci_bcm1: <Broadcom 2708 SDHCI controller> mem 0x7e340000-0x7e3400ff irq 68 on simplebus1
mmc1: <MMC/SD bus> on sdhci_bcm1
pmu0: <Performance Monitoring Unit> irq 0,1,2,3 on ofwbus0
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
bcm2835_cpufreq0: <CPU Frequency Control> on cpu0
bcm2835_cpufreq0: Unable to find firmware device
device_attach: bcm2835_cpufreq0 attach returned 6
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 irq 69,70 on simplebus2
pcib0: hardware identifies as revision 0x304.
pci1: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> irq 80 at device 0.0 on pci1
pci2: <PCI bus> on pcib1
bcm_xhci0: <VL805 USB 3.0 controller (on the Raspberry Pi 4b)> irq 81 at device 0.0 on pci2
bcm_xhci0: 32 bytes context size, 64-bit DMA
usbus0 on bcm_xhci0
pci0: <PCI bus> on pcib0
pci0: failed to allocate bus number
device_attach: pci0 attach returned 6
gpioled0: <GPIO LEDs> on ofwbus0
gpioled0: <led0> failed to map pin
gpioled0: <led1> failed to map pin
gpioregulator0: <GPIO controlled regulator> on ofwbus0
gpioregulator0: cannot get pin 0
gpioregulator0: cannot parse parameters
device_attach: gpioregulator0 attach returned 6
cryptosoft0: <software crypto>
bcm2835_cpufreq0: <CPU Frequency Control> on cpu0
bcm2835_cpufreq0: Unable to find firmware device
device_attach: bcm2835_cpufreq0 attach returned 6
Timecounters tick every 1.000 msec
iicbus0: <OFW I2C bus> on iichb0
iic0: <I2C generic I/O> on iicbus0
usbus0: 5.0Gbps Super Speed USB v3.0
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version:  0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present:  0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power:    0x0000000f | Blk gap:  0x00000000
sdhci_bcm0-slot0: Wake-up:  0x00000000 | Clock:    0x00003947
sdhci_bcm0-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps:     0x00000000 | Caps2:    0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
ugen0.1: <0x1106 XHCI root HUB> at usbus0
uhub0 on usbus0
uhub0: <0x1106 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version:  0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present:  0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power:    0x0000000f | Blk gap:  0x00000000
sdhci_bcm0-slot0: Wake-up:  0x00000000 | Clock:    0x00003947
sdhci_bcm0-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps:     0x00000000 | Caps2:    0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version:  0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present:  0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power:    0x0000000f | Blk gap:  0x00000000
sdhci_bcm0-slot0: Wake-up:  0x00000000 | Clock:    0x00003947
sdhci_bcm0-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps:     0x00000000 | Caps2:    0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version:  0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present:  0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power:    0x0000000f | Blk gap:  0x00000000
sdhci_bcm0-slot0: Wake-up:  0x00000000 | Clock:    0x00003947
sdhci_bcm0-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps:     0x00000000 | Caps2:    0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version:  0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present:  0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power:    0x0000000f | Blk gap:  0x00000000
sdhci_bcm0-slot0: Wake-up:  0x00000000 | Clock:    0x00003947
sdhci_bcm0-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps:     0x00000000 | Caps2:    0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version:  0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present:  0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power:    0x0000000f | Blk gap:  0x00000000
sdhci_bcm0-slot0: Wake-up:  0x00000000 | Clock:    0x00003947
sdhci_bcm0-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps:     0x00000000 | Caps2:    0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version:  0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present:  0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power:    0x0000000f | Blk gap:  0x00000000
sdhci_bcm0-slot0: Wake-up:  0x00000000 | Clock:    0x00003947
sdhci_bcm0-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps:     0x00000000 | Caps2:    0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version:  0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present:  0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power:    0x0000000f | Blk gap:  0x00000000
sdhci_bcm0-slot0: Wake-up:  0x00000000 | Clock:    0x00003947
sdhci_bcm0-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps:     0x00000000 | Caps2:    0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
uhub0: 5 ports with 4 removable, self powered
mmc0: No compatible cards found on bus
mmc1: No compatible cards found on bus
ugen0.2: <vendor 0x2109 USB2.0 Hub> at usbus0
uhub1 on uhub0
uhub1: <vendor 0x2109 USB2.0 Hub, class 9/0, rev 2.10/4.21, addr 1> on usbus0
uhub1: 4 ports with 4 removable, self powered
nfs_diskless: no interface
Release APs...done

Loader variables:

Manual root filesystem specification:
  <fstype>:<device> [options]
CPU  0: ARM Cortex-A72 r0p3 affinity:  0
      Mount <device> using filesystem <fstype>
                   Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG>
      and with the specified (optional) option list.
 Instruction Set Attributes 0 = <CRC32>

 Instruction Set Attributes 1 = <>
    eg. ufs:/dev/da0s1a
         Processor Features 0 = <AdvSIMD,FP,EL3 32,EL2 32,EL1 32,EL0 32>
        zfs:zroot/ROOT/default
         Processor Features 1 = <>
        cd9660:/dev/cd0 ro
      Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,16TB PA>
          (which is equivalent to:       Memory Model Features 1 = <8bit VMID>
mount -t cd9660 -o ro /dev/cd0 /)
      Memory Model Features 2 = <32bit CCIDX,48bit VA>

  ?               List valid disk boot devices
             Debug Features 0 = <2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3,Debugv8>
  .               Yield 1 second (for background tasks)
             Debug Features 1 = <>
  <empty line>    Abort manual input

mountroot>          Auxiliary Features 0 = <>
         Auxiliary Features 1 = <>
CPU  1: ARM Cortex-A72 r0p3 affinity:  1
CPU  2: ARM Cortex-A72 r0p3 affinity:  2
CPU  3: ARM Cortex-A72 r0p3 affinity:  3
 
Last edited by a moderator:
The new u-boot-rpi-arm64-2020.10 port supposedly now works for either rpi 3 or 4. I just tried netbooting my rpi4 4GB board using the arm64-aarch64-RPI-20201224 image which contains a new firmware set and u-boot version ...

drwxr-xr-x 1 root wheel 16384 Dec 31 1979 .
drwxr-xr-x 19 root wheel 1024 Dec 30 12:41 ..
drwxr-xr-x 1 root wheel 4096 Dec 24 02:38 EFI
-rwxr-xr-x 1 root wheel 1594 Dec 1 04:43 LICENCE.broadcom
-rwxr-xr-x 1 root wheel 240 Dec 23 22:19 README
-rwxr-xr-x 1 root wheel 5888 Dec 23 22:22 armstub8-gic.bin
-rwxr-xr-x 1 root wheel 5888 Dec 23 22:22 armstub8.bin
-rwxr-xr-x 1 root wheel 26450 Dec 1 04:43 bcm2710-rpi-2-b.dtb
-rwxr-xr-x 1 root wheel 28567 Dec 1 04:43 bcm2710-rpi-3-b-plus.dtb
-rwxr-xr-x 1 root wheel 27948 Dec 1 04:43 bcm2710-rpi-3-b.dtb
-rwxr-xr-x 1 root wheel 47484 Dec 1 04:43 bcm2711-rpi-4-b.dtb
-rwxr-xr-x 1 root wheel 52456 Dec 1 04:43 bootcode.bin
-rwxr-xr-x 1 root wheel 171 Dec 23 22:22 config.txt
drwxr-xr-x 1 root wheel 4096 Dec 24 02:38 dtb
-rwxr-xr-x 1 root wheel 7298 Dec 1 04:43 fixup.dat
-rwxr-xr-x 1 root wheel 5428 Dec 1 04:43 fixup4.dat
-rwxr-xr-x 1 root wheel 3171 Dec 1 04:43 fixup4cd.dat
-rwxr-xr-x 1 root wheel 8437 Dec 1 04:43 fixup4db.dat
-rwxr-xr-x 1 root wheel 8433 Dec 1 04:43 fixup4x.dat
-rwxr-xr-x 1 root wheel 3171 Dec 1 04:43 fixup_cd.dat
-rwxr-xr-x 1 root wheel 10285 Dec 1 04:43 fixup_db.dat
-rwxr-xr-x 1 root wheel 10283 Dec 1 04:43 fixup_x.dat
drwxr-xr-x 1 root wheel 4096 Dec 24 02:39 overlays
-rwxr-xr-x 1 root wheel 2937568 Dec 1 04:43 start.elf
-rwxr-xr-x 1 root wheel 2213312 Dec 1 04:43 start4.elf
-rwxr-xr-x 1 root wheel 789084 Dec 1 04:43 start4cd.elf
-rwxr-xr-x 1 root wheel 3714248 Dec 1 04:43 start4db.elf
-rwxr-xr-x 1 root wheel 2973128 Dec 1 04:43 start4x.elf
-rwxr-xr-x 1 root wheel 789084 Dec 1 04:43 start_cd.elf
-rwxr-xr-x 1 root wheel 4786152 Dec 1 04:43 start_db.elf
-rwxr-xr-x 1 root wheel 3696744 Dec 1 04:43 start_x.elf
-rwxr-xr-x 1 root wheel 555264 Dec 23 22:19 u-boot.bin

Still, it has the same issue where it starts to spin with genet0: gen_intr2 being printed on the console.
I found someone could boot up kernel with genet enabled even the error "fb0: bcm2835_mbox_fb_init failed, err=5" appear.

So I thinking about does it relate with the EFI_SIMPLE_NETWORK_PROTOCOL which implement in uboot and loader.efi.
And I will try embed mfs in loader later to aviod call EFI_SIMPLE_NETWORK_PROTOCOL in loader.efi to see does it make sense:
 
Hey folks. I was able to get this working by replacing the Dec 1st copy of bcm2711-rpi-4-b.dtb with a copy downloaded from the firmware master ...

fetch https://github.com/raspberrypi/firmware/archive/master.zip

After copying that in, my firmware directory looks like this ...

drwxr-xr-x 5 root wheel 1024 Jan 4 14:37 .
drwxr-xr-x 9 root wheel 512 Jan 4 17:10 ..
drwxr-xr-x 3 root wheel 512 Dec 24 02:38 EFI
-rwxr-xr-x 1 root wheel 1594 Dec 1 04:43 LICENCE.broadcom
-rwxr-xr-x 1 root wheel 240 Dec 23 22:19 README
-rwxr-xr-x 1 root wheel 5888 Dec 23 22:22 armstub8-gic.bin
-rwxr-xr-x 1 root wheel 5888 Dec 23 22:22 armstub8.bin
-rwxr-xr-x 1 root wheel 26450 Dec 1 04:43 bcm2710-rpi-2-b.dtb
-rwxr-xr-x 1 root wheel 28567 Dec 1 04:43 bcm2710-rpi-3-b-plus.dtb
-rwxr-xr-x 1 root wheel 27948 Dec 1 04:43 bcm2710-rpi-3-b.dtb
-rwxr-xr-x 1 root wheel 47972 Jan 4 17:32 bcm2711-rpi-4-b.dtb
-rwxr-xr-x 1 root wheel 52456 Dec 1 04:43 bootcode.bin
-rwxr-xr-x 1 root wheel 171 Dec 23 22:22 config.txt
drwxr-xr-x 7 root wheel 512 Dec 24 02:38 dtb
-rwxr-xr-x 1 root wheel 7298 Dec 1 04:43 fixup.dat
-rwxr-xr-x 1 root wheel 5428 Dec 1 04:43 fixup4.dat
-rwxr-xr-x 1 root wheel 3171 Dec 1 04:43 fixup4cd.dat
-rwxr-xr-x 1 root wheel 8437 Dec 1 04:43 fixup4db.dat
-rwxr-xr-x 1 root wheel 8433 Dec 1 04:43 fixup4x.dat
-rwxr-xr-x 1 root wheel 3171 Dec 1 04:43 fixup_cd.dat
-rwxr-xr-x 1 root wheel 10285 Dec 1 04:43 fixup_db.dat
-rwxr-xr-x 1 root wheel 10283 Dec 1 04:43 fixup_x.dat
drwxr-xr-x 2 root wheel 512 Dec 24 02:39 overlays
-rwxr-xr-x 1 root wheel 2937568 Dec 1 04:43 start.elf
-rwxr-xr-x 1 root wheel 2213312 Dec 1 04:43 start4.elf
-rwxr-xr-x 1 root wheel 789084 Dec 1 04:43 start4cd.elf
-rwxr-xr-x 1 root wheel 3714248 Dec 1 04:43 start4db.elf
-rwxr-xr-x 1 root wheel 2973128 Dec 1 04:43 start4x.elf
-rwxr-xr-x 1 root wheel 789084 Dec 1 04:43 start_cd.elf
-rwxr-xr-x 1 root wheel 4786152 Dec 1 04:43 start_db.elf
-rwxr-xr-x 1 root wheel 3696744 Dec 1 04:43 start_x.elf
-rwxr-xr-x 1 root wheel 555264 Dec 23 22:19 u-boot.bin

And then I can network boot successfully ...

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

DRAM: 3.9 GiB
RPI 4 Model B (0xc03112)
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: Register 5000420 NbrPorts 5
Starting the controller
USB XHCI 1.00
scanning bus xhci_pci for devices... 2 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 2 1 0
Card did not respond to voltage select!

Device 0: unknown device
ethernet@7d580000 Waiting for PHY auto negotiation to complete. done
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
DHCP client bound to address x.x.x.26 (1759 ms)
Using ethernet@7d580000 device

...

---<<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 r368766: Fri Dec 18 21:16:54 CST 2020
root@rpi4.blah.lab:/var/rpi4/build/obj/usr/src/arm64.aarch64/sys/GENERIC-NODEBUG arm64
FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673)
VT(efifb): resolution 1824x984
module firmware already present!
real memory = 4147929088 (3955 MB)
avail memory = 4021616640 (3835 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 39f2b000 mode 2 pages 1
MAP 39f2f000 mode 2 pages 3
MAP 39f33000 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
clk_fixed2: <Fixed clock> on ofwbus0
clk_fixed3: <Fixed clock> on ofwbus0
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
regfix2: <Fixed Regulator> on ofwbus0
simplebus3: <Flattened device tree simple bus> on ofwbus0
simple_mfd0: <Simple MFD (Multi-Functions Device)> mem 0x7d5d2000-0x7d5d2eff on simplebus0
simple_mfd1: <Simple MFD (Multi-Functions Device)> on simplebus0
ofw_clkbus1: <OFW clocks bus> on simple_mfd1
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 30 on simplebus0
gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 256
mbox0: <BCM2835 VideoCore Mailbox> mem 0x7e00b880-0x7e00b8bf irq 13 on simplebus0
gpioregulator0: <GPIO controlled regulator> on ofwbus0
gpioregulator0: cannot get pin 0
gpioregulator0: cannot parse parameters
device_attach: gpioregulator0 attach returned 6
generic_timer0: <ARMv8 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
gpioregulator0: <GPIO controlled regulator> on ofwbus0
gpioregulator0: cannot get pin 0
gpioregulator0: cannot parse parameters
device_attach: gpioregulator0 attach returned 6
gpioregulator0: <GPIO controlled regulator> on ofwbus0
gpioregulator0: cannot get pin 0
gpioregulator0: cannot parse parameters
device_attach: gpioregulator0 attach returned 6
gpioregulator0: <GPIO controlled regulator> on ofwbus0
gpioregulator0: cannot get pin 0
gpioregulator0: cannot parse parameters
device_attach: gpioregulator0 attach returned 6
gpioregulator0: <GPIO controlled regulator> on ofwbus0
gpioregulator0: cannot get pin 0
gpioregulator0: cannot parse parameters
device_attach: gpioregulator0 attach returned 6
usb_nop_xceiv0: <USB NOP PHY> on ofwbus0
gpioregulator0: <GPIO controlled regulator> on ofwbus0
gpioregulator0: cannot get pin 0
gpioregulator0: cannot parse parameters
device_attach: gpioregulator0 attach returned 6
uart0: <PrimeCell UART (PL011)> mem 0x7e201000-0x7e2011ff irq 16 on simplebus0
uart0: console (115200,n,8,1)
spi0: <BCM2708/2835 SPI controller> mem 0x7e204000-0x7e2041ff irq 18 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 26 on simplebus0
bcm_dma0: <BCM2835 DMA Controller> mem 0x7e007000-0x7e007aff irq 31,32,33,34,35,36,37,38,39,40,41 on simplebus0
bcmwd0: <BCM2708/2835 Watchdog> mem 0x7e100000-0x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f on simplebus0
sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0x7e300000-0x7e3000ff irq 62 on simplebus0
mmc0: <MMC/SD bus> on sdhci_bcm0
fb0: <BCM2835 VT framebuffer driver> on simplebus0
fb0: keeping existing fb bpp of 32
fbd0 on fb0
WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 13.0.
VT: Replacing driver "efifb" with new "fb".
fb0: 1824x984(1824x984@0,0) 32bpp
fb0: fbswap: 1, pitch 7296, base 0x3e495000, screen_size 7237632
sdhci_bcm1: <Broadcom 2708 SDHCI controller> mem 0x7e340000-0x7e3400ff irq 68 on simplebus1
mmc1: <MMC/SD bus> on sdhci_bcm1
pmu0: <Performance Monitoring Unit> irq 0,1,2,3 on ofwbus0
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
bcm2835_cpufreq0: <CPU Frequency Control> on cpu0
bcm2835_cpufreq0: Unable to find firmware device
device_attach: bcm2835_cpufreq0 attach returned 6
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 irq 69,70 on simplebus2
pcib0: hardware identifies as revision 0x304.
pci1: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> irq 80 at device 0.0 on pci1
pci2: <PCI bus> on pcib1
bcm_xhci0: <VL805 USB 3.0 controller (on the Raspberry Pi 4b)> irq 81 at device 0.0 on pci2
bcm_xhci0: 32 bytes context size, 64-bit DMA
usbus0 on bcm_xhci0
pci0: <PCI bus> on pcib0
pci0: failed to allocate bus number
device_attach: pci0 attach returned 6
gpioled0: <GPIO LEDs> on ofwbus0
gpioled0: <led0> failed to map pin
gpioled0: <led1> failed to map pin
gpioregulator0: <GPIO controlled regulator> on ofwbus0
gpioregulator0: cannot get pin 0
gpioregulator0: cannot parse parameters
device_attach: gpioregulator0 attach returned 6
cryptosoft0: <software crypto>
bcm2835_cpufreq0: <CPU Frequency Control> on cpu0
bcm2835_cpufreq0: Unable to find firmware device
device_attach: bcm2835_cpufreq0 attach returned 6
Timecounters tick every 1.000 msec
iicbus0: <OFW I2C bus> on iichb0
iic0: <I2C generic I/O> on iicbus0
usbus0: 5.0Gbps Super Speed USB v3.0
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
ugen0.1: <0x1106 XHCI root HUB> at usbus0
uhub0 on usbus0
uhub0: <0x1106 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
uhub0: 5 ports with 4 removable, self powered
mmc0: No compatible cards found on bus
mmc1: No compatible cards found on bus
ugen0.2: <vendor 0x2109 USB2.0 Hub> at usbus0
uhub1 on uhub0
uhub1: <vendor 0x2109 USB2.0 Hub, class 9/0, rev 2.10/4.21, addr 1> on usbus0
uhub1: 4 ports with 4 removable, self powered
nfs_diskless: no interface
Release APs...done

Loader variables:

Manual root filesystem specification:
<fstype>:<device> [options]
CPU 0: ARM Cortex-A72 r0p3 affinity: 0
Mount <device> using filesystem <fstype>
Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG>
and with the specified (optional) option list.
Instruction Set Attributes 0 = <CRC32>

Instruction Set Attributes 1 = <>
eg. ufs:/dev/da0s1a
Processor Features 0 = <AdvSIMD,FP,EL3 32,EL2 32,EL1 32,EL0 32>
zfs:zroot/ROOT/default
Processor Features 1 = <>
cd9660:/dev/cd0 ro
Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,16TB PA>
(which is equivalent to: Memory Model Features 1 = <8bit VMID>
mount -t cd9660 -o ro /dev/cd0 /)
Memory Model Features 2 = <32bit CCIDX,48bit VA>

? List valid disk boot devices
Debug Features 0 = <2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3,Debugv8>
. Yield 1 second (for background tasks)
Debug Features 1 = <>
<empty line> Abort manual input

mountroot> Auxiliary Features 0 = <>
Auxiliary Features 1 = <>
CPU 1: ARM Cortex-A72 r0p3 affinity: 1
CPU 2: ARM Cortex-A72 r0p3 affinity: 2
CPU 3: ARM Cortex-A72 r0p3 affinity: 3
Please notice this: pci0: failed to allocate bus number.
genet still not works, I also found that kernel could be boot up if chose linux dtb file, but no genet ...
 
Hi guys,

I think I have resolve it, after dive into genet source code of linux, I found irq2 is for priority queue, but FreeBSD implement only have one queue.
Then I first try disable all queue when call gen_dma_disable, but it not works:


static void
gen_dma_disable(device_t dev)
{
struct gen_softc *sc = device_get_softc(dev);
int val;
uint32_t dma_ctrl = 1 << (16+1)|(1 << 0);

val = RD4(sc, GENET_TX_DMA_CTRL);
val &= ~dma_ctrl;
//val &= ~GENET_TX_DMA_CTRL_EN;
//val &= ~GENET_TX_DMA_CTRL_RBUF_EN(GENET_DMA_DEFAULT_QUEUE);
WR4(sc, GENET_TX_DMA_CTRL, val);

val = RD4(sc, GENET_RX_DMA_CTRL);
val &= ~dma_ctrl;
//val &= ~GENET_RX_DMA_CTRL_EN;
//val &= ~GENET_RX_DMA_CTRL_RBUF_EN(GENET_DMA_DEFAULT_QUEUE);
WR4(sc, GENET_RX_DMA_CTRL, val);

/* flush tx */
WR4(sc, GENET_UMAC_TX_FLUSH, 1);
DELAY(10);
WR4(sc, GENET_UMAC_TX_FLUSH, 0);


DELAY(10);
val = RD4(sc, GENET_SYS_RBUF_FLUSH_CTRL);
WR4(sc, GENET_SYS_RBUF_FLUSH_CTRL, val | __BIT(0));
DELAY(10);

WR4(sc, GENET_SYS_RBUF_FLUSH_CTRL, val);
DELAY(10);

}




After that, I thinking about what's in this irq, and eventually, I found there is a irq not clear, so it send for loops, so simple clear irq after receive will fix it.
Please ignore ugly hardcode register address... :)

static void
gen_intr2(void *arg)
{
struct gen_softc *sc = arg;
uint32_t val;

GEN_LOCK(sc);

val = RD4(sc, GENET_INTRL2_CPU_STAT + 0x40);
device_printf(sc->dev, "0x%x ", val);
val &= ~RD4(sc, GENET_INTRL2_CPU_STAT_MASK + 0x40);
device_printf(sc->dev, "0x%x\n", val);
WR4(sc, GENET_INTRL2_CPU_CLEAR + 0x40, val);
GEN_UNLOCK(sc);

device_printf(sc->dev, "gen_intr2\n");
}




Boot log, obviously there is only one irq wait for clear, but I still have no idea where it from:


genet0: 0xffffffff genet0: 0xffffffff
genet0: gen_intr2



---<<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 #17: Wed Jan 6 19:47:52 UTC 2021
root@cloudreve:/usr/obj/usr/rpi_src/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 = 2067615744 (1971 MB)
avail memory = 1990438912 (1898 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 39f35000 mode 2 pages 1
MAP 39f39000 mode 2 pages 3
MAP 39f3d000 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
simplebus3: <Flattened device tree simple bus> on ofwbus0
clk_fixed2: <Fixed clock> on ofwbus0
regfix2: <Fixed Regulator> on ofwbus0
simple_mfd0: <Simple MFD (Multi-Functions Device)> mem 0x7d5d2000-0x7d5d2eff on simplebus0
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 31 on simplebus0
gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 256
mbox0: <BCM2835 VideoCore Mailbox> mem 0x7e00b880-0x7e00b8bf irq 14 on simplebus0
bcm2835_firmware0: <BCM2835 Firmware> on simplebus0
ofw_clkbus1: <OFW clocks bus> on bcm2835_firmware0
gpio0: <Raspberry Pi Firmware GPIO controller> on bcm2835_firmware0
gpiobus0: <GPIO bus> on gpio0
gpioregulator0: <GPIO controlled regulator> on ofwbus0
generic_timer0: <ARMv8 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
uart0: <PrimeCell UART (PL011)> mem 0x7e201000-0x7e2011ff irq 17 on simplebus0
uart0: console (115200,n,8,1)
bcm_dma0: <BCM2835 DMA Controller> mem 0x7e007000-0x7e007aff irq 32,33,34,35,36,37,38,39,40,41,42 on simplebus0
bcmwd0: <BCM2708/2835 Watchdog> mem 0x7e100000-0x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f on simplebus0
gpioc0: <GPIO controller> on gpio0
sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0x7e300000-0x7e3000ff irq 58 on simplebus0
mmc0: <MMC/SD bus> on sdhci_bcm0
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
sdhci_bcm1: <Broadcom 2708 SDHCI controller> mem 0x7e340000-0x7e3400ff irq 69 on simplebus1
mmc1: <MMC/SD bus> on sdhci_bcm1
pmu0: <Performance Monitoring Unit> irq 0,1,2,3 on ofwbus0
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 irq 70,71 on simplebus2
pcib0: hardware identifies as revision 0x304.
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> irq 81 at device 0.0 on pci0
pci1: <PCI bus> on pcib1
bcm_xhci0: <VL805 USB 3.0 controller (on the Raspberry Pi 4b)> irq 82 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 72,73 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
gpioled0: <led0> failed to map pin
cryptosoft0: <software crypto>
Timecounters tick every 1.000 msec
genet0: 0xffffffff genet0: 0xffffffff
genet0: gen_intr2
usbus0: 5.0Gbps Super Speed USB v3.0
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
ugen0.1: <0x1106 XHCI root HUB> at usbus0
uhub0 on usbus0
uhub0: <0x1106 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
mmc0: No compatible cards found on bus
mmc1: No compatible cards found on bus
bcm2835_cpufreq0: ARM 600MHz, Core 200MHz, SDRAM 400MHz, Turbo OFF
nfs_diskless: no server
Release APs...done
CPU 0: ARM Cortex-A72 r0p3 affinity: 0
Root mount waiting for: Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG>
usbus0 Instruction Set Attributes 0 = <CRC32>

Instruction Set Attributes 1 = <>
Processor Features 0 = <AdvSIMD,FP,EL3 32,EL2 32,EL1 32,EL0 32>
Processor Features 1 = <>
Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,16TB PA>
Memory Model Features 1 = <8bit VMID>
Memory Model Features 2 = <32bit CCIDX,48bit VA>
Debug Features 0 = <2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3,Debugv8>
Debug Features 1 = <>
Auxiliary Features 0 = <>
Auxiliary Features 1 = <>
CPU 1: ARM Cortex-A72 r0p3 affinity: 1
CPU 2: ARM Cortex-A72 r0p3 affinity: 2
CPU 3: ARM Cortex-A72 r0p3 affinity: 3
WARNING: WITNESS option enabled, expect reduced performance.
uhub0: 5 ports with 4 removable, self powered
ugen0.2: <vendor 0x2109 USB2.0 Hub> at usbus0
uhub1 on uhub0
uhub1: <vendor 0x2109 USB2.0 Hub, class 9/0, rev 2.10/4.21, addr 1> on usbus0
Root mount waiting for: usbus0
uhub1: 4 ports with 4 removable, self powered

Loader variables:

Manual root filesystem specification:
<fstype>:<device> [options]
Mount <device> using filesystem <fstype>
and with the specified (optional) option list.

eg. ufs:/dev/da0s1a
zfs:zroot/ROOT/default
cd9660:/dev/cd0 ro
(which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)

? List valid disk boot devices
. Yield 1 second (for background tasks)
<empty line> Abort manual input

mountroot> random: unblocking device.

 
Success boot 500M (140M gziped) mfsroot on rpi4B 2G model.
Load 1G (240M gziped) mfsroot will fail on extract mfsroot, although mfsroot.uzip maybe works, but it need a bit more stuff if root readonly, or try zfs with compress later?
Load mfsroot.gz > 300MB sometimes fail when load file in loader.efi.


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: 0x39e0f000
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=0x87d158 text=0x1f47a4 data=0x1a5250 data=0x0+0x5446f6 syms=[0x8+0x117db0+0x8+0x13ca51]
Loading configured modules...
/mfsroot size=0x1f400000
can't find '/etc/hostid'
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 #17: Wed Jan 6 19:47:52 UTC 2021
root@cloudreve:/usr/obj/usr/rpi_src/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 = 2067615744 (1971 MB)
avail memory = 1479180288 (1410 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 39f35000 mode 2 pages 1
MAP 39f39000 mode 2 pages 3
MAP 39f3d000 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
simplebus3: <Flattened device tree simple bus> on ofwbus0
clk_fixed2: <Fixed clock> on ofwbus0
regfix2: <Fixed Regulator> on ofwbus0
simple_mfd0: <Simple MFD (Multi-Functions Device)> mem 0x7d5d2000-0x7d5d2eff on simplebus0
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 31 on simplebus0
gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 256
mbox0: <BCM2835 VideoCore Mailbox> mem 0x7e00b880-0x7e00b8bf irq 14 on simplebus0
bcm2835_firmware0: <BCM2835 Firmware> on simplebus0
ofw_clkbus1: <OFW clocks bus> on bcm2835_firmware0
gpio0: <Raspberry Pi Firmware GPIO controller> on bcm2835_firmware0
gpiobus0: <GPIO bus> on gpio0
gpioregulator0: <GPIO controlled regulator> on ofwbus0
generic_timer0: <ARMv8 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
uart0: <PrimeCell UART (PL011)> mem 0x7e201000-0x7e2011ff irq 17 on simplebus0
uart0: console (115200,n,8,1)
bcm_dma0: <BCM2835 DMA Controller> mem 0x7e007000-0x7e007aff irq 32,33,34,35,36,37,38,39,40,41,42 on simplebus0
bcmwd0: <BCM2708/2835 Watchdog> mem 0x7e100000-0x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f on simplebus0
gpioc0: <GPIO controller> on gpio0
sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0x7e300000-0x7e3000ff irq 58 on simplebus0
mmc0: <MMC/SD bus> on sdhci_bcm0
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
sdhci_bcm1: <Broadcom 2708 SDHCI controller> mem 0x7e340000-0x7e3400ff irq 69 on simplebus1
mmc1: <MMC/SD bus> on sdhci_bcm1
pmu0: <Performance Monitoring Unit> irq 0,1,2,3 on ofwbus0
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 irq 70,71 on simplebus2
pcib0: hardware identifies as revision 0x304.
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> irq 81 at device 0.0 on pci0
pci1: <PCI bus> on pcib1
bcm_xhci0: <VL805 USB 3.0 controller (on the Raspberry Pi 4b)> irq 82 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 72,73 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
gpioled0: <led0> failed to map pin
cryptosoft0: <software crypto>
Timecounters tick every 1.000 msec
genet0: 0xffffffff genet0: 0xffffffff
genet0: gen_intr2
md0: Preloaded image </mfsroot> 524288000 bytes at 0xffff0000013b1b10
usbus0: 5.0Gbps Super Speed USB v3.0
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
ugen0.1: <0x1106 XHCI root HUB> at usbus0
uhub0 on usbus0
uhub0: <0x1106 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x000001aa | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
sdhci_bcm0-slot0: Got command interrupt 0x00030000, but there is no active command.
sdhci_bcm0-slot0: ============== REGISTER DUMP ==============
sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902
sdhci_bcm0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci_bcm0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_bcm0-slot0: Present: 0x000f0000 | Host ctl: 0x00000001
sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000
sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947
sdhci_bcm0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci_bcm0-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb
sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_bcm0-slot0: Caps: 0x00000000 | Caps2: 0x00000000
sdhci_bcm0-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000
sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_bcm0-slot0: ===========================================
mmc0: No compatible cards found on bus
mmc1: No compatible cards found on bus
bcm2835_cpufreq0: ARM 600MHz, Core 200MHz, SDRAM 400MHz, Turbo OFF
nfs_diskless: no server
Release APs...done
CPU 0: ARM Cortex-A72 r0p3 affinity: 0
Trying to mount root from ufs:/dev/md0 []...
Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG>
Warning: no time-of-day clock registered, Instruction Set Attributes 0 = <CRC32>
system time will not be set accurately
Instruction Set Attributes 1 = <>
Dual Console: Serial Primary, Video Secondary
Processor Features 0 = <AdvSIMD,FP,EL3 32,EL2 32,EL1 32,EL0 32>
Processor Features 1 = <>
Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,16TB PA>
Memory Model Features 1 = <8bit VMID>
Memory Model Features 2 = <32bit CCIDX,48bit VA>
Debug Features 0 = <2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3,Debugv8>
Debug Features 1 = <>
Auxiliary Features 0 = <>
Auxiliary Features 1 = <>
CPU 1: ARM Cortex-A72 r0p3 affinity: 1
CPU 2: ARM Cortex-A72 r0p3 affinity: 2
CPU 3: ARM Cortex-A72 r0p3 affinity: 3
WARNING: WITNESS option enabled, expect reduced performance.
uhub0: 5 ports with 4 removable, self powered
No suitable dump device was found.
Setting hostuuid: 30303031-3030-3030-3364-373930353937.
Setting hostid: 0x729f1a82.
Starting file system checks:
Mounting local filesystems:.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
random: randomdev_wait_until_seeded unblock wait
random: unblocking device.
Building /boot/kernel/linker.hints
ugen0.2: <vendor 0x2109 USB2.0 Hub> at usbus0
uhub1 on uhub0
uhub1: <vendor 0x2109 USB2.0 Hub, class 9/0, rev 2.10/4.21, addr 1> on usbus0
Setting hostname: generic.
uhub1: 4 ports with 4 removable, self powered
Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED
Feeding entropy: .
lo0: link state changed to UP
genet0: link state changed to DOWN
Starting Network: lo0 genet0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
genet0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=68000b<RXCSUM,TXCSUM,VLAN_MTU,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
ether dc:a6:32:34:bc:c5
media: Ethernet autoselect (none)
status: no carrier
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
Starting devd.
genet0: link state changed to UP
Starting dhclient.
DHCPDISCOVER on genet0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on genet0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on genet0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on genet0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on genet0 to 255.255.255.255 port 67 interval 7
DHCPOFFER from 192.168.2.84
DHCPREQUEST on genet0 to 255.255.255.255 port 67
DHCPACK from 192.168.2.84
bound to 192.168.2.162 -- renewal in 43200 seconds.
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Updating /var/run/os-release done.
Creating and/or trimming log files.
Updating motd:.
Starting syslogd.
Clearing /tmp (X related).
Mounting late filesystems:.
Starting cron.
Generating RSA host key.
2048 SHA256:JGsW7Y0giqJ5/VAtaIVT28Ht58446tqZchrCbhBA5bI root@generic (RSA)
Generating ECDSA host key.
256 SHA256:dAT4QX2/N6YE8G18bUzPbA+3MrnQYto01y07VW6vMZM root@generic (ECDSA)
Generating ED25519 host key.
256 SHA256:kfRUKiL1ggKWpwdheRj6CJ85L9tjXjERLmm1L/sIlt0 root@generic (ED25519)
Performing sanity check on sshd configuration.
Starting sshd.
Starting background file system checks in 60 seconds.

Thu Jan 7 08:50:49 UTC 2021

FreeBSD/arm64 (generic) (ttyu0)

login: freebsd
Password:
Login incorrect
login: root
Jan 7 08:55:03 generic login[1158]: ROOT LOGIN (root) ON ttyu0
FreeBSD 13.0-CURRENT (GENERIC) #17: Wed Jan 6 19:47:52 UTC 2021

Welcome to FreeBSD!

Release Notes, Errata: https://www.FreeBSD.org/releases/
Security Advisories: https://www.FreeBSD.org/security/
FreeBSD Handbook: https://www.FreeBSD.org/handbook/
FreeBSD FAQ: https://www.FreeBSD.org/faq/
Questions List: https://lists.FreeBSD.org/mailman/listinfo/freebsd-questions/
FreeBSD Forums: https://forums.FreeBSD.org/

Documents installed with the system are in the /usr/local/share/doc/freebsd/
directory, or can be installed later with: pkg install en-freebsd-doc
For other languages, replace "en" with a language code like de or fr.

Show the version of FreeBSD installed: freebsd-version ; uname -a
Please include that output and any error messages when posting questions.
Introduction to manual pages: man man
FreeBSD directory layout: man hier

To change this login announcement, see motd(5).
root@generic:~ # vmstat -h
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr md0 in sy cs us sy id
0 0 0 146M 1.2G 607 0 1 0 905 2 0 103 564 148 1 1 99
root@generic:~ # df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/md0 497M 410M 47M 90% /
devfs 1.0K 1.0K 0B 100% /dev
tmpfs 50M 4.0K 50M 0% /tmp

 
zfs on mfsroot perfect, I got much more space to use on rootfs, everything works.
But genet still have issue, if down and up genet0, then genet0 not works, no packet could be send or receive...

freebsd@rpi4:~ % zfs list
NAME USED AVAIL REFER MOUNTPOINT
zroot 228M 124M 88K /zroot
zroot/ROOT 69.7M 124M 88K none
zroot/ROOT/default 69.6M 124M 69.6M /
zroot/usr 157M 124M 156M /usr
zroot/usr/home 120K 124M 120K /usr/home
zroot/usr/ports 88K 124M 88K /usr/ports
zroot/usr/src 88K 124M 88K /usr/src
zroot/var 948K 124M 476K /var
zroot/var/audit 88K 124M 88K /var/audit
zroot/var/crash 88K 124M 88K /var/crash
zroot/var/log 120K 124M 120K /var/log
zroot/var/mail 88K 124M 88K /var/mail
zroot/var/tmp 88K 124M 88K /var/tmp

 
Back
Top