From nobody Sun Feb 09 14:25:02 2025 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YrVNT63jDz5mTc5 for ; Sun, 09 Feb 2025 14:25:13 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YrVNS3Jwhz3yn7 for ; Sun, 09 Feb 2025 14:25:12 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=googlemail.com header.s=20230601 header.b="flu1pFa/"; spf=pass (mx1.freebsd.org: domain of maciphone2@googlemail.com designates 2a00:1450:4864:20::333 as permitted sender) smtp.mailfrom=maciphone2@googlemail.com; dmarc=pass (policy=quarantine) header.from=googlemail.com Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-436341f575fso41689125e9.1 for ; Sun, 09 Feb 2025 06:25:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20230601; t=1739111111; x=1739715911; darn=freebsd.org; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=kbhvaGJhPqt5J3tlP7bScIBjLfX6OcwuIz55HL20Y2A=; b=flu1pFa/BrzH1MKfiU6/yuXHjNv3Nn83VSE6o+WVnkSq8i9/WkhY0/LgntaHO7ESlj N2WcIIszYynNl0xmBm4uq2Grf0PQT/XUAVGu5XyXelOw9YJR7sBxkgJmRuicOyF/FXHR j43F/KLSOareuCqrrexKZId6ZZYpGrRdlxtD/g3nJbgt2EFyBbdI9IjnidxwAynX1jgb Q8U3RSclBcQgd0ObGnumz/G8UGhXkTZ6f5tLIWsuiqgw9zI/+LSfwhMhJcYn33tWTDM+ oYFlwOWnaivSS29d+tPd0pCOWZx9dR4pKK+vy3zf1KTgSTWJgRxpc7Ai7/VlVnq1uwrs 9K6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739111111; x=1739715911; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kbhvaGJhPqt5J3tlP7bScIBjLfX6OcwuIz55HL20Y2A=; b=YqFU0yA1YBtmyRn4IGgI5W3SAUfBp8TGwfN1Gb2RN2GJ8iIbYw/nXiL+uGArDQQguT FmBcW6edU1DS1BNJxet3dZyPQHX4Lk6kKjT62/cM8CEdo92I+adbcEDMgLvU2EVf5S3g 6DFURTyovyCSGWbBT5/HwwHlD885/gY1xnWDC7CNsoQDXolRPkZ0ubzC9S4nQmr98Ld1 Z0ZG+//Wt+ZfPGnuDV27WyFGRzGfg9YXaq6uM3DUvkOB6DhdOHIqw2eOOSM+Y2yMktDF wxhEDtaluQdxHub0LrgDfA+3dOjsJP6swQvPYGlIWsWk0o4A+CxM+0sXPv9fsbeLIvev Y1XA== X-Forwarded-Encrypted: i=1; AJvYcCVCvcRwAYisxxUqtN0kgKmuA5xywh6kbolJXl2gzHXsQ11UHFhunWxjrL7eiCILAIbMc3Y1+qJDYA3FbA==@freebsd.org X-Gm-Message-State: AOJu0YwBxQ3H1F4lneQcpL8ruuXQkkeJDeRqrhMvmQAu8dKYw4lveBAU akU8V+20w/ww2QrXcBJRzX2RTTDLFya9ipGIrB3zpC7xxhEsUvno X-Gm-Gg: ASbGncsM59Woed041ZranfT/jg+R4KzPzCkdKP+JxFjAsWvColLOXWd/dbtfipuiRfi 1TgxmmkFsklRgShNIrnndSPDfRwUwX3wYcyAGfKprV8tCAjXARn5+ijCM78i0701+xflSLnp9ft rGVbxKlFpQciwZhE7P90vZGRBsFOPBfDDBh2s9RzBVmLgYBHIW2hlQ5Ztro/VggsoKEOLjHThB4 o5Xzk0fxk4NbNYhYiksPtteU4D5Os5pczEToBwhRLyWy4k6W7noUP/CZ+/UURxgHxiotbQdBrpP x18decsSpTNS81XYF13b92OIRTf96qcDUq8QW2cMg8PY5mxsved/1Fe+u3211aaSQTA+DAv/YUf +MD/17vvz722shB39LJfBxrxFddo= X-Google-Smtp-Source: AGHT+IGRPezmtPCLZb0uTF3kREkpoyGOTvGi4Dhe962QtGiEtG5G2LtY/joTVCF2Ga82x9gNLmHkxg== X-Received: by 2002:a05:6000:156e:b0:38a:88f8:aadd with SMTP id ffacd0b85a97d-38dc9353e87mr8417281f8f.53.1739111110468; Sun, 09 Feb 2025 06:25:10 -0800 (PST) Received: from smtpclient.apple (dynamic-046-114-115-148.46.114.pool.telefonica.de. [46.114.115.148]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4390d96530fsm148829005e9.19.2025.02.09.06.25.09 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Feb 2025 06:25:09 -0800 (PST) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.400.131.1.6\)) Subject: fdt based rework Re: Raspbery Pi support (release notes/wiki page) update? Date: Sun, 9 Feb 2025 15:25:02 +0100 References: <668r286o-584q-616o-5nq3-0233r3259qsr@yvfgf.mnoonqbm.arg> To: "Bjoern A. Zeeb" , freebsd-arm@freebsd.org In-Reply-To: <668r286o-584q-616o-5nq3-0233r3259qsr@yvfgf.mnoonqbm.arg> Message-Id: <0B39AEF3-27E8-4715-9FA4-6B95D8AFFB3C@googlemail.com> X-Mailer: Apple Mail (2.3826.400.131.1.6) X-Spamd-Result: default: False [-2.49 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.988]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; FREEMAIL_FROM(0.00)[googlemail.com]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[googlemail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::333:from] X-Spamd-Bar: -- X-Rspamd-Queue-Id: 4YrVNS3Jwhz3yn7 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 ---<>--- 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: 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: 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