Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2025 15:25:02 +0100
From:      =?utf-8?Q?Klaus_K=C3=BCchemann?= <maciphone2@googlemail.com>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>, freebsd-arm@freebsd.org
Subject:   fdt based rework Re: Raspbery Pi support (release notes/wiki page) update?
Message-ID:  <0B39AEF3-27E8-4715-9FA4-6B95D8AFFB3C@googlemail.com>
In-Reply-To: <668r286o-584q-616o-5nq3-0233r3259qsr@yvfgf.mnoonqbm.arg>
References:  <668r286o-584q-616o-5nq3-0233r3259qsr@yvfgf.mnoonqbm.arg>

next in thread | previous in thread | raw e-mail | index | archive | help

If developers are interested in bcm2712/RP1 or actually want to work on =
it, I could provide resources/infos  for it.
If using u-boot the current status is reworking the pcie driver =
respectively implement the rp1 mfd =E2=80=A6
It`s quite new to have netboot possibility , (while quite everything is =
unofficial for now, even in u-boot & mainline tux kernel)
To say it simple: not ready for users but O.K. to start developing

PCIe BRCM: link up, 5.0 Gbps x4 (!SSC)
Net:   eth0: ethernet@100000

PCIe BRCM: link down
starting USB...
Bus usb@480000: USB DWC2
scanning bus usb@480000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0  U-Boot>  dhcp
ethernet@100000: PHY present at 0
ethernet@100000: Starting autonegotiation...
ethernet@100000: Autonegotiation complete
ethernet@100000: link up, 1000Mbps full-duplex (lpa: 0x3800)
BOOTP broadcast 1
DHCP client bound to address 192.168.2.20 (5 ms)
Using ethernet@100000 device
TFTP from server 192.168.2.143; our IP address is 192.168.2.20
Filename 'boot/loader.efi'.
Load address: 0x1000000
Loading: ##################################################  834.3 KiB
13.8 MiB/s
done
Bytes transferred =3D 854348 (d094c hex)
U-Boot> boot
..
..
Consoles: EFI console =20
    Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk0p1:
FreeBSD/arm64 EFI loader, Revision 3.0
(Sat Feb  1 03:46:15 UTC 2025 root@fbsd5pro)
..
OK set currdev=3D"net0:"
ethernet@100000: PHY present at 0
ethernet@100000: Starting autonegotiation...
ethernet@100000: Autonegotiation complete
ethernet@100000: link up, 1000Mbps full-duplex (lpa: 0x3800)
net0: cannot set rx. filters (status=3D3)
OK load boot/kernel/kernel
boot/kernel/kernel text=3D0x318 text=3D0x99f9b8 text=3D0x2ca7e8 =
data=3D0x180670 data=3D0x0+0x371000 0x8+0x16ffc8+0x8+0x1a16ae\
OK boot
Using DTB provided by EFI at 0x3e6cf000.
Loading splash ok
---<<BOOT>>---
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
WARNING: Cannot find freebsd,dts-version property, cannot check DTB =
compliance
Copyright (c) 1992-2025 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 15.0-CURRENT #2 main-n275107-5d36f79c113f: Thu Feb  6 00:50:05 =
CET 2025
    root@fbsd5pro:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64

=E2=80=A6.
...

pcib0: <BCM2838-compatible PCI-express controller> mem =
0x1000110000-0x100011930f irq 76,77 on simplebus1
pcib0: hardware identifies as revision 0x500.
pcib0: error: controller failed to start.
device_attach: pcib0 attach returned 6
pcib0: <BCM2838-compatible PCI-express controller> mem =
0x1000120000-0x100012930f irq 78,79 on simplebus1
  x0: 0xffff000000df0770 (initstack + 0x3770)
  x1: 0xffff000000ab2b8c (console_pausestr + 0x58c8)
  x2: 0xffffa00001328558
  x3: 0x0000000000000000
  x4: 0x0000008000000000
  x5: 0x0072650000000000
  x6: 0x0000000080657200
  x7: 0x72650078746d5f67
  x8: 0xffffa00001328500
  x9: 0x0000000000000000
 x10: 0x0000000000200000
 x11: 0xffff000000cdd248 (lock_class_mtx_spin + 0x0)
 x12: 0x0000000000000000
 x13: 0x0000000000000000
 x14: 0x0000000000000007
 x15: 0x0200000000000000
 x16: 0x0000000001000000
 x17: 0x04000000e6000000
 x18: 0xffff000000df0670 (initstack + 0x3670)
 x19: 0xffff000000a23dd4 (do_execve.fexecv_proc_title + 0x3925b)
 x20: 0xffffa00001398700
 x21: 0x0000000101bc1854
 x22: 0xffffa0000159c200
 x23: 0x000000005e4a6f28
 x24: 0xffff000000fcb000 (gdb_tx_u + 0xd78)
 x25: 0x00000000fffffffc
 x26: 0xffff000000a8ee43 (do_execve.fexecv_proc_title + 0xa42ca)
 x27: 0xffff0000009de921 (notify.prefix + 0x3b270)
 x28: 0xffffa000013942b0
 x29: 0xffff000000df0840 (initstack + 0x3840)
  sp: 0xffff000000df0670
  lr: 0xffff0000004f1488 (device_printf + 0x8c)
 elr: 0xffff000000516318 (sbuf_printf + 0xc)
spsr: 0x00000000004000c9
 far: 0xffef7f6d7c2ddffd
 esr: 0x00000000be000411
panic: Unhandled System Error
cpuid =3D 0
time =3D 1
KDB: stack backtrace:
db_trace_self() at db_trace_self
db_trace_self_wrapper() at db_trace_self_wrapper+0x38
vpanic() at vpanic+0x1a0
panic() at panic+0x48
do_serror() at do_serror+0x40
handle_el1h_serror() at handle_el1h_serror+0x14
end() at 0xffff0000404057fc
KDB: enter: panic
[ thread pid 0 tid 100000 ]
Stopped at      kdb_enter+0x48: str     xzr, [x19, #2048]
db>=20





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0B39AEF3-27E8-4715-9FA4-6B95D8AFFB3C>