From nobody Mon Apr 22 10:49:38 2024 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 4VNMSy5zS0z5JqNc for ; Mon, 22 Apr 2024 10:49:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VNMSy4HhRz4NxB for ; Mon, 22 Apr 2024 10:49:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713782978; a=rsa-sha256; cv=none; b=x4EIOXnwclHxZ9C1oqq+D+gf9q3HvfYeiQkhDxyOlkaWQqxF+aqeTZMdyZPy5cVjwZaKJA qaNtTDgwmTurWokJuifyfflakO8qbIkvLedN7ml9Sy7Dvkn1WcAapZ7E3h3z362j6NrYaR hy4eEBH16+rhJSBUjR/hnvZY0V7LK1DQaBBU2m0Pur94X/TdFCePZBFjaYOWAsUiCrafG6 /eC6+UgpFD9I2lAXsc5rYzyf3szOTGnHIrTaMyo+WKSkw/IZLm4HBEn/KSo+5e9Co8R/tu wJYnLUWjJ7hOh5H+DuVIKWgt9Ll4W+5vArRygDBmjRF1j3rwtdInvpZJ0Hdx+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713782978; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/GztYv/7Dq1huAiXqwnIZxtni1vVfrUNsVCj2i9OSuw=; b=oJ34Ks4lDNY4YopjwDMoS311F8aWU5DGgij4U7sOFu2pZCrwRUyX7FhHOl99lxlsHbUOtI BoeMQmkwACszZ1G9JZM+9XyBIXKRRG4f7QWHEUTyHGVZovz2Z6Hn17qZ5F3z07gIW5smhx 69BW5w67Yy7uogeyiMHTdzD0+q6bErtrMrwp5xmlPMyNnGGJ8cW5m+wGv0gCYHQLB/81bZ 3Y2Ufj5yEWMxPNhAk4EQ5mqffmYZSIN0V94KpC7of2IeuTughIbAOTv4ycDYbA+Ku3CUJi 81xtUZ1yh3NJp9r34ndSZsCpI1PvHV9nsDZHFkuJKrTwijJxskA/a9UIUt6f6g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VNMSy3shDzlRd for ; Mon, 22 Apr 2024 10:49:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 43MAnc77036062 for ; Mon, 22 Apr 2024 10:49:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43MAncrb036061 for freebsd-arm@FreeBSD.org; Mon, 22 Apr 2024 10:49:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 277605] FreeBSD 14-Release crashes on the RPI CM4 with PCIE to PCI bridge Date: Mon, 22 Apr 2024 10:49:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hp@tmm.cx X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277605 HP van Braam changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Apr 22 10:49:54 2024 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 4VNMTG3J6Zz5JqCb for ; Mon, 22 Apr 2024 10:49:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VNMTF6kHcz4PWR for ; Mon, 22 Apr 2024 10:49:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713782993; a=rsa-sha256; cv=none; b=uhX+0tTgpPt05JwooELcqRQESrcW4JTvcSmroPh4e51iIorYXWCtOpyu9kY5Y/71TC5oQj mrabs0G7ZjB8mhNQnBBI3D66tk7oEs4K945QAo1xLiIYN/SO4Nnobj4ifj7gBKFx2VBpNE EcKrfz7zv/aIx3bzi6GG+2xE4M8Jozjvxh+dUfmP+lL7D4Ey800Yy4Na/oGSOQZZ/xR+lT WZKLKNziA1/Yji1KCmT98b2wgnygZr+xXPYOA75etMYHUkm/EKY5NnpzRXAwbozIxJMN44 5Ac2rKGdkrxo25hH4umS/QncdCZbzyVg/BEkNKntunzYaC2GniUjLMU6Us1FeA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713782993; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KHLtZW86RNnlRtjMVDNXaYV8+Vmbni7bcb2jPdIAXFw=; b=C9IfkKzFFT6fAqWKbyGZgsBNslFiJoCUPkBlaKI/PI4aJ8Gnq0k6wO+vGKHxNFbqjsqYcw BMNw3YUG6Qrey8/+dyvYxlP0SV2vCwGObAGcj/L6Syvm3TtiSfzPth32reg5hKQ/VqYa8z l43xGcYWY17od+MPXKHFjC83c/YR5ttTgL6vwRxcuVCnp89Xjlm8L6O+P133Lt655ddoId adsLhNOIb5z4MHjxFnQsuMB8b1RrqbVBs3UTAuWbI+3lavEVKkhNEqaRw0pAiF++UwXX+i LZTHwDSqmlw6X9mDudOK4Dc4eQ0PITrUl1lk12bFXHnJ2cimCo0xxKkFeL8u/w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VNMTF6LsszlT3 for ; Mon, 22 Apr 2024 10:49:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 43MAnr4q036886 for ; Mon, 22 Apr 2024 10:49:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43MAnrV5036884 for freebsd-arm@FreeBSD.org; Mon, 22 Apr 2024 10:49:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 277638] Crash when running devinfo on RPI CM4 Date: Mon, 22 Apr 2024 10:49:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: hp@tmm.cx X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277638 HP van Braam changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Apr 22 20:29:01 2024 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 4VNcKt4FT0z5HqbL for ; Mon, 22 Apr 2024 20:29:22 +0000 (UTC) (envelope-from lexi@le-fay.org) Received: from fuchsia.eden.le-Fay.ORG (fuchsia.eden.le-fay.org [IPv6:2001:8b0:aab5:107::11]) by mx1.freebsd.org (Postfix) with ESMTP id 4VNcKs0N7fz4x8v for ; Mon, 22 Apr 2024 20:29:20 +0000 (UTC) (envelope-from lexi@le-fay.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=le-fay.org header.s=fuchsia header.b=hse5DNUW; dmarc=none; spf=pass (mx1.freebsd.org: domain of lexi@le-fay.org designates 2001:8b0:aab5:107::11 as permitted sender) smtp.mailfrom=lexi@le-fay.org Received: from iris.eden.le-Fay.ORG (iris.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::6]) by fuchsia.eden.le-Fay.ORG (Postfix) with ESMTP id 425F595E4 for ; Mon, 22 Apr 2024 20:29:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=le-fay.org; s=fuchsia; t=1713817753; bh=ts66EI5lggIc7S+IQoa/d5lWifIIzaoJuRkOjklpO4M=; h=Date:From:To:Subject; b=hse5DNUWgGX8zKTQzDxcftInXzduQDPesLYRNdAawUG2I0/UfdjXiJfs/lq472yYp Rpvoj7V/kWSoVqxpKZrFMFQuCUoahz3DdFZI7tQFSjq8bb/mBTvyMEw+WQh5z5WK31 kG3eTotLeDoUoHCukIDdvApL+u/MMDIdTdC0sdPY= Received: from ilythia.eden.le-fay.org (ilythia.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by iris.eden.le-Fay.ORG (Postfix) with ESMTPSA id E92BB2C0421 for ; Mon, 22 Apr 2024 21:29:12 +0100 (BST) Date: Mon, 22 Apr 2024 21:29:01 +0100 From: Lexi Winter To: freebsd-arm@freebsd.org Subject: building armv6 bootable media Message-ID: 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 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Ieg4rqrujOPn1Hf7" Content-Disposition: inline X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.50 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[le-fay.org:s=fuchsia]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:8b0:aab5:107::11]; RCVD_NO_TLS_LAST(0.10)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:20712, ipnet:2001:8b0::/32, country:GB]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[le-fay.org:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[le-fay.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; DKIM_TRACE(0.00)[le-fay.org:+] X-Rspamd-Queue-Id: 4VNcKs0N7fz4x8v --Ieg4rqrujOPn1Hf7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hello, after running 'make -C release NO_ROOT=yes release' for arm.armv6 i have the following files: % ls /src/obj/src/freebsd/src/minimal-deadlkres/arm.armv6/release/dist METALOG base.debug.meta kernel/ kernel.premeta tests.meta base/ base.meta kernel.meta tests/ usr/ none of these appear to be bootable media, unlike arm64.aarch64, riscv.riscv64, or amd64.amd64 which build memstick.img and disc1.iso: % ls /src/obj/src/freebsd/src/minimal-deadlkres/arm64.aarch64/release MANIFEST bootonly-memstick/ disc1-disc1/ disc1.meta kernel.txz.meta mini-memstick.img.meta src.txz.meta base-dbg.txz bootonly-memstick.meta disc1-disc1.meta dist/ lib32-dbg.txz packagesystem tests.txz base.txz bootonly.iso disc1-memstick/ ftp/ lib32.txz packagesystem.meta bootonly/ bootonly.iso.meta disc1-memstick.meta ftp.meta memstick.img release bootonly-bootonly/ bootonly.meta disc1.iso kernel-dbg.txz memstick.img.meta release-done.meta bootonly-bootonly.meta disc1/ disc1.iso.meta kernel.txz mini-memstick.img src.txz do i need to do something special to build bootable media for armv6? this is with main 793745fad866. --Ieg4rqrujOPn1Hf7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmYmyIsACgkQDHqbqZ41 x5lbtwv/cGFSE/B1uwnt8M2KI7CvCqUCbBGqW3tBnmDBKRNsqu6bg9jeeUw0S+3a k1dGjomsAHvUa7t5isB/Mr4uD6hEtX1IGFaIqCecvW71G4NT6XTsGUn9Rr8TP8Jx b6/bZ0KIt7p3aX2b140xMiKycfpgl1Szs+4OsHbD/aLsX0oh1FTuOoSoB+vXhLSL 2rlYjEzkyuz3deWv9VkNWG6cuPoKYI3/Xi0QRLYc/Qu8aLDbY8DjP9BJQXuU3isB JDkl5dwI+a6Ea2bBfI7Zofu0bXZ2BXQDkH2/rBGfEPXYNs/9A33iDZrdW2+86ERg Ji+Grr4vuvlcgLk6G/44yIlgprvFe3KmQByEgnURbhBcUDxlIYIhg9mkgM1SOx88 8h32HHccS3kGji8Cy1Iv40iahhshNPsNovOkTUMrGn9cPYNQWgV1UrnBQmEi3YaV Z8c8lqM8TywbNs38h738waHAbcsy4Q4UWXmBECgIAXFVuUoNWIf2je2A+lBw8Exe DoQSXZFj =FIaz -----END PGP SIGNATURE----- --Ieg4rqrujOPn1Hf7-- From nobody Mon Apr 22 20:48:56 2024 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 4VNcmk4Drsz5HsSm for ; Mon, 22 Apr 2024 20:49:10 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VNcmk2DRzz51Xw for ; Mon, 22 Apr 2024 20:49:10 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-34a4772d5easo3902826f8f.0 for ; Mon, 22 Apr 2024 13:49:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1713818948; x=1714423748; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=sMSxwDpfFCVBa6duSdXhR//I3ky2wRcAsKDFou2jYzo=; b=sdYgmeXIKCrQN5M4iv1rENk1653d4scyxUM0AB2ccEeaUo0rk7uL6EmXzGSkFQ4EAq 0UEyg2nzsFPoEWWtNSmyJt9qKsNnTG9lwoJC+AIVDDUtNdXku2E6TzDeI829DS3Fbe4A YFUsax33d2zX7VYR0xssH8L02T6d9rAQXLPZKBxsWlfMtF/nAP9aJtYb1nuiiEwDxk2D zXHc6tL4JT7GGYKlhEWhSwJsrVL6ZGwb5c0GLKiK4rel993z2ndauR9y3ccBLazjPF22 pU8prx2HzTdXWe3dK6FKNuqzHv+PFL8CvvroqpdsdjnDTCk6UkdXTEI4V8u7sDjWZnqo lXiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713818948; x=1714423748; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=sMSxwDpfFCVBa6duSdXhR//I3ky2wRcAsKDFou2jYzo=; b=fQi7ZCqXCjjaumxAip3l+jN7mH2HJVXUUnKnr1uVU5IE2pnRZ4g1L91/8z/5wzqR95 MhWHBhnP/JY3/jKJr/Y78zoIS13HwntubMVeN3CB00IDJYYQwANsO8oNvqvZeUrChnKe Z3QMtcT3PTaWsdY+X12fkvhfIhmy3PA+Mp3lNGT+FocWwxFa3RKZ7fViLG/YjZSXx/Z2 QxjK1eUv1RT/8zeHWdTKId+WQq18kMR6Lp3TE67GygSs4xLr9Ryv/UlqF1kUjThaIJar 7i36JVeseCpB7aMwVprTKS6kBs8LO/mB00dOmMcZs5zQvOdui+a9mdOABK4QTy43T/5K VlcQ== X-Gm-Message-State: AOJu0YzlIaJLkgdBLYQVl0OjIt+VtJEXQULPJWbA1y+1XUFyC7ytrKbp C+VR9L1XsJwP6ncjPmZHO3PtEKjVuvRNHrVUCrZlW6LlFEIALmx1yY6Q0IxXgZw59Ej3ek2aap7 ChxXrDi8GftT8T3jt7SBkdAahW+1MfE6vjueNGKA6/snvUCEmcaE= X-Google-Smtp-Source: AGHT+IGfzWxH/g67Rd5x4FuMu14vdMc2V5gaj18lDQ3Nhgo7dxOVxOEAmVxiovWoB7oaGZYVjEON3mKizGh3UCPEIKE= X-Received: by 2002:a5d:6243:0:b0:347:b501:477b with SMTP id m3-20020a5d6243000000b00347b501477bmr5204602wrv.33.1713818948472; Mon, 22 Apr 2024 13:49:08 -0700 (PDT) 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 References: In-Reply-To: From: Warner Losh Date: Mon, 22 Apr 2024 14:48:56 -0600 Message-ID: Subject: Re: building armv6 bootable media To: Lexi Winter Cc: freebsd-arm@freebsd.org Content-Type: multipart/alternative; boundary="000000000000a245520616b5919b" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4VNcmk2DRzz51Xw --000000000000a245520616b5919b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Apr 22, 2024 at 2:30=E2=80=AFPM Lexi Winter wrote= : > hello, > > after running 'make -C release NO_ROOT=3Dyes release' for arm.armv6 i hav= e > the following files: > > % ls /src/obj/src/freebsd/src/minimal-deadlkres/arm.armv6/release/dist > METALOG base.debug.meta kernel/ > kernel.premeta tests.meta > base/ base.meta kernel.meta > tests/ usr/ > > none of these appear to be bootable media, unlike arm64.aarch64, > riscv.riscv64, or amd64.amd64 which build memstick.img and disc1.iso: > > % ls /src/obj/src/freebsd/src/minimal-deadlkres/arm64.aarch64/release > MANIFEST bootonly-memstick/ disc1-disc1/ > disc1.meta kernel.txz.meta mini-memstick.img.meta > src.txz.meta > base-dbg.txz bootonly-memstick.meta disc1-disc1.meta > dist/ lib32-dbg.txz packagesystem > tests.txz > base.txz bootonly.iso disc1-memstick/ > ftp/ lib32.txz packagesystem.meta > bootonly/ bootonly.iso.meta disc1-memstick.meta > ftp.meta memstick.img release > bootonly-bootonly/ bootonly.meta disc1.iso > kernel-dbg.txz memstick.img.meta release-done.meta > bootonly-bootonly.meta disc1/ disc1.iso.meta > kernel.txz mini-memstick.img src.txz > > do i need to do something special to build bootable media for armv6? > > this is with main 793745fad866. > IIRC, arm stuff was built by thermite and not the release script. Warner --000000000000a245520616b5919b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: base64 PGRpdiBkaXI9Imx0ciI+PGRpdiBkaXI9Imx0ciI+PGJyPjwvZGl2Pjxicj48ZGl2IGNsYXNzPSJn bWFpbF9xdW90ZSI+PGRpdiBkaXI9Imx0ciIgY2xhc3M9ImdtYWlsX2F0dHIiPk9uIE1vbiwgQXBy IDIyLCAyMDI0IGF0IDI6MzDigK9QTSBMZXhpIFdpbnRlciAmbHQ7PGEgaHJlZj0ibWFpbHRvOmxl eGlAbGUtZmF5Lm9yZyI+bGV4aUBsZS1mYXkub3JnPC9hPiZndDsgd3JvdGU6PGJyPjwvZGl2Pjxi bG9ja3F1b3RlIGNsYXNzPSJnbWFpbF9xdW90ZSIgc3R5bGU9Im1hcmdpbjowcHggMHB4IDBweCAw LjhleDtib3JkZXItbGVmdDoxcHggc29saWQgcmdiKDIwNCwyMDQsMjA0KTtwYWRkaW5nLWxlZnQ6 MWV4Ij5oZWxsbyw8YnI+DQo8YnI+DQphZnRlciBydW5uaW5nICYjMzk7bWFrZSAtQyByZWxlYXNl IE5PX1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hwqAgZGlz YzEvwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgwqAgZGlzYzEuaXNvLm1ldGHCoCDCoCDCoCDCoCDC oCBrZXJuZWwudHh6wqAgwqAgwqAgwqAgwqAgwqAgwqAgbWluaS1tZW1zdGljay5pbWfCoCDCoCDC oCDCoHNyYy50eHo8YnI+DQo8YnI+DQpkbyBpIG5lZWQgdG8gZG8gc29tZXRoaW5nIHNwZWNpYWwg dG8gYnVpbGQgYm9vdGFibGUgbWVkaWEgZm9yIGFybXY2Pzxicj4NCjxicj4NCnRoaXMgaXMgd2l0 aCBtYWluIDc5Mzc0NWZhZDg2Ni48YnI+PC9ibG9ja3F1b3RlPjxkaXY+PGJyPjwvZGl2PjxkaXY+ SUlSQywgYXJtIHN0dWZmIHdhcyBidWlsdCBieSB0aGVybWl0ZSBhbmQgbm90IHRoZSByZWxlYXNl IHNjcmlwdC48L2Rpdj48ZGl2Pjxicj48L2Rpdj48ZGl2Pldhcm5lcsKgPC9kaXY+PC9kaXY+PC9k aXY+DQo= --000000000000a245520616b5919b-- From nobody Mon Apr 22 20:52:52 2024 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 4VNcsH23ylz5HtYq for ; Mon, 22 Apr 2024 20:53:07 +0000 (UTC) (envelope-from lexi@le-fay.org) Received: from fuchsia.eden.le-Fay.ORG (fuchsia.eden.le-fay.org [81.187.47.195]) by mx1.freebsd.org (Postfix) with ESMTP id 4VNcsG5HJYz52XD for ; Mon, 22 Apr 2024 20:53:06 +0000 (UTC) (envelope-from lexi@le-fay.org) Authentication-Results: mx1.freebsd.org; none Received: from iris.eden.le-Fay.ORG (iris.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::6]) by fuchsia.eden.le-Fay.ORG (Postfix) with ESMTP id A0A679684; Mon, 22 Apr 2024 20:53:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=le-fay.org; s=fuchsia; t=1713819183; bh=41W2owl6XnJOIf+OAwP0sZUCJl65uDDjPWcuD6h8DgM=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=I66W/vl9KMrFDa3aEQxviLC92A6OLmgP8JJzItxOmGUz/gS/mdi55B1APmhUljyDM P7PYeKplbAmvueN/Mvr+QbRkJk3APMPVcyXNEjRHNc35u7yDILdLoBhCRxm3OHyYnb OJX1jFO1Sp3taDNzGcg0nBDSpOZIUgsuOZpA5i5c= Received: from ilythia.eden.le-fay.org (ilythia.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by iris.eden.le-Fay.ORG (Postfix) with ESMTPSA id 8BB182C0421; Mon, 22 Apr 2024 21:53:03 +0100 (BST) Date: Mon, 22 Apr 2024 21:52:52 +0100 From: Lexi Winter To: Warner Losh Cc: freebsd-arm@freebsd.org Subject: Re: building armv6 bootable media Message-ID: References: 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 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="CW8FJq8QnT9Z5YlL" Content-Disposition: inline In-Reply-To: X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:20712, ipnet:81.187.0.0/16, country:GB] X-Rspamd-Queue-Id: 4VNcsG5HJYz52XD --CW8FJq8QnT9Z5YlL Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Warner Losh: > On Mon, Apr 22, 2024 at 2:30=E2=80=AFPM Lexi Winter wro= te: > > after running 'make -C release NO_ROOT=3Dyes release' for arm.armv6 i h= ave > > the following files: [...] > > none of these appear to be bootable media =20 > IIRC, arm stuff was built by thermite and not the release script. thanks, i guess that explains why i don't get a bootable media. i'm trying to boot an armv6 GENERIC kernel under qemu to test my PR: https://github.com/freebsd/freebsd-src/pull/1124 could you recommend the best way to do this? duckduckgoing "freebsd thermite" doesn't return any results that look relevant. --CW8FJq8QnT9Z5YlL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmYmziEACgkQDHqbqZ41 x5kBeQv7BsPZ0dN1QbgIS8Y7a/9hXEgRGqeOk3blUKPfahqITP6HihgQkUgL2GVl yoPlINvW5+es3O6tFnSa1CbOpdb5iGtq/lA/69+wOHpwzmTVVwGhm4aWyhIhToB+ HXxSTSJNnpuCdbMEkBnXtP4HRy5Rjly0xrGBRinOgn8kV5ClK1Sq0XPGtunbTEN/ u7NPCksigibIsD3fWbXVZE6fO6NaN6q4Rq974iIHtw0AXzg5pCVowMZpVanoY946 +CDDMqcso0DW9EMTporK29DH/5VDVruYrc8cvEhgCfVyIvZcZTEqJViha5Q6o5CL +7IeqOkCCA8RjtWzEbvHQ2werCdUh9lTZ4cY3NLeK+kAUq0PHueHoFIaik7s7auX yVUmmNppbi5IvHo+tx1mJwV4xLNl9oggMrmj1IF91qAQLbKx9/l1ANZBbnplx1Y8 1OULYALPAucCgB/I1xQiewDjmj/DHx21GoB11qXYyH3fgUBvC9OV9voxPjLT3UdR mh71gDIH =LqH3 -----END PGP SIGNATURE----- --CW8FJq8QnT9Z5YlL-- From nobody Mon Apr 22 21:06:29 2024 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 4VNd8z0VcZz5HvJY for ; Mon, 22 Apr 2024 21:06:43 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VNd8y5tCzz53hs for ; Mon, 22 Apr 2024 21:06:42 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-51ab4ee9df8so4720267e87.1 for ; Mon, 22 Apr 2024 14:06:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1713820000; x=1714424800; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=91rzam2fKyRVwf3MHTxtcoqC0oZAV5X0PQAsYOMJdCg=; b=Acn9RAtBGqBOJgDvGxYo8FMfdxObW41ALl1BLIueOpausvkdQVdKQ1V5/rZLreTCuh a6jqyebypOCt+CnHkjouhtKp8RG7b5j/naYTlqb9ERENoQNYoagQ97xCUyfXza5KHzwz NoCxH1mpcIKMUL4Re51ska6hh9WRP6ZtzVg2qLWMDZ5AYJYExxBz9g9ppbVov8Va8Dqm NTpks4XkMuj27Y92BP30UMzuilHT4QQofWWFfoEng1XoDkjm2I6pFmc7PceiQA0/eKND XhpVhpD5Io+D6TvBXVsJrWVsA8JLBi6kbtvxx64TVgZo+iIgOHapkSW/ZS9Im+0QUm4y HukA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713820000; x=1714424800; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=91rzam2fKyRVwf3MHTxtcoqC0oZAV5X0PQAsYOMJdCg=; b=hmHt/AIa5NwmEkCK4HXoNIMMi/rjW3JM/AXo95oR6qSbmIlOvJ3laP3yiSPub2WlNO eeZXU875Bhz1hD2SZ/qMs7EN8QN7eV4084vJOOhoqxBxaPJpBTMO3gG16Z1H0qIvgx7N U/OE4P2ffM60rbU00Zg1oIYj0dQTGS7RjM2iEXo0V90cYgD/zYVrlVxxs9JeAhKbihi/ cNgXF9G3LND6NIw6JeiPc6XsUi05JyCI4fTFya/ys/J+hvnyKGmRnLv9WjPlChBf/76W 6vz21sG6EnZDBKljOOiFrNH1mIjYOcDgBMXPFXqTy6/jF+yCxp6jty3QVK0ZTe0NjxAH 5LMw== X-Gm-Message-State: AOJu0YyWtZ+RWmpLNrnCN+HBGFlbRa08AVLTBzN6Sjl4EIW8PGp+lNJ2 FVCBQO3ONf0aFhx0kM/erLmRJEEjHkfiRDXSQ2C7wWO52wnoDSeD1dx729D6I32IDu+xfq+PKvE lPiAxB/IrPF+sEwTH2cyjHxgoeC0N5ledrmu+eIyVNWMz0xRnIaE= X-Google-Smtp-Source: AGHT+IFDibXz9p1E1k0LM8eBth9+L+DwegT5imQjtGn2ZI9V6OtjN6mhY0bkvPMPqGJol1eaTtrjXDLuQeo9XtYh6Y4= X-Received: by 2002:a05:6512:31c9:b0:516:cc31:dbf0 with SMTP id j9-20020a05651231c900b00516cc31dbf0mr10901583lfe.17.1713820000180; Mon, 22 Apr 2024 14:06:40 -0700 (PDT) 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 References: In-Reply-To: From: Warner Losh Date: Mon, 22 Apr 2024 15:06:29 -0600 Message-ID: Subject: Re: building armv6 bootable media To: Lexi Winter Cc: freebsd-arm@freebsd.org Content-Type: multipart/alternative; boundary="00000000000051ff8e0616b5d011" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4VNd8y5tCzz53hs --00000000000051ff8e0616b5d011 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hmmm, if this is -current, then armv6 has started to be unwound... thermite.sh was in the releng repo... I can't find it now... and kyle on irc said my memory might be faulty and thermite was just a wrapper around release. Warner On Mon, Apr 22, 2024 at 2:53=E2=80=AFPM Lexi Winter wrote= : > Warner Losh: > > On Mon, Apr 22, 2024 at 2:30=E2=80=AFPM Lexi Winter w= rote: > > > after running 'make -C release NO_ROOT=3Dyes release' for arm.armv6 i > have > > > the following files: > [...] > > > none of these appear to be bootable media > > > IIRC, arm stuff was built by thermite and not the release script. > > thanks, i guess that explains why i don't get a bootable media. > > i'm trying to boot an armv6 GENERIC kernel under qemu to test my PR: > https://github.com/freebsd/freebsd-src/pull/1124 > > could you recommend the best way to do this? duckduckgoing "freebsd > thermite" doesn't return any results that look relevant. > --00000000000051ff8e0616b5d011 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hmmm, if this is -current, then armv6 has started to be un= wound...

thermite.sh was in the releng repo... I can'= ;t find it now... and kyle on irc said my memory might be faulty and thermi= te was just a wrapper around release.

Warner
=

= On Mon, Apr 22, 2024 at 2:53=E2=80=AFPM Lexi Winter <lexi@le-fay.org> wrote:
Warner Losh:
> On Mon, Apr 22, 2024 at 2:30=E2=80=AFPM Lexi Winter <lexi@le-fay.org> wrote:
> > after running 'make -C release NO_ROOT=3Dyes release' for= arm.armv6 i have
> > the following files:
[...]
> > none of these appear to be bootable media

> IIRC, arm stuff was built by thermite and not the release script.

thanks, i guess that explains why i don't get a bootable media.

i'm trying to boot an armv6 GENERIC kernel under qemu to test my PR: https://github.com/freebsd/freebsd-src/pull/1124=

could you recommend the best way to do this?=C2=A0 duckduckgoing "free= bsd
thermite" doesn't return any results that look relevant.
--00000000000051ff8e0616b5d011-- From nobody Mon Apr 22 22:10:09 2024 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 4VNfZM2NH3z5HmKR for ; Mon, 22 Apr 2024 22:10:19 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail2.karels.net (mail2.karels.net [3.19.118.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "freebsd", Issuer "freebsd" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VNfZM0YPGz59R2 for ; Mon, 22 Apr 2024 22:10:19 +0000 (UTC) (envelope-from mike@karels.net) Authentication-Results: mx1.freebsd.org; none Received: from mail2.karels.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail2.karels.net (8.18.1/8.18.1) with ESMTP id 43MMAA9b059274; Mon, 22 Apr 2024 17:10:10 -0500 (CDT) (envelope-from mike@karels.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=karels.net; s=mail2; t=1713823811; bh=wk3SDue5i/PIGkBqtpru2dtvGccwdRCUoJKou3snsrQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=pfR3NqPMlCIYvQuHFMViaBoFJmZhTRUkkB0HKyo/2o2t+YGTTNo2wVOSX5s5+aH0D Aj5ehH45va6ZQQLBrJuo4OI7sAO/GPfN1diEnOcON0v7utLAOss1sxuizYyyvVs8jN jghR4WuJC0Bz67ExP6ilgAE6K9Xq97RBg4E3vDtetTwSdxfbomU90rmsIb1/jOfMOk pLnc/eiIdXR7As6DA0mifpTvuctXJQrf73jF4t2eDc+izzE0YJydUruIdFmQH27E7m UlMgAWz4DxE9Vvl+PqlfzxrcKoJiaZXvSv9pB7myfyNKtvicKHxYHEO7YF+gl3m8ba 5uEw3cCFr28Jg== Received: from [10.0.2.130] ([73.62.165.147]) by mail2.karels.net with ESMTPSA id 7ArjIELgJmaI5wAAs/W3XQ (envelope-from ); Mon, 22 Apr 2024 17:10:10 -0500 From: Mike Karels To: Warner Losh Cc: Lexi Winter , freebsd-arm@freebsd.org Subject: Re: building armv6 bootable media Date: Mon, 22 Apr 2024 17:10:09 -0500 X-Mailer: MailMate (1.14r6028) Message-ID: <567137D6-0BCC-4993-9C09-D5602C47EB8C@karels.net> In-Reply-To: References: 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.16.0.0/14, country:US] X-Rspamd-Queue-Id: 4VNfZM0YPGz59R2 On 22 Apr 2024, at 16:06, Warner Losh wrote: > Hmmm, if this is -current, then armv6 has started to be unwound... > > thermite.sh was in the releng repo... I can't find it now... and kyle on > irc said my memory might be faulty and thermite was just a wrapper around > release. > > Warner I don't think you want thermite.sh; it is used to build all of the architectures in parallel for snapshots and releases. But -current doesn't have a conf file for armv6. Older releases (including 13.3) or stable/13 have a config file for RPI-B that probably could serve as a template. Mike > On Mon, Apr 22, 2024 at 2:53 PM Lexi Winter wrote: > >> Warner Losh: >>> On Mon, Apr 22, 2024 at 2:30 PM Lexi Winter wrote: >>>> after running 'make -C release NO_ROOT=yes release' for arm.armv6 i >> have >>>> the following files: >> [...] >>>> none of these appear to be bootable media >> >>> IIRC, arm stuff was built by thermite and not the release script. >> >> thanks, i guess that explains why i don't get a bootable media. >> >> i'm trying to boot an armv6 GENERIC kernel under qemu to test my PR: >> https://github.com/freebsd/freebsd-src/pull/1124 >> >> could you recommend the best way to do this? duckduckgoing "freebsd >> thermite" doesn't return any results that look relevant. >> From nobody Mon Apr 22 22:15:35 2024 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 4VNfhZ06fQz5Hmmb for ; Mon, 22 Apr 2024 22:15:42 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-22.consmr.mail.gq1.yahoo.com (sonic310-22.consmr.mail.gq1.yahoo.com [98.137.69.148]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VNfhY40pVz3xjq for ; Mon, 22 Apr 2024 22:15:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1713824138; bh=S+QhVKav+Tv2TvTZLeCIY9FCx5jSkSUU6bTydNsnBEc=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=olQdV9OtsVEeA3/8ZSeBJeuFVTgZtFzkhhmx8AP5TU/NiAnAdfVnbiE4cUJVVf6mr4hyxWbeAzAEBQmLD93XOvrEVt6n6jrGlwTxLCTKUeXhTa1+H98qDRcIb3r9FG+Efm2XiIFb9KCHUYJeo3VRIJ9IbRYzGHngj71GtsaeR4T+xOqgYy9Exf+rglz1g1hoPtWBZvSO+50YoColZf+u95SMpsn08Gx5NyQeySJNd0ocqyOBa5t4XbAVSYOGdWBP/ne1cJxPUm3yV3IwPI+6F6p6bBGUMDgaF60RBB6JTEEC2503zRosFhDEXbP5yZeWS0WGqYsNOZRWR2pHB48p3Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1713824138; bh=xYgV9H28MNmBVR247hCLHHKvuxjoDY6do8V+fFEGCWH=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=q0WQMZh1kQbVkeLRxL3eYQbGGhwFBOmjv1vVA13Kn9yBjuv5lvT4/SQoC1iFXB/hQABmgu+g132Err+LgNVdhsC+/Yj1xdnwQ8uwQfeXXzsZpvuV4EaRjkHjwzeVThwm+Nb6RZBh9rsOOucAKA3sBeQjxhEM3X3MJgHKug3QLGXY5Tuaeln+Q36gDDButem2Scs3jQvgMsLk+kwKKIWgWK3iskFnoVS2wAwFJci+NMenuGG56/5/7bhIlXo8dhaEaTurS1Aj6zhbRUxssdo5eZvQHPymO+gEL1GRe9iX7ZgeOJrrm0T87gwIgYGGHBxN6aDnksghjMia0GqcL0110g== X-YMail-OSG: 9MaA2VwVM1nJK3LI3YKvLXK1394xBmNJlSKPRmnriKrlhF4m75fusvsh8W38uVr 53Xr3KGGOcCCYUZ_QvJc5tZU4NKYPB_AhOOxfYZ2YOt8TTWghLfevzOG.wzVr.6i4SxXiTnUcouY 36GZ8TxpH6QNQkxCx4RKPI2lN0OWmyEQ1A7MU5vB_fWb7OhPSzM2eV1msSsU2EYr2YSSAKTYo0uM rIZzVEHlzCwouSE9x.DSNwbgOegNhhlpUVISvLQL.TKCSs..WyduxmaTtK5fhanQ2HDHRLJtQbjs 3eYEb7HvdE.HSscWiJpJ8mPTsmMoVCbyxuyaYnYfe9AWUslP2fqGKhe16C8DLqUOGqOERCaWlrZC 1UNIeXJ7VBQf1823cOBnMIDIA6siRsw2JbuIskeMF_NpEThJStlZCokXcGy09lQhpK.yMoZf_WGF zrZ15dNPuGy5I9yYRFIx6623uwmTV40vbV.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PC3RJLqI2H_mjbexPdXiULZLjRDNYViuE0 VV03HsZvS_tx25lTDeG_hEGLnxdagctPT4p7shXnwqsnVJsSia57VBle9ULeYMCw39rIasCV6.IF lyYjSAsNQA02M6gI0VsRDtBvzCZ7NtL2w8MgN6521X0dBrBHSInIZ2z9v4LuiWJDckOK_SQd3Rd5 9jp9YpCjHhOhARTHJlPzNWhH45qLAISfTifGpUlgpfrIlLR9q3qwEg0d77gXht.v.6JCXTv3JOWm sFNyovGHk7b63zJH3wBVxOFFiUErOy4a9XBtsraSAUliPOnKR8jvxAbSWft9ndC9Db3DKfz7OdSS QQ.9QF9iJvi0uCKpLbrWTjfmQdZB1x0N586vuvhy55VpAtUP0P_bPl1D.WQbZv2tnfzeHRfWV.2f adp31hf33ESUz27zt1ledA2h1uH.VFs_0zey73Ggnk7giF0m0potRoTtNIP5R6B1LU2YduPzGjNs MR6nDAebe2hB3YquTkJWUKa1.Gp5.XuxrRShxjqZk3VxVe5MYLv4kJjTInCIYJM01ZqK72.Hn3TI lS.jRK3rJ7jig62jEqB9b.jYszChwU64IjfwdsdzHtqulKm4bS9kranmX.Pxs8ZwCX50X4kMNZPY PrdqA3DgBMmMCyLFAEgv9t.G_mFwBQTx9v.dcxJsaxmDIOm1ujXbaqWCvVqLhroNiNpCL9bO0W9W 89BowJlJN7wmWsADJ_uDys1KvV52BA3t5XphZ6jyWM.nFANuTFMeH2abLU3APa9kQ9EcD5Z87vBM - X-Sonic-MF: X-Sonic-ID: 3a83b01d-df84-4548-92ef-ba0a979e2a68 Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Mon, 22 Apr 2024 22:15:38 +0000 Received: by hermes--production-gq1-59c575df44-n6ttj (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID ef0d1b1f037e6904f7d5e5c6a4fa5ba4; Mon, 22 Apr 2024 22:15:37 +0000 (UTC) Content-Type: text/plain; charset=us-ascii 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 13.4 \(3608.120.23.2.7\)) Subject: Re: building armv6 bootable media From: Mark Millard In-Reply-To: Date: Mon, 22 Apr 2024 15:15:35 -0700 Cc: FreeBSD ARM List , Warner Losh Content-Transfer-Encoding: quoted-printable Message-Id: <5D038853-F87D-41EE-B4C7-8A66C387E529@yahoo.com> References: To: Lexi Winter X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Queue-Id: 4VNfhY40pVz3xjq On 2024-Apr-22, at 13:29, Lexi Winter wrote: > after running 'make -C release NO_ROOT=3Dyes release' for arm.armv6 i = have > the following files: >=20 > % ls /src/obj/src/freebsd/src/minimal-deadlkres/arm.armv6/release/dist > METALOG base.debug.meta kernel/ = kernel.premeta tests.meta > base/ base.meta kernel.meta = tests/ usr/ >=20 > none of these appear to be bootable media, unlike arm64.aarch64, > riscv.riscv64, or amd64.amd64 which build memstick.img and disc1.iso: >=20 > % ls /src/obj/src/freebsd/src/minimal-deadlkres/arm64.aarch64/release > MANIFEST bootonly-memstick/ disc1-disc1/ = disc1.meta kernel.txz.meta mini-memstick.img.meta = src.txz.meta > base-dbg.txz bootonly-memstick.meta disc1-disc1.meta = dist/ lib32-dbg.txz packagesystem = tests.txz > base.txz bootonly.iso disc1-memstick/ = ftp/ lib32.txz packagesystem.meta > bootonly/ bootonly.iso.meta disc1-memstick.meta = ftp.meta memstick.img release > bootonly-bootonly/ bootonly.meta disc1.iso = kernel-dbg.txz memstick.img.meta release-done.meta > bootonly-bootonly.meta disc1/ disc1.iso.meta = kernel.txz mini-memstick.img src.txz >=20 > do i need to do something special to build bootable media for armv6? >=20 > this is with main 793745fad866. >=20 Bootable media for armv6 exists for 13.* but not for 14.* or later. = Also, the media are images for microsd cards and such, never iso images = or such: only the Raspberry Pi is intended. ( armv7 is also just for = microsd card and such but has 14.* and main materials still being = produced. ) Also armv6 support depends on Raspberry Pi firmware and on = U-Boot being involved, not just on FreeBSD. ( armv7 depends on U-Boot = too --and on more for RPi*'s. ) Snapshot armv6 example: = http://ftp3.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/13.3/FreeBSD-13.3= -STABLE-arm-armv6-RPI-B-20240418-4bb54e8ec3d0-257717.img.xz Release armv6 example: = http://ftp3.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/13.3/FreeBSD-13.3-= RELEASE-arm-armv6-RPI-B.img.xz Technically, https://www.freebsd.org/platforms/ lists armv6 as having = the status: Platform Name: 32-bit ARMv6 TARGET_ARCH: armv6 13.x Support Tier: Tier 2 14.x Support Tier: Tier 3 Projected 15.x Support Tier: Unsupported Also the package builds available are all old: https://pkg.freebsd.org/FreeBSD:13:armv6/quarterly/ dates back to = 2023-Sep for its content. (14.* and later have no quarterly.) https://pkg.freebsd.org/FreeBSD:14:armv6/latest/ dates back to 2023-Jan = for its content. https://pkg.freebsd.org/FreeBSD:13:armv6/latest/ dates back to 2021-Jan = for its content. ( main [so: 15] has nothing for armv6. ) ( armv7 gets package builds still --other than a current problem with = the builders hanging up. ) =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Mon Apr 22 22:25:54 2024 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 4VNfwg1lvKz5Hnmg for ; Mon, 22 Apr 2024 22:26:11 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-55.consmr.mail.gq1.yahoo.com (sonic316-55.consmr.mail.gq1.yahoo.com [98.137.69.31]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VNfwf6SHHz40Rq for ; Mon, 22 Apr 2024 22:26:10 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1713824768; bh=6sQqH57/aKSf+/8P8oC5o8EGCYDyq5I5ASe8GFrDb6o=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=E9TlvS5n6Cto63v1I2G9LBMSNEQnMulC87liF7EyM2skZ9T+NFeRtLhNMcvIeNlkmXqkG2236/9utswSpCErXS2/sGPEfX0D+4LPywtV3gZmkAw5kCrMR0apfh3K7ILbFHQLk1vleulUKuT1Z89bePejdWOrU2z7TENqxPJJ42iEYEOrKCXdQjInz5qjmjVfi5Ue5IKvdfA+bMULGi4I1HDYzcL3O95YqncKc2KMYl92J5/pHG72ijZsCa2PBc3zJuLBMHHRY5ZeMraZyTlkzVNvynpCmSg2aJ3HunYgJeCe5Iic0QvQ1UcRJ+RY4bSJv6qEaky9Vk0hTz17EaV09Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1713824768; bh=/suWTm7cmm3EcCZe7pOqmMl7XmrHpGZdRZTJ2pkzaKM=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=btlgD1qjt8O7XZlp3nN4ZV3n08xPcWWJ8kSUyNdIMfK3Kjjz75N7HmKk5QkhRH3vJzdk4ObhRK5fXk1AjaOjq0GiFWn28EkvhSd0PK1DpozZY84YCYSYRWwCelhgpNiaOdFXx2nBJD6H1k360AZqE/VzAKYO4KmhRVSWPPJHmhemm+BmvVgI+PIqPzESuY5p3GBOI03bY2EmAUtJ3VSxmCLwYiEjc3zNEgOCPozxJvhx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cltd 2MgoXJXiwJcfqM0AwQyBWfnv5o8nPm52zy_ExZF3XzOGWSOqDYRJmn6zXO3Le3xK.IZHB.Ebf7OO jdW.c.yh.LyE7MCtlY.5G1bZNbaR3_pJi.Nq70_vmtjNeS2Clip2q3h8OvliUs.u8TLEWZh.c.D1 NMEdOIPYhYoD54TPJyGB4S.gP2c3l7ir8DoejRvbEbUE57fKNg8ny6U.0xxfD6947TuPwhu6isxN QbOS5WcUVvXeO9VenpnHmmF1OEADT2MXoDMJsR50eQeynwk.kvwNyXMXY8D5aBJMJBv0Sr5t6oRo Gng-- X-Sonic-MF: X-Sonic-ID: 66b47f5f-9736-47f3-b06d-e7434a4415c6 Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Mon, 22 Apr 2024 22:26:08 +0000 Received: by hermes--production-gq1-59c575df44-9fhd5 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID ac3cb970cd8fc9e0191884e17acb29b8; Mon, 22 Apr 2024 22:26:05 +0000 (UTC) Content-Type: text/plain; charset=utf-8 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 \(3774.500.171.1.1\)) Subject: Re: building armv6 bootable media From: Mark Millard In-Reply-To: <567137D6-0BCC-4993-9C09-D5602C47EB8C@karels.net> Date: Mon, 22 Apr 2024 15:25:54 -0700 Cc: Warner Losh , Lexi Winter , freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <567137D6-0BCC-4993-9C09-D5602C47EB8C@karels.net> To: Mike Karels X-Mailer: Apple Mail (2.3774.500.171.1.1) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Queue-Id: 4VNfwf6SHHz40Rq On Apr 22, 2024, at 15:10, Mike Karels wrote: > On 22 Apr 2024, at 16:06, Warner Losh wrote: >=20 >> Hmmm, if this is -current, then armv6 has started to be unwound... >>=20 >> thermite.sh was in the releng repo... I can't find it now... and kyle = on >> irc said my memory might be faulty and thermite was just a wrapper = around >> release. >>=20 >> Warner >=20 > I don't think you want thermite.sh; it is used to build all of the > architectures in parallel for snapshots and releases. But -current > doesn't have a conf file for armv6. Older releases (including 13.3) > or stable/13 have a config file for RPI-B that probably could serve > as a template. So far as I know, the FreeBSD kernel was only designed to handle the RPI-B for armv6. That in turn involves the RPI-B's firmware and U-Boot being involved before FreeBSD, not just FreeBSD. The RPI-B firmware might make live changes to the .dtb file contents that it loads. The RPI-B firmware is not arm code but some Broadcom code, as I understand. (Until more recent times, arm cores in RPi*'s were slave processors to the Broadcom video core hardware.) The more I think about this path, the more it looks unlikely to be readily used. > Mike >=20 >> On Mon, Apr 22, 2024 at 2:53=E2=80=AFPM Lexi Winter = wrote: >>=20 >>> Warner Losh: >>>> On Mon, Apr 22, 2024 at 2:30=E2=80=AFPM Lexi Winter = wrote: >>>>> after running 'make -C release NO_ROOT=3Dyes release' for = arm.armv6 i >>> have >>>>> the following files: >>> [...] >>>>> none of these appear to be bootable media >>>=20 >>>> IIRC, arm stuff was built by thermite and not the release script. >>>=20 >>> thanks, i guess that explains why i don't get a bootable media. >>>=20 >>> i'm trying to boot an armv6 GENERIC kernel under qemu to test my PR: >>> https://github.com/freebsd/freebsd-src/pull/1124 >>>=20 >>> could you recommend the best way to do this? duckduckgoing "freebsd >>> thermite" doesn't return any results that look relevant. >>>=20 >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Thu Apr 25 01:14:48 2024 X-Original-To: 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 4VPyZY4cPmz5JWcq for ; Thu, 25 Apr 2024 01:15:01 +0000 (UTC) (envelope-from lexi@le-fay.org) Received: from fuchsia.eden.le-Fay.ORG (fuchsia.eden.le-fay.org [IPv6:2001:8b0:aab5:107::11]) by mx1.freebsd.org (Postfix) with ESMTP id 4VPyZX4bF0z43HR for ; Thu, 25 Apr 2024 01:15:00 +0000 (UTC) (envelope-from lexi@le-fay.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=le-fay.org header.s=fuchsia header.b=UYJOd3U3; dmarc=none; spf=pass (mx1.freebsd.org: domain of lexi@le-fay.org designates 2001:8b0:aab5:107::11 as permitted sender) smtp.mailfrom=lexi@le-fay.org Received: from iris.eden.le-Fay.ORG (iris.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::6]) by fuchsia.eden.le-Fay.ORG (Postfix) with ESMTP id 5C476985D for ; Thu, 25 Apr 2024 01:14:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=le-fay.org; s=fuchsia; t=1714007697; bh=oRcwsh0HElS3pdgPZDbu+pSlmBs7vhnpVyOlANOVx4Q=; h=Date:From:To:Subject; b=UYJOd3U3iwgDJkmUKUkZCF5MPXOMgj4OKtH3XTjaN6A/UxvY0dUitZQxUPOvatoij zE2hJXNcynh6qMJQNClWPFAWl/vIlRdu73VjzGl7hGoo30cqUYAz/5JwYJSkhqmssJ ZHgofeRphOXsyNYVGZlv0f7VCaMsDmpbNQa+gbM8= Received: from ilythia.eden.le-fay.org (ilythia.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by iris.eden.le-Fay.ORG (Postfix) with ESMTPSA id 43ADF2C0421 for ; Thu, 25 Apr 2024 02:14:57 +0100 (BST) Date: Thu, 25 Apr 2024 02:14:48 +0100 From: Lexi Winter To: arm@freebsd.org Subject: arm64 buildkernel broken Message-ID: 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 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="teDZRvEpYxyiEguH" Content-Disposition: inline X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.50 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; R_DKIM_ALLOW(-0.20)[le-fay.org:s=fuchsia]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:8b0:aab5:107::11]; RCVD_NO_TLS_LAST(0.10)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:20712, ipnet:2001:8b0::/32, country:GB]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[le-fay.org:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[le-fay.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[arm@freebsd.org]; MLMMJ_DEST(0.00)[arm@freebsd.org]; DKIM_TRACE(0.00)[le-fay.org:+] X-Rspamd-Queue-Id: 4VPyZX4bF0z43HR --teDZRvEpYxyiEguH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable hello, using this kernel config: https://github.com/llfw/freebsd-src/blob/lf/main/sys/arm64/conf/LF i can't buildkernel on main 71b2ba9099115db3c63f15e5085c0a677511f8b8: Building /src/obj/src/freebsd/src/main/arm64.aarch64/sys/LF/kernel.full --- kernel.full --- linking kernel.full ld: error: undefined symbol: virtio_scmi_transport_get >>> referenced by scmi_virtio.c:271 (/src/freebsd/src/main/sys/dev/firmware= /arm/scmi_virtio.c:271) >>> scmi_virtio.o:(scmi_virtio_attach) ld: error: undefined symbol: virtio_scmi_channel_size_get >>> referenced by scmi_virtio.c:125 (/src/freebsd/src/main/sys/dev/firmware= /arm/scmi_virtio.c:125) >>> scmi_virtio.o:(scmi_virtio_transport_init) >>> referenced by scmi_virtio.c:127 (/src/freebsd/src/main/sys/dev/firmware= /arm/scmi_virtio.c:127) >>> scmi_virtio.o:(scmi_virtio_transport_init) ld: error: undefined symbol: virtio_scmi_message_enqueue >>> referenced by scmi_virtio.c:97 (/src/freebsd/src/main/sys/dev/firmware/= arm/scmi_virtio.c:97) >>> scmi_virtio.o:(scmi_virtio_transport_init) >>> referenced by scmi_virtio.c:201 (/src/freebsd/src/main/sys/dev/firmware= /arm/scmi_virtio.c:201) >>> scmi_virtio.o:(scmi_virtio_xfer_msg) >>> referenced by scmi_virtio.c:113 (/src/freebsd/src/main/sys/dev/firmware= /arm/scmi_virtio.c:113) >>> scmi_virtio.o:(scmi_virtio_clear_channel) ld: error: undefined symbol: virtio_scmi_channel_callback_set >>> referenced by scmi_virtio.c:147 (/src/freebsd/src/main/sys/dev/firmware= /arm/scmi_virtio.c:147) >>> scmi_virtio.o:(scmi_virtio_transport_init) >>> referenced by scmi_virtio.c:159 (/src/freebsd/src/main/sys/dev/firmware= /arm/scmi_virtio.c:159) >>> scmi_virtio.o:(scmi_virtio_transport_init) >>> referenced by scmi_virtio.c:185 (/src/freebsd/src/main/sys/dev/firmware= /arm/scmi_virtio.c:185) >>> scmi_virtio.o:(scmi_virtio_transport_cleanup) >>> referenced 1 more times ld: error: undefined symbol: virtio_scmi_message_poll >>> referenced by scmi_virtio.c:221 (/src/freebsd/src/main/sys/dev/firmware= /arm/scmi_virtio.c:221) >>> scmi_virtio.o:(scmi_virtio_poll_msg) *** [kernel.full] Error code 1 make[2]: stopped in /src/obj/src/freebsd/src/main/arm64.aarch64/sys/LF this patch appears to fix the problem: =46rom 295c20c1fa56bf995bf085a6aa68067132fd9ca0 Mon Sep 17 00:00:00 2001 =46rom: Lexi Winter Date: Thu, 25 Apr 2024 01:57:34 +0100 Subject: [PATCH] scmi: only build virtio_scmi.c if virtio_scmi is defined --- sys/conf/files.arm64 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/conf/files.arm64 b/sys/conf/files.arm64 index c7468b577dd8..c001b88dacde 100644 --- a/sys/conf/files.arm64 +++ b/sys/conf/files.arm64 @@ -275,7 +275,7 @@ dev/firmware/arm/scmi_clk.c optional fdt scmi dev/firmware/arm/scmi_if.m optional fdt scmi dev/firmware/arm/scmi_mailbox.c optional fdt scmi dev/firmware/arm/scmi_smc.c optional fdt scmi -dev/firmware/arm/scmi_virtio.c optional fdt scmi +dev/firmware/arm/scmi_virtio.c optional fdt scmi virtio_scmi dev/firmware/arm/scmi_shmem.c optional fdt scmi dev/gpio/pl061.c optional pl061 gpio -- 2.44.0 however, i'm not sure if this is the correct fix. --teDZRvEpYxyiEguH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmYproUACgkQDHqbqZ41 x5kWYwv9G3azfXZnr/YulFQV6Vtva0Rw5JEbNSj1RevjFvXhk7PuNpyMaORePZHS rX0CRBvLZZI0DXjKbmvh1YQPFKHiYS5GBVb+/6RtArx0A9lHeC/RXue9Kvdyzao8 zaNRendurumJ+Efxo7OrX1B3YXYjun52GdJOjXbZN9C6eb2dZwNaqv+jgRVZtem2 ztsV16/UTv0+N7Z6NUcY04mpLKfYzWDX5jwXgx5h9ADRfeEoEPkxz020I9OaXjYB OPITNXplb/MgMnJgdMYT83ODDu2XHS9HrLuZXq6TIGkXIY5DUSgrEYt5IzkIWBmy 2U97fpKAiLQvF9MCj6tKy60HvpuEMhHDwTfzzd7+axsdccD9T5wSr2TUejTuabGw V/98kl0xL4f18GYXSJrMsDRfDzOGjp0aAXYXQZlaIzV9MQ3waU0BlIIcS0AAK+ir RE/akJHwWxsRQ3+L0gGWiwxS5/vFYl+jsC9jzKKgIgvSPQZyk1dZHMkfQtztJHaE aDWe9TRD =gP6s -----END PGP SIGNATURE----- --teDZRvEpYxyiEguH-- From nobody Thu Apr 25 03:31:22 2024 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 4VQ1bw4X98z5JmGc for ; Thu, 25 Apr 2024 03:31:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VQ1bw2hJYz4HvP for ; Thu, 25 Apr 2024 03:31:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714015884; a=rsa-sha256; cv=none; b=TnZyNyQt/YeW/IfwaF94iXj7VLWfI+zuzhvAb4tFDujuiWParEgn5CO9GzDgR3T2fAMvHh QIZu4kh5lIW9WCVBGNQMMTlyJ62JKAaBwtDNWGbumpmOeWzh6026Sl3vuxYuIARSohGRAm dnmzlDRsBDqyMFgea/chbTFhCUHg1ykpClvluWNDdMhnSsEGmoK9p8zl89sYt+BWBaEeae q4usdVOzL+9IxMP1A8xG0P4mDchL6BZZIvAC1DDZencgeObPJeP+edxCDifWwhYW3MFYBR fd0BEbW0S9JNPGw/IbXjRiLgUkvhj/S115EaBtWEpkfxMfB7R7HLrSEoPgMnpA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714015884; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8WR+tO6JFIdzOFFJAx4iIjEGHg5sMSCQ+pBFjJz/2po=; b=CwkLYShedaLM87FvSwV+vKIqjsaAFRe4/fnk/fx+/po553+SpQLYtPzkgcMk+6p467NbCr rNyeQzIiCl8sRqBzPOJOIhRvwUTCzc6+3pbhWHUHioq86H6Lv1hdMwC/FWtnvl8MAHUR85 QcfDwc3Yu3HrEv55DNq6uK8KnxsqXeKpOzfKqCPga0gqk/GZtXamdcrewKusKnbMoKhVR4 HuaRL4wXNNBKpMbve02J2gUj6rVlQu3/vmWianxAP4SUq6rrzfn1OH0H0zaV5EeiG33D+F oxmUnRoWlZ79uQvwzQ6aUFCczS/htRazbkfL9yabTHud1T5inPQxEbY/sYWz0A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VQ1bw2HxKzjY6 for ; Thu, 25 Apr 2024 03:31:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 43P3VOSv043312 for ; Thu, 25 Apr 2024 03:31:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43P3VOl8043271 for freebsd-arm@FreeBSD.org; Thu, 25 Apr 2024 03:31:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 278573] arm64: virtio-net-pci not work on qemu pcie.1 with gicv3 and its=on Date: Thu, 25 Apr 2024 03:31:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: none@tmpfs.dev X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278573 Bug ID: 278573 Summary: arm64: virtio-net-pci not work on qemu pcie.1 with gicv3 and its=3Don Product: Base System Version: 14.0-STABLE Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: none@tmpfs.dev Created attachment 250217 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D250217&action= =3Dedit pciconf -lv outout The virtio-net-pci network interface (eg. vtnet1) placed on not-root pcie b= us is unusable on arm64 FreeBSD as a qemu guest with virt platform, gic-versio= n=3D3 and its=3Don. There are 3 requirements to produce this bug. 1. The GIC version must be 3, "gic-version=3D3"; (vtnet works fine with gic-version=3D2) 2. The ITS must be on, "its=3Don"; (vtnet works fine with its=3Doff). 3. The virtio-net-pci must be placed on a QEMU PCI-PCI bridge instead of the pcie.0 HOST-PCI root bus. virtio-net-pci works fine when it is placed at virtio_pci1@pci0:0:4:0 but it becomes unusable on virtio_pci2@pci0:1:5:0. This is an example command to produce this bug. sudo qemu-system-aarch64 \ -m 1024 \ -nographic \ -drive if=3Dpflash,format=3Draw,file=3Defi.img,readonly=3Don \ -drive if=3Dpflash,format=3Draw,file=3Dvarstore.img \ -device pci-bridge,id=3Dpcie.1,chassis_nr=3D1,bus=3Dpcie.0,addr=3D0xa \ -device qemu-xhci,id=3Dqemu-xhci,bus=3Dpcie.0,addr=3D3 \ -drive if=3Dnone,format=3Dqcow2,file=3DFreeBSD-14.0-RELEASE-arm64-aarch64.qcow2,id= =3Dhd0 \ -device virtio-blk-pci,bus=3Dpcie.0,addr=3D2,drive=3Dhd0 \ -netdev type=3Dtap,id=3Dnet0,ifname=3Dtap0,script=3Dno,downscript=3Dno \ -device virtio-net-pci,mac=3D02:01:07:00:00:10,netdev=3Dnet0,bus=3Dpcie.0,addr=3D4,= id=3Dnet0 \ -netdev type=3Dtap,id=3Dnet1,ifname=3Dtap1,script=3Dno,downscript=3Dno \ -device virtio-net-pci,mac=3D02:01:07:00:00:11,netdev=3Dnet1,bus=3Dpcie.1,addr=3D5,= id=3Dnet1 \ -cpu max -M virt,gic-version=3D3,its=3Don To use KVM, replace `-cpu max -M virt,gic-version=3D3,its=3Don` with `-cpu = host -M virt,gic-version=3D3,accel=3Dkvm,its=3Don`. KVM does not affect the result = (make sure your host is GICv3). Manually set up tap0 and tap1 and add them to a host bridge br0. (host) ifconfig br0 192.168.3.1/24 (vm) ifconfig vtnet0 up (vm) ifconfig vtnet0 192.168.3.10/24 (vm) ifconfig vtnet1 up (vm) ifconfig vtnet1 192.168.3.11/24 Actual result: There will be two network interfaces vtnet0 and vtnet1. vtnet0 on virtio_pci1@pci0:0:4:0 works fine, but vtnet1 on virtio_pci2@pci0:1:5:0 is usable. You can ping 192.168.3.10 and get replies, but ping 192.168.3.11 ge= ts no reply. This bug is reproducible on the following FreeBSD images: - FreeBSD-13.2-RELEASE-arm64-aarch64.qcow2 - FreeBSD-14.0-RELEASE-arm64-aarch64.qcow2 - FreeBSD-15.0-CURRENT-arm64-aarch64-20240404-112783ebbc31-269103-disc1.iso With the exactly same qemu configuration (except system image, of course), = all two network adapters works fine in Linux guest: Linux debian 6.1.0-20-arm64= #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux. I have tested on the two host platforms: - qemu-system-aarch64 QEMU emulator version 8.2.2 on Linux ArchLinux 6.8.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 17 Apr 2024 15:20:28 +0000 x86_64 GNU/Linux - qemu-system-aarch64 QEMU emulator version 8.1.5 (pve-qemu-kvm_8.1.5-4) on Linux armbian 6.6.16-current-rockchip64 #1 SMP PREEMPT Fri Feb 23 08:25:28 = UTC 2024 aarch64 GNU/Linux About efi.img and varstore.img: efi image is from qemu-efi-aarch64_2024.02-2_all.deb (you can get it from https://packages.debian.org/sid/all/qemu-efi-aarch64/download), and expand = it to 64M, according to https://ubuntu.com/server/docs/boot-arm64-virtual-machines-on-qemu. varstore.img is 64M of zeros. The descriptions of "gic-version=3D3" and "its=3Don" are available at https://qemu-project.gitlab.io/qemu/system/arm/virt.html. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Apr 28 21:00:02 2024 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 4VSJkW4j4nz5Jxbs for ; Sun, 28 Apr 2024 21:00:03 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VSJkW0H5Rz4Fmx for ; Sun, 28 Apr 2024 21:00:03 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714338003; a=rsa-sha256; cv=none; b=ItFBBdzZC4JK1rBQvdsrlB5airxS4uWceOZbL/es1rTIXoHM+2ulyJL7sXoDaaEejux8jp ir6M8wrn228b+2/vggQKCU/8oDtegJM3woUoyPCUgahtOsfYiufIQlWLK7VBUUoTPLJmFH 4OW0T4ozpTQppIRYNmhzFfb8TM9PfdM60LoOnP8GKw+HyV+KuxX89Y/+oa6sswRjngbBgv Rp9VygcjKT6qDJsBBQ6+f4PRdte79eMNrw2bl4JR3ZxN3rIkWK0Db4mZ/VMZMf3t32TDOR 8bT2LZ2cyUzBfiRe8Hi4XEOZ3y+GpSE24jCPGY2haYSo0nDw/uRexF3KD4Ou2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714338003; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dEfGNDp7UxvsbYPeNMVXS8/pOdLMulPgWJ1MuVux+s0=; b=iYOxHo9/i0XlsLWDMIUeeCEsyaG28eBjpZQwxavcLCedl+Pq4lkLibceRvz/s9a1004fgv p/HyEczV5x7QAWY5ca8KXWTHjoL+94x0c+bhz/CVUBQwxeb6SnjQT5ROGy1czvr56lKpaq hi2zlpkjR+Oy+xnFarYEgi2bbIAue2t4ZkFJ3w24W2kJjh4PV2FTby5q2e2bF7H3aUgV87 KwfA8QJNV4yKZ2p5Wj3azoZueJnoTT4U6jV9AjVr90faKghXwylifDdEAoZnqBNSrAV+b7 O/iO8kre8hICosle67ajzimn/vU6Zzu+Iepe7yO1BB8XhUrsfe/adTDCe7lYew== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VSJkV6z0Czh1C for ; Sun, 28 Apr 2024 21:00:02 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 43SL02Rv039304 for ; Sun, 28 Apr 2024 21:00:02 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43SL02Xh039296 for freebsd-arm@FreeBSD.org; Sun, 28 Apr 2024 21:00:02 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202404282100.43SL02Xh039296@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: freebsd-arm@FreeBSD.org Subject: Problem reports for freebsd-arm@FreeBSD.org that need special attention Date: Sun, 28 Apr 2024 21:00:02 +0000 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 Content-Type: multipart/alternative; boundary="17143380024.A4d490b.37807" Content-Transfer-Encoding: 7bit --17143380024.A4d490b.37807 Date: Sun, 28 Apr 2024 21:00:02 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 264574 | sdhci(4): Support ACPI attachment in BCM2835_sdhc 1 problems total for which you should take action. --17143380024.A4d490b.37807 Date: Sun, 28 Apr 2024 21:00:02 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
Open        |    264574 | sdhci(4): Support ACPI attachment in BCM2835_sdhc

1 problems total for which you should take action.
--17143380024.A4d490b.37807--