From nobody Sun Jun 11 21:00:04 2023 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 4QfRz84L4Jz4d3Zp for ; Sun, 11 Jun 2023 21:00:04 +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 4QfRz82fs4z3Qk6 for ; Sun, 11 Jun 2023 21:00:04 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686517204; 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=Lmx+pZxC6QMxQHCBu6l4eEPzG5UTam4+oMXrRK/9V0k=; b=hxdneh5Jq1Vb3K6nMK3q8LKoS6UJ2ouk8yQhvXfjhXBM0D4t6ukyVK8Tffsx3JTjNRVM/Z /IBSgijZ7bGEoamgLUc0PVaDotyDBxUsaZoTJeu7Bznw1Xb9GTLTTMxsEN+kMZXtdQPx4D jr6yLXBk42qzD2+oJEgb31RUZSb9tedWT0vN4NXsz6X03aXG8ZrdqVdBxgflppVx97Put8 i9Hf9ehd4dB0AuPR+5c8hbaMkEhFmwyTri8KeuU5617iXDEu1cjrKN79gtbZuhgi5QfY4z V4drC9DQ+rI4Tqh7nbrwsvnkllfYMXLDkmIZFtBuw3jVZvDQDzUTbXX10iL95A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686517204; a=rsa-sha256; cv=none; b=r8x4odJxdWsPMQ1FEPCYhDpCyMbDbeC4/RDrt7EO+E/CceozGFBizM7EoQ85Ftf8zFOwVU rje60+2ARtc1uTimvOFHLJtrz3hkSkVMrHp5+EipS2EnqbpZNhjrRRvRahR4STSDqE6MKP soqW40EQMVwN1SF7hsbBtHoKd/Ij9uPS2F+WMzKTayWlrYXBXFXNVk1/3T0nAww6GnTcxd CFq+dgeKf9ZfPqgIlptgm8xOVOPHvZctdQWRfTFMQ0gU7+4TI2rguoW+4rMB3iQRfh7sb9 T/7Sm3Q3KHFO1c2ZG6whyGQkqPBLHuS2EwC3gCB91G/MI0o8XQEGXt4I3DfEmA== 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 4QfRz81mjMz1CPB for ; Sun, 11 Jun 2023 21:00:04 +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 35BL04ub014976 for ; Sun, 11 Jun 2023 21:00:04 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35BL04em014971 for freebsd-arm@FreeBSD.org; Sun, 11 Jun 2023 21:00:04 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202306112100.35BL04em014971@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, 11 Jun 2023 21:00:04 +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="16865172040.22B47.13475" Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: N --16865172040.22B47.13475 Date: Sun, 11 Jun 2023 21:00:04 +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 | 238576 | Raspberry Pi 3B+ "shutdown -p" does not shut off Open | 257670 | mpr(4): SAS3008 PCI-Express Fusion-MPT SAS-3: Fat 2 problems total for which you should take action. --16865172040.22B47.13475 Date: Sun, 11 Jun 2023 21:00:04 +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        |    238576 | Raspberry Pi 3B+ "shutdown -p" does not shut off 
Open        |    257670 | mpr(4): SAS3008 PCI-Express Fusion-MPT SAS-3: Fat

2 problems total for which you should take action.
--16865172040.22B47.13475-- From nobody Mon Jun 12 20:36:08 2023 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 4Qg3P5093Pz4cyCg for ; Mon, 12 Jun 2023 20:36:09 +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 4Qg3P44wWJz43tJ for ; Mon, 12 Jun 2023 20:36:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686602168; 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=JHJ8lus7zqy610PEmC34oIJvpL/nb3guhaC1rnsFFko=; b=AGnDhZFbrls16IFWm3DjUTjc3dqCTkVNZyMhubKDbAaS5/cIyQ6bj1hJshp+w0c5Epme1d JjaFmNXHdbbXVeztsV8dHQCALIjJfrGd9kPLuOxPoMGiOwOxpuxlNHik2Pp/Tx1LYyBepo Q2pO8zXdatHzUJYrGQZJ+ZwncQdxSl1gn2vX665fPlJMs4wNwPpfHsmHsxVADv9m4NnH66 JrFKGsIwXTpojQQt5OZzSWsrMNRAAmQnOUrF6HlXk9wudI8NxL8+tft8cYtCL7UwXWX2TP 6Xu4MrTHNfIXVzBUm7EpHwrExHxLIddY8crf4EQKHp88Lp9YEOlNObDDwSOfhQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686602168; a=rsa-sha256; cv=none; b=YCBvS8x1i0MIIHRHI9pf3S5Yb5vNwqOs6Jk1zrsEJ6y3Mp4Ps3bnP1tn1fn644y4Y8KsCW PO29z2CEZ1XPs/gud7RTA6zO1u2FQHfm8l1LD55fYBiHr7jtBGrFkx+jFaFW0OOnQXIyl6 OFWF9gouejCMW7jBSN8v/gpPOaBk9Oy5TolFkTBXYRGcPmPR96BWIT7asJxK0P7E7ikcQy QNOBHho3RVxNYrDja8kvr3PhDZg7UIx7mSFE36Q4ebStxKZOWkLr16yDp5LwjoLHRSWgBf lujQE5k4lfaXv1drfbqlJxvehWnOM4gCpO4HsQppU42qEJ4wglG3zjREsYvCrQ== 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 4Qg3P4416vztB9 for ; Mon, 12 Jun 2023 20:36:08 +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 35CKa8o0031130 for ; Mon, 12 Jun 2023 20:36:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35CKa8In031129 for freebsd-arm@FreeBSD.org; Mon, 12 Jun 2023 20:36:08 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 271971] APALIS-IMX6: don't know how to make apalis-imx6.dts Date: Mon, 12 Jun 2023 20:36:08 +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: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@igalic.co 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 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271971 Bug ID: 271971 Summary: APALIS-IMX6: don't know how to make apalis-imx6.dts Product: Base System Version: 13.2-STABLE Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: freebsd@igalic.co [53/1907]--------------------------------------------------------------=20= =20=20=20=20=20=20=20 >>> stage 3.1: building everything=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 --------------------------------------------------------------=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 cd /usr/obj/poudriere/jails/13-stable-armv7/usr/src/arm.armv7/sys/APALIS-IM= X6; MACHINE_ARCH=3Darmv7 MACHINE=3Darm CPUTYPE=3D BUILD_TOOLS_META=3D.NOMETA LO= CAL_MODULES=3D CC=3D"cc -target armv7-gnueabihf-freebsd13.2 --sysroot=3D/usr/obj/poudriere/jails/13-stable-armv7/usr/src/arm.armv7/tmp -B/usr/obj/poudriere/jails/13-stable-armv7/usr/src/arm.armv7/tmp/usr/bin" CXX=3D"c++ -target armv7-gnueabihf-freebsd13.2 --sysroot=3D/usr/obj/poudriere/jails/13-stable-armv7/usr/src/arm.armv7/tmp -B/usr/obj/poudriere/jails/13-stable-armv7/usr/src/arm.armv7/tmp/usr/bin" CPP=3D"cpp -target armv7-gnueabihf-freebsd13.2 --sysroot=3D/usr/obj/poudriere/jails/13-stable-armv7/usr/src/arm.armv7/tmp -B/usr/obj/poudriere/jails/13-stable-armv7/usr/src/arm.armv7/tmp/usr/bin" AS=3D"as" AR=3D"ar" ELFCTL=3D"elfctl" LD=3D"ld" LLVM_LINK=3D"" NM=3Dnm OBJC= OPY=3D"objcopy" RANLIB=3Dranlib STRINGS=3D SIZE=3D"size" STRIPBIN=3D"strip" INSTALL=3D"inst= all -U" PATH=3D/usr/obj/poudriere/jails/13-stable-armv7/usr/src/arm.armv7/tmp/bin:/= usr/obj/poudriere/jails/13-stable-armv7/usr/src/arm.armv7/tmp/usr/sbin:/usr= /obj/poudriere/jails/13-stable-armv7/usr/src/arm.armv7/tmp/usr/bin:/usr/obj= /poudriere/jails/13-stable-armv7/usr/src/arm.armv7/tmp/legacy/usr/sbin:/usr= /obj/poudriere/jails/13-stable-armv7/usr/src/arm.armv7/tmp/legacy/usr/bin:/= usr/obj/poudriere/jails/13-stable-armv7/usr/src/arm.armv7/tmp/legacy/bin:/u= sr/obj/poudriere/jails/13-stable-armv7/usr/src/arm.armv7/tmp/legacy/usr/lib= exec::/sbin:/bin:/usr/sbin:/usr/bin make -j 8 -J 15,16 -m /poudriere/jails/13-stable-armv7/usr/src/share/mk=20 KERNEL=3Dkernel all -DNO_MODULES_OBJ=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 Building /usr/obj/poudriere/jails/13-stable-armv7/usr/src/arm.armv7/sys/APALIS-IMX6/= machine Building /usr/obj/poudriere/jails/13-stable-armv7/usr/src/arm.armv7/sys/APALIS-IMX6/= vnode_if_newproto.h Building /usr/obj/poudriere/jails/13-stable-armv7/usr/src/arm.armv7/sys/APALIS-IMX6/= vnode_if_typedef.h make[2]: make[2]: don't = know how to make apalis-imx6.dts. Stop make[2]: stopped in /usr/obj/poudriere/jails/13-stable-armv7/usr/src/arm.armv7/sys/APALIS-IMX6= =20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 .ERROR_TARGET=3D'apalis-imx6.dts' --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Jun 13 08:19:13 2023 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 4QgM0h5NDzz4d1hy for ; Tue, 13 Jun 2023 08:19:32 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-20.consmr.mail.gq1.yahoo.com (sonic309-20.consmr.mail.gq1.yahoo.com [98.137.65.146]) (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 4QgM0g55zzz4GkV for ; Tue, 13 Jun 2023 08:19:31 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=ThywpNiF; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.146 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1686644369; bh=kfmdIVXxNAxWr2pb2HIb6cZfJslA/3s05CVRpYU+csc=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=ThywpNiF32uE+mTpVOEqTOlL8h0p+Mkk4FwfPgR4DCcihpiIAW/Va6QILfpWAwwep8rEaAg6T5Dy3c2S7NAA5RgjwIacsmgAC7KuArECfJ5zDnWkSoFzzXpQu1JQqIWF89BhRqE/jfDWNI/iq8li6+QYGkDmieaI/6gewfw1TsBotKtS9weJfgKyOO3dHJ3+lR5ZcYIuH+grkZHuvjubOF1fO2hmczwdwUUGVblykHsmAMukAWyHxgFtm0BIL/RinPU1MFyxSCvDNQ3IOAR2gmBfvIXQtjwrEJw4RGlH7EZkZ+YbQAFIxLUvHuDhN0jL9o70jq9iXcG9ZclLNwBL0A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1686644369; bh=O+ssYAqLqtQkRNgn48fVf40dCl5CJJrovu/Onlgpcku=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=ey4LGwyJCElJ70wgRZH4NjLBtYXhHueBVPgQ4ap+H+9EXKpafJbeWjPQUr3zpkAgPcSqukfZa+nRFqxtdY/pLb2j2z9kQanTtY6Yep8QGrUAC+c6DbzS/T6gCqaoRWNxE96e24SfmyV1TPhr9Jm3bru8wfBySt7SzT9k1ZM5HweVrWqGnhFp5z50NCePSI6yx3XwcZOfYnJ64RQ6HLPNkDkLLUy26nroKHwuF0vec51sJDSHY+q2eWAyeXvHqFpIg49itdyI7QpgIyEpx2cbdGP+0uJOEG/smLDS21KdBpo5TDwGpgxOfol3NDiNJKpgS6XeeRsfBHt5KOXSuTSySA== X-YMail-OSG: eI6AH6gVM1lYIhzqeguIVmicxckQClr4CSxeDu6LOZ47gjk4HXOxzbEPQSz3IbR CBL2myyPb7VT_KrERXH4jUfjh3KrJG6SbK6TmONTM6ptrxtxl3oG9SRnUNsPymkG_JnIJO.7v8Pw CcTcZXrSyO.d6HenRAp.Tt90aqWtcLKLlAjvzqOJtMglsdYmcUztSy4cPutjbtdfi6TH82OEAYn6 dtxaMZviM_3ksv4MrAQxIYiKnESJ7_fBO7xKS1dUP8vsCd2kh0QPijRHPHiJp4iTToqlmEuPKqPC gDX7M.IKpUQLGLy86hKXFx0orwNKvKakN5Orn3BMulv6.lM3sbKUJihp9S0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AEE3SPiYzXhV yE_h8Mu_1g3hisTSoFgHunHLO83e9nu5B7bBrZ_GLEhCq0Fgxjnr6u2b498yYcTEo8D128KpDsMG 6DivMTsHhXTQfD9BCSxNmkO.ewRQQ4idfGn7CJXRVVFlvlzesWDuA9_mn0fGRnp6R_lrIRBAgno0 mrr90bW_vZZViunVFS_B9Tg_UhBvl5EwPvYQV_Ft7ZUOqOHzdCOigbqNAWa4N4WD3ofM2un938iL FmsOo33qb9ey733ZFzxijEg3PzFaDKLZoIwNM43KnZLQ72EFntvmQGb5MueH8zEjQaBWlG5X5D7S npA.mKKqdU3HobN.ya951Xhkkmp7h7qVlxO0qqJUSX8i1yHguX3tcMqa5kZjJO1ZUNVDHG9AsFr9 cvz_dk3DD7zy3bLwaNxPj47Jt8ezVxjXLh..XkgITO3xNenxWdwyS32Q3Va2cpKDkjJynhrgTdrP 8NX9NRvXFVSgyA2.EZKo0XLmXzhD6sxxJoiPtiO4OXhNq91AZGliWSz9QZz_0aqiXrBeu.03l1A6 kG5._lHsh7sjnG4qOiPgppBBTInUaXTpL9v1snwHUCD8ijDFWg1A49c5JF7gTeZ.TdjYvuRsXOug Q4AsrGookHUZ2_O3VrCqCdfLRsbXZoBzu0CIf1_YeCMD9_7kL4VE0Ymc_dthZ7sYib_AkU_bagyR 9X.iJJfVHqVFhEp383HNKDsm_.U1Nj4b4Q0oX7svUbaj6PMlhA.yVBjyrnjH8Cr_D6cHzbrAwAIQ 4FE0Q3Nb0jydyFj.0bvqbpSVuVS_YnmwoNF8eoDZ..3I.S7n_DOLHrDYVCDGw04MvnfVasWeioLP PXoJZWH54oOWI.2rRNSIL9INOF_XJA7Z6Iip7fWZE5j4QS5h9PDgXE4931pr7lJiG7WzLabM- X-Sonic-MF: X-Sonic-ID: 44982bd4-477c-4ff9-978f-272a291ec897 Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Tue, 13 Jun 2023 08:19:29 +0000 Received: by hermes--production-ne1-574d4b7954-r69wt (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 969c146b504b66c580c49928343935db; Tue, 13 Jun 2023 08:19:25 +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 16.0 \(3731.600.7\)) Subject: Re: Status for armv7 vs. rust (and go)? From: Mark Millard In-Reply-To: Date: Tue, 13 Jun 2023 01:19:13 -0700 Cc: freebsd-arm Content-Transfer-Encoding: 7bit Message-Id: References: <56FBE30B-41B9-4FBE-AA37-F041946855EC.ref@yahoo.com> <56FBE30B-41B9-4FBE-AA37-F041946855EC@yahoo.com> To: Robert Clausecker X-Mailer: Apple Mail (2.3731.600.7) X-Spamd-Result: default: False [-0.21 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.96)[0.958]; NEURAL_HAM_MEDIUM(-0.67)[-0.672]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.146:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RCVD_TLS_LAST(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.146:from] X-Rspamd-Queue-Id: 4QgM0g55zzz4GkV X-Spamd-Bar: / X-ThisMailContainsUnwantedMimeParts: N On May 24, 2023, at 16:08, Robert Clausecker wrote: > Hi Mark, Hello. > Am Wed, May 24, 2023 at 12:52:26PM -0700 schrieb Mark Millard: >> May be things build but there are operational problems? >> >> Anyway, I'd be interested to learn of whatever types of >> armv7 problems rust may be currently having. (Rust being >> a large build is a known issue.) > > The main problem with Rust ports on armv7 is that many of them have > LLVM run into address space exhaustions, probably due to trying to > build programs with LTO. It's hard to diagnose these issues. > > There are also a number of recurring portability problems due to > time_t not being a long on armv7, but these are easy to patch. I had forgotten, but on the HoneyComb (16 Cortex-A72 cores) I have in its /usr/local/etc/poudriere.d/main-CA7-make.conf : . . . .if ${.CURDIR:M*/lang/*rust*} MAKE_JOBS_NUMBER=8 .elif . . . . . . If I remember right, too many parallel jobs lead to hitting a process size limit that stopped the build. I've not experimented with between 8 and 16 (non-inclusive). With 8 I just had 1.70 build: [00:00:14] [01] [00:00:00] Building lang/rust | rust-1.70.0 [02:16:24] [01] [02:16:10] Finished lang/rust | rust-1.70.0: Success (The process size limit can be smaller for cortext-a72's doing aarch32/armv7 activity than on a cortex-a7 armv7 system. That might contribute to hitting the issue.) === Mark Millard marklmi at yahoo.com From nobody Tue Jun 13 08:36:52 2023 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 4QgMNv1JrVz4d7Fb for ; Tue, 13 Jun 2023 08:37:03 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (fuz.su [IPv6:2001:41d0:8:e508::1]) (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 "fuz.su", Issuer "fuz.su" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QgMNt1Y4cz4Kfv for ; Tue, 13 Jun 2023 08:37:02 +0000 (UTC) (envelope-from fuz@fuz.su) Authentication-Results: mx1.freebsd.org; none Received: from fuz.su (localhost [127.0.0.1]) by fuz.su (8.16.1/8.16.1) with ESMTPS id 35D8areO055237 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 13 Jun 2023 10:36:53 +0200 (CEST) (envelope-from fuz@fuz.su) Received: (from fuz@localhost) by fuz.su (8.16.1/8.16.1/Submit) id 35D8ar6h055236; Tue, 13 Jun 2023 10:36:53 +0200 (CEST) (envelope-from fuz) Date: Tue, 13 Jun 2023 10:36:52 +0200 From: Robert Clausecker To: Mark Millard Cc: freebsd-arm Subject: Re: Status for armv7 vs. rust (and go)? Message-ID: References: <56FBE30B-41B9-4FBE-AA37-F041946855EC.ref@yahoo.com> <56FBE30B-41B9-4FBE-AA37-F041946855EC@yahoo.com> 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=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4QgMNt1Y4cz4Kfv X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Hi Mark, Am Tue, Jun 13, 2023 at 01:19:13AM -0700 schrieb Mark Millard: > I had forgotten, but on the HoneyComb (16 Cortex-A72 cores) I > have in its /usr/local/etc/poudriere.d/main-CA7-make.conf : > > . . . > .if ${.CURDIR:M*/lang/*rust*} > MAKE_JOBS_NUMBER=8 > .elif . . . > . . . > > If I remember right, too many parallel jobs lead to hitting > a process size limit that stopped the build. I've not > experimented with between 8 and 16 (non-inclusive). With 8 > I just had 1.70 build: > > [00:00:14] [01] [00:00:00] Building lang/rust | rust-1.70.0 > [02:16:24] [01] [02:16:10] Finished lang/rust | rust-1.70.0: Success > > (The process size limit can be smaller for cortext-a72's doing > aarch32/armv7 activity than on a cortex-a7 armv7 system. That > might contribute to hitting the issue.) I'm running MAKE_JOBS_NUMBER=2, so I think that should be fine. It's not lang/rust that fails to build but rather lots of rust-based ports. Yours, Robert Clausecker -- () ascii ribbon campaign - for an 8-bit clean world /\ - against html email - against proprietary attachments From nobody Wed Jun 14 11:08:54 2023 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 4Qh2jg2Qvkz4cVlM for ; Wed, 14 Jun 2023 11:08:55 +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 4Qh2jf6NxKz3CYj for ; Wed, 14 Jun 2023 11:08:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686740934; 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=Du64rOg5ecFI9BYJfBIgfDfQEXRNR5NVkdHcK5Tf6H8=; b=uh++KrYRG3NxFBbU4DI0tkFiK934JG38JIz/Dh4tFIBwyhR2ALwVo/nojycoODIJfFuNwm K+VY6TNcBU491hgr8C2NGBqIMAXz5fXVpvvG6IN9pDcPcNMZoYI/5X7Z1Lk7xx5/keF/xP kdilbsW3ljdelvcMsfOm7qee0fGf+vEPwM/nDEpqU/8uycHNs6sVJnS50Gp1r5o5EMhSJv ut8ZOobYn4c1gPFZFoPPcvuusQQHwJ+w80KQB97DMpAwupIS9klyWchMlkj+4GMp9WZMDS npo3ZPUVfubLhknSM/ds09k8eC6AQ6YhlVuc5SR6nA8QyUY0X3JHX4/2K3wWeA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686740934; a=rsa-sha256; cv=none; b=bEB7GhjMmWlah7TWzMuQC8O+ktoMXUJ18FbWAn1yY/1z+h4rfRH3Ivxw++mPWAaQJyhvx+ Y45w3WQB2aCJ+bBelqAT/iShPVtTo6p3IdGnzsnUsAC61Ij9sXgbwHS7ISRdPw+gJdECmr X+z8M/nzpMkx4j/0kn7jS5B2a8t5Ey9EPXXKbsiamtiMwzOcULZfYtAS6dty7knGd4SaT0 vxz3BAIiPOjFit3MRmnteaJ2+2fGz2vJir/l3/H7i98F1Up1YLERzNMerS7niMunc9Fio5 rvz9m+oefDS77htRtXsKFXRniYV/mBAFONABOxf5hY/eaIDMwxqp/8ZZ57lhXw== 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 4Qh2jf5TCKz11yB for ; Wed, 14 Jun 2023 11:08:54 +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 35EB8sm2023637 for ; Wed, 14 Jun 2023 11:08:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35EB8sn2023636 for freebsd-arm@FreeBSD.org; Wed, 14 Jun 2023 11:08:54 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 271990] IRQ mapping table is full after stress devctl disable/enable Date: Wed, 14 Jun 2023 11:08:54 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: osamaabb@amazon.com 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 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271990 Bug ID: 271990 Summary: IRQ mapping table is full after stress devctl disable/enable Product: Base System Version: CURRENT Hardware: arm64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: osamaabb@amazon.com Reproduction steps: ------------------- 1. Create an AWS EC2 instance from one of the following AMIs in us-east-1 1.1: ami-0b55af91f40cd29ee - FreeBSD 14.0-CURRENT-arm64-20230525 UEFI 1.2: ami-0fdc715f878897386 - FreeBSD 13.2-STABLE-arm64-20230601 UEFI 1.3: ami-0e1fd0c2493efe1d1 - FreeBSD 12.4-STABLE-arm64-2023-06-01 2. run the following reset loop script: #!/bin/sh while true do devctl disable ena0 devctl enable ena0 done Result: ------- Crashes every time. 100% reproducible. ***The same test does not fail on intel based instances.*** Stack trace: ------------ 2023-06-14T08:05:02.374Z panic: IRQ mapping table is full. 2023-06-14T08:05:02.374Z cpuid =3D 18 2023-06-14T08:05:02.374Z time =3D 1686729902 2023-06-14T08:05:02.374Z KDB: stack backtrace: 2023-06-14T08:05:02.374Z db_trace_self() at db_trace_self 2023-06-14T08:05:02.374Z db_trace_self_wrapper() at db_trace_self_wrapper+0x30 2023-06-14T08:05:02.374Z vpanic() at vpanic+0x13c 2023-06-14T08:05:02.374Z panic() at panic+0x44 2023-06-14T08:05:02.374Z intr_map_irq() at intr_map_irq+0xb0 2023-06-14T08:05:02.374Z intr_alloc_msix() at intr_alloc_msix+0x1d8 2023-06-14T08:05:02.374Z generic_pcie_acpi_alloc_msix() at generic_pcie_acpi_alloc_msix+0x78 2023-06-14T08:05:02.374Z pci_alloc_msix_method() at pci_alloc_msix_method+0x168 2023-06-14T08:05:02.374Z=20=20=20=20=20=20=20 ena_enable_msix_and_set_admin_interrupts() at ena_enable_msix_and_set_admin_interrupts+0x10c 2023-06-14T08:05:02.374Z ena_attach() at ena_attach+0x65c 2023-06-14T08:05:02.375Z device_attach() at device_attach+0x= 3f8 2023-06-14T08:05:02.375Z device_probe_and_attach() at device_probe_and_attach+0x7c 2023-06-14T08:05:02.375Z devctl2_ioctl() at devctl2_ioctl+0x= 44c 2023-06-14T08:05:02.375Z devfs_ioctl() at devfs_ioctl+0xd4 2023-06-14T08:05:02.375Z vn_ioctl() at vn_ioctl+0xc0 2023-06-14T08:05:02.375Z devfs_ioctl_f() at devfs_ioctl_f+0x= 20 2023-06-14T08:05:02.375Z kern_ioctl() at kern_ioctl+0x2dc 2023-06-14T08:05:02.375Z sys_ioctl() at sys_ioctl+0x118 2023-06-14T08:05:02.375Z do_el0_sync() at do_el0_sync+0x520 2023-06-14T08:05:02.375Z handle_el0_sync() at handle_el0_sync+0x44 2023-06-14T08:05:02.375Z --- exception, esr 0x56000000 2023-06-14T08:05:02.375Z Uptime: 4m1s 2023-06-14T08:05:02.375Z Dumping 2053 out of 64453 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91% 2023-06-14T08:10:36.676Z Dump complete 2023-06-14T08:10:37.976Z UEFI firmware (version built at 09:00:00 on Nov 1 2018) 2023-06-14T08:10:38.076Z=20=20=20=20=20=20=20 [2J[01;01H[=3D3h[2J[01;01H[2J[01;01H[=3D3h[2J[01;01H[2J[01;01H[=3D3h[2J[01;= 01H[0m[35m[40m[2J[01;01H[2J[01;01H[0m[37m[40m[01;01HConsoles: EFI console 2023-06-14T08:10:38.076Z Reading loader env vars from /efi/freebsd/loader.env 2023-06-14T08:10:38.076Z Setting currdev to disk0p1: 2023-06-14T08:10:38.076Z FreeBSD/arm64 EFI loader, Revision = 1.1 2023-06-14T08:10:38.076Z (Thu May 25 06:36:21 UTC 2023 root@releng1.nyi.freebsd.org) 2023-06-14T08:10:38.076Z=20=20=20=20=20=20=20=20 2023-06-14T08:10:38.076Z Command line arguments: loader.efi 2023-06-14T08:10:38.176Z Image base: 0x7856f000 2023-06-14T08:10:38.176Z EFI version: 2.70 2023-06-14T08:10:38.176Z EFI Firmware: EDK II (rev 1.00) 2023-06-14T08:10:38.176Z Console: efi (0x1000) 2023-06-14T08:10:38.176Z Load Path: \EFI\BOOT\BOOTAA64.EFI 2023-06-14T08:10:38.176Z Load Device: PciRoot(0x0)/Pci(0x4,0x0)/NVMe(0x1,00-00-00-00-00-00-00-00)/HD(1,GPT,B61C1E= 65-FAFA-11ED-84CB-002590EC5BF2,0x3,0x10418) 2023-06-14T08:10:38.176Z BootCurrent: 0001=20 Initial investigation results: ------------------------------ Tried to reproduce the issue on Intel based instances, no reproduction even after 50k up/down iteration. Looked into the fbsd ena driver [1] up/down flows, saw that the driver does= the pci_msix_allocate/release and bus_allocation/release in the correct order. [1] https://github.com/amzn/amzn-drivers/tree/master/kernel/fbsd/ena Since the pci/bus APIs should be platform agnostic (?) I assume it to be an issue with ARM side of the kernel --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Jun 15 16:29:04 2023 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 4Qhnmk0tFSz4fMb5 for ; Thu, 15 Jun 2023 16:29:10 +0000 (UTC) (envelope-from titus@edc.ro) Received: from eatlas.ro (eatlas.ro [86.126.82.18]) (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 "eatlas.ro", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qhnmj0ntbz4BFw for ; Thu, 15 Jun 2023 16:29:09 +0000 (UTC) (envelope-from titus@edc.ro) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=edc.ro header.s=mail header.b=VRXn1EXh; spf=pass (mx1.freebsd.org: domain of titus@edc.ro designates 86.126.82.18 as permitted sender) smtp.mailfrom=titus@edc.ro; dmarc=none Received: from mail.edc.ro ([10.1.4.58]) by eatlas.ro (8.16.1/8.16.1) with ESMTPS id 35FGT6AH080556 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Thu, 15 Jun 2023 19:29:06 +0300 (EEST) (envelope-from titus@edc.ro) Received: from buko.edc.ro (localhost [127.0.0.1]) by mail.edc.ro (8.16.1/8.16.1) with ESMTPS id 35FGT4qc060973 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Thu, 15 Jun 2023 19:29:04 +0300 (EEST) (envelope-from titus@buko.edc.ro) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=edc.ro; s=mail; t=1686846545; bh=BbSp2r0KV7+RWBaSllsNgJ0pKYMQsPJSuuh23lP1QEM=; h=Date:From:To:Subject; b=VRXn1EXhM0ptn1jNXrrJQyRtkE/XAXXx3aZzT3W9Fv39wNXGECXg95uAbl3wLjuON ++3Xwnr1ef1+Zjdx00mXQhEbQunyHXlLpQvJdg2ECffxHuiiygFW2hrODPNIE6wF/0 6gY0k9w3Y0hAYtAaKRysc9CJaj/X4psPu/cyrbaI= Received: (from titus@localhost) by buko.edc.ro (8.16.1/8.16.1/Submit) id 35FGT473060972 for freebsd-arm@freebsd.org; Thu, 15 Jun 2023 19:29:04 +0300 (EEST) (envelope-from titus) Date: Thu, 15 Jun 2023 19:29:04 +0300 From: titus To: freebsd-arm@freebsd.org Subject: Support for rockpi-s (rockchip rk3308) 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/mixed; boundary="tSRd7davl5znE93e" Content-Disposition: inline X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ns.edc.ro X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.997]; R_DKIM_ALLOW(-0.20)[edc.ro:s=mail]; R_SPF_ALLOW(-0.20)[+ip4:86.126.82.18/32]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; DKIM_TRACE(0.00)[edc.ro:+]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[edc.ro]; MIME_TRACE(0.00)[0:+,1:+,2:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; HAS_ATTACHMENT(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; ASN(0.00)[asn:8708, ipnet:86.120.0.0/13, country:RO] X-Rspamd-Queue-Id: 4Qhnmj0ntbz4BFw X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N --tSRd7davl5znE93e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, I hacked some crude support for rockpi-s. SD card works USB works UART works Ethernet works (no media autodetect but works). I added support rk3308-cru (clock), rk3308-pinctrl, rk3308-gmac mostly by looking at the linux and openbsd code https://forums.freebsd.org/threads/adding-support-for-the-rockpi-s.80956/#post-613952 dmesg attached -- --------------------------------------------------------------------- How an engineer writes a program: Starts by debugging an empty file... Titus Manea | Eastern Digital Inc. --tSRd7davl5znE93e Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.txt" WARNING: Cannot find freebsd,dts-version property, cannot check DTB compliance Copyright (c) 1992-2021 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.2-RELEASE GENERIC arm64 FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) VT: init without driver. module firmware already present! real memory = 534773760 (510 MB) avail memory = 499032064 (475 MB) Starting CPU 1 (1) Starting CPU 2 (2) Starting CPU 3 (3) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs random: unblocking device. random: entropy device external interface MAP 1cf02000 mode 2 pages 2 MAP 1cf05000 mode 2 pages 6 MAP 1ff40000 mode 2 pages 16 kbd0 at kbdmux0 ofwbus0: clk_fixed0: on ofwbus0 clk_fixed1: on ofwbus0 rk_grf0: mem 0xff000000-0xff007fff on ofwbus0 rk3308_cru0: mem 0xff500000-0xff500fff on ofwbus0 regfix0: on ofwbus0 regfix1: on ofwbus0 regfix2: on ofwbus0 regfix3: on ofwbus0 regfix4: on ofwbus0 regfix5: on ofwbus0 regfix6: on ofwbus0 simple_mfd0: mem 0xff008000-0xff00afff on ofwbus0 simple_mfd1: mem 0xff00b000-0xff00bfff on ofwbus0 simple_mfd2: mem 0xff00c000-0xff00cfff on ofwbus0 psci0: on ofwbus0 gic0: mem 0xff581000-0xff581fff,0xff582000-0xff583fff,0xff584000-0xff585fff,0xff586000-0xff587fff irq 47 on ofwbus0 gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 160 rk_pinctrl0: on ofwbus0 gpio0: mem 0xff220000-0xff2200ff irq 48 on rk_pinctrl0 gpiobus0: on gpio0 gpio1: mem 0xff230000-0xff2300ff irq 49 on rk_pinctrl0 gpiobus1: on gpio1 gpio2: mem 0xff240000-0xff2400ff irq 50 on rk_pinctrl0 gpiobus2: on gpio2 gpio3: mem 0xff250000-0xff2500ff irq 51 on rk_pinctrl0 gpiobus3: on gpio3 gpio4: mem 0xff260000-0xff2600ff irq 52 on rk_pinctrl0 gpiobus4: on gpio4 rk_i2c0: mem 0xff050000-0xff050fff irq 9 on ofwbus0 iicbus0: on rk_i2c0 generic_timer0: irq 4,5,6,7 on ofwbus0 Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000 Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000 mmc_pwrseq0: on ofwbus0 rk_usb2phy0: mem 0-0xff007fff,0-0x2fff on simple_mfd0 cpulist0: on ofwbus0 cpu0: on cpulist0 cpufreq_dt0: on cpu0 cpufreq_dt0: no regulator for cpu@0 device_attach: cpufreq_dt0 attach returned 6 cpu1: on cpulist0 cpu2: on cpulist0 cpu3: on cpulist0 iic0: on iicbus0 uart0: <16750 or compatible> mem 0xff0a0000-0xff0a00ff irq 13 on ofwbus0 uart0: console (1500000,n,8,1) uart1: <16750 or compatible> mem 0xff0c0000-0xff0c00ff irq 15 on ofwbus0 uart2: <16750 or compatible> mem 0xff0e0000-0xff0e00ff irq 17 on ofwbus0 pwm0: mem 0xff180000-0xff18000f on ofwbus0 pwmbus0: on pwm0 pwmc0: channel 0 on pwmbus0 dwcotg0: mem 0xff400000-0xff43ffff irq 36 on ofwbus0 usbus1 on dwcotg0 ehci0: mem 0xff440000-0xff44ffff irq 37 on ofwbus0 usbus2: EHCI version 1.0 usbus2 on ehci0 ohci0: mem 0xff450000-0xff45ffff irq 38 on ofwbus0 usbus3 on ohci0 rockchip_dwmmc0: mem 0xff480000-0xff483fff irq 39 on ofwbus0 rockchip_dwmmc0: Hardware version ID is 270a mmc0: on rockchip_dwmmc0 rockchip_dwmmc1: mem 0xff490000-0xff493fff irq 40 on ofwbus0 rockchip_dwmmc1: Hardware version ID is 270a mmc1: on rockchip_dwmmc1 rockchip_dwmmc2: mem 0xff4a0000-0xff4a3fff irq 41 on ofwbus0 rockchip_dwmmc2: Hardware version ID is 270a mmc2: on rockchip_dwmmc2 dwc0: mem 0xff4e0000-0xff4effff irq 43 on ofwbus0 ETH BLAH 22 miibus0: on dwc0 ukphy0: PHY 0 on miibus0 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ukphy1: PHY 1 on miibus0 ukphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dwc0: Ethernet address: 62:73:64:77:1b:ef gpioc0: on gpio0 gpioc1: on gpio1 gpioc2: on gpio2 gpioc3: on gpio3 gpioc4: on gpio4 gpioled0: on ofwbus0 armv8crypto0: Timecounters tick every 1.000 msec Cannot set frequency for clk: clk_sdmmc, error: 34 rockchip_dwmmc0: failed to set frequency to 400000 Hz: 34 usbus1: 480Mbps High Speed USB v2.0 usbus2: 480Mbps High Speed USB v2.0 usbus3: 12Mbps Full Speed USB v1.0 ugen3.1: at usbus3 uhub0 on usbus3 uhub0: on usbus3 ugen2.1: at usbus2 uhub1 on usbus2 uhub1: on usbus2 ugen1.1: at usbus1 uhub2 on usbus1 uhub2: on usbus1 mmcsd0: 16GB at mmc0 50.0MHz/4bit/1016-block mmc1: No compatible cards found on bus Cannot set frequency for clk: clk_sdio, error: 34 rockchip_dwmmc2: failed to set frequency to 400000 Hz: 34 mmc2: No compatible cards found on bus CPU 0: ARM Cortex-A35 r0p2 affinity: 0 Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG> Instruction Set Attributes 0 = Instruction Set Attributes 1 = <> Instruction Set Attributes 2 = <> Processor Features 0 = Processor Features 1 = <> Memory Model Features 0 = Memory Model Features 1 = <8bit VMID> Memory Model Features 2 = <32bit CCIDX,48bit VA> Debug Features 0 = Debug Features 1 = <> Auxiliary Features 0 = <> Auxiliary Features 1 = <> AArch32 Instruction Set Attributes 5 = AArch32 Media and VFP Features 0 = AArch32 Media and VFP Features 1 = CPU 1: ARM Cortex-A35 r0p2 affinity: 1 CPU 2: ARM Cortex-A35 r0p2 affinity: 2 CPU 3: ARM Cortex-A35 r0p2 affinity: 3 Release APs...done Unresolved linked clock found: clk_rtc_32k Unresolved linked clock found: clk_ddrphy1x_out Unresolved linked clock found: clk_pvtm_32k Trying to mount root from ufs:/dev/ufs/rootfs [rw,noatime]... Unresolved linked clock found: xin32k Unresolved linked clock found: mclk_i2s0_8ch_in Unresolved linked clock found: mclk_i2s1_8ch_in Unresolved linked clock found: mclk_i2s2_8ch_in Unresolved linked clock found: mclk_i2s3_8ch_in Unresolved linked clock found: mclk_i2s0_2ch_in Unresolved linked clock found: mclk_i2s1_2ch_in Unresolved linked clock found: dummy Warning: no time-of-day clock registered, system time will not be set accurately Dual Console: Serial Primary, Video Secondary uhub0: 1 port with 1 removable, self powered uhub2: 1 port with 1 removable, self powered uhub1: 1 port with 1 removable, self powered lo0: link state changed to UP dwc0: link state changed to UP --tSRd7davl5znE93e-- From nobody Fri Jun 16 06:40:45 2023 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 4Qj8gQ5mTNz4fQ3Q for ; Fri, 16 Jun 2023 06:40:50 +0000 (UTC) (envelope-from kodcode@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qj8gP5bm4z42yb for ; Fri, 16 Jun 2023 06:40:49 +0000 (UTC) (envelope-from kodcode@gmx.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.com header.s=s31663417 header.b=CAHyHz2a; spf=pass (mx1.freebsd.org: domain of kodcode@gmx.com designates 212.227.17.21 as permitted sender) smtp.mailfrom=kodcode@gmx.com; dmarc=pass (policy=none) header.from=gmx.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.com; s=s31663417; t=1686897648; x=1687502448; i=kodcode@gmx.com; bh=H09EFQU3190zP6aPC8Qwyq08eWVod9Dr80ipKR+leN0=; h=X-UI-Sender-Class:Date:From:To:Subject; b=CAHyHz2aTsc0S0wOBbi3km84zMlFrCqJzkDLkTO59oy+0kHoKnPAGgRcdIAAFnssF9TGgjc qQw3fYPKR3XB6ta+a7NFmXzdU/hsNUIZVlWiNV7bZrAksM0KoDQuhjhYd3uG9EjHq3tPBgAV/ M2crCTPm7tU4fZtCV19VLIT2jsfadTH5KlSQuFfE3db51kbq8s+Vh6S0QPA/CBvXORGz9Nh22 0lMFgFfgp9sdkgV9YHLshwCShSFQWPK1BmPUx5KKUcZygDpkBKL8MzcsGtQoKN4slvslDNKIZ 1JRPx4RXWVjlt7Jsb7Y1YYabsz2Ilh+00YbYU8fDyLrxj1JpWg3Q== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from inspiron.kodcode.net ([80.246.130.64]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MxlzC-1puKll3LNG-00zGIO for ; Fri, 16 Jun 2023 08:40:48 +0200 Date: Fri, 16 Jun 2023 09:40:45 +0300 From: kodcode To: freebsd-arm@freebsd.org Subject: OrangePI R1 Plus LTS 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: text/plain; charset=us-ascii Content-Disposition: inline X-Provags-ID: V03:K1:xM/JRM06ak3frV8WhANQWwAv3FrLGPFz06VaSLJZ07IshOUnG3N XUWE8RD8OctM4/dP22IeJrOVUHfAbh5iaHVpsEb+k4GccJ0+aJlnULoB6AmBnnjzjOmWIgC 3P+eYO7jAvQT9yMF5Bj2OsGIbk0QMt1tC32WWAsLjS09rVd5xC9TzC8TONe8US/kqKLil7T lsY028MDugJwMwIqGVr9Q== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:/6hzYMHQ5vM=;55Jc1or8n86sFXVETS3jsdaVXi9 qkrpOiSoI3VQsjiWOsL/sz7/iWtXHdDWpZIEgzedTE9tjoM3zyDdi87jwCEA/FdsYy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(-0.50)[gmx.com,none]; R_DKIM_ALLOW(-0.20)[gmx.com:s=s31663417]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27:c]; RWL_MAILSPIKE_VERYGOOD(-0.20)[212.227.17.21:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.17.21:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; BLOCKLISTDE_FAIL(0.00)[80.246.130.64:server fail]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[gmx.com:+]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[gmx.com]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.com]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4Qj8gP5bm4z42yb X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Hello, did anyone succeed to boot FreeBSD on an OrangePI R1 Plus LTS (Rockchip RK3288)? kodcode From nobody Fri Jun 16 15:55:18 2023 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 4QjNzK5jBlz4dHK3 for ; Fri, 16 Jun 2023 15:55:25 +0000 (UTC) (envelope-from titus@edc.ro) Received: from eatlas.ro (eatlas.ro [86.126.82.18]) (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 "eatlas.ro", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QjNzJ1NzQz4LDh for ; Fri, 16 Jun 2023 15:55:23 +0000 (UTC) (envelope-from titus@edc.ro) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=edc.ro header.s=mail header.b=bXxcOHcA; spf=pass (mx1.freebsd.org: domain of titus@edc.ro designates 86.126.82.18 as permitted sender) smtp.mailfrom=titus@edc.ro; dmarc=none Received: from mail.edc.ro ([10.1.4.58]) by eatlas.ro (8.16.1/8.16.1) with ESMTPS id 35GFtJE7007471 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Fri, 16 Jun 2023 18:55:19 +0300 (EEST) (envelope-from titus@edc.ro) Received: from tituss-imac.eatlas.local (eatlas.ro [86.126.82.18]) (authenticated bits=0) by mail.edc.ro (8.16.1/8.16.1) with ESMTPSA id 35GFtHXl088905 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 16 Jun 2023 18:55:17 +0300 (EEST) (envelope-from titus@edc.ro) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=edc.ro; s=mail; t=1686930917; bh=68rsO/w93/E8d+FJ8kzoWi1GybzWiBfTJFZyVhEK2lE=; h=From:Subject:Date:To; b=bXxcOHcAq6elHwfNKy8EtwdgG/wDtSId9Xjy2NR2phQsxjcLshpltUUizozxsiV9p C+C7v/aM9elPmNAlBjLQswEPKL2U2w5jvQtDZwzlCdEOSyYuE5OvQzVnpbSWCEyvKc 0K77WfcqU4OTl27sPXgYfCBD953knZAP1f/vG31Q= From: titus Content-Type: text/plain; charset=us-ascii 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 13.4 \(3608.120.23.2.7\)) Subject: driver loading order Message-Id: <8E9A4B08-EFD7-4872-B789-698B77A0DACB@edc.ro> Date: Fri, 16 Jun 2023 18:55:18 +0300 To: freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ns.edc.ro X-Spamd-Result: default: False [-2.65 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.99)[-0.993]; NEURAL_HAM_SHORT(-0.66)[-0.662]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[edc.ro:s=mail]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[edc.ro:+]; BLOCKLISTDE_FAIL(0.00)[86.126.82.18:server fail]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:8708, ipnet:86.120.0.0/13, country:RO]; DMARC_NA(0.00)[edc.ro]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4QjNzJ1NzQz4LDh X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N what is the correct method for loading drivers in a specific order I hacked a driver for pwm-regulator so i can have cpufreq_dt so rk_pwm/pwm needs to be loaded before the pwm-regulator driver and = after the clock=20 driver i changed the pass arg for EARLY_DRIVER_MODULE and in the end it worked = but im not sure this is the best way thanks=20= From nobody Fri Jun 16 15:59:54 2023 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 4QjP4m5QBLz4dJg7 for ; Fri, 16 Jun 2023 16:00:08 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (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 4QjP4m2lwsz4M50 for ; Fri, 16 Jun 2023 16:00:08 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-51a20138617so1152016a12.2 for ; Fri, 16 Jun 2023 09:00:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20221208.gappssmtp.com; s=20221208; t=1686931206; x=1689523206; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=OBJOOjoOPlGJKHNDksIFpFD8HIzQev6zH52yptiwWVA=; b=ZlqS5TAjVlNFCsJwvlbnctNw6cPHz+4+dSOqf1kNX+MgkCrc4OApAZmXxv6+I+op/O CGn/JSBysbvdIhkMaff1gSUZQvHOyptXiSuAK4k7q0E+w48vLdbwpitB9wxF6xDhpOOE js1Z9ZlnDU159BT3CZHOCJtpYesWMglKzSDfPfmwgLD9qcefxdEaPbcv8HtTWCpwmC3I /y//77oU7DtRebibih4fC84hGAlVu+edGKHCejhOcpUJ2TGsCZihdr5Q3syduvoHfRkW nS7Q3zCCRAhyAr2OZ+GtnVf1JIi7lp/9XbR5B7lYsm/QYc9GyC6rHXLdzrFyu6lHwq92 NtLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686931206; x=1689523206; 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=OBJOOjoOPlGJKHNDksIFpFD8HIzQev6zH52yptiwWVA=; b=PqOSwxrkoXBuI6GfkDYvRSF2l900jL7TXbk38K7JUShhQuxN0vMjxBHnE1tM6s3jfP MzqM0hJSAGGaDsoa7bhlRHhqOJUuOau+YWE8bBd76eheeUPGOrSB/PoB+0j6GGSG1PdC OPgcJ4bmjrZ3xZ/hj0X1T62z+f6d1drSY5eTeyJxZEaTKsTajve77Uv4sdqx7qs55ugQ lk/jVr/IXultMkJ4stl1Hqg2MWF2sPW6PtnS4yTUw95ubohsMrBTlhuPS+5WlhCdcJ8a 0ojV1AXnH7xIh5Oz9ZcfMjpCr8VHeo+wv4Ehwc3WfqNerXPwfWvmcuUBsPqfGAVKCnHH TVBA== X-Gm-Message-State: AC+VfDxMZk8PcXXyC4YswuawF/axcDHu8RJkRONa3JPKhI0fSVGmvMiC JOYKxFIoG5/+DodEM9Z4fu1ppxINwazbsxwKgzg0RkLxUba5Fbqv X-Google-Smtp-Source: ACHHUZ4zyVRdyFF798rfpYcrHx4NyCAHTUdtaf2431dxwlnIGaDsfBzNaE2pNpjTM0GeYWAB2g9+/DQbI42KghGPKZ0= X-Received: by 2002:a05:6402:395:b0:514:960e:6 with SMTP id o21-20020a056402039500b00514960e0006mr1599531edv.10.1686931206326; Fri, 16 Jun 2023 09:00:06 -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: <8E9A4B08-EFD7-4872-B789-698B77A0DACB@edc.ro> In-Reply-To: <8E9A4B08-EFD7-4872-B789-698B77A0DACB@edc.ro> From: Warner Losh Date: Fri, 16 Jun 2023 09:59:54 -0600 Message-ID: Subject: Re: driver loading order To: titus Cc: "freebsd-arm@freebsd.org" Content-Type: multipart/alternative; boundary="00000000000050749e05fe4147fc" X-Rspamd-Queue-Id: 4QjP4m2lwsz4M50 X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --00000000000050749e05fe4147fc Content-Type: text/plain; charset="UTF-8" On Fri, Jun 16, 2023, 9:55 AM titus wrote: > what is the correct method for loading drivers in a specific order > I hacked a driver for pwm-regulator so i can have cpufreq_dt > so rk_pwm/pwm needs to be loaded before the pwm-regulator driver and after > the clock > driver > i changed the pass arg for EARLY_DRIVER_MODULE and in the end it worked > but im not sure this is the best way > That's generally the best way for things like clocks and regulators. Those item enable other devices to work, so should be attached in an earlier pass. Warner thanks > --00000000000050749e05fe4147fc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Fri, Jun 16, 2023, 9:55 AM titus <titus@edc.ro> wrote:
what is the correct method for loading drivers in a specific ord= er
I hacked a driver for pwm-regulator so i can have cpufreq_dt
so rk_pwm/pwm needs to be loaded before the pwm-regulator driver and after = the clock
driver
i changed the pass arg for EARLY_DRIVER_MODULE and in the end it worked but= im not sure this is the best way

That's generally the best way for thin= gs like clocks and regulators. Those item enable other devices to work, so = should be attached in an earlier pass.

Warner=C2=A0

thanks
--00000000000050749e05fe4147fc-- From nobody Sat Jun 17 12:15:08 2023 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 4Qjw2y33Rlz4dvZv for ; Sat, 17 Jun 2023 12:15:22 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qjw2y2dVfz4Kd7 for ; Sat, 17 Jun 2023 12:15:22 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687004122; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=L4mNsqDN+Jfbnz/oKFSkzgTUNTuDSSCegiwaKxno3e0=; b=H2F7HxHug3/bm9eTgcbd1cQTOfAuE9UPh3UO82MRfBa6snPj1HRwsbpF7UggdXvEhLg+Lw OFqrsj3OZO/LnJ+F9uH2S8ls83xJLtlfyjLE67g8/5VyxBrmMPsOkSJSziodacWPeJ3taN XDhaWcpWTyZg4ETfuwwsDgVMWkGtwWfGUY4LWo5CB/9da4aEzjt6s9aWN5+yrB702fCi36 ywtzd6P2EAJwWyKPUbZg49wFdScgT/K6XqrHgiIsjHRSlJQS7vqDBFHnOP0IpPxf0vLa2V dvgOEaHxt2hcTtEELHbIt4IJXb0bJPMU8acPiowLVPV9RlBRJkTKKTOEZk2a0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687004122; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=L4mNsqDN+Jfbnz/oKFSkzgTUNTuDSSCegiwaKxno3e0=; b=k/JpymG40l+o2JkfXUIExDDVt9dnmRgIkErRZzeyyoI0tiuj38dCI4d9yeeHEkXvJmXg28 ZKyDVVBax2+FiZCKHlLIfX25sQzZJCA5OxZogJ3LI3CYmNHa+cUcvC8U/maB9Y5xxwzWnn ovx6XT0AxVOKU0JF/gQxYTj35db+xIaonV4dTtwBXO72gF991AmwlWsx5C+82TktAf+xLv 0BfIvR6GHD/AC6wrGtQmHwzpEnLHU/bfb3EV3p9tNLMAz23712Wfkdu7CFjp6GzZeBdBQ+ Zlat5FjmOJ6faTfHd5jO+40wLPV54bcIKihxU92BByvYqS0W1KeaJpH++BBj+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687004122; a=rsa-sha256; cv=none; b=L5ByVXhsElHiwofY9oPxHDUJ6jgW/2t3i4eWbyJanWisXTw79eLy57akCuk4tD4uqB6xO7 XKzQpGZ7+1xc/PNo1JFbjUUhUVtsOA98x6B25Y6LWSufmxROqFYntVeTU5tkstxl9q4yxm io1Ixvuq26qCfwxR/tpdS+sHiEBBP4pIQNVwk9Q6u3l5EZzn1wATJ1NoJIJ+PdmNnFrEBB uUowHF7X0nxcYHFHi0a8tJosuy/xKlTafE+cOUGpxOHlWDwe4516SllgAqeTVwJSKXbuNn 1+nOeVBtRFqkb8nOZUoA/gwmmM/9+w/y/7Jzfxqbm6SXB3lv+nBKGiHFU4JZtQ== Received: from mail-qt1-f174.google.com (mail-qt1-f174.google.com [209.85.160.174]) (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)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Qjw2y1YVQzmhN for ; Sat, 17 Jun 2023 12:15:22 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qt1-f174.google.com with SMTP id d75a77b69052e-3fde0f72f61so3196291cf.1 for ; Sat, 17 Jun 2023 05:15:22 -0700 (PDT) X-Gm-Message-State: AC+VfDwTG0CYvkUz6+aYD6QZr5zQQ12B66vFyMrgDcGSQFyQ8/EA7wtP +M4HwD0Z9HAwBIWtEtsnKG6nmLS57DUhxFOG3xQ= X-Google-Smtp-Source: ACHHUZ4V9pESewzZAMXr0bXZzXzDkPSHys7QMzDORofT2NBB50lPWRQkWpxiQgo9wQmxbipif8YHYar8S+JdvU7MrMc= X-Received: by 2002:a05:622a:14f:b0:3f8:4612:5aa8 with SMTP id v15-20020a05622a014f00b003f846125aa8mr10808012qtw.18.1687004121017; Sat, 17 Jun 2023 05:15:21 -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 From: Nuno Teixeira Date: Sat, 17 Jun 2023 13:15:08 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: keyboard doesn't work at Boot Menu To: freebsd-arm@freebsd.org Content-Type: multipart/alternative; boundary="0000000000005e314805fe52414f" X-ThisMailContainsUnwantedMimeParts: N --0000000000005e314805fe52414f Content-Type: text/plain; charset="UTF-8" Hello all, How to access boot menu ( https://docs.freebsd.org/en/books/handbook/bsdinstall/#bsdinstall-view-probe )? Running 13-stable on rpi4 and keyboard does't do any action at this stage. Any clues? Thanks, -- Nuno Teixeira FreeBSD Committer (ports) --0000000000005e314805fe52414f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello all,


Running 13-stable on= rpi4 and keyboard does't do any action at this stage.

Any clues?

Thanks,

--
Nuno Teixeira
FreeBSD Committer (ports)=
--0000000000005e314805fe52414f-- From nobody Sat Jun 17 14:34:04 2023 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 4Qjz6v0tWKz4dtN9 for ; Sat, 17 Jun 2023 14:33:59 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (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 "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qjz6s4d8rz3rHS for ; Sat, 17 Jun 2023 14:33:57 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net; dmarc=none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.17.1/8.15.2) with ESMTPS id 35HEY4Rs035935 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sat, 17 Jun 2023 07:34:04 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.17.1/8.15.2/Submit) id 35HEY472035934 for freebsd-arm@freebsd.org; Sat, 17 Jun 2023 07:34:04 -0700 (PDT) (envelope-from fbsd) Date: Sat, 17 Jun 2023 07:34:04 -0700 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Armv7 linker failure on -current 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: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-1.09 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; NEURAL_HAM_MEDIUM(-1.00)[-0.995]; MID_RHS_WWW(0.50)[]; WWW_DOT_DOMAIN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[zefox.net]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4Qjz6s4d8rz3rHS X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N A Pi2 running -current stops in buildworld with Building /usr/obj/usr/src/arm.armv7/usr.sbin/tcpdump/tcpdump/print-wb.o (cd /usr/src/usr.bin/cpio/tests && DEPENDFILE=3D.depend.bsdcpio_test NO_S= UBDIR=3D1 make -f /usr /src/usr.bin/cpio/tests/Makefile _RECURSING_PROGS=3Dt PROG=3Dbsdcpio_test ) Building /usr/obj/usr/src/arm.armv7/usr.bin/cpio/tests/bsdcpio_test.full ld: error: test_format_newc.o:2: unknown directive: CMD >>> CMD cc -target armv7-gnueabihf-freebsd14.0 --sysroot=3D/usr/obj/usr/src= /arm.armv7/tmp -B/usr/obj/usr/src/arm.armv7/tmp/usr/bin -O2 -pipe -fno-com= mon -DPLATFORM_CONFIG_H=3D\"/usr/src/lib/libarchive/config_freebsd.h\" -I/u= sr/src/lib/libarchive -I/usr/obj/usr/src/arm.armv7/usr.bin/cpio/tests -I/us= r/obj/usr/src/arm.armv7/usr.bin/cpio/tests -I/usr/src/contrib/libarchive/cp= io -I/usr/src/contrib/libarchive/cpio/test -I/usr/src/contrib/libarchive/li= barchive -I/usr/src/contrib/libarchive/libarchive_fe -I/usr/src/contrib/lib= archive/test_utils -g -gz=3Dzlib -std=3Dgnu99 -Wno-format-zero-length -fs= tack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wn= o-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith= -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-param= eter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition= -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-saf= ety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-er= ror=3Dunused-but-set-variable -Wno-error=3Dunused-but-set-parameter -Qunus= ed-arguments -c /usr/src/contrib/libarchive/cpio/test/test_extract_cpio_zs= td.c -o test_extract_cpio_zstd.o >>> ^ cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [bsdcpio_test.full] Error code 1 Raspberry Pi 3 and 4 at the same revision completed successfully running aa= rch64. A re-run of git pull reported the Pi2 as "up to date". The filesystem is UF= S,=20 the build command is=20 make -j2 -DWITH_META_MODE buildworld > buildworld.log && make -j4 -DWITH_= META_MODE KERNCONF=3DGENERIC buildkernel > buildkernel.log Thanks for reading, and any guidance! bob prohaska From nobody Sat Jun 17 15:11:16 2023 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 4QjzyJ3549z4fCZW for ; Sat, 17 Jun 2023 15:11:36 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-24.consmr.mail.gq1.yahoo.com (sonic303-24.consmr.mail.gq1.yahoo.com [98.137.64.205]) (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 4QjzyJ0YsBz40h7 for ; Sat, 17 Jun 2023 15:11:36 +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=1687014694; bh=7DIdEvEOYk6IeI8ugQUaQLiBPCM7dwiUmu0Bs9oBQTg=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=aPaDy7XQ13Ad1vwV3DG+SR+YzZkMTtiKIUJC4EJooW1reiFErhe+2IiI8yFF2ST2q4Z+ARVToj6witxvOQHPLXHjcSk/dVPHwNkn3CKlzUX0dKRmpUTTLZ6dQd5YwjomSclwPXCzltVn6gTuq7sNoFcyGzrD8tGNDxHsFmMlWf3LfSbXLiHHLTI3/5NmuNZplHBz4P81gsKPQIsia/C0On7m0rRc3FxMtjTMc6qi5mr6hivoV77al0v71rRWgrTTuHOCgsbpMIhebXDpJTjB6rkoLTPjV/dirpz7y8j8z82JHY7KTRhCJhOBqnhHkh1g6FoxZTMstVSumsn9NZ/9PA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687014694; bh=4DlcPWacCOmRsHU9SQBuCceIZaPxsE5G9NMqNpjNSpA=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=dGTgEHP5n4xOtj5KNEZfAvpPw10tIv6N+hj1kSjW2r95Cj0HM0HNXp30FIf/Xtmgt/C7CBQC5y/vQwnjExwFBZoKoDyQtdFPiR/BZhOFi4Nu/LPJ0B7CcuI74x20WggxoRQ+f4JQ97tYD5MIrjzT7wt1+hoJNBBSdcokbBka5bKB3RanInVoHAb5SxNf5jbidFmQPD5YoK89G/5AYonvVik0Xo2QCZ8xaYbuEdN9Gywxpe4LVMR6rMvFQR9R+eTvUrROFxVDbxnnkeQNGgzxebOgSI0FWAYDu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KmW48zmB.WQM8txqdUVnvuH.92BySbnCKcdOxe7bMIXjJGr o4c5mKwYnwFWVVsRK4rVCyZbziQaxsyfKlRZkr16SS2OwLVsShU_efHbQARYGPZB6A37d8hAFDyp NajKpmkO_zAzSWjAqGFs2502CMDTEJKDcC43rvvXzl436yPFrPxihgiKCYly073XcrV5WaelLQpz NmU7IdT_4XRL778rHn5JEkQNtpwzhAbK0bMukbG9Yt6eET.gQ.6RAHBmUBqneqsI0eGYfBVMYnDv Kjg-- X-Sonic-MF: X-Sonic-ID: 6fa56bcc-1684-4661-b853-c583b75cdf57 Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Sat, 17 Jun 2023 15:11:34 +0000 Received: by hermes--production-ne1-574d4b7954-scd6l (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f979e91d4d84fc0c4c76dd1ff81553fb; Sat, 17 Jun 2023 15:11:28 +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 16.0 \(3731.600.7\)) Subject: Re: keyboard doesn't work at Boot Menu From: Mark Millard In-Reply-To: Date: Sat, 17 Jun 2023 08:11:16 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <99542360-6350-4636-A9EA-CA9BBCC93C60@yahoo.com> References: To: Nuno Teixeira X-Mailer: Apple Mail (2.3731.600.7) X-Rspamd-Queue-Id: 4QjzyJ0YsBz40h7 X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Jun 17, 2023, at 05:15, Nuno Teixeira wrote: > Hello all, Hello. > How to access boot menu = (https://docs.freebsd.org/en/books/handbook/bsdinstall/#bsdinstall-view-pr= obe)? >=20 > Running 13-stable on rpi4 and keyboard does't do any action at this = stage. >=20 > Any clues? It is unclear what the context is here: Serial console? No serial = console? What is in /boot/loader.conf ? I've a serial console context and have: boot_multicons=3D"YES" boot_serial=3D"YES" Is the stable/13 from a specific *.img* file from the likes of: http://ftp3.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/13.2/?C=3DM&O=3DD= ? If yes, which one? If self built, what commit was the build based on? Has this worked for you before? If yes, based on what commit back when it last worked? Note: Warner's recent changes to stand/ for the subject area are only in main [so: 14] so far. So it appears that the only fairly recent change for such for stable/13 has been: loader: comconsole: don't unconditionally wipe out hw.uart.console Kyle = Evans 2023-04-26 =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sat Jun 17 15:34:16 2023 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 4Qk0Sm1Zp4z4fPgR for ; Sat, 17 Jun 2023 15:34:32 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-54.consmr.mail.gq1.yahoo.com (sonic315-54.consmr.mail.gq1.yahoo.com [98.137.65.30]) (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 4Qk0Sl1VTSz45kH for ; Sat, 17 Jun 2023 15:34:30 +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=1687016068; bh=6Vka6hxuBMkOPUIx99aG6JWskSJ//fEfFWupkK5WRN0=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=X/hA3HRXuEJ2OCEGp1GrLEA3pKqVeJkE3Qln56BOCbdAyJHImULYTq7Obcl+MXP6Z+ON/RU203CAJAPjyie6V9ti3MKWqH7aZx+VGafLlYFDUqFgskaGEVK+Sw1M7CHh56SviXg/lkuGChBfGo3KEgNum0aSvCr+NJcZh20rZePgRaJdy7VApSh3CjD5Gs+gNHq/d/7hramtPaXfkXXHYtLos6815V6G1ndDo797JwNTD+wbjhRwWnJNbzdp9BoatSCpbBziOormY9uwsfLtlqgAsKUhRDcr7kg9rFQb8TcfBw/o6r+7LuZ8fb56sXYjqgTIrydy322fxWaYnKndcw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687016068; bh=RtmRJsaujWWHP4VzxRUqLSVhlOlC9Qcbsn+gu1dCLbS=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=ZphmqpUSz6qzbWEn7Kdd3SnxUCCqqPzagvC+jtrQZUDCiCHsBPLM3MpLTbvrRiRvzdmfIVY21gJ4tpfzowHjzYWEtOmG5EAykLS6sci7WJ3PFOAc19W2tS13nHsBfEawvVeTIQ8mBuy/ataK31cF9F+0XWpDTI/m2BKZTbJvPouCcSQUt8gchYa78sqAJXNorOS1R3hqb35p9YT8LJdtY5PDWeQwKsuuULzOsHz4+qAEse/rDfbX2cc6rndv6VdEMaCjuUL2lWCkm58jvpM81x7NcH+8iXKgYAE0InQ2HuUo/e86yaz2lBw+EEeAghrTd3hFeidO2QtqSlDxC/uYBQ== X-YMail-OSG: l9F4WNwVM1kAe.udCpy33OCw.Yjq62CT5CvV6c5GLrJs5yRvRsiU_hggUS4wTmE 1ObxDjvStv04lqoFiBVFWkdxbL_SZK.tNpWYid9F__c2wj9N0TddVC78woCMFtPMR7lSIt5nal9e X1UzrFceoietdTm_Mc6TU0xg9Q40uK_5cxGCMtYzrAlQstP3K3MXIqLcyA2jYniGFr3QORj11t28 sgNf5nfoH_M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6da49a-9d7e-4ef9-ac01-a845ea08e03e Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Sat, 17 Jun 2023 15:34:28 +0000 Received: by hermes--production-gq1-6db989bfb-4sk72 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID cb59c5c2dbd2e4a4c5cd60f75577a824; Sat, 17 Jun 2023 15:34:27 +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 16.0 \(3731.600.7\)) Subject: Re: Armv7 linker failure on -current From: Mark Millard In-Reply-To: Date: Sat, 17 Jun 2023 08:34:16 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <8B771495-1C68-4A23-8658-02A8AD28088B@yahoo.com> References: To: bob prohaska X-Mailer: Apple Mail (2.3731.600.7) X-Rspamd-Queue-Id: 4Qk0Sl1VTSz45kH X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Jun 17, 2023, at 07:34, bob prohaska wrote: > A Pi2 running -current stops in buildworld with I assume self building an update to main [so: 14]. What commit last built successfully? (This bounds what would be = different in official materials.) > Building = /usr/obj/usr/src/arm.armv7/usr.sbin/tcpdump/tcpdump/print-wb.o > (cd /usr/src/usr.bin/cpio/tests && DEPENDFILE=3D.depend.bsdcpio_test = NO_SUBDIR=3D1 make -f /usr > /src/usr.bin/cpio/tests/Makefile _RECURSING_PROGS=3Dt = PROG=3Dbsdcpio_test ) > Building = /usr/obj/usr/src/arm.armv7/usr.bin/cpio/tests/bsdcpio_test.full > ld: error: test_format_newc.o:2: unknown directive: CMD Note the above error from prior activity not shown in your message. >>>> CMD cc -target armv7-gnueabihf-freebsd14.0 = --sysroot=3D/usr/obj/usr/src/arm.armv7/tmp = -B/usr/obj/usr/src/arm.armv7/tmp/usr/bin -O2 -pipe -fno-common = -DPLATFORM_CONFIG_H=3D\"/usr/src/lib/libarchive/config_freebsd.h\" = -I/usr/src/lib/libarchive = -I/usr/obj/usr/src/arm.armv7/usr.bin/cpio/tests = -I/usr/obj/usr/src/arm.armv7/usr.bin/cpio/tests = -I/usr/src/contrib/libarchive/cpio = -I/usr/src/contrib/libarchive/cpio/test = -I/usr/src/contrib/libarchive/libarchive = -I/usr/src/contrib/libarchive/libarchive_fe = -I/usr/src/contrib/libarchive/test_utils -g -gz=3Dzlib -std=3Dgnu99 = -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers = -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter = -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type = -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter = -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition = -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations = -Wthread-safety -Wno-empty-body -Wno-string-plus-int = -Wno-unused-const-variable -Wno-error=3Dunused-but-set-variable = -Wno-error=3Dunused-but-set-parameter -Qunused-arguments -c = /usr/src/contrib/libarchive/cpio/test/test_extract_cpio_zstd.c -o = test_extract_cpio_zstd.o >>>> ^ > cc: error: linker command failed with exit code 1 (use -v to see = invocation) > *** [bsdcpio_test.full] Error code 1 This may be a consequence of what lead to the prior error message(s). I normally start with investigating the first error, not the later ones that may depends on earlier ones. > Raspberry Pi 3 and 4 at the same revision completed successfully = running aarch64. >=20 > A re-run of git pull reported the Pi2 as "up to date". The filesystem = is UFS,=20 > the build command is=20 > make -j2 -DWITH_META_MODE buildworld > buildworld.log && make -j4 = -DWITH_META_MODE KERNCONF=3DGENERIC buildkernel > buildkernel.log >=20 What is in the files: /usr/obj/usr/src/arm.armv7/usr.bin/cpio/tests/test_format_newc.o.meta /usr/obj/usr/src/arm.armv7/usr.bin/cpio/tests/bsdcpio_test.full.meta file after the build failure? Also, more of the build log might prove to be of interest. You may want to give access to it. For test_format_newc.o.meta , my last build of armv7 main shows: # Meta data file = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/usr.bin/cpio/t= ests/test_format_newc.o.meta CMD cc -mcpu=3Dcortex-a7 -target armv7-gnueabihf-freebsd14.0 = --sysroot=3D/usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tm= p = -B/usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/bin = -O2 -pipe -fno-common = -DPLATFORM_CONFIG_H=3D\"/usr/main-src/lib/libarchive/config_freebsd.h\" = -I/usr/main-src/lib/libarchive = -I/usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/usr.bin/cpio= /tests = -I/usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/usr.bin/cpio= /tests -I/usr/main-src/contrib/libarchive/cpio = -I/usr/main-src/contrib/libarchive/cpio/test = -I/usr/main-src/contrib/libarchive/libarchive = -I/usr/main-src/contrib/libarchive/libarchive_fe = -I/usr/main-src/contrib/libarchive/test_utils -DNDEBUG -g -gz=3Dzlib = -std=3Dgnu99 -Wno-format-zero-length -fstack-protector-strong = -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter = -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type = -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter = -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition = -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations = -Wthread-safety -Wno-empty-body -Wno-string-plus-int = -Wno-unused-const-variable -Wno-error=3Dunused-but-set-variable = -Wno-error=3Dunused-but-set-parameter -Qunused-arguments -c = /usr/main-src/contrib/libarchive/cpio/test/test_format_newc.c -o = test_format_newc.o CMD CWD = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/usr.bin/cpio/t= ests TARGET test_format_newc.o -- command output -- -- filemon acquired metadata -- # filemon version 5 # Target pid 79320 # Start 1686464003.763817 V 5 E 79535 /bin/sh R 79535 /etc/libmap.conf R 79535 /usr/local/etc/libmap.d R 79535 /usr/local/etc/libmap.d/mesa.conf R 79535 /var/run/ld-elf.so.hints R 79535 /lib/libedit.so.8 R 79535 /lib/libc.so.7 R 79535 /lib/libtinfow.so.9 R 79535 /usr/share/locale/C.UTF-8/LC_CTYPE F 79535 79537 E 79537 /usr/bin/cc R 79537 /etc/libmap.conf R 79537 /usr/local/etc/libmap.d R 79537 /usr/local/etc/libmap.d/mesa.conf R 79537 /var/run/ld-elf.so.hints R 79537 /lib/libz.so.6 R 79537 /usr/lib/libexecinfo.so.1 R 79537 /lib/libncursesw.so.9 R 79537 /lib/libtinfow.so.9 R 79537 /lib/libthr.so.3 R 79537 /lib/libc++.so.1 R 79537 /lib/libcxxrt.so.1 R 79537 /lib/libm.so.5 R 79537 /lib/libc.so.7 R 79537 /lib/libelf.so.2 R 79537 /lib/libgcc_s.so.1 R 79537 /usr/main-src/contrib/libarchive/cpio/test/test_format_newc.c R 79537 test_format_newc-3286aa4d.o.tmp W 79537 test_format_newc-3286aa4d.o.tmp R 79537 /usr/main-src/contrib/libarchive/cpio/test/test.h R 79537 /usr/main-src/contrib/libarchive/test_utils/test_common.h R 79537 /usr/main-src/lib/libarchive/config_freebsd.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/osreldate.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/types.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/cdefs.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/machine/endian.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/_types.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/machine/_types.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/_endian.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/_pthreadtypes.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/_stdint.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/bitcount.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/select.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/_sigset.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/_timeval.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/timespec.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/_timespec.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/stat.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/time.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/_clock_id.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/time.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/_null.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/xlocale/_time.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/dirent.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/dirent.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/errno.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/fcntl.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/stdint.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/machine/_stdint.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/stdio.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/stdlib.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/string.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/strings.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/xlocale/_strings.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/xlocale/_string.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/ctype.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/_ctype.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/runetype.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/xlocale/_ctype.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/unistd.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/unistd.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/wchar.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/machine/_limits.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/xlocale/_wchar.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/acl.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/param.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/syslimits.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/signal.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/machine/signal.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/machine/param.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/machine/_align.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/limits.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/queue.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/vm/uma.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/malloc.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/_lock.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/_mutex.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/sys/_smr.h R 79537 = /usr/main-src/contrib/libarchive/libarchive/archive_platform_acl.h R 79537 = /usr/main-src/contrib/libarchive/libarchive/archive_platform_xattr.h R 79537 /usr/main-src/contrib/libarchive/test_utils/test_utils.h R 79537 = /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/includ= e/stddef.h M 79537 'test_format_newc-3286aa4d.o.tmp' 'test_format_newc.o' X 79537 0 0 X 79535 0 0 # Stop 1686464004.381820 # Bye bye =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sat Jun 17 15:52:23 2023 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 4Qk0sc4cLPz4fYgS for ; Sat, 17 Jun 2023 15:52:36 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qk0sc0QzKz49kj for ; Sat, 17 Jun 2023 15:52:36 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687017156; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JV/6Too/qOA6+ue+AyGhd5nS9zIheobxPd2FiF79WX0=; b=JKudb9Vf01rf3bZhQH/wk7VoHJzXquCglb2AMnCYDp8WY5K0G+o3bveYoI8z+Bi6pWAjrs XfZ7iXKvp9dugppbc4AVnHQdC3oalB+NIvr3Ka9QKWZBZ1nlqHkk/9ZOdMJX9mGO4mmXqL zGY2sZ2WQniFLKZyvja37g2eTgUe7ansJG3B6Lzla7vt+Kql53VpUiVANlEyj7x2DJT7bg Deup8dA5aHiGZc2a6MTV+75BB8lTRnii0plyx54ZZ+IVZDYkVAUtY8WFDewuuEji9sJ19t UCuL+HL+Y3ZlL2xG1daB8gYpCXNM7vlkuOnFxI3rIUtDWxye0pJ9qcqbiikZoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687017156; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JV/6Too/qOA6+ue+AyGhd5nS9zIheobxPd2FiF79WX0=; b=Y93dfwJddhjzRrhkbZ2mmpB3sfFhcALYUT3db27lZv16qWCmkuh1X0s6RDfUNt0uss9dFw z2nUvQv9/JFaN045yv+XLY/Wr6jE1Az89YQpmJcJ3ZGVDWrW6D+fcXOMwe/dmxDHGuWg6a JrOtdw5OBbqNPH9lFlz6f6NKZVM9tFsquuqwwbe42lM5Xq7vAJva9ZOKzer4G2X39ttuEM enuoaKrpfyFgT8TUsFf6ABojfUowQkIdzTAIEWF3ejbb/UuVQLaT/ECAGTF9S+jymvMID8 AEWZ/gl1moRGKhOGDqkRWBgwPRaMkMo4Vuw9mw6wOhWEGwrz4uYfg1ssXiDfuw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687017156; a=rsa-sha256; cv=none; b=SDtOTsVMvJ8O44HirWd2UdT9V5R/EB+fexra96ZiB8LTWkSyLCybpmU6RlGeuXXcOdT9UA j62DgOdyBRz7sTbQfjdU6Ok/kp1Yklhkx+tEWN7W9BEme05nTYrm27UMl64w1GXomVZ1n5 y8CohPlJFryOp1Mu1JUUU2sayAZxDov6E1tlwqnB5JZPJURSfCTiRPP0ANk10NGkxFm0Es dRvAl/zPRyw8wYaQfGbdqQ/JMkYOSG8gLBANgIRlYWKmNhJqG/vPMVMtVuQwsR/ZJbirc8 K+LGla/Bjw0DmZcvK7JoYQJKYsRJ0wCpJVFnxgJeyxaI+QUBQ6sUpPnjEPdzOA== Received: from mail-qv1-f52.google.com (mail-qv1-f52.google.com [209.85.219.52]) (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)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Qk0sb6c7HztFF for ; Sat, 17 Jun 2023 15:52:35 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qv1-f52.google.com with SMTP id 6a1803df08f44-62ff4f06b3cso17527176d6.1 for ; Sat, 17 Jun 2023 08:52:35 -0700 (PDT) X-Gm-Message-State: AC+VfDxCHGPx3LB+MtthNMa2A83tCJSoX7M64a68XNZ+gr66FPbfnBBa n4GtHZHrg3rSsYKjjkdqGLby34SimJv+YMmdYIA= X-Google-Smtp-Source: ACHHUZ7Ov6eVw0G+T+HGKXFLP07XS1RAZdJG2UbSXdM7s8voVttBdzigLRKOkXh/wHryDzfl07+ogbEb6bz0GdItzWU= X-Received: by 2002:a05:6214:ca1:b0:62f:d00c:7f41 with SMTP id s1-20020a0562140ca100b0062fd00c7f41mr7582039qvs.26.1687017154332; Sat, 17 Jun 2023 08:52:34 -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: <99542360-6350-4636-A9EA-CA9BBCC93C60@yahoo.com> In-Reply-To: <99542360-6350-4636-A9EA-CA9BBCC93C60@yahoo.com> From: Nuno Teixeira Date: Sat, 17 Jun 2023 16:52:23 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: keyboard doesn't work at Boot Menu To: Mark Millard Cc: freebsd-arm@freebsd.org Content-Type: multipart/alternative; boundary="00000000000036ce0905fe554a3f" X-ThisMailContainsUnwantedMimeParts: N --00000000000036ce0905fe554a3f Content-Type: text/plain; charset="UTF-8" Hello Mark! It is unclear what the context is here: Serial console? No serial console? > > What is in /boot/loader.conf ? I've a serial console context and have: > > boot_multicons="YES" > boot_serial="YES" > rpi4 connected to monitor via hdmi /boot/loader.conf: kern.geom.label.disk_ident.enable="0" kern.geom.label.gptid.enable="0" cryptodev_load="YES" zfs_load="YES" > Is the stable/13 from a specific *.img* file from the likes of: > > http://ftp3.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/13.2/?C=M&O=D > > ? If yes, which one? If self built, what commit was the build based on? > > Has this worked for you before? If yes, based on what commit back when > it last worked? > Instalation is from 13.2-RELEASE and firmware copied from it. I'm tracking STABLE for some time and I'm at stable/13-n255602-e6c1e181ba7f Since first instalation that keyboard doesn't work in Boot menu. > > > Note: Warner's recent changes to stand/ for the subject area are only > in main [so: 14] so far. So it appears that the only fairly recent > change for such for stable/13 has been: > > loader: comconsole: don't unconditionally wipe out hw.uart.console Kyle > Evans 2023-04-26 > > === > Mark Millard > marklmi at yahoo.com > > Thanks! -- Nuno Teixeira FreeBSD Committer (ports) --00000000000036ce0905fe554a3f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Mark!

It is unclear what the context is here: Serial console? No serial console?<= br>
What is in /boot/loader.conf ? I've a serial console context and have:<= br>
boot_multicons=3D"YES"
boot_serial=3D"YES"

rpi4 conn= ected to monitor via hdmi

/boot/loader.conf:
=

kern.geom.label.disk_ident.enable=3D"0"
ke= rn.geom.label.gptid.enable=3D"0"
cryptodev_load=3D"YES&qu= ot;
zfs_load=3D"YES"
=C2=A0
Is the stable/13 from a specific *.img* file from the likes of:

http://ftp3.freebsd.or= g/pub/FreeBSD/snapshots/ISO-IMAGES/13.2/?C=3DM&O=3DD

? If yes, which one? If self built, what commit was the build based on?

Has this worked for you before? If yes, based on what commit back when
it last worked?

Instalation is from 13.= 2-RELEASE and firmware copied from it.
I'm tracking STABLE fo= r some time and I'm at stable/13-n255602-e6c1e181ba7f

Since first instalation that keyboard doesn't work in Boot men= u.
=C2=A0


Note: Warner's recent changes to stand/ for the subject area are only in main [so: 14] so far. So it appears that the only fairly recent
change for such for stable/13 has been:

loader: comconsole: don't unconditionally wipe out hw.uart.console Kyle= Evans 2023-04-26

=3D=3D=3D
Mark Millard
marklmi at yahoo.com


Thanks!
--
Nuno Teixeira<= br>FreeBSD Committer (ports)
--00000000000036ce0905fe554a3f-- From nobody Sat Jun 17 17:12:05 2023 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 4Qk2dc3xCbz4fBpw for ; Sat, 17 Jun 2023 17:12:20 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-24.consmr.mail.gq1.yahoo.com (sonic303-24.consmr.mail.gq1.yahoo.com [98.137.64.205]) (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 4Qk2db5y6mz3FMB for ; Sat, 17 Jun 2023 17:12:19 +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=1687021937; bh=YqBejDy8VUd754iCklCav9wYywR+CQX5+xxDHGV+2BI=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=Ltv64H0rarT68pnod5Kp1k+h7b0URKOuHvXZ0pSkw3+GhgtCL3JjYyDEyX8mbn9emcEaU4SXw36WDlDaQAM6qVf5GGcvlE47bmAExOBgMRbitg/RVElHULGPA/fFhRnw8pkhgihYAlMNR8oFox9aSuNoNwnM9RZzB5RHasOHe0IFYJZWqaWKpZ6SEj4gCZ5dl2sjekfClQpnC+9y4LcqELgkpQuxaPBBiq3BvuJrzqdj0znCCl+Db+BSB5V/bOJPpcsfWJjXG4SpXXyu0JTv9fboDs+4bhSHKhlZG+blrkD5cw8pJCpCTaz6L1Rux97C4lIOW9A62iqHfaLm0Q5GDg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687021937; bh=o7AoRBlaORXHdrctuyPChTO1hDPsPU8og4bigBl4cmI=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=iIt5GRVpKt3IHxP+pCssYbkNEvLY4FjbMD0/VzPdEMc3YG8js0+CGXeYns6nDY5VDJXsVeIU3HKCMQjgsxOj3lN0F/Dxbi8ofJ3EhC2eUrHJNJO+Wh7qQaHK8wcVjRdQTIZFZJWuLri6Y6gDN9EYRUvPG25XvvJ1880vsFIQ8xsjGWLHsH3mFtlSwXf4AfMCW1Pw6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NqqLopnUVeDPJofbwasaqFWrHQNT2 01BcSXSpiq0LpNYAAS9gAQIru8wkFdtfcawnnXigaMYjhSDFdmXAKNWg7Ov688z5FF3Zz.Ys3RdL d9rZHNb7Sa.iUUqCpS7kYdwGhHF8Nif3OdZTDSzaJdiHUqnuAT.OPw1OhGsNditOR7y0QJjn9_2l LjSUcZiSRpJwTjT6r921AWqULscBJJYqqyZrglDUUHGO.wP4.CYcZrAlyObTDa9xQ2SbqgSCsKjs iAr76kQrIEfKz_nlRn4UvvxcqfUXnYh4hmCNySj7bgWVg5X0MdVgzfMHMn3.SiflhczcQi9ncNqm 7bg-- X-Sonic-MF: X-Sonic-ID: dbf4afe8-0829-4a51-beeb-0334c04aee00 Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Sat, 17 Jun 2023 17:12:17 +0000 Received: by hermes--production-gq1-6db989bfb-z7s2g (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 57bd477cf111239aa962b40ab88e70fc; Sat, 17 Jun 2023 17:12:16 +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 16.0 \(3731.600.7\)) Subject: Re: keyboard doesn't work at Boot Menu From: Mark Millard In-Reply-To: Date: Sat, 17 Jun 2023 10:12:05 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <5D8D94E2-781D-4945-B721-EDD0BF56A8F2@yahoo.com> References: <99542360-6350-4636-A9EA-CA9BBCC93C60@yahoo.com> To: Nuno Teixeira X-Mailer: Apple Mail (2.3731.600.7) X-Rspamd-Queue-Id: 4Qk2db5y6mz3FMB X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Jun 17, 2023, at 08:52, Nuno Teixeira wrote: > Hello Mark! Hello Nuno. FYI: My example paths and such are from my main instead of a stable/13 context. I may set up a stable/13 snapshot to better match your context at some point, but not yet. >> It is unclear what the context is here: Serial console? No serial = console? >>=20 >> What is in /boot/loader.conf ? I've a serial console context and = have: >>=20 >> boot_multicons=3D"YES" >> boot_serial=3D"YES" >>=20 > rpi4 connected to monitor via hdmi >=20 > /boot/loader.conf: >=20 > kern.geom.label.disk_ident.enable=3D"0" > kern.geom.label.gptid.enable=3D"0" > cryptodev_load=3D"YES" > zfs_load=3D"YES" > =20 >> Is the stable/13 from a specific *.img* file from the likes of: >>=20 >> = http://ftp3.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/13.2/?C=3DM&O=3DD= >>=20 >> ? If yes, which one? If self built, what commit was the build based = on? >>=20 >> Has this worked for you before? If yes, based on what commit back = when >> it last worked? >>=20 > Instalation is from 13.2-RELEASE and firmware copied from it. [Note: main has /boot/efi/ as a mount point for the msdosfs. Your stable/13 my still have /boot/msdos/ instead. That might even depend on the details of how and when the configuration was set up. The efi directory in the msdosfs may be named EFI or named efi as well. I show/use EFI to make the name distinct from main's mount point name, making references clear about which.] The following are from in the msdosfs file system but are not from sysutils/rpi-firmware or from sysutils/u-boot-rpi-arm64 . (The detailed content, size, date, and such will not match any stable/13 details here.) # ls -Tld /boot/efi/EFI/*/* -rwxr-xr-x 1 root wheel 870956 Jun 13 18:24:42 2023 = /boot/efi/EFI/BOOT/bootaa64.efi Is your bootaa64.efi the old ones from a 13.2-RELEASE ? =46rom a recent stable/13 snapshot? I'll note that: loader: comconsole: don't unconditionally wipe out hw.uart.console Kyle = Evans 2023-04-26 would not be in the old 13.2-RELEASE msdosfs file system contents. In general, you may want to update to be using msdosfs content from, say, the most recent stable/13 snaphot (preserving any adjustments that you have been making to config.txt or the like): = http://ftp3.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/13.2/FreeBSD-13.2= -STABLE-arm64-aarch64-RPI-20230615-894492f5bf4e-255597.img.xz But, I'll note that updating BOOT/bootaa64.efi can be done just by copying /boot/loader.efi to BOOT/bootaa64.efi in the msdosfs. > I'm tracking STABLE for some time and I'm at = stable/13-n255602-e6c1e181ba7f=20 The snapshots contain things in final places that are not in those places just by FreeBSD installation or installation of ports. Have you been updating bootaa64.efi by copying /boot/loader.efi to BOOT/bootaa64.efi in the msdosfs? > Since first instalation that keyboard doesn't work in Boot menu. =20 Another file that could have relevant content is config.txt in the msdosfs. >> Note: Warner's recent changes to stand/ for the subject area are only >> in main [so: 14] so far. So it appears that the only fairly recent >> change for such for stable/13 has been: >>=20 >> loader: comconsole: don't unconditionally wipe out hw.uart.console = Kyle Evans 2023-04-26 >>=20 =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sat Jun 17 18:42:42 2023 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 4Qk4df5Hgfz4fbSm for ; Sat, 17 Jun 2023 18:42:30 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (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 "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qk4df2FBQz3j24 for ; Sat, 17 Jun 2023 18:42:29 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.17.1/8.15.2) with ESMTPS id 35HIggTW036707 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 17 Jun 2023 11:42:42 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.17.1/8.15.2/Submit) id 35HIggOV036706; Sat, 17 Jun 2023 11:42:42 -0700 (PDT) (envelope-from fbsd) Date: Sat, 17 Jun 2023 11:42:42 -0700 From: bob prohaska To: Mark Millard Cc: freebsd-arm@freebsd.org Subject: Re: Armv7 linker failure on -current Message-ID: References: <8B771495-1C68-4A23-8658-02A8AD28088B@yahoo.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <8B771495-1C68-4A23-8658-02A8AD28088B@yahoo.com> X-Rspamd-Queue-Id: 4Qk4df2FBQz3j24 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Sat, Jun 17, 2023 at 08:34:16AM -0700, Mark Millard wrote: > On Jun 17, 2023, at 07:34, bob prohaska wrote: > > > A Pi2 running -current stops in buildworld with > > I assume self building an update to main [so: 14]. > Correct. > What commit last built successfully? (This bounds what would be different > in official materials.) > I haven't kept any manual records, but uname -a reports FreeBSD www.zefox.com 14.0-CURRENT FreeBSD 14.0-CURRENT #39 main-9f135336f5: Fri Jun 16 02:18:02 PDT 2023 bob@www.zefox.com:/usr/obj/usr/src/arm.armv7/sys/GENERIC arm Since my original post git pull found a few updates and I restarted buildworld It has failed also, but with what looks like an unrelated error. These problems emerged after a silent hang using -j3, followed by power-cycling and reboot. -j3 was backed down to -j2 and buildworld restarted, with the mischief reported here ensuing. I'm starting to wonder if there's some undetected corruption in either /usr/src or /usr/obj. Perhaps I'd best run make cleandir twice and start over. That will likely take at least few days. This is a mechanical hard disk setup, with 1 GB swap. Boot is via microSD using only bootcode.bin, with the usual msdos partition on the hard disk. Is there a more expedient approach under the circumstances? Thanks for writing! bob prohaska [big snip] From nobody Sat Jun 17 19:41:51 2023 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 4Qk5yM4271z4flDP for ; Sat, 17 Jun 2023 19:42:03 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qk5yM3bqbz3qD9 for ; Sat, 17 Jun 2023 19:42:03 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687030923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1HPv7nT8wXmIPgcrhky++XQe+kjQDpcNHvB2jFjVQY0=; b=ZqtdZikUNpPcpQFO2BciU250XGRmqp9ISM1Jr3fCFae7VPs0uLavYsGPsE5Uimzp9HNfh2 yFc6DvPfBRdJ96BLxWGcYnYtSu3I9IrSRMmRk44yx2CDWmHiSjxKeikp56Jp96J/voz07m w54uTpsP57zlyymYnwFZWfmuYi5skqS5Fqn68h5kbdhXcOjihiS6ars/U67cg3+EZQ9whp XEU1+6096+yv529RJhckjYeviYL6SDklra/Vv0z8nH8j113moFCbJmNE3HRQhsClAl8bJr kBnG2j3sg7xKKHb68EX+IUO8Zua6Nez7x6ZuTw68MNLos+YfIsd3Mwc36ISGow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687030923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1HPv7nT8wXmIPgcrhky++XQe+kjQDpcNHvB2jFjVQY0=; b=pUnRF+P0N36K0gfOL+fWL4dUCGIW4hcT4ytE36DLFeGI5daHfMkHOhwjWwgEspTs4qRPdJ /jFqZzvI5+S43gtdIjM1ql2P9JkiMJaYQl2CwZmwr1lH8qvsz8B995KdSASuqvMml+Phus z+4QxaaglLVONsqPXX5CuSr/D+Y41+01svcacEnV3pWemBJQoW/LRu+PGVSn2mwzZF79/x hmskTfX0NZB/PcN5CkrFVmkgd+oyWrGR37nwF546du0rsUl8cuHq0BeUB4KVlNy1dHTEBs zISEcn0GC0Y4FnH7MSJAxJnkgbwhT8kyW4s+Wj1As+ndS8ikt+fw9QXe9ngdqA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687030923; a=rsa-sha256; cv=none; b=XOUUW+BfMc+OvrTJhNSNbHv3PutIMFgQFjtWfid+UmD9IfJjTFDh1bApO0Bj2sNNmU4oKV J8/yaj9xqi4zE/jAgzv69HAOa2QTnStYaFUCHGhWEUWAj/qOBkxGoGL66gxb7UwYZKEc4E ZsO0KT17buVSh/fOh2Xfh5JZ3mffIdCnZDevveDo0Hq5SpDmfYVBqeCot3wZ3JQd+fm/SW QCpI1MCiGqGK9UF7jtl+AJ/nnorDfDkMDNO5UuCKSF4aOrelsSN/C7gGptgd8/06zH4tYZ fB4wSqxRmHsoCWDN72w7+/LAfgG/2rv5v7i0QV5MuO7YgIBkrTQ5V9myO6lJlg== Received: from mail-qt1-f178.google.com (mail-qt1-f178.google.com [209.85.160.178]) (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)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Qk5yM2hlmzxRq for ; Sat, 17 Jun 2023 19:42:03 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qt1-f178.google.com with SMTP id d75a77b69052e-3f9e9e9d06fso14895261cf.0 for ; Sat, 17 Jun 2023 12:42:03 -0700 (PDT) X-Gm-Message-State: AC+VfDwjOWP4fHrR0seH83oop0cROs2d/iYrwFhszMm7A7JdJlERtPQo BHS9Lpv9fdEKoTdDWeSKuREQNi8UkBA/gWkO/u0= X-Google-Smtp-Source: ACHHUZ7D+9T29xKL5QG+x4ETuh7813i/A+hu3izTVO8pAsRX9ivcsCebyR3ffBkiohQUXen0XVVdW+Gg61ylGIv6Jus= X-Received: by 2002:a05:622a:14f:b0:3f8:4612:5aa8 with SMTP id v15-20020a05622a014f00b003f846125aa8mr12116597qtw.18.1687030922752; Sat, 17 Jun 2023 12:42:02 -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: <99542360-6350-4636-A9EA-CA9BBCC93C60@yahoo.com> <5D8D94E2-781D-4945-B721-EDD0BF56A8F2@yahoo.com> In-Reply-To: From: Nuno Teixeira Date: Sat, 17 Jun 2023 20:41:51 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: keyboard doesn't work at Boot Menu To: Mark Millard Cc: freebsd-arm@freebsd.org Content-Type: multipart/alternative; boundary="000000000000e0368505fe587e77" X-ThisMailContainsUnwantedMimeParts: N --000000000000e0368505fe587e77 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable (...) FreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20230615-456c1199d3b3-263574.img doesn't boot either. Same error as above photo. Nuno Teixeira escreveu no dia s=C3=A1bado, 17/06/2023= =C3=A0(s) 20:19: > I've tryed to boot > FreeBSD-13.2-STABLE-arm64-aarch64-RPI-20230615-894492f5bf4e-255597.img bu= t > it doesn't boot. > Same error as I replace /boot/efi from stable. > > I sent an photo. > > Procedure: > > $ mount | grep msdosfs > $ /dev/gpt/efiboot0 on /boot/efi (msdosfs, local) > > $ mdconfig -t vnode -f > FreeBSD-13.2-STABLE-arm64-aarch64-RPI-20230615-894492f5bf4e-255597.img > $ mount -t msdosfs /dev/md0s1 /mnt > > $ cd /mnt > $ tar cf - . | ( cd /boot/efi && tar xvf - ) > > (./: Can't restore time: Invalid argument > tar: Error exit delayed from previous errors. > > > > $ ls -Tld /boot/efi/EFI/*/* > $ -rwxr-xr-x 1 root wheel 1182604 Jun 15 04:47:12 2023 > /boot/efi/EFI/BOOT/bootaa64.efi > > my config.txt: > --- > [all] > arm_64bit=3D1 > #dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don > dtoverlay=3Dmmc > dtoverlay=3Ddisable-bt > device_tree_address=3D0x4000 > kernel=3Du-boot.bin > > [pi4] > hdmi_safe=3D0 > armstub=3Darmstub8-gic.bin > max_framebuffers=3D2 > hdmi_force_hotplug=3D1 > hdmi_group=3D2 > hdmi_drive=3D2 > hdmi_mode=3D82 > disable_overscan=3D1 > # overclock 20210303 > over_voltage=3D6 > arm_freq=3D2000 > sdram_freq_min=3D3200 > force_turbo=3D1 > --- > > Mark Millard escreveu no dia s=C3=A1bado, 17/06/2023 = =C3=A0(s) > 18:12: > >> On Jun 17, 2023, at 08:52, Nuno Teixeira wrote: >> >> > Hello Mark! >> >> Hello Nuno. >> >> FYI: My example paths and such are from my main instead of a >> stable/13 context. I may set up a stable/13 snapshot to better >> match your context at some point, but not yet. >> >> >> It is unclear what the context is here: Serial console? No serial >> console? >> >> >> >> What is in /boot/loader.conf ? I've a serial console context and have= : >> >> >> >> boot_multicons=3D"YES" >> >> boot_serial=3D"YES" >> >> >> > rpi4 connected to monitor via hdmi >> > >> > /boot/loader.conf: >> > >> > kern.geom.label.disk_ident.enable=3D"0" >> > kern.geom.label.gptid.enable=3D"0" >> > cryptodev_load=3D"YES" >> > zfs_load=3D"YES" >> > >> >> Is the stable/13 from a specific *.img* file from the likes of: >> >> >> >> http://ftp3.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/13.2/?C=3DM&= O=3DD >> >> >> >> ? If yes, which one? If self built, what commit was the build based o= n? >> >> >> >> Has this worked for you before? If yes, based on what commit back whe= n >> >> it last worked? >> >> >> > Instalation is from 13.2-RELEASE and firmware copied from it. >> >> [Note: main has /boot/efi/ as a mount point for the msdosfs. >> Your stable/13 my still have /boot/msdos/ instead. That might >> even depend on the details of how and when the configuration >> was set up. The efi directory in the msdosfs may be named EFI >> or named efi as well. I show/use EFI to make the name distinct >> from main's mount point name, making references clear about >> which.] >> >> The following are from in the msdosfs file system but are >> not from sysutils/rpi-firmware or from >> sysutils/u-boot-rpi-arm64 . (The detailed content, size, >> date, and such will not match any stable/13 details here.) >> >> # ls -Tld /boot/efi/EFI/*/* >> -rwxr-xr-x 1 root wheel 870956 Jun 13 18:24:42 2023 >> /boot/efi/EFI/BOOT/bootaa64.efi >> >> Is your bootaa64.efi the old ones from a 13.2-RELEASE ? >> From a recent stable/13 snapshot? I'll note that: >> >> loader: comconsole: don't unconditionally wipe out hw.uart.console Kyle >> Evans 2023-04-26 >> >> would not be in the old 13.2-RELEASE msdosfs file system >> contents. >> >> In general, you may want to update to be using msdosfs >> content from, say, the most recent stable/13 snaphot >> (preserving any adjustments that you have been making >> to config.txt or the like): >> >> >> http://ftp3.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/13.2/FreeBSD-13= .2-STABLE-arm64-aarch64-RPI-20230615-894492f5bf4e-255597.img.xz >> >> But, I'll note that updating BOOT/bootaa64.efi can be >> done just by copying /boot/loader.efi to >> BOOT/bootaa64.efi in the msdosfs. >> >> > I'm tracking STABLE for some time and I'm at >> stable/13-n255602-e6c1e181ba7f >> >> The snapshots contain things in final places that are not >> in those places just by FreeBSD installation or >> installation of ports. Have you been updating bootaa64.efi >> by copying /boot/loader.efi to BOOT/bootaa64.efi in the >> msdosfs? >> >> > Since first instalation that keyboard doesn't work in Boot menu. >> >> Another file that could have relevant content is >> config.txt in the msdosfs. >> >> >> Note: Warner's recent changes to stand/ for the subject area are only >> >> in main [so: 14] so far. So it appears that the only fairly recent >> >> change for such for stable/13 has been: >> >> >> >> loader: comconsole: don't unconditionally wipe out hw.uart.console >> Kyle Evans 2023-04-26 >> >> >> >> =3D=3D=3D >> Mark Millard >> marklmi at yahoo.com >> >> > > -- > Nuno Teixeira > FreeBSD Committer (ports) > --=20 Nuno Teixeira FreeBSD Committer (ports) --000000000000e0368505fe587e77 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
(...)

FreeBSD-14.0-CURRENT-a= rm64-aarch64-RPI-20230615-456c1199d3b3-263574.img doesn't boot either.<= /div>
Same error as above photo.

Nuno Teixeira <eduardo@freebsd.org> escreveu no dia s= =C3=A1bado, 17/06/2023 =C3=A0(s) 20:19:
I've tryed to boot FreeBS= D-13.2-STABLE-arm64-aarch64-RPI-20230615-894492f5bf4e-255597.img but it doe= sn't boot.
Same error as I replace /boot/efi from stable.

I sent an photo.

Procedu= re:

$ mount | grep msdosfs
$ /de= v/gpt/efiboot0 on /boot/efi (msdosfs, local)

$ mdc= onfig -t vnode -f FreeBSD-13.2-STABLE-arm64-aarch64-RPI-20230615-894492f5bf= 4e-255597.img
$ mount -t msdosfs /dev/md0s1 /mnt
<ba= ckup and clean /boot/efi>
$ cd /mnt
$ tar cf - .= | ( cd /boot/efi && tar xvf - )

(./: Can&= #39;t restore time: Invalid argument
tar: Error exit delayed from previo= us errors.

<cp my config.txt to /boot/efi>

$ ls -Tld /boot/efi/EFI/*/*
$ -rwxr-xr-x =C2=A01= root =C2=A0wheel =C2=A01182604 Jun 15 04:47:12 2023 /boot/efi/EFI/BOOT/boo= taa64.efi

my config.txt:
---
[= all]
arm_64bit=3D1
#dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don
dto= verlay=3Dmmc
dtoverlay=3Ddisable-bt
device_tree_address=3D0x4000
k= ernel=3Du-boot.bin

[pi4]
hdmi_safe=3D0
armstub=3Darmstub8-gic.= bin
max_framebuffers=3D2
hdmi_force_hotplug=3D1
hdmi_group=3D2
= hdmi_drive=3D2
hdmi_mode=3D82
disable_overscan=3D1
# overclock 202= 10303
over_voltage=3D6
arm_freq=3D2000
sdram_freq_min=3D3200
fo= rce_turbo=3D1
---

<= div dir=3D"ltr" class=3D"gmail_attr">Mark Millard <marklmi@yahoo.com> escreveu no dia= s=C3=A1bado, 17/06/2023 =C3=A0(s) 18:12:
On Jun 17, 2023, at 08:52, Nuno Teixeira <eduardo@freebsd.org> wrote:

> Hello Mark!

Hello=C2=A0 Nuno.

FYI: My example paths and such are from my main instead of a
stable/13 context. I may set up a stable/13 snapshot to better
match your context at some point, but not yet.

>> It is unclear what the context is here: Serial console? No serial = console?
>>
>> What is in /boot/loader.conf ? I've a serial console context a= nd have:
>>
>> boot_multicons=3D"YES"
>> boot_serial=3D"YES"
>>
> rpi4 connected to monitor via hdmi
>
> /boot/loader.conf:
>
> kern.geom.label.disk_ident.enable=3D"0"
> kern.geom.label.gptid.enable=3D"0"
> cryptodev_load=3D"YES"
> zfs_load=3D"YES"
>=C2=A0
>> Is the stable/13 from a specific *.img* file from the likes of: >>
>>
http://ftp3.f= reebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/13.2/?C=3DM&O=3DD
>>
>> ? If yes, which one? If self built, what commit was the build base= d on?
>>
>> Has this worked for you before? If yes, based on what commit back = when
>> it last worked?
>>
> Instalation is from 13.2-RELEASE and firmware copied from it.

[Note: main has /boot/efi/ as a mount point for the msdosfs.
Your stable/13 my still have /boot/msdos/ instead. That might
even depend on the details of how and when the configuration
was set up. The efi directory in the msdosfs may be named EFI
or named efi as well. I show/use EFI to make the name distinct
from main's mount point name, making references clear about
which.]

The following are from in the msdosfs file system but are
not from sysutils/rpi-firmware or from
sysutils/u-boot-rpi-arm64 . (The detailed content, size,
date, and such will not match any stable/13 details here.)

# ls -Tld /boot/efi/EFI/*/*
-rwxr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0 870956 Jun 13 18:24:42 2023 /boot= /efi/EFI/BOOT/bootaa64.efi

Is your bootaa64.efi the old ones from a 13.2-RELEASE ?
>From a recent stable/13 snapshot? I'll note that:

loader: comconsole: don't unconditionally wipe out hw.uart.console Kyle= Evans 2023-04-26

would not be in the old 13.2-RELEASE msdosfs file system
contents.

In general, you may want to update to be using msdosfs
content from, say, the most recent stable/13 snaphot
(preserving any adjustments that you have been making
to config.txt or the like):

http://ftp3.freebsd.org/pub/FreeBSD/snap= shots/ISO-IMAGES/13.2/FreeBSD-13.2-STABLE-arm64-aarch64-RPI-20230615-894492= f5bf4e-255597.img.xz

But, I'll note that updating BOOT/bootaa64.efi can be
done just by copying /boot/loader.efi to
BOOT/bootaa64.efi in the msdosfs.

> I'm tracking STABLE for some time and I'm at stable/13-n255602= -e6c1e181ba7f

The snapshots contain things in final places that are not
in those places just by FreeBSD installation or
installation of ports. Have you been updating bootaa64.efi
by copying /boot/loader.efi to BOOT/bootaa64.efi in the
msdosfs?

> Since first instalation that keyboard doesn't work in Boot menu.
Another file that could have relevant content is
config.txt in the msdosfs.

>> Note: Warner's recent changes to stand/ for the subject area a= re only
>> in main [so: 14] so far. So it appears that the only fairly recent=
>> change for such for stable/13 has been:
>>
>> loader: comconsole: don't unconditionally wipe out hw.uart.con= sole Kyle Evans 2023-04-26
>>

=3D=3D=3D
Mark Millard
marklmi at yahoo.com



--
Nuno Teixeira
FreeBSD Committ= er (ports)


--
Nuno Teixeira
FreeBSD Committ= er (ports)
--000000000000e0368505fe587e77-- From nobody Sat Jun 17 19:46:31 2023 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 4Qk63q74yLz4fm6D for ; Sat, 17 Jun 2023 19:46:47 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-21.consmr.mail.gq1.yahoo.com (sonic309-21.consmr.mail.gq1.yahoo.com [98.137.65.147]) (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 4Qk63q4l85z3qx8 for ; Sat, 17 Jun 2023 19:46:47 +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=1687031206; bh=QtdY+wuKjd8iyPAwtUsRSZUwlVUmZCbujPRpZ/o9BQ8=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=rstHzYxdq2I3e0VPfnQku4Hk9VGEbA/HUHaRIw/Li2JsO6KDxiCZR4RXk6YK7IzSmt8KASH3KrJwSk/Mp6nsrnWzkEjQyb0h0QDD9vzwg/SknKkFepdMX3u6ERdgDfxeH3dteu+eMzHDu/Gu5o55Ho2+YuflqA6LDGBxyOTrqbES6MXBH7c0jfV0kSZrBDC9swCkbgdVpPnJpiFbst9n2t4ZLCGLmsJuUqHwObzMbmP0+1LW8tXDmc2KCKKaXyEMRJefA1A8t1xwKUDmggfzFtjN71a28LCYfmGiIkk4s1cMLC3uscYp5x4z8An7Yox8OVMmfxzk2ZJtySDbSVPxPw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687031206; bh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SOKCZ0J24SVZLywjAle9e5PhuOxmgmaqL_R z1MZqjjl5I7p2ldB9CbQ.3jJXpfeNVVEqBGuRgQPLcJWSsmPoVqAqLYiOS.jJzR.rEXeRpIvkt.1 VaayRrjIkoSu5eYuF3IPvHt84DEaOdO8je2G4r6ggVXJVd_AB0YY6yzqLitaU2jkOcdHrZ0CNB6e 5macPBbOJYO25NNBDxEy1vKSxjKcW.fgqMulhlheTGUpvxnoUKU3uoWjVBEjlBhBIISAwqSvHstc 4_qYZtM2w67LKxTRul9B_iD0tq_78dh10xiIjyxvt7HA6mxJMB86Q7e3WjLKRgjrvIM.hlB9tgza XGhxpIXYwePlzWdmQUzAbFIpQOQBoU93TKvMUcsQiZWIPQ6Y1B0I96.7EzREXpUOOVYJWZ_duJzX O_nycKiA.mnNGENUbh9RvZ9Sjglcw.fHZpJd7DhGXcZWOkjf6BVefw8dHcFtl7K2fDXbFrQ4u8Pk S8ljPBQB9m9crUBx0PMROjZ8JK03NXLyyzuAJDbIW0_4hnoRnuYQYJrX4B_h0CXgujcW_qpJYXS. KXQuoU3lMGQOt1XR8uIQSpXKUMlxCrM1HlimPdvfZ_mkdqhbxUGpJiEzprNkVCXFtbsAbTSsiMsG Prjt_ X-Sonic-MF: X-Sonic-ID: 49729cd4-b7c1-4aea-b6ba-1425f211c2ce Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Sat, 17 Jun 2023 19:46:46 +0000 Received: by hermes--production-bf1-54475bbfff-rfkvj (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID a5387288592fee5fe7b6a24b1d2c251c; Sat, 17 Jun 2023 19:46:44 +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 \(3731.600.7\)) Subject: Re: keyboard doesn't work at Boot Menu From: Mark Millard In-Reply-To: Date: Sat, 17 Jun 2023 12:46:31 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <99542360-6350-4636-A9EA-CA9BBCC93C60@yahoo.com> <5D8D94E2-781D-4945-B721-EDD0BF56A8F2@yahoo.com> To: Nuno Teixeira X-Mailer: Apple Mail (2.3731.600.7) X-Rspamd-Queue-Id: 4Qk63q4l85z3qx8 X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Jun 17, 2023, at 12:19, Nuno Teixeira wrote: > I've tryed to boot = FreeBSD-13.2-STABLE-arm64-aarch64-RPI-20230615-894492f5bf4e-255597.img = but it doesn't boot. > Same error as I replace /boot/efi from stable. >=20 > I sent an photo. It is missing the history needed to see the original problem. But I've a serial console to get teh full text from. I've just tried the snapshot and it shows that the U-Boot it has is from a problematical version for 8 GiByet RPi4B's (a known historical issue): . . . U-Boot 2023.01 (Jun 15 2023 - 02:43:21 +0000) DRAM: 947 MiB (effective 7.9 GiB) RPI 4 Model B (0xd03115) . . . No EFI system partition BootOrder not defined EFI boot manager: Cannot load any image Found EFI removable media binary efi/boot/bootaa64.efi ** Reading file would overwrite reserved memory ** Failed to load 'efi/boot/bootaa64.efi' No UEFI binary known at 0x00080000 . . . The text "Reading file would overwrite reserved memory" is an known misnomer for what is actually happening in that U-Boot. The internal error code need not be indicating what is reported. # strings /mnt/u-boot.bin | grep "U-Boot 20" U-Boot 2023.01 (Jun 15 2023 - 02:43:21 +0000) systutils/u-boot-rpi-arm64 has not progressed to 2023.04 that has this fixed. So the snapshots are still being generated in a messed up state for 8 GiByte RPi4B's. Substituting the 13.2-RELEASE u-boot.bin into the msdosfs should get rid of this problem. I will be doing something analogous to continue my boot test. > Procedure: >=20 > $ mount | grep msdosfs > $ /dev/gpt/efiboot0 on /boot/efi (msdosfs, local) >=20 > $ mdconfig -t vnode -f = FreeBSD-13.2-STABLE-arm64-aarch64-RPI-20230615-894492f5bf4e-255597.img > $ mount -t msdosfs /dev/md0s1 /mnt > > $ cd /mnt > $ tar cf - . | ( cd /boot/efi && tar xvf - ) >=20 > (./: Can't restore time: Invalid argument > tar: Error exit delayed from previous errors. >=20 > >=20 > $ ls -Tld /boot/efi/EFI/*/* > $ -rwxr-xr-x 1 root wheel 1182604 Jun 15 04:47:12 2023 = /boot/efi/EFI/BOOT/bootaa64.efi >=20 > my config.txt: > --- > [all] > arm_64bit=3D1 > #dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don > dtoverlay=3Dmmc > dtoverlay=3Ddisable-bt > device_tree_address=3D0x4000 > kernel=3Du-boot.bin >=20 > [pi4] > hdmi_safe=3D0 > armstub=3Darmstub8-gic.bin > max_framebuffers=3D2 > hdmi_force_hotplug=3D1 > hdmi_group=3D2 > hdmi_drive=3D2 > hdmi_mode=3D82 > disable_overscan=3D1 > # overclock 20210303 > over_voltage=3D6 > arm_freq=3D2000 > sdram_freq_min=3D3200 > force_turbo=3D1 > --- >=20 > Mark Millard escreveu no dia s=C3=A1bado, = 17/06/2023 =C3=A0(s) 18:12: > On Jun 17, 2023, at 08:52, Nuno Teixeira wrote: >=20 > > Hello Mark! >=20 > Hello Nuno. >=20 > FYI: My example paths and such are from my main instead of a > stable/13 context. I may set up a stable/13 snapshot to better > match your context at some point, but not yet. >=20 > >> It is unclear what the context is here: Serial console? No serial = console? > >>=20 > >> What is in /boot/loader.conf ? I've a serial console context and = have: > >>=20 > >> boot_multicons=3D"YES" > >> boot_serial=3D"YES" > >>=20 > > rpi4 connected to monitor via hdmi > >=20 > > /boot/loader.conf: > >=20 > > kern.geom.label.disk_ident.enable=3D"0" > > kern.geom.label.gptid.enable=3D"0" > > cryptodev_load=3D"YES" > > zfs_load=3D"YES" > > =20 > >> Is the stable/13 from a specific *.img* file from the likes of: > >>=20 > >> = http://ftp3.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/13.2/?C=3DM&O=3DD= > >>=20 > >> ? If yes, which one? If self built, what commit was the build based = on? > >>=20 > >> Has this worked for you before? If yes, based on what commit back = when > >> it last worked? > >>=20 > > Instalation is from 13.2-RELEASE and firmware copied from it. >=20 > [Note: main has /boot/efi/ as a mount point for the msdosfs. > Your stable/13 my still have /boot/msdos/ instead. That might > even depend on the details of how and when the configuration > was set up. The efi directory in the msdosfs may be named EFI > or named efi as well. I show/use EFI to make the name distinct > from main's mount point name, making references clear about > which.] >=20 > The following are from in the msdosfs file system but are > not from sysutils/rpi-firmware or from > sysutils/u-boot-rpi-arm64 . (The detailed content, size, > date, and such will not match any stable/13 details here.) >=20 > # ls -Tld /boot/efi/EFI/*/* > -rwxr-xr-x 1 root wheel 870956 Jun 13 18:24:42 2023 = /boot/efi/EFI/BOOT/bootaa64.efi >=20 > Is your bootaa64.efi the old ones from a 13.2-RELEASE ? > =46rom a recent stable/13 snapshot? I'll note that: >=20 > loader: comconsole: don't unconditionally wipe out hw.uart.console = Kyle Evans 2023-04-26 >=20 > would not be in the old 13.2-RELEASE msdosfs file system > contents. >=20 > In general, you may want to update to be using msdosfs > content from, say, the most recent stable/13 snaphot > (preserving any adjustments that you have been making > to config.txt or the like): >=20 > = http://ftp3.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/13.2/FreeBSD-13.2= -STABLE-arm64-aarch64-RPI-20230615-894492f5bf4e-255597.img.xz >=20 > But, I'll note that updating BOOT/bootaa64.efi can be > done just by copying /boot/loader.efi to > BOOT/bootaa64.efi in the msdosfs. >=20 > > I'm tracking STABLE for some time and I'm at = stable/13-n255602-e6c1e181ba7f=20 >=20 > The snapshots contain things in final places that are not > in those places just by FreeBSD installation or > installation of ports. Have you been updating bootaa64.efi > by copying /boot/loader.efi to BOOT/bootaa64.efi in the > msdosfs? >=20 > > Since first instalation that keyboard doesn't work in Boot menu. >=20 > Another file that could have relevant content is > config.txt in the msdosfs. >=20 > >> Note: Warner's recent changes to stand/ for the subject area are = only > >> in main [so: 14] so far. So it appears that the only fairly recent > >> change for such for stable/13 has been: > >>=20 > >> loader: comconsole: don't unconditionally wipe out hw.uart.console = Kyle Evans 2023-04-26 > >>=20 =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sat Jun 17 20:32:56 2023 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 4Qk75B1YPDz4g3vh for ; Sat, 17 Jun 2023 20:33:02 +0000 (UTC) (envelope-from fred@thegalacticzoo.com) Received: from nmtao201.oxsus-vadesecure.net (mta-231b.oxsus-vadesecure.net [15.204.3.5]) (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 4Qk7586J3Xz41b3 for ; Sat, 17 Jun 2023 20:33:00 +0000 (UTC) (envelope-from fred@thegalacticzoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=webcom.xion.oxcs.net header.s=mail1 header.b="o23/d92p"; spf=pass (mx1.freebsd.org: domain of fred@thegalacticzoo.com designates 15.204.3.5 as permitted sender) smtp.mailfrom=fred@thegalacticzoo.com; dmarc=pass (policy=quarantine) header.from=thegalacticzoo.com DKIM-Signature: v=1; a=rsa-sha256; bh=YvKL/jVrGenkrR3XUejGvHaSXEf3qbVg+RBqWk nevJo=; c=relaxed/relaxed; d=webcom.xion.oxcs.net; h=from:reply-to: subject:date:to:cc:resent-date:resent-from:resent-to:resent-cc: in-reply-to:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:list-owner:list-archive; q=dns/txt; s=mail1; t=1687033979; x=1687638779; b=o23/d92pEVpH47VtkPCGH7+8QEyrQziAXfbyxqe8M gU+ruHuwfBehgG2524VjCeoJJAF4ht3W3aDuQ3AN8wkM94Obzq1JWL+nnwlP5+XfTfS5ZgY jmTe9J+/pPxJqCeN9Bz9JlxJCdKp/ZLSunTEzj/h4ru0FwkiaM5/HsXxiG1z7CHsfojxSJX 7ELZ07/5diQ2cFw3++RT93Hd+7UYObd9ezMABYKaGT/RTzR0fafk/Ieom9/3GJ+jRtohSfa 7TFDFldTg8loNEn1oXvpuEZrDFQ1487USq+1jVSgYPRWuWoh9xwmXB95Ovj/iVmAvQyavfy UDKHeOD8I9i5Wf+zg== Received: from proxy-11.proxy.cloudus.ewr.xion.oxcs.net ([76.14.239.229]) by oxsus2nmtao01p.internal.vadesecure.com with ngmta id d6c96d82-17698c76f5f85b6a; Sat, 17 Jun 2023 20:32:59 +0000 From: "Fred G. Finster" To: freebsd-arm@freebsd.org Cc: kodcode , wb7odyfred@yahoo.com Subject: OrangePI R1 Plus LTS (Rockchip RK3288) anyone succeed to boot FreeBSD on this model? Message-ID: <1edf7f38-da5d-908a-40aa-0f9573c1b765@thegalacticzoo.com> Date: Sat, 17 Jun 2023 13:32:56 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 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="------------D4D7F649C68D28FAA5B5CD62" Content-Language: en-US X-Spamd-Result: default: False [-2.20 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; URI_COUNT_ODD(1.00)[37]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[thegalacticzoo.com,quarantine]; RWL_MAILSPIKE_VERYGOOD(-0.20)[15.204.3.5:from]; R_SPF_ALLOW(-0.20)[+ip4:15.204.3.4/30]; R_DKIM_ALLOW(-0.20)[webcom.xion.oxcs.net:s=mail1]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:16276, ipnet:15.204.0.0/17, country:FR]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[webcom.xion.oxcs.net:+]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[15.204.3.5:from]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_CC(0.00)[gmx.com,yahoo.com] X-Rspamd-Queue-Id: 4Qk7586J3Xz41b3 X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N This is a multi-part message in MIME format. --------------D4D7F649C68D28FAA5B5CD62 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit */m:/* kodcode kodcode */Date:/* Fri, 16 Jun 2023 06:40:45 UTC Hello, did anyone succeed to boot FreeBSD on an OrangePI R1 Plus LTS (Rockchip RK3288)? kodcode https://forums.freebsd.org/threads/orange-pi-zero2-and-freebsd-13-2.89267/page-2#post-614132 Covacat has documented his journey porting FreeBSD source to a Orange PI Zero2 and FreeBSD 13.2 yes I realize maybe the CPUs in your product OrangePi R1 Plus LTS is much different than a Orange PI Zero2.  Yet the development steps are very similar and you can use them as a template to follow for your development of FreeBSD.  Fred. Wish you much success, kodcode, in your effort to Port FreeBSD to your Orange PI R1 Plus LTS model. Here was my steps in getting FreeBSD 14.0 Snapshot installed onto an external USB SSD on a Raspberry Pi 4B. https://ghostbsd-arm64.blogspot.com/2022/09/freebsd-140-compiling-kernel-for.html Share back with me your steps and findings and I would like to publish here on a new blog, your steps in porting to the Orange Pi. Other URLs to open and read about FreeBSD on an Orange Pi. https://github.com/thefallenidealist/docs/blob/master/orangepi-zero-freebsd https://marc.info/?l=freebsd-arm&m=147981409112119&w=2 You might start with porting U-BOOT onto your Orange Pi hardware. https://openwrt.org/toh/xunlong/orange_pi_r1_plus Hardware Specs https://github.com/kgoerbig/openwrt-orangepi-r1-plus/releases/tag/v22.03.2 source code available here for openwrt http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/orange-pi-R1-Plus-LTS.html different Ethernet Orange Pi R1 Plus LTS uses the Rockchip RK3328 SoC, Quad-Core ARM Cortex-A53 64-Bit Processor, Main Frequency Speeds Up To 1.5GHz and 1GB LPDDR3 SDRAM. It integrates cooling fan connector, USB 2.0 port, TF card slot, 13pin headers etc. It is powered through Type-C. It is suitable for industrial control needs. http://www.orangepi.org/orangepiwiki/index.php/Orange_Pi_R1_Plus_LTS http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/orange-pi-R1-Plus-LTS.html Orange Pi R1 Plus LTS is for anyone who wants to start creating with technology - not just consuming it. lt's a simple, fun, useful tool that you can use to start taking control of the world around you. Question, What JTAG debug hardware do you use with this Orange Pi R1 Plus LTS? Are you using 32 bit or 64 bit. --------------D4D7F649C68D28FAA5B5CD62 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
m: kodcode  <kodcode_at_gmx.com>  
kodcode  <kodcode@gmx.com>

    Date: Fri, 16 Jun 2023 06:40:45 UTC
Hello,

did anyone succeed to boot FreeBSD on an OrangePI R1 Plus LTS (Rockchip
RK3288)?

kodcode


https://forums.freebsd.org/threads/orange-pi-zero2-and-freebsd-13-2.89267/page-2#post-614132  Covacat has documented his journey porting FreeBSD source to a

Orange PI Zero2 and FreeBSD 13.2

yes I realize maybe the CPUs in your product OrangePi R1 Plus LTS is much different than a Orange PI Zero2.  Yet the development steps are very similar and you can use them as a template to follow for your development of FreeBSD.  Fred.

Wish you much success, kodcode, in your effort to Port FreeBSD to your Orange PI R1 Plus LTS model.

Here was my steps in getting FreeBSD 14.0 Snapshot installed onto an external USB SSD on a Raspberry Pi 4B.

https://ghostbsd-arm64.blogspot.com/2022/09/freebsd-140-compiling-kernel-for.html

Share back with me your steps and findings and I would like to publish here on a new blog, your steps in porting to the Orange Pi.


Other URLs to open and read about FreeBSD on an Orange Pi.


https://github.com/thefallenidealist/docs/blob/master/orangepi-zero-freebsd

https://marc.info/?l=freebsd-arm&m=147981409112119&w=2


You might start with porting U-BOOT onto your Orange Pi hardware.
https://openwrt.org/toh/xunlong/orange_pi_r1_plus  Hardware Specs
https://github.com/kgoerbig/openwrt-orangepi-r1-plus/releases/tag/v22.03.2  source code available here for openwrt 

http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/orange-pi-R1-Plus-LTS.html  different Ethernet 
Orange Pi R1 Plus LTS uses the Rockchip RK3328 SoC, Quad-Core ARM Cortex-A53 64-Bit Processor, Main
                Frequency Speeds Up To 1.5GHz and 1GB LPDDR3 SDRAM. It integrates cooling fan connector, USB 2.0 port,
                TF card slot, 13pin headers etc. It is powered through Type-C. It is suitable for industrial control
                needs.
            
http://www.orangepi.org/orangepiwiki/index.php/Orange_Pi_R1_Plus_LTS

http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/orange-pi-R1-Plus-LTS.html

Orange Pi R1 Plus LTS is for anyone who wants to start creating with technology - not just consuming it. lt's a simple, fun, useful tool that you can use to start taking control of the world around you.


Question,  What JTAG  debug hardware do you use with this Orange Pi R1 Plus LTS?  Are you using 32 bit or 64 bit.

--------------D4D7F649C68D28FAA5B5CD62-- From nobody Sat Jun 17 20:53:16 2023 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 4Qk7Xr3ggcz4dt3N for ; Sat, 17 Jun 2023 20:53:32 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-55.consmr.mail.gq1.yahoo.com (sonic315-55.consmr.mail.gq1.yahoo.com [98.137.65.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 4Qk7Xq3VZmz43JH for ; Sat, 17 Jun 2023 20:53:31 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=N15DY0KR; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.31 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687035208; bh=v4HLfgQlSV9pZRkNk+oUTAV5AEDpuelnnq85ZFW4zBA=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=N15DY0KRUhObwSAwlRuCAaYaVAlPHDc32KnzmcqYNTXYnCCp4IrSOhxZ3v/87nHocfldUbjNnAJC04d6+PS4KGP2ZbREOIFS6cUkXL4neNxEKwAWhpzG8PA1PzltI+tKe8CHb+AZfqrjBUTaSnInGlykSpND73LrdBghqSl9HYYGonckkjKumcg1FUBbMdGQnlWrxYWEs7+eWosyWQC5MsAha0qOdZXSvDxNmOnFZDVBln1YLMMT+2B2JTd84olPLZ4nEYoMP+X9XST1Py4M/TgRL1Xjfl+SPF6fkKmbQFo02RFNGmpAL8CAp3J31u/CKWtooFrsdq637cb3zWP22A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687035208; bh=ahPVFTUyaXIcssL2wBEIy/+5mzt8CqVeMARq3FVL5Nr=; h=X-Sonic-M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ibW9WodU2.JIn16TmRDF3LlWQD6Ibsf8eEw rwcbvybLelTY_3EwD0tPQMyYYXTgJSLs64WH9LNWTSxd2AgUudOLnJlUpOY6uxcc60_NrmSydO98 C8OL.gw3P5e73eVA0IxbuKm1kpuw0m62FdG7hQgNBczHRa2UvlHf9BqL0toAcbBwphptU83JuTRv s_MO7V7bm6pT.IOXlkq5tJz8z7lgjnJhfhGeMw3qg6YgSacgq29fg4Ua8XRloyIVMTXU8LLrppCA SZQRAXOoYm3mBH_t7bySLJghIu5FQsxc1XvieYxYppFVw4deHWjuQf8L_0d3qYzKCDaDj45IWqXz Z1mCeRaeWc_daI.9UqZtSbXV_Pn69iKzz_o80Tsz.FhRUZEZxoZWpk1M3dyQFUf7XvDZBh5p9tx9 mk_T3R2lw1NlclY5Gx54xQw6lPaZla6ArfmBBOOSgWLRuxrvP2KWJvIZIdfJECA06wWSerpuFle7 36MxXpFjFJfsLMJoRPPjNFnomgUoxsn5CFo__5SvuD4g0gpbA2XAciupfSR2FmNXNwdMNDVf3QJb PVhE- X-Sonic-MF: X-Sonic-ID: d6f24a7e-5a7b-4081-b569-bedac3ea682f Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Sat, 17 Jun 2023 20:53:28 +0000 Received: by hermes--production-gq1-6db989bfb-7mxxf (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 186e4692c867c8dfeb6f6b017d82a881; Sat, 17 Jun 2023 20:53:26 +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 16.0 \(3731.600.7\)) Subject: Re: keyboard doesn't work at Boot Menu From: Mark Millard In-Reply-To: Date: Sat, 17 Jun 2023 13:53:16 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <99542360-6350-4636-A9EA-CA9BBCC93C60@yahoo.com> <5D8D94E2-781D-4945-B721-EDD0BF56A8F2@yahoo.com> To: Nuno Teixeira X-Mailer: Apple Mail (2.3731.600.7) X-Spamd-Result: default: False [-3.27 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.94)[-0.936]; NEURAL_HAM_MEDIUM(-0.83)[-0.832]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.31:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.31:from] X-Rspamd-Queue-Id: 4Qk7Xq3VZmz43JH X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N I'm just making a status report for my experiments. I did a: dd if=3DFreeBSD-13.2-RELEASE-arm64-aarch64-RPI.img of=3D/dev/da1 bs=3D1m = conv=3Dfsync,sync status=3Dprogress I made no adjustments. I then tried using the USB3 media to start a boot of a 8 GiByte RPi4B. It took my typing to the RPi keyboard just fine: I did not have to wait for the timeout when I hit . The (official) RPi keyboard was plugged into a USB2 port. Unfortunately there is a known issue for my context where it gets: uhub_reattach_port: port 3 reset failed, error=3DUSB_ERR_TIMEOUT uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 3 mountroot: waiting for device /dev/ufs/rootfs... Mounting from ufs:/dev/ufs/rootfs failed with error 19. So booting all the way requires me to make an adjustment in the config.txt by adding at the end something like: [all] # # Local addition that avoids USB3 SSD boot failures that look like: # uhub_reattach_port: port ? reset failed, error=3DUSB_ERR_TIMEOUT # uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port = ? initial_turbo=3D60 [It appears that with modern EEPROM context, the RPi* is dynamically adjusting the frequency/voltage combinations even during early booting. The initial_turbo use delays that for the indicated number of seconds (up to 60 sec). FreeBSD seems to not handle the variability and the above gives FreeBSD a stable context for such properties for early booting.] I conclude that there is nothing about use of the RPi keyboard that stops it from working during early booting of 13.2-RELEASE. The RPi* firmware, U-Boot, and FreeBSD UEFI loader all work, other than possibly needing a initial_turbo addition (or analogous that would span at least that early boot time frame). If you had/have problems for the 13.2-RELEASE context, they are likely somehow specific to your context in some respect that deviates from the above. In some respects, investigating in the older context may be better than dealing with stable/13 . It may be keyboard specific in some way if the keyboard is not an RPi keyboard. I did not have a mouse plugged in. An Ethernet cable was plugged in for the booting. I just retried with the RPi keyboard plugged into a USB3 port instead. It worked the same. (The boot media is also plugged into a USB3 port and is USB3 capable SSD media.) FYI: # more /boot/msdos/config.txt=20 [all] arm_64bit=3D1 dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don dtoverlay=3Dmmc dtoverlay=3Ddisable-bt device_tree_address=3D0x4000 kernel=3Du-boot.bin [pi4] hdmi_safe=3D1 armstub=3Darmstub8-gic.bin [all] # # Local addition that avoids USB3 SSD boot failures that look like: # uhub_reattach_port: port ? reset failed, error=3DUSB_ERR_TIMEOUT # uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port = ? initial_turbo=3D60 # more /boot/loader.conf # Configure USB OTG; see usb_template(4). hw.usb.template=3D3 umodem_load=3D"YES" # Multiple console (serial+efi gop) enabled. boot_multicons=3D"YES" boot_serial=3D"YES" # Disable the beastie menu and color beastie_disable=3D"YES" loader_color=3D"NO" (That is unchanged from the image's /boot/loader.conf content.) I'll see about stable/13's snapshot with the u-boot.bin substitution. Side note: I've other USB3 boot media for which having usb_pgood_delay=3D2000 in U-Boot is sufficient but default U-Boot contexts do not find the media suring the USB scan. (There could be a better setting to use for all I know: sufficient but possibly not necessary.) =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sat Jun 17 20:56:06 2023 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 4Qk7c43WhZz4dsvP for ; Sat, 17 Jun 2023 20:56:20 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-20.consmr.mail.gq1.yahoo.com (sonic306-20.consmr.mail.gq1.yahoo.com [98.137.68.83]) (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 4Qk7c256sqz441y for ; Sat, 17 Jun 2023 20:56:18 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=pXCqUI4Q; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.68.83 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687035377; bh=nWmKdNMrbd9xXWyGLSOXDuj80Q/cG6PnkKxSOzKKwW0=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=pXCqUI4QW9ayUBLdHNkQfRu5nQmzEm/Cn4/7RMNQE3FacBsRe5YpIAZYvNcVjfC1QQp/u5Xz9i/mR9A+N1pEW98vf7Us9kXQQDkN7XoRsirTA4h58fnsdA1tCJY7pJuQsInPcVaK7u4fyWuSb4Plut1D5R0bWioFVn1UlxXEReE9CbaJ54CDcsYT0U9QpcJlM0eQaDBh1OEFt5VjBUakIS6h16a0FDUbZvqLYlD1RIzQPCgTGBIYwFYYVVM/yn9Qoyz9FVfxqAXYeogsEafPmfXbwLjrAU74Wcmf3Tv/CNDUmCOOMSkW9dcbV6ZTlL6HQKYwZ8bWCGIpL1IrbbFhzA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687035377; bh=VDT0X9tzcy9jDVfxXZEbHP9DcaiMmlITm94EKmwMBwj=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=D6N019Ln3dURJiaFuXPXGDu+YX2s+Aa+OunQfXNX+qFfAZGADMS8/Rhytj+bzzzcb1X08civfjt4V3i14fTckJIVV0puHG5AgFdr1kGdOec5dyaF9wSBUsDVKcXk8DZpT1S0WqcJuhTh5GNaeQmWkM1jkz1nTYHPY/5Ay9dWb6sgyEGlhr8uD/t4ucF2+c3sKb/eqbXa0DDqmvKnBpjGVwcMTInzqLoMTg/271M5I0P1zVd2Zg4hCKV3uxS/q/Tvo0HIDQnm9wk5tXm8PBtMa34zj5mgLvTI4Iq7fh/hg2zTb88wDiCpZmj8IgX9LZw3Ql6e700fwIAx+GuZfjLXVA== X-YMail-OSG: ZPzPpHMVM1l2_Uba0TaqPF3.PDEvzCG0TPQ056snFPkB7vma7TIXuiG5hNwCIXO 0IpUKLK7NswqLqDmvBfFv1j0OFDfIH_NMIJ3AAbNQ_BcQC79JqE5v0f9441W4X2PtCiCQQho0n.P sXzB8wSF2.uZzQQt2eOQ6wN8aq_qnCSJ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2XELwO26Dqs3JZhkA_TeyATmFAnMTWlbWDZ5xJL8 D28E- X-Sonic-MF: X-Sonic-ID: dd4852bd-5bab-4b47-a1bf-5566bfeb99c8 Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Sat, 17 Jun 2023 20:56:17 +0000 Received: by hermes--production-gq1-6db989bfb-7mxxf (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 77affff29bfaafce03c6a5dd46fc2845; Sat, 17 Jun 2023 20:56:16 +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 16.0 \(3731.600.7\)) Subject: Re: keyboard doesn't work at Boot Menu From: Mark Millard In-Reply-To: Date: Sat, 17 Jun 2023 13:56:06 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <70CC43FC-2055-409E-A94E-76F934C14AE2@yahoo.com> References: <99542360-6350-4636-A9EA-CA9BBCC93C60@yahoo.com> <5D8D94E2-781D-4945-B721-EDD0BF56A8F2@yahoo.com> To: Nuno Teixeira X-Mailer: Apple Mail (2.3731.600.7) X-Spamd-Result: default: False [-3.37 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.95)[-0.948]; NEURAL_HAM_MEDIUM(-0.92)[-0.921]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.83:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.83:from] X-Rspamd-Queue-Id: 4Qk7c256sqz441y X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Jun 17, 2023, at 13:53, Mark Millard wrote: > I'm just making a status report for my experiments. >=20 > I did a: >=20 > dd if=3DFreeBSD-13.2-RELEASE-arm64-aarch64-RPI.img of=3D/dev/da1 bs=3D1m= conv=3Dfsync,sync status=3Dprogress >=20 > I made no adjustments. >=20 > I then tried using the USB3 media to start a boot of > a 8 GiByte RPi4B. It took my typing to the RPi > keyboard just fine: I did not have to wait for > the timeout when I hit . The (official) RPi > keyboard was plugged into a USB2 port. >=20 > Unfortunately there is a known issue for my context where it > gets: >=20 > uhub_reattach_port: port 3 reset failed, error=3DUSB_ERR_TIMEOUT > uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 3 > mountroot: waiting for device /dev/ufs/rootfs... > Mounting from ufs:/dev/ufs/rootfs failed with error 19. >=20 > So booting all the way requires me to make an adjustment > in the config.txt by adding at the end something like: >=20 >=20 > [all] > # > # Local addition that avoids USB3 SSD boot failures that look like: > # uhub_reattach_port: port ? reset failed, error=3DUSB_ERR_TIMEOUT > # uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling = port ? > initial_turbo=3D60 >=20 > [It appears that with modern EEPROM context, the RPi* is > dynamically adjusting the frequency/voltage combinations > even during early booting. The initial_turbo use delays > that for the indicated number of seconds (up to 60 sec). > FreeBSD seems to not handle the variability and the above > gives FreeBSD a stable context for such properties for > early booting.] >=20 > I conclude that there is nothing about use of the RPi > keyboard that stops it from working during early booting > of 13.2-RELEASE. The RPi* firmware, U-Boot, and FreeBSD > UEFI loader all work, other than possibly needing a > initial_turbo addition (or analogous that would span > at least that early boot time frame). >=20 > If you had/have problems for the 13.2-RELEASE context, > they are likely somehow specific to your context in some > respect that deviates from the above. >=20 > In some respects, investigating in the older context may > be better than dealing with stable/13 . It may be keyboard > specific in some way if the keyboard is not an RPi > keyboard. I did not have a mouse plugged in. An Ethernet > cable was plugged in for the booting. I forgot to mention having the HDMI connection plugged into the HDMI port nearest the USB3 power connector. As I remember, the other port stops updating its display at some point during the boot. > I just retried with the RPi keyboard plugged into a USB3 > port instead. It worked the same. (The boot media is also > plugged into a USB3 port and is USB3 capable SSD media.) >=20 > FYI: >=20 > # more /boot/msdos/config.txt=20 > [all] > arm_64bit=3D1 > dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don > dtoverlay=3Dmmc > dtoverlay=3Ddisable-bt > device_tree_address=3D0x4000 > kernel=3Du-boot.bin >=20 > [pi4] > hdmi_safe=3D1 > armstub=3Darmstub8-gic.bin >=20 > [all] > # > # Local addition that avoids USB3 SSD boot failures that look like: > # uhub_reattach_port: port ? reset failed, error=3DUSB_ERR_TIMEOUT > # uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling = port ? > initial_turbo=3D60 >=20 > # more /boot/loader.conf > # Configure USB OTG; see usb_template(4). > hw.usb.template=3D3 > umodem_load=3D"YES" > # Multiple console (serial+efi gop) enabled. > boot_multicons=3D"YES" > boot_serial=3D"YES" > # Disable the beastie menu and color > beastie_disable=3D"YES" > loader_color=3D"NO" >=20 > (That is unchanged from the image's /boot/loader.conf content.) >=20 >=20 > I'll see about stable/13's snapshot with the u-boot.bin > substitution. >=20 >=20 > Side note: I've other USB3 boot media for which having > usb_pgood_delay=3D2000 in U-Boot is sufficient but default > U-Boot contexts do not find the media suring the USB scan. > (There could be a better setting to use for all I know: > sufficient but possibly not necessary.) =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sat Jun 17 21:42:58 2023 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 4Qk8f92B0Kz4dx8J for ; Sat, 17 Jun 2023 21:43:13 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-21.consmr.mail.gq1.yahoo.com (sonic305-21.consmr.mail.gq1.yahoo.com [98.137.64.84]) (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 4Qk8f828xHz47qr for ; Sat, 17 Jun 2023 21:43:12 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=IEeU9MSD; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.84 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687038190; bh=A5ELK1V42QkDgZv69r6+96ogN8O4Hzib6lDWvijc7ow=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=IEeU9MSD/dckyCDd2i75OoHaeDrNj9b886G5SS+f4ylNuqHajvw3E0CJxynGEt1zakNkzDNYZ6XV69oU97PH2uyv60rAJNfcLdL248JQvii6w0HPFyMJrIoKQhxCpNxwOHkxPswA/Sk+JZAmteyp1ZeotDd3rDOwk5vBjl9396qBAjJ2oZFHAV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Uumy8bJC7QGjVkUMZrWrbV55YuS1VGgxyrW r9Urmj1vDykqc0iTGB6Hy_HWSz.ytFmrfF83i1WyDNf2YXHxpnDp9VNxghpb0cYHcom687.9Lejh SyhznrS26ay.iGmtsxJlOVmtUswrbIDD1i4CoMSfC.9B.pOHHYTKQRELGzfvtoSRZAXvOR4Smkfs eZuPg0eJo_uUemEh6Kerq4i3Rj6tPRrTjbAGRUlaDhxXAIlnA2LkFTyXBaBXgzZYEOMWKGeNGMIV JTccMHat.GEOFGdp6d72WbfA1ehjKJu_u_gi.Xa.9y8Nb53EgbZ359jFogqXe20SdeetJ0IpXGFA MCw9Am0tVK4dtCQHOsHqb31RofaGHojC4Zstafy.PY8fBLip2PaXxXAD4_7Sa6CHaSVjYK23tcXC 2V4sumSgn31HldeWHkilvTOFYMHD4WYX4Gx3sSedLFk98I0sYMYRSgJhLvz20WlMiHudxlYwUKFD JPtd0cRhtFzItmWozOXpAsIyxc1mN2Y0X8Js8BsZywZeet4k.J8pOScXMIY5GyJPBP1kNv5QzYUB 6HNZPhXY3qvl1Ms2uyjl_eK1ijlwkI185wu6fFXg__qFUOmBgsw._Dz5bBhgqNKEfI1nAEQ9ELGe QHMxMD.c2RosxTfEmBWb6ErynR0ONF1uvrxOcYV7um0N9ZPZS7Ol1.oh6n3n0ZgD4wH7ZLssn2ld 8FIccBa7C4v3Q_.aGG3wFlZTE.nPkWbFnrVDhUji.rCW5_dMM4If7LgijZcaqQ174dpEjTXz.eT0 5fj9QnIKnzQgdHZ_DYOoLiuYnBESKyO.HnweUei4w6LOEKLqJeTtPBQbMEddegNtv5ObtN5c5kXW CFyYDNg-- X-Sonic-MF: X-Sonic-ID: 3ba233b9-dc17-4bf0-8bcb-cfe960f14f22 Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Sat, 17 Jun 2023 21:43:10 +0000 Received: by hermes--production-gq1-6db989bfb-4sk72 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID fa5577366213321f97ef90b81990b36c; Sat, 17 Jun 2023 21:43:09 +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 16.0 \(3731.600.7\)) Subject: Re: keyboard doesn't work at Boot Menu From: Mark Millard In-Reply-To: <70CC43FC-2055-409E-A94E-76F934C14AE2@yahoo.com> Date: Sat, 17 Jun 2023 14:42:58 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <5875BDD2-B792-4FE1-8F42-99D996CAE71D@yahoo.com> References: <99542360-6350-4636-A9EA-CA9BBCC93C60@yahoo.com> <5D8D94E2-781D-4945-B721-EDD0BF56A8F2@yahoo.com> <70CC43FC-2055-409E-A94E-76F934C14AE2@yahoo.com> To: Nuno Teixeira X-Mailer: Apple Mail (2.3731.600.7) X-Spamd-Result: default: False [-2.30 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.93)[-0.927]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; NEURAL_SPAM_SHORT(0.12)[0.123]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.84:from]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; DKIM_TRACE(0.00)[yahoo.com:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.84:from] X-Rspamd-Queue-Id: 4Qk8f828xHz47qr X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N [This time I add continuing the sequence to test the stable/13 = snapshot.] On Jun 17, 2023, at 13:56, Mark Millard wrote: > On Jun 17, 2023, at 13:53, Mark Millard wrote: >=20 >> I'm just making a status report for my experiments. >>=20 >> I did a: >>=20 >> dd if=3DFreeBSD-13.2-RELEASE-arm64-aarch64-RPI.img of=3D/dev/da1 = bs=3D1m conv=3Dfsync,sync status=3Dprogress >>=20 >> I made no adjustments. >>=20 >> I then tried using the USB3 media to start a boot of >> a 8 GiByte RPi4B. It took my typing to the RPi >> keyboard just fine: I did not have to wait for >> the timeout when I hit . The (official) RPi >> keyboard was plugged into a USB2 port. >>=20 >> Unfortunately there is a known issue for my context where it >> gets: >>=20 >> uhub_reattach_port: port 3 reset failed, error=3DUSB_ERR_TIMEOUT >> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port = 3 >> mountroot: waiting for device /dev/ufs/rootfs... >> Mounting from ufs:/dev/ufs/rootfs failed with error 19. >>=20 >> So booting all the way requires me to make an adjustment >> in the config.txt by adding at the end something like: >>=20 >>=20 >> [all] >> # >> # Local addition that avoids USB3 SSD boot failures that look like: >> # uhub_reattach_port: port ? reset failed, error=3DUSB_ERR_TIMEOUT >> # uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling = port ? >> initial_turbo=3D60 >>=20 >> [It appears that with modern EEPROM context, the RPi* is >> dynamically adjusting the frequency/voltage combinations >> even during early booting. The initial_turbo use delays >> that for the indicated number of seconds (up to 60 sec). >> FreeBSD seems to not handle the variability and the above >> gives FreeBSD a stable context for such properties for >> early booting.] >>=20 >> I conclude that there is nothing about use of the RPi >> keyboard that stops it from working during early booting >> of 13.2-RELEASE. The RPi* firmware, U-Boot, and FreeBSD >> UEFI loader all work, other than possibly needing a >> initial_turbo addition (or analogous that would span >> at least that early boot time frame). >>=20 >> If you had/have problems for the 13.2-RELEASE context, >> they are likely somehow specific to your context in some >> respect that deviates from the above. >>=20 >> In some respects, investigating in the older context may >> be better than dealing with stable/13 . It may be keyboard >> specific in some way if the keyboard is not an RPi >> keyboard. I did not have a mouse plugged in. An Ethernet >> cable was plugged in for the booting. >=20 > I forgot to mention having the HDMI connection plugged > into the HDMI port nearest the USB3 power connector. >=20 > As I remember, the other port stops updating its display > at some point during the boot. >=20 >> I just retried with the RPi keyboard plugged into a USB3 >> port instead. It worked the same. (The boot media is also >> plugged into a USB3 port and is USB3 capable SSD media.) >>=20 >> FYI: >>=20 >> # more /boot/msdos/config.txt=20 >> [all] >> arm_64bit=3D1 >> dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don >> dtoverlay=3Dmmc >> dtoverlay=3Ddisable-bt >> device_tree_address=3D0x4000 >> kernel=3Du-boot.bin >>=20 >> [pi4] >> hdmi_safe=3D1 >> armstub=3Darmstub8-gic.bin >>=20 >> [all] >> # >> # Local addition that avoids USB3 SSD boot failures that look like: >> # uhub_reattach_port: port ? reset failed, error=3DUSB_ERR_TIMEOUT >> # uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling = port ? >> initial_turbo=3D60 >>=20 >> # more /boot/loader.conf >> # Configure USB OTG; see usb_template(4). >> hw.usb.template=3D3 >> umodem_load=3D"YES" >> # Multiple console (serial+efi gop) enabled. >> boot_multicons=3D"YES" >> boot_serial=3D"YES" >> # Disable the beastie menu and color >> beastie_disable=3D"YES" >> loader_color=3D"NO" >>=20 >> (That is unchanged from the image's /boot/loader.conf content.) >>=20 >>=20 >> I'll see about stable/13's snapshot with the u-boot.bin >> substitution. >>=20 >>=20 >> Side note: I've other USB3 boot media for which having >> usb_pgood_delay=3D2000 in U-Boot is sufficient but default >> U-Boot contexts do not find the media suring the USB scan. >> (There could be a better setting to use for all I know: >> sufficient but possibly not necessary.) This is based on: dd = if=3DFreeBSD-13.2-STABLE-arm64-aarch64-RPI-20230615-894492f5bf4e-255597.im= g of=3D/dev/da0 bs=3D1m conv=3Dfsync,sync status=3Dprogress First dealing with the U-Boot vintage-avoidance issue: # mount -onoatime -tmsdosfs /dev/da1s1 /media # mount -onoatime -tmsdosfs /dev/da0s1 /mnt # ls -Tld /media/u-boot.bin /mnt/u-boot.bin -rwxr-xr-x 1 root wheel 601096 Apr 6 19:47:52 2023 /media/u-boot.bin -rwxr-xr-x 1 root wheel 602552 Jun 14 19:43:46 2023 /mnt/u-boot.bin # cp -aRx /media/u-boot.bin /mnt/ Then dealing with the initial_turbo issue: # diff /media/config.txt /mnt/config.txt=20 12,18d11 < < [all] < # < # Local addition that avoids USB3 SSD boot failures that look like: < # uhub_reattach_port: port ? reset failed, error=3DUSB_ERR_TIMEOUT < # uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling = port ? < initial_turbo=3D60 # cp -aRx /media/config.txt /mnt/ Finally, checking things overall in the msdosfs: # diff -rq /media/ /mnt/ Files /media/EFI/BOOT/bootaa64.efi and /mnt/EFI/BOOT/bootaa64.efi differ # ls -Tld /media/EFI/*/* /mnt/EFI/*/* -rwxr-xr-x 1 root wheel 1180860 Apr 6 20:48:14 2023 = /media/EFI/BOOT/bootaa64.efi -rwxr-xr-x 1 root wheel 1182604 Jun 14 20:47:12 2023 = /mnt/EFI/BOOT/bootaa64.efi So: No other differences than the vintage of the FreeBSD UEFI loader. This also booted just fine, taking my input to avoid having to wait for the timeout. The only difference is which USB3 SSD was plugged in (the boot drive), in this case the one with a stable/13 snapshot instead of a releng/13.2 snapshot. The rest of the ports were as they had been. FYI: # uname -apKU FreeBSD generic 13.2-STABLE FreeBSD 13.2-STABLE = stable/13-n255597-894492f5bf4e GENERIC arm64 aarch64 1302505 1302505 Having confirmed this much for both releng/13.2 and stable.13 , I'll go back and look at your notes about file content and the like and see if I notice any distinctions vs. the above that might be important. Notes: I doubt that the RPi4B EEPROM image vintage would contribute, but it is something we have not been explicit about. I do have various debug outputs enabled, including for the EEPROM stage. The following is what it reports=20 about the EEPROM content ("BOOTLOADER release") at power down after FreeBSD is done: RPi: BOOTLOADER release VERSION:8ba17717 DATE: 2023/01/11 TIME: 17:40:52 BOOTMODE: 0x06 partition 63 build-ts BUILD_TIMESTAMP=3D1673458852 serial = c740af3c boardrev d03115 stc 421180 Halt: wake: 1 power_off: 0 The "boardrev d03115" indicates a "C0T" Rev1.5 vintage part that does not require the bounce buffer work around since the wrapper logic is fixed. (FreeBSD keeps working as if the bounce buffer was required: it is the only style of operation the kernel code has for the category of part.) I have access to a 8 GiByte Rev 1.4 RPi4B and a Rev 1.1 4 GiByte RPi4B and could test those with the same media and such. All would have the same "BOOTLOADER release" as above, as I remember. A you sure you have the HDMI plugged into the correct HDMI port on the RPi4B, the one closest to the USB3 power connection? =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sat Jun 17 21:57:45 2023 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 4Qk8z866Wvz4dy0b for ; Sat, 17 Jun 2023 21:57:56 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qk8z85Zrxz49L1 for ; Sat, 17 Jun 2023 21:57:56 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687039076; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ugGCANyKJ4ULfXOUAQ+z9vb8H9raLaNhA9ZX3OnjpL4=; b=UCYaUNJ9RtwHWkFydh3K/3bs2yxdcn4lOwCSyDfAFPWBeGyFx1jdfQ0sPpF3MsYyrS2DL9 /1ITB9uZO8PIg2qFh2HdMiV0O4N5aT6F6qA72z0nVUgb/6oHQyqs1RBjlCiRAckjYVpjEp a3SwNsrIMpUrwgw8xGhdUPg4P46LSmpPgZXdcMyG+3sBQV7jzSN1K1LYRClpSZKbVBspfO jORQCMhqT5lfOjF+MB6rlw3tRtuzv7T+yAV6czVNtFpPH3mDt9GJS+u2tohkr3xqyYhDYv mM48ixY0o9UFQE6bhpaKDtABqjCPD/v1J3X2AH2ElAh3yDJOhzjzvV6TKdhAKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687039076; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ugGCANyKJ4ULfXOUAQ+z9vb8H9raLaNhA9ZX3OnjpL4=; b=GG0Wqf7ybcDZ/VMfLjPsHST2xP9q936FWc09y+3RTawqHY4UUOf4G9k2/qbv08pHOcvaRG QNAoVmG6oFFHBivzWIPEkQ3PVIy7mZQCDC5uNRchWRAoxsijc/5bsHn488jUERQzS0+oYB gx74oZJbi0YKTsJxXxRlKk5TlY5dq03rt0LzFZJO+xxo1+uw5+4UeQJVbldE5EPBLKuyjx bxCL6YUjHhfqvxyq86tTE2u6hfwR8wkQjr8CxCymO4lrfNWSIhOrgGIr65gbq82azl4MF0 fD+Z5g9Owt9EkGowLNjCtPC3yU89AGyfsYcfuyvDBPOXap8KBPapLuUAn4T8FA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687039076; a=rsa-sha256; cv=none; b=e40xENGcwEwCmwQ8l+A2ELSjXSaXM/k/MQ93FgnjxTnBEd/fzcB/EWihOmT697kUn19747 o/M6fZMzrSNaQM8WFB54oXOyDI1TXTYOIWls6u860tDGWq9jDqujWWcsvuPsvU1jRRdVa/ 8+WoQECXr721AnGhbX6Dhq3UKgU3gw2Wys8olFVagvXGn+4uxArh8cibA8QS33uH4dN4VS TA2FvQ4Id9zCfndkJh0yJza7NrV1ksVG3phn2M7NoMVplDE4bEFSdUjblcCZWmMue6ul4M W80q5RsbTOWTw8QbsAmhUZYy1yVsI04ECGqsDtMF39+WfONxbLOx2qL56kkqfQ== Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) (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)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Qk8z84Wpyz10bh for ; Sat, 17 Jun 2023 21:57:56 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qt1-f175.google.com with SMTP id d75a77b69052e-3f9b4a656deso17614731cf.0 for ; Sat, 17 Jun 2023 14:57:56 -0700 (PDT) X-Gm-Message-State: AC+VfDxQ4Dddzs/9O6mZb5mrUyCLMeVhwPwffQWtXwQyY/r4/gEqsT4G R86PtCIiiug0SehprOKymG46iW5JAcenaIzj96w= X-Google-Smtp-Source: ACHHUZ6QxfiFeRU91fi/b+KP/47p4Hp0N/1k6Zm2GGzJMy0xzQG8a2jRU744gw1CuVbmruOefnH+9epdzCOic2LjAlA= X-Received: by 2002:a05:622a:413:b0:3ef:2f92:464d with SMTP id n19-20020a05622a041300b003ef2f92464dmr7632436qtx.28.1687039076038; Sat, 17 Jun 2023 14:57:56 -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: <99542360-6350-4636-A9EA-CA9BBCC93C60@yahoo.com> <5D8D94E2-781D-4945-B721-EDD0BF56A8F2@yahoo.com> <70CC43FC-2055-409E-A94E-76F934C14AE2@yahoo.com> <5875BDD2-B792-4FE1-8F42-99D996CAE71D@yahoo.com> In-Reply-To: <5875BDD2-B792-4FE1-8F42-99D996CAE71D@yahoo.com> From: Nuno Teixeira Date: Sat, 17 Jun 2023 22:57:45 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: keyboard doesn't work at Boot Menu To: Mark Millard Cc: freebsd-arm@freebsd.org Content-Type: multipart/alternative; boundary="000000000000d97db505fe5a641b" X-ThisMailContainsUnwantedMimeParts: N --000000000000d97db505fe5a641b Content-Type: text/plain; charset="UTF-8" > A you sure you have the HDMI plugged into the correct HDMI > port on the RPi4B, the one closest to the USB3 power > connection? > Yes, [POWER] -- >>[HDMI]<< -- [HDMI] - [SOUND JACK] For what I've read, 2nd HDMI doesn't work with bsd (?) Did you saw photo with boot menu from last email? Thanks -- Nuno Teixeira FreeBSD Committer (ports) --000000000000d97db505fe5a641b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

A you sure you have the HDMI plugged into the correct HDMI
port on the RPi4B, the one closest to the USB3 power
connection?

Yes,

[POWER= ] -- >>[HDMI]<< -- [HDMI] - [SOUND JACK]

For what I've read, 2nd HDMI doesn't work with bsd (?)

Did you saw photo with boot menu from last email?

Thanks



--
Nuno Te= ixeira
FreeBSD Committer (ports)
--000000000000d97db505fe5a641b-- From nobody Sat Jun 17 22:08:00 2023 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 4Qk9C65VFGz4f0Cq for ; Sat, 17 Jun 2023 22:08:18 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-21.consmr.mail.gq1.yahoo.com (sonic309-21.consmr.mail.gq1.yahoo.com [98.137.65.147]) (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 4Qk9C53sLBz4C8l for ; Sat, 17 Jun 2023 22:08:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=KImQ8ig7; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.147 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687039694; bh=4H6JjxWuZCGZNHauyEnxWQEThRUnPjsqmo35s3tuxN8=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=KImQ8ig7eMgb2U8n5OxyWpBHYGN8AvTOL6C2186iwX6s+D3U8WLB2Xat9Q7jvHvJ2hlurjUrE9FvYsR7lW5Gc/cP0TMLVFoDsiqeP5fxEh5YYFBAhX08pXqznY5E23sCTmeoRKFBKPqlbN6rUP4nWO3PFC6VbEgpDpsxtd0UxLdwetH9aywRjySBvl4r5SA2FpGYFAAC0zNCP13xb+0wsQi1yyuVAp6KW9qW3dOHPRAHfBk8xOVNEY2NIZf9Iv/ctUVf+4ttn3VA8NVzohM1wlLBRDGPwASjHlw5E+XA+sWP+zBOTbZZgrlPOh8ZhTXZUNc1cl+RvEWbdKNscXPhIQ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InynOoGwpRco3m1tFd8ZW_xwK8uxQQ yN8ZTb9FOm9Xwe3qMZ.uzhhsaIyE89dH1USrKmzojbDESusOOrSUyaWDJbhZtnbAArI26Ez3r5KJ v_R6HblkvLOx_a_yPT7X08XEauNhLB0p8hajRGNW2gu8j2v9s.UTR.ggwdVIJAcBX63fcQXpbBZp KTWWs5bjpnL1bNArq.bXwcbcGBobGOvZ7XMpNcQ3ibbZ6uy1cWMvHjw7XGiYD5mVcsDkm7MkDF5W YdhPEF2MrK333M4xZK2LyITsY6o.RBXA082cmQwHLIQfqOHhmywW.wDnMcd2p_MT9IjmcTOXHNAm PM1k_ouMqfDWpGHoKT6CUjRyyQw05QiL_6KtHG7TSBGryIeGZ_f3bKE_5DNYfrHzlsAB3POvKbhc AkxCqPsnGN32LDSIPjnk41MUzevjotOM63AXlOdI3bGW5lVL.sdkrdzKGSLaQ8cj53tq5RhZ.cW1 00zO2Vpi2cNOjS_YRj8Fwm1oJ6IsWVpVzlNzh_P47K7.7ShZTCpC.eup8fFbFEc_.70.UlB.i8xg jekMT8P8z8KJ139FMNQMXZjo0kYDMiFUU1ipvpMik0E9CnwDGuoakSSq..Z.aQOurZIKHczeauxZ zejZriP3Oy0hDSbJiPL4yIVt8zRr2nTU91qMQvFnjLj_Qu5UH8yQqGFmhLV3A1a_f9YWliL7GGoG tePO7MJrg X-Sonic-MF: X-Sonic-ID: 5b029f68-baaa-4b59-afd2-53b0913e629d Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Sat, 17 Jun 2023 22:08:14 +0000 Received: by hermes--production-gq1-6db989bfb-66nkp (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 15322c6b0c86f3aa42ff44fd80f1b253; Sat, 17 Jun 2023 22:08:11 +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 16.0 \(3731.600.7\)) Subject: Re: keyboard doesn't work at Boot Menu From: Mark Millard In-Reply-To: <5875BDD2-B792-4FE1-8F42-99D996CAE71D@yahoo.com> Date: Sat, 17 Jun 2023 15:08:00 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <99542360-6350-4636-A9EA-CA9BBCC93C60@yahoo.com> <5D8D94E2-781D-4945-B721-EDD0BF56A8F2@yahoo.com> <70CC43FC-2055-409E-A94E-76F934C14AE2@yahoo.com> <5875BDD2-B792-4FE1-8F42-99D996CAE71D@yahoo.com> To: Nuno Teixeira X-Mailer: Apple Mail (2.3731.600.7) X-Spamd-Result: default: False [-2.32 / 15.00]; NEURAL_HAM_LONG(-0.99)[-0.990]; NEURAL_HAM_MEDIUM(-0.86)[-0.863]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(0.03)[0.030]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.147:from]; BLOCKLISTDE_FAIL(0.00)[98.137.65.147:server fail]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[yahoo.com:+]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.147:from] X-Rspamd-Queue-Id: 4Qk9C53sLBz4C8l X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N [Commenting out beastie_disable=3D"YES" and loader_color=3D"NO" in stable/13.] On Jun 17, 2023, at 14:42, Mark Millard wrote: > [This time I add continuing the sequence to test the stable/13 = snapshot.] >=20 > On Jun 17, 2023, at 13:56, Mark Millard wrote: >=20 >> On Jun 17, 2023, at 13:53, Mark Millard wrote: >>=20 >>> I'm just making a status report for my experiments. >>>=20 >>> I did a: >>>=20 >>> dd if=3DFreeBSD-13.2-RELEASE-arm64-aarch64-RPI.img of=3D/dev/da1 = bs=3D1m conv=3Dfsync,sync status=3Dprogress >>>=20 >>> I made no adjustments. >>>=20 >>> I then tried using the USB3 media to start a boot of >>> a 8 GiByte RPi4B. It took my typing to the RPi >>> keyboard just fine: I did not have to wait for >>> the timeout when I hit . The (official) RPi >>> keyboard was plugged into a USB2 port. >>>=20 >>> Unfortunately there is a known issue for my context where it >>> gets: >>>=20 >>> uhub_reattach_port: port 3 reset failed, error=3DUSB_ERR_TIMEOUT >>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port = 3 >>> mountroot: waiting for device /dev/ufs/rootfs... >>> Mounting from ufs:/dev/ufs/rootfs failed with error 19. >>>=20 >>> So booting all the way requires me to make an adjustment >>> in the config.txt by adding at the end something like: >>>=20 >>>=20 >>> [all] >>> # >>> # Local addition that avoids USB3 SSD boot failures that look like: >>> # uhub_reattach_port: port ? reset failed, error=3DUSB_ERR_TIMEOUT >>> # uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling = port ? >>> initial_turbo=3D60 >>>=20 >>> [It appears that with modern EEPROM context, the RPi* is >>> dynamically adjusting the frequency/voltage combinations >>> even during early booting. The initial_turbo use delays >>> that for the indicated number of seconds (up to 60 sec). >>> FreeBSD seems to not handle the variability and the above >>> gives FreeBSD a stable context for such properties for >>> early booting.] >>>=20 >>> I conclude that there is nothing about use of the RPi >>> keyboard that stops it from working during early booting >>> of 13.2-RELEASE. The RPi* firmware, U-Boot, and FreeBSD >>> UEFI loader all work, other than possibly needing a >>> initial_turbo addition (or analogous that would span >>> at least that early boot time frame). >>>=20 >>> If you had/have problems for the 13.2-RELEASE context, >>> they are likely somehow specific to your context in some >>> respect that deviates from the above. >>>=20 >>> In some respects, investigating in the older context may >>> be better than dealing with stable/13 . It may be keyboard >>> specific in some way if the keyboard is not an RPi >>> keyboard. I did not have a mouse plugged in. An Ethernet >>> cable was plugged in for the booting. >>=20 >> I forgot to mention having the HDMI connection plugged >> into the HDMI port nearest the USB3 power connector. >>=20 >> As I remember, the other port stops updating its display >> at some point during the boot. >>=20 >>> I just retried with the RPi keyboard plugged into a USB3 >>> port instead. It worked the same. (The boot media is also >>> plugged into a USB3 port and is USB3 capable SSD media.) >>>=20 >>> FYI: >>>=20 >>> # more /boot/msdos/config.txt=20 >>> [all] >>> arm_64bit=3D1 >>> dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don >>> dtoverlay=3Dmmc >>> dtoverlay=3Ddisable-bt >>> device_tree_address=3D0x4000 >>> kernel=3Du-boot.bin >>>=20 >>> [pi4] >>> hdmi_safe=3D1 >>> armstub=3Darmstub8-gic.bin >>>=20 >>> [all] >>> # >>> # Local addition that avoids USB3 SSD boot failures that look like: >>> # uhub_reattach_port: port ? reset failed, error=3DUSB_ERR_TIMEOUT >>> # uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling = port ? >>> initial_turbo=3D60 >>>=20 >>> # more /boot/loader.conf >>> # Configure USB OTG; see usb_template(4). >>> hw.usb.template=3D3 >>> umodem_load=3D"YES" >>> # Multiple console (serial+efi gop) enabled. >>> boot_multicons=3D"YES" >>> boot_serial=3D"YES" >>> # Disable the beastie menu and color >>> beastie_disable=3D"YES" >>> loader_color=3D"NO" >>>=20 >>> (That is unchanged from the image's /boot/loader.conf content.) >>>=20 >>>=20 >>> I'll see about stable/13's snapshot with the u-boot.bin >>> substitution. >>>=20 >>>=20 >>> Side note: I've other USB3 boot media for which having >>> usb_pgood_delay=3D2000 in U-Boot is sufficient but default >>> U-Boot contexts do not find the media suring the USB scan. >>> (There could be a better setting to use for all I know: >>> sufficient but possibly not necessary.) >=20 > This is based on: >=20 > dd = if=3DFreeBSD-13.2-STABLE-arm64-aarch64-RPI-20230615-894492f5bf4e-255597.im= g of=3D/dev/da0 bs=3D1m conv=3Dfsync,sync status=3Dprogress >=20 > First dealing with the U-Boot vintage-avoidance issue: >=20 > # mount -onoatime -tmsdosfs /dev/da1s1 /media > # mount -onoatime -tmsdosfs /dev/da0s1 /mnt >=20 > # ls -Tld /media/u-boot.bin /mnt/u-boot.bin > -rwxr-xr-x 1 root wheel 601096 Apr 6 19:47:52 2023 = /media/u-boot.bin > -rwxr-xr-x 1 root wheel 602552 Jun 14 19:43:46 2023 /mnt/u-boot.bin >=20 > # cp -aRx /media/u-boot.bin /mnt/ >=20 > Then dealing with the initial_turbo issue: >=20 > # diff /media/config.txt /mnt/config.txt=20 > 12,18d11 > < < [all] > < # > < # Local addition that avoids USB3 SSD boot failures that look like: > < # uhub_reattach_port: port ? reset failed, error=3DUSB_ERR_TIMEOUT > < # uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling = port ? > < initial_turbo=3D60 > # cp -aRx /media/config.txt /mnt/ >=20 > Finally, checking things overall in the msdosfs: >=20 > # diff -rq /media/ /mnt/ > Files /media/EFI/BOOT/bootaa64.efi and /mnt/EFI/BOOT/bootaa64.efi = differ >=20 > # ls -Tld /media/EFI/*/* /mnt/EFI/*/* > -rwxr-xr-x 1 root wheel 1180860 Apr 6 20:48:14 2023 = /media/EFI/BOOT/bootaa64.efi > -rwxr-xr-x 1 root wheel 1182604 Jun 14 20:47:12 2023 = /mnt/EFI/BOOT/bootaa64.efi >=20 > So: No other differences than the vintage of the FreeBSD UEFI > loader. >=20 > This also booted just fine, taking my input to avoid having > to wait for the timeout. The only difference is which USB3 > SSD was plugged in (the boot drive), in this case the one > with a stable/13 snapshot instead of a releng/13.2 snapshot. > The rest of the ports were as they had been. >=20 > FYI: >=20 > # uname -apKU > FreeBSD generic 13.2-STABLE FreeBSD 13.2-STABLE = stable/13-n255597-894492f5bf4e GENERIC arm64 aarch64 1302505 1302505 >=20 > Having confirmed this much for both releng/13.2 and stable.13 , > I'll go back and look at your notes about file content and the > like and see if I notice any distinctions vs. the above that > might be important. >=20 >=20 > Notes: >=20 > I doubt that the RPi4B EEPROM image vintage would contribute, but > it is something we have not been explicit about. >=20 > I do have various debug outputs enabled, including for > the EEPROM stage. The following is what it reports=20 > about the EEPROM content ("BOOTLOADER release") at > power down after FreeBSD is done: >=20 > RPi: BOOTLOADER release VERSION:8ba17717 DATE: 2023/01/11 TIME: = 17:40:52 > BOOTMODE: 0x06 partition 63 build-ts BUILD_TIMESTAMP=3D1673458852 = serial c740af3c boardrev d03115 stc 421180 > Halt: wake: 1 power_off: 0 >=20 > The "boardrev d03115" indicates a "C0T" Rev1.5 vintage part > that does not require the bounce buffer work around since > the wrapper logic is fixed. (FreeBSD keeps working as if > the bounce buffer was required: it is the only style of > operation the kernel code has for the category of part.) >=20 > I have access to a 8 GiByte Rev 1.4 RPi4B and a Rev 1.1 > 4 GiByte RPi4B and could test those with the same media > and such. All would have the same "BOOTLOADER release" > as above, as I remember. >=20 >=20 > A you sure you have the HDMI plugged into the correct HDMI > port on the RPi4B, the one closest to the USB3 power > connection? [I have also changed the /bin/csh defaults to /bin/sh (which is my normal context).] # more /boot/loader.conf # Configure USB OTG; see usb_template(4). hw.usb.template=3D3 umodem_load=3D"YES" # Multiple console (serial+efi gop) enabled. boot_multicons=3D"YES" boot_serial=3D"YES" # Disable the beastie menu and color # beastie_disable=3D"YES" # loader_color=3D"NO" # shutdown -r now And the beastie shows up and works just fine, operated from the USB RPi keyboard. My bias here is to have minimal differences from the RELEASE and snapshot builds relative to the reported problem. I still see no evidence of any problem with use of the RPi keyboard to control booting. =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sat Jun 17 22:29:55 2023 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 4Qk9hN18Vlz4f9md for ; Sat, 17 Jun 2023 22:30:12 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-20.consmr.mail.gq1.yahoo.com (sonic314-20.consmr.mail.gq1.yahoo.com [98.137.69.83]) (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 4Qk9hM5tXRz4HNg for ; Sat, 17 Jun 2023 22:30:11 +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=1687041008; bh=SrGvovKiy2aMSbIlUbzufL45mkkIA9/g/siSBAJqlhU=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=IojeH+dYG3Z414rEq3TwVDM0PotcuZTJh5DFRieKk81N4GqbtznrevZdsInPxcmnT3e3tz4bfzrUjOvChI7zGE7v3f0yR+FT9nQ6m9KQjqvU074daqIjA/o6u6Zq6J+AG+7Q6PXQch6GDJQCHmzEO/1Qovgjqt/vqJtLMfzU3xfGhTX97NrCOOnjtskTOl7ApibthXTmS4D4B6ebfkJ3F/9Su2wbKwakGfFAyGAUZSuRYzU2tg7F5vVjFoUqAo6OGVnnR3pXM87GpDjTQwd/PkFIemwmjnp7lzZ7ctsKncxwQ8hYOzifJ3sYLn4ON5GbqptYmCAPEFQxmfy/YH7CAw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687041008; bh=TbFvKrLmT/ksL8m1Gwe1M4m5zT8YOEW3ZLwjW+hILIM=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=jZzq0qbsT0XeYk4zeUk3zFf0gwLWV8C1rkU4abz0w6LhwDteE6UVRJ+gfZ1ImiNY1OaIA0MmNfkzTfedeKm8DdWLtcHYEwtBbzbMpD/jyTGtYoy8CCIkbtyiln/yaTSRYziEl66VtpfExK9ZR32IaDA7iE4ej5FU6NkM2u4cE90HEP4fAiZJIsja7dJW38OKwSJx2PS4Le7QY3p3zw1iy4eseiNF9WiXW3AvH3YNMFfEGuo1lek8RsAePYz2/bvscAo7AyPS8uCf952LbCaNKBO4Ojkwflmr7jNFPKjQXIe4EE20AFgjeL89XlUYp8mX4Op/auaEy2M9MLra7hpauw== X-YMail-OSG: vbBqA8kVM1nyiDankqlx8Zg5lbLoOa88dNvUnxL8nOQAuQn94LruMYR.14qkejZ ezsg6BATa1WNaFetzP3iA_qXQRnlTS8W7SdcmTggX3P9w8QqpWhOqoW3XEbswjKbDsWfZAGRJ.4n hOhBJAxm5SaOKvFYi0jqOHGeDkYm6kXcRYJ_ZRTPFKWW52sk7TSnAulFEsREKNzWsiNN4ZaYY8G9 jBWRHhtypoJdFWb6FywITYdkxvTMA27TvVJbLGmlKXktL8oVpDUqW7CaIVtFBU3R7d2zQ.xYNDyK CV7FBfF.is6JFMjfBDuvko64NH83n_Kx6_PiEqH5YXucgX1ETnEC0IUu33VllCbR0OHAdfi6bQs4 SZgbPXZjYWIuvpbFbYHaZ75CQnLmH0e93yTguCDt55P7aMm.TxkCn2YFlurJ02e9UoeCbSFAZ1J8 DRnyxo0adfhWt_dQG6BYJsNWcA40TM85D7tkjN920sqac02XM4uJPxkUAoQRfkmezTRFXQYkdeR6 2SeLzrKfpOB9ASuUJzxXHY4wUZW2baynKmH_KsreYY55XwSIe2MFR0ETx_cEixFtZfLMoFnEhO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BYodE7ee8HEt97kcyD_B4irag8Bi6KhK4z9C5oVSjy4zkRKZXpvt15n5rYkaZBHjU4IXhJHAI qqWSxUx11P4JbreWkTUbsgXL9t2caWt6jjRQJgUrfFPatPmwhvicw_ih2SKUKHAcsgeznDujwfCd pHmhBR4Zwai1a7JwKE5uANaFgtPMcXBXZg_50xRlwylJChfiiJOYUeYmG6UexfaIGhmJQOcNKJaj tce.1SFbhqmHEMnfRzMmFicaCjabOuBybmNiP5FCJF9CXG36kybYR0S4sj4Nx8eG41jsOyJuruH3 .HO.QQzHeTVpTeYVRIlVZCkFQMfOe9ZRS99E9W7WHiTFteFRxzjVOScfvf9NMP.iaBavdlfDbu0Z PAlhcMsILDNs9bDCI63_ZBBNlfa3qdmMglLCxALunoNv9AlHsDXkmNQYtgWSXXjuuiskq1Zn3izH xQ4mELzGSN4zqUetXX4MLWuvVBuoiKLfyNO4FlMn9sJowyGZ9jHsB5pqkzWqZvPmUGpL0_OdnuRj qegJbhD3kHqZnZhomqpNbFUiBP4UtGtFPAMRvN4tFdt5Yy633_uLtek5aIdoTdRxHq7_SHlTSo6T 4LRLlAF0IWLhgssRU1EWzijmE5G1kpOumcLF46fqKxDxDIT7SXuI3LirBdXPABXWKWzSbjUPgoso Vhh8_.UY- X-Sonic-MF: X-Sonic-ID: b26c7b94-67eb-49ed-912d-02523b58c06f Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Sat, 17 Jun 2023 22:30:08 +0000 Received: by hermes--production-ne1-574d4b7954-wzfzc (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c154f5fbf298e1f52771275ebfe7fc06; Sat, 17 Jun 2023 22:30:07 +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 16.0 \(3731.600.7\)) Subject: Re: keyboard doesn't work at Boot Menu From: Mark Millard In-Reply-To: Date: Sat, 17 Jun 2023 15:29:55 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <99542360-6350-4636-A9EA-CA9BBCC93C60@yahoo.com> <5D8D94E2-781D-4945-B721-EDD0BF56A8F2@yahoo.com> <70CC43FC-2055-409E-A94E-76F934C14AE2@yahoo.com> <5875BDD2-B792-4FE1-8F42-99D996CAE71D@yahoo.com> To: Nuno Teixeira X-Mailer: Apple Mail (2.3731.600.7) X-Rspamd-Queue-Id: 4Qk9hM5tXRz4HNg X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Jun 17, 2023, at 14:57, Nuno Teixeira wrote: > A you sure you have the HDMI plugged into the correct HDMI > port on the RPi4B, the one closest to the USB3 power > connection? > > Yes, > > [POWER] -- >>[HDMI]<< -- [HDMI] - [SOUND JACK] Sounds correct. > For what I've read, 2nd HDMI doesn't work with bsd (?) That is my understanding for FreeBSD. But early on RPi* firmware and U-Boot have it operational. So it can look like it is working before FreeBSD is really on its own. > Did you saw photo with boot menu from last email? > Yes. I'm gradually/incrementally better approximating some parts of your context reported in your notes. We will see if I eventually make a change that gets the problem. # more /boot/loader.conf # Configure USB OTG; see usb_template(4). hw.usb.template=3 umodem_load="YES" # Multiple console (serial+efi gop) enabled. boot_multicons="YES" #boot_serial="YES" # Disable the beastie menu and color #beastie_disable="YES" #loader_color="NO" That still works just fine via the RPi keyboard. So, trying: # more /boot/loader.conf # Configure USB OTG; see usb_template(4). hw.usb.template=3 umodem_load="YES" # Multiple console (serial+efi gop) enabled. #boot_multicons="YES" #boot_serial="YES" # Disable the beastie menu and color #beastie_disable="YES" #loader_color="NO" For that it by default displays the: 5. Cons: Video Beastie continues to work just fine, operated with the RPi keyboard. The serial console is disabled, the last line output being: masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 === Mark Millard marklmi at yahoo.com From nobody Sat Jun 17 22:41:31 2023 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 4Qk9xl66Ylz4fGsf for ; Sat, 17 Jun 2023 22:41:47 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-21.consmr.mail.gq1.yahoo.com (sonic305-21.consmr.mail.gq1.yahoo.com [98.137.64.84]) (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 4Qk9xl4Vsjz4L2D for ; Sat, 17 Jun 2023 22:41:47 +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=1687041706; bh=E2/drnzxcfEkNeXYRHd8Si1/cLetU56yL45K5S8j2Uo=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=Uyyu3V4eAxJMKmYa0Ax520YdibsSaoZlEv5iefmGmp1fCMtaoWh/nuJ1yDhdWWJReCm9ksM6Jctamy36o13RkPUjrD/yDM0TJvD0st7sY42nyVsF4PkhA4wFLBTRebNsBnA2URb/vS7HVNvQ/klOQAkRoDyP5968HjJi5zuyehzUfRjjs9R7ZZIWxWyiO2JT1YpIKt8/MVj4UwbtlT53B+D4Gbdu5R/+RKcR6XcJaPET0f5x5YsU3KTtrwzn6Kx5DPs9Jn5p8TPOJB5PffN5QluleYNPDNyuEFlKsDnuN6D6DXsd2AgATGQ2QIGzLG7JvV8tMmdCVSo3q8G0lczHSQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687041706; bh=AL1tlHOoOcRn/3JA0AF94JCubZ3BnISnPLKRHJQLcqO=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=UekVDVSGSYVz3G6pWHktO5/AmQCHfRULOJ3WkCnxcPgHmjlFEJIZFoWpYHwdnVJZm60MKOALMU+SPYDLJrBV3n0sKyLio5ssMWuEYdShHimpoJYSHs8lDarle2zyKgX1KFkyLX/YtePqK+FpFYFk671LLQbxxo+YfO3Tw58y4GvdjGOvB5vPVFDpMCV0iNvrpORBLUaIhCf/rDuEv5ek4GC8l/sQ1ZjyK8MSspmGug4w0lbUg8FQAJmw0gbSYvZhr9j1NaWegbZHtYLS8SM/WF+qPgPom27+a3Xhf33VkUqSu8zfy+dTCmS67qmjKf5vny7O2ZN9voOiKQmKKudR2A== X-YMail-OSG: sddMOjQVM1nyNJ6gfBYwgLoh8j1FY7EAMcz_ILqyTm3dVMABdTXAGrzTT2Pc3E0 mfsMOweQddYhrATekh_FCGOqfFyLfyN5znq6Cmut_LKbhme2DvURKXMCg.D1rxMzbUfSWzjY9kHo qsfX7w4Iiq0LPu2EJC.Pg7hOw7XmgvjgHZ3jFqbbkWwUxGAosEQ9BOSnkNhpWJi_Vk7KJD25cXM1 wjWY2HefTJw0QOgcUtGHAw4AqcqKACZgxuUhuodiK9j42C5NrXJL3IqHJaMf8NHCsUzBVJZbaZ3M tAeC9sLggN9S8bZJpXs26zZ_CbDtTVpKVhSAgva2HHo_gQwGOqWZBPLr0hY.M761B.M.uAJ.KMdd r2Px3YtlpmKgxZOcjPYn8eKnyVevMTbonooMLnikKO6Vvp0reSObhKg4TmzEddsN869u0UXp3iIN L9MG_34.HxVUZ1DopqAyNpTpcJabPOJVzKClXGtWDTkdhr10fqiovhN6hb5LVCNrd_o3Usiqz9Ke LBDW1p_ogzHw25UdcIx12SmnW7xAeZEI0QZhRxK1FHVz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_X85ekxdBg4wmH7Xpuw7cce 2HbDn0Z2j9em4VSmqD40zqMNWCYdDN64AG1r4evBS1iQLnjZ4VtJGnTp1HTWUfZAPd_IUrrVX13m m_6QO4GGjxeKO8noo6oAChWK9F9mxThKZKjHIUyRZQRx4bso6eJePN2zxkP01D_.IskR9R.gUuJ0 gquM.PZG5zSFHTAZnsxiHOswJ9.9QvsYNDCr.YwOfZuaJNW51iKU6nP3PIfF08D9JCzq7_AnmZdM Iz0dRyLgK9HmUgrIFYpwZfazCqS65uFU64b_LdhAB5ELkhwhKZXaq_FcDnU16U5aKxzQ2blSlygW eDCu5ja28ct4f0vSs9oR1OP0PqMsCJh7sZ5dDRVe9oFuD6FSEES5VAtujAcfFBrr0byAyUAx7w9p xsh5jkcSvGmIg5Hrt36UNn9uZyIlodYHBgHJAx7YUFTZC4SWCQvTMeEf2KQ1vIeH91pIYkd_xSsd bK8lzDBvJTzkUrehDNOwVi2FBZeAbdvEdbDgNRFj9TkJIj9eZCc7zG50FWoSM338tPU0NaDpqUvp VKpJBFw_8DVO96t88OTrNgaVs7xJP4xKiWKk.Nw6tbhALzRn6TH_vx1tjqD9gp0nxlsUIYuZTCpV w5KKlptG2IJ51r9lF1MJH4HYAmdGlkLJ1eEzdPpK8t_z2bFnW6DhwddfpYAsd2qE._pEk2u.pSi1 chIspVJA- X-Sonic-MF: X-Sonic-ID: 53589a30-fc9d-4673-8239-86fcafcc6e2f Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Sat, 17 Jun 2023 22:41:46 +0000 Received: by hermes--production-gq1-6db989bfb-66nkp (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 62cb832d66150dc1240c328a470b2be0; Sat, 17 Jun 2023 22:41:42 +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 \(3731.600.7\)) Subject: Re: keyboard doesn't work at Boot Menu From: Mark Millard In-Reply-To: Date: Sat, 17 Jun 2023 15:41:31 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <7D1BE218-B8B5-40EB-8CF3-C09CDEABA9C3@yahoo.com> References: <99542360-6350-4636-A9EA-CA9BBCC93C60@yahoo.com> <5D8D94E2-781D-4945-B721-EDD0BF56A8F2@yahoo.com> <70CC43FC-2055-409E-A94E-76F934C14AE2@yahoo.com> <5875BDD2-B792-4FE1-8F42-99D996CAE71D@yahoo.com> To: Nuno Teixeira X-Mailer: Apple Mail (2.3731.600.7) X-Rspamd-Queue-Id: 4Qk9xl4Vsjz4L2D X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Jun 17, 2023, at 15:28, Nuno Teixeira wrote: > I think I found the cause! >=20 > Please take a look at photo. >=20 > "Scanning xhci_pci devices... Failed to get keyboard state..." That message was displayed by U-Boot before the FreeBSD UEFI loader was even loaded to memory. The FreeBSD UEFI loader operates by using U-Boot services. If U-Boot fails to set up the keyboard input, the same would be true in the FreeBSD UEFI loader (beastie or otherwise) until FreeBSD's kernel does its own bindings and things get another chance at working. (A similar point goes for storage media that U-Boot fails to set up.) Is the keyboard plugged into a USB2 port? USB3? Have you tried both ways? It does seem that the system and keyboard are not well matched. > After a while it gets detected during boot. I've pressed enter key and = I saw it creating empty line at boot. > Maybe it's a keyboard problem? I'm using a very cheap one (not = raspberry original) >=20 > Thanks=20 >=20 > Mark Millard escreveu no dia s=C3=A1bado, = 17/06/2023 =C3=A0(s) 23:08: > [Commenting out beastie_disable=3D"YES" and loader_color=3D"NO" > in stable/13.] >=20 > On Jun 17, 2023, at 14:42, Mark Millard wrote: >=20 > > [This time I add continuing the sequence to test the stable/13 = snapshot.] > >=20 > > On Jun 17, 2023, at 13:56, Mark Millard wrote: > >=20 > >> On Jun 17, 2023, at 13:53, Mark Millard wrote: > >>=20 > >>> I'm just making a status report for my experiments. > >>>=20 > >>> I did a: > >>>=20 > >>> dd if=3DFreeBSD-13.2-RELEASE-arm64-aarch64-RPI.img of=3D/dev/da1 = bs=3D1m conv=3Dfsync,sync status=3Dprogress > >>>=20 > >>> I made no adjustments. > >>>=20 > >>> I then tried using the USB3 media to start a boot of > >>> a 8 GiByte RPi4B. It took my typing to the RPi > >>> keyboard just fine: I did not have to wait for > >>> the timeout when I hit . The (official) RPi > >>> keyboard was plugged into a USB2 port. > >>>=20 > >>> Unfortunately there is a known issue for my context where it > >>> gets: > >>>=20 > >>> uhub_reattach_port: port 3 reset failed, error=3DUSB_ERR_TIMEOUT > >>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling = port 3 > >>> mountroot: waiting for device /dev/ufs/rootfs... > >>> Mounting from ufs:/dev/ufs/rootfs failed with error 19. > >>>=20 > >>> So booting all the way requires me to make an adjustment > >>> in the config.txt by adding at the end something like: > >>>=20 > >>>=20 > >>> [all] > >>> # > >>> # Local addition that avoids USB3 SSD boot failures that look = like: > >>> # uhub_reattach_port: port ? reset failed, error=3DUSB_ERR_TIMEOUT= > >>> # uhub_reattach_port: device problem (USB_ERR_TIMEOUT), = disabling port ? > >>> initial_turbo=3D60 > >>>=20 > >>> [It appears that with modern EEPROM context, the RPi* is > >>> dynamically adjusting the frequency/voltage combinations > >>> even during early booting. The initial_turbo use delays > >>> that for the indicated number of seconds (up to 60 sec). > >>> FreeBSD seems to not handle the variability and the above > >>> gives FreeBSD a stable context for such properties for > >>> early booting.] > >>>=20 > >>> I conclude that there is nothing about use of the RPi > >>> keyboard that stops it from working during early booting > >>> of 13.2-RELEASE. The RPi* firmware, U-Boot, and FreeBSD > >>> UEFI loader all work, other than possibly needing a > >>> initial_turbo addition (or analogous that would span > >>> at least that early boot time frame). > >>>=20 > >>> If you had/have problems for the 13.2-RELEASE context, > >>> they are likely somehow specific to your context in some > >>> respect that deviates from the above. > >>>=20 > >>> In some respects, investigating in the older context may > >>> be better than dealing with stable/13 . It may be keyboard > >>> specific in some way if the keyboard is not an RPi > >>> keyboard. I did not have a mouse plugged in. An Ethernet > >>> cable was plugged in for the booting. > >>=20 > >> I forgot to mention having the HDMI connection plugged > >> into the HDMI port nearest the USB3 power connector. > >>=20 > >> As I remember, the other port stops updating its display > >> at some point during the boot. > >>=20 > >>> I just retried with the RPi keyboard plugged into a USB3 > >>> port instead. It worked the same. (The boot media is also > >>> plugged into a USB3 port and is USB3 capable SSD media.) > >>>=20 > >>> FYI: > >>>=20 > >>> # more /boot/msdos/config.txt=20 > >>> [all] > >>> arm_64bit=3D1 > >>> dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don > >>> dtoverlay=3Dmmc > >>> dtoverlay=3Ddisable-bt > >>> device_tree_address=3D0x4000 > >>> kernel=3Du-boot.bin > >>>=20 > >>> [pi4] > >>> hdmi_safe=3D1 > >>> armstub=3Darmstub8-gic.bin > >>>=20 > >>> [all] > >>> # > >>> # Local addition that avoids USB3 SSD boot failures that look = like: > >>> # uhub_reattach_port: port ? reset failed, error=3DUSB_ERR_TIMEOUT= > >>> # uhub_reattach_port: device problem (USB_ERR_TIMEOUT), = disabling port ? > >>> initial_turbo=3D60 > >>>=20 > >>> # more /boot/loader.conf > >>> # Configure USB OTG; see usb_template(4). > >>> hw.usb.template=3D3 > >>> umodem_load=3D"YES" > >>> # Multiple console (serial+efi gop) enabled. > >>> boot_multicons=3D"YES" > >>> boot_serial=3D"YES" > >>> # Disable the beastie menu and color > >>> beastie_disable=3D"YES" > >>> loader_color=3D"NO" > >>>=20 > >>> (That is unchanged from the image's /boot/loader.conf content.) > >>>=20 > >>>=20 > >>> I'll see about stable/13's snapshot with the u-boot.bin > >>> substitution. > >>>=20 > >>>=20 > >>> Side note: I've other USB3 boot media for which having > >>> usb_pgood_delay=3D2000 in U-Boot is sufficient but default > >>> U-Boot contexts do not find the media suring the USB scan. > >>> (There could be a better setting to use for all I know: > >>> sufficient but possibly not necessary.) > >=20 > > This is based on: > >=20 > > dd = if=3DFreeBSD-13.2-STABLE-arm64-aarch64-RPI-20230615-894492f5bf4e-255597.im= g of=3D/dev/da0 bs=3D1m conv=3Dfsync,sync status=3Dprogress > >=20 > > First dealing with the U-Boot vintage-avoidance issue: > >=20 > > # mount -onoatime -tmsdosfs /dev/da1s1 /media > > # mount -onoatime -tmsdosfs /dev/da0s1 /mnt > >=20 > > # ls -Tld /media/u-boot.bin /mnt/u-boot.bin > > -rwxr-xr-x 1 root wheel 601096 Apr 6 19:47:52 2023 = /media/u-boot.bin > > -rwxr-xr-x 1 root wheel 602552 Jun 14 19:43:46 2023 = /mnt/u-boot.bin > >=20 > > # cp -aRx /media/u-boot.bin /mnt/ > >=20 > > Then dealing with the initial_turbo issue: > >=20 > > # diff /media/config.txt /mnt/config.txt=20 > > 12,18d11 > > < < [all] > > < # > > < # Local addition that avoids USB3 SSD boot failures that look = like: > > < # uhub_reattach_port: port ? reset failed, error=3DUSB_ERR_TIMEOUT= > > < # uhub_reattach_port: device problem (USB_ERR_TIMEOUT), = disabling port ? > > < initial_turbo=3D60 > > # cp -aRx /media/config.txt /mnt/ > >=20 > > Finally, checking things overall in the msdosfs: > >=20 > > # diff -rq /media/ /mnt/ > > Files /media/EFI/BOOT/bootaa64.efi and /mnt/EFI/BOOT/bootaa64.efi = differ > >=20 > > # ls -Tld /media/EFI/*/* /mnt/EFI/*/* > > -rwxr-xr-x 1 root wheel 1180860 Apr 6 20:48:14 2023 = /media/EFI/BOOT/bootaa64.efi > > -rwxr-xr-x 1 root wheel 1182604 Jun 14 20:47:12 2023 = /mnt/EFI/BOOT/bootaa64.efi > >=20 > > So: No other differences than the vintage of the FreeBSD UEFI > > loader. > >=20 > > This also booted just fine, taking my input to avoid having > > to wait for the timeout. The only difference is which USB3 > > SSD was plugged in (the boot drive), in this case the one > > with a stable/13 snapshot instead of a releng/13.2 snapshot. > > The rest of the ports were as they had been. > >=20 > > FYI: > >=20 > > # uname -apKU > > FreeBSD generic 13.2-STABLE FreeBSD 13.2-STABLE = stable/13-n255597-894492f5bf4e GENERIC arm64 aarch64 1302505 1302505 > >=20 > > Having confirmed this much for both releng/13.2 and stable.13 , > > I'll go back and look at your notes about file content and the > > like and see if I notice any distinctions vs. the above that > > might be important. > >=20 > >=20 > > Notes: > >=20 > > I doubt that the RPi4B EEPROM image vintage would contribute, but > > it is something we have not been explicit about. > >=20 > > I do have various debug outputs enabled, including for > > the EEPROM stage. The following is what it reports=20 > > about the EEPROM content ("BOOTLOADER release") at > > power down after FreeBSD is done: > >=20 > > RPi: BOOTLOADER release VERSION:8ba17717 DATE: 2023/01/11 TIME: = 17:40:52 > > BOOTMODE: 0x06 partition 63 build-ts BUILD_TIMESTAMP=3D1673458852 = serial c740af3c boardrev d03115 stc 421180 > > Halt: wake: 1 power_off: 0 > >=20 > > The "boardrev d03115" indicates a "C0T" Rev1.5 vintage part > > that does not require the bounce buffer work around since > > the wrapper logic is fixed. (FreeBSD keeps working as if > > the bounce buffer was required: it is the only style of > > operation the kernel code has for the category of part.) > >=20 > > I have access to a 8 GiByte Rev 1.4 RPi4B and a Rev 1.1 > > 4 GiByte RPi4B and could test those with the same media > > and such. All would have the same "BOOTLOADER release" > > as above, as I remember. > >=20 > >=20 > > A you sure you have the HDMI plugged into the correct HDMI > > port on the RPi4B, the one closest to the USB3 power > > connection? >=20 > [I have also changed the /bin/csh defaults to /bin/sh > (which is my normal context).] >=20 > # more /boot/loader.conf > # Configure USB OTG; see usb_template(4). > hw.usb.template=3D3 > umodem_load=3D"YES" > # Multiple console (serial+efi gop) enabled. > boot_multicons=3D"YES" > boot_serial=3D"YES" > # Disable the beastie menu and color > # beastie_disable=3D"YES" > # loader_color=3D"NO" >=20 > # shutdown -r now >=20 > And the beastie shows up and works just fine, > operated from the USB RPi keyboard. >=20 >=20 > My bias here is to have minimal differences from > the RELEASE and snapshot builds relative to the > reported problem. I still see no evidence of any > problem with use of the RPi keyboard to control > booting. >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sat Jun 17 23:01:53 2023 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 4QkBP90Vx4z4fS1q for ; Sat, 17 Jun 2023 23:02:05 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QkBP90Gx7z4PWn for ; Sat, 17 Jun 2023 23:02:05 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687042925; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SGAJG6kubIVrZ7ZfDXF/ICjgJnmDhjXWsfTD/ZycrnE=; b=iAfGmUBGajlw0pKR1ZXLba+N5VQE7CYFqyQ0npbC7bV73BrHGduYgMEpUJ+sdr0ZhdVxYB +n++wQg6ePyOuy5YaEVay+LhI23ap9KeH6QZ4Iz73OT23Dr8tiDtF83L+z2YUqb51f+mRh /KY0CqJnefLJnAAjJLxJ0arBrm2SK6IeSkODVs9PwhTLHVsgRwP7fJ0KKapTwdgpMC6eih nQudYqH7vklh0o0yXYD9yqdkhhMT/PwA4LtcHu5fs/dD9ipmHiOGKOAA4ypaWTDIVOHNqW +6Eyj5fNfnMtf/LBbxkuof7PORoeOasit/ofOszHWPfGyeUGzJHo59F8AUWkYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687042925; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SGAJG6kubIVrZ7ZfDXF/ICjgJnmDhjXWsfTD/ZycrnE=; b=aP/35oa7/SHskuZfw7xIuE7E/7mcN8hWdJzgZpVBujpSqhu8WfuJKAbd19sFBfDoowsgNd 682OM3fuR0pOAUw2R6tLzwgwct8RuYk9p7Wx3adI47ZRD9WMnhY/hZzEk2bU0n8kZ2lHr3 AOn3EkaKAJiTG2SNUtxfakoSqWoV5enaOH6b1irkXt/b4ezDTKS5XOkiDH3I9qgyNYjl7Z bZx6crnH8olhZNLvJF3aKq6V0OJmbmTRbhESRQ+1Nsg0IzJKlY6xP6c4NHhkS9pSCUED08 o4pTt8guwOIBCe0uLOf51LedNQtjD67x1wRMZgcEpGitzh8UqGOvnOFzKaWiKQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687042925; a=rsa-sha256; cv=none; b=jYL2+/BeONXDGl2TcnRzKIYqy1vT2BMVDmrIoIchU+q3hyitGq/a7fxkrhFs4cQZ0LcuT6 5PQfxbAS0t0OLScMnyWaPakdMjPyMGFrpSEb1pvFWTSWGW8hVbnX6fwX3KKY0epDTNijMp xbs9Kvr16E0+/eDrClxaS9KAONnJl5q1N8ZEVbczcAHPyqHTg9r5S/EwZJaIyWIy9eO+er morl2rk/W2H1Kb7em6xM8XHUm8qV1XCCR/RoQj9WxPSodgd1gjTpwAACYN0z1Y3gcQgNHd 9187N4GQytkKKk3Q5YnJ4BZYhi7h7RG9O8oyTsNfvpa+sOXTrRVjemj0UdYOjA== Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) (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)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4QkBP86Q89z114F for ; Sat, 17 Jun 2023 23:02:04 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qt1-f175.google.com with SMTP id d75a77b69052e-3f9e207f5f0so15100571cf.1 for ; Sat, 17 Jun 2023 16:02:04 -0700 (PDT) X-Gm-Message-State: AC+VfDwMt5mfuElIgaFNDtLhKUkIsYPMHWn7wJmRu8wQboZ6GyDNGCsd StQyYEaoCCtZ2UQMDjcGWAFCSt+KwTLouQKxum4= X-Google-Smtp-Source: ACHHUZ74bJ++nLaqnrfh6UQRxpqPKr4KLwh+3VJETFZvprf8PNeFzVBX66niVTERdYj/+7OiqAskJDJwcwDsmvK6AZo= X-Received: by 2002:a05:622a:1a0b:b0:3fd:e203:e698 with SMTP id f11-20020a05622a1a0b00b003fde203e698mr3258878qtb.14.1687042924507; Sat, 17 Jun 2023 16:02:04 -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: <99542360-6350-4636-A9EA-CA9BBCC93C60@yahoo.com> <5D8D94E2-781D-4945-B721-EDD0BF56A8F2@yahoo.com> <70CC43FC-2055-409E-A94E-76F934C14AE2@yahoo.com> <5875BDD2-B792-4FE1-8F42-99D996CAE71D@yahoo.com> <7D1BE218-B8B5-40EB-8CF3-C09CDEABA9C3@yahoo.com> In-Reply-To: <7D1BE218-B8B5-40EB-8CF3-C09CDEABA9C3@yahoo.com> From: Nuno Teixeira Date: Sun, 18 Jun 2023 00:01:53 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: keyboard doesn't work at Boot Menu To: Mark Millard Cc: freebsd-arm@freebsd.org Content-Type: multipart/alternative; boundary="0000000000003c769005fe5b4a2e" X-ThisMailContainsUnwantedMimeParts: N --0000000000003c769005fe5b4a2e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable - tested it on both USB2 and USB3 ports and same error. - added a gamer keyboard on all ports and same error. - tested with both keyboads connected, but only one get error from the normal keyboard, both failed with same error :) at boot time, none keyboards work. at login time, both works. I'm very curious about raspberry original keyboard! I will buy it next week= . Thanks very much for this awesome time that I learned more. Thanks for your patience! And I will stay tuned for updates on firmware and continue testing stable/current snapshots to check if boot is fixed. Cheers, Mark Millard escreveu no dia s=C3=A1bado, 17/06/2023 = =C3=A0(s) 23:41: > On Jun 17, 2023, at 15:28, Nuno Teixeira wrote: > > > I think I found the cause! > > > > Please take a look at photo. > > > > "Scanning xhci_pci devices... Failed to get keyboard state..." > > That message was displayed by U-Boot before the > FreeBSD UEFI loader was even loaded to memory. > > The FreeBSD UEFI loader operates by using U-Boot > services. If U-Boot fails to set up the keyboard > input, the same would be true in the FreeBSD UEFI > loader (beastie or otherwise) until FreeBSD's > kernel does its own bindings and things get another > chance at working. > > (A similar point goes for storage media that U-Boot > fails to set up.) > > Is the keyboard plugged into a USB2 port? USB3? Have > you tried both ways? > > It does seem that the system and keyboard are not > well matched. > > > After a while it gets detected during boot. I've pressed enter key and = I > saw it creating empty line at boot. > > Maybe it's a keyboard problem? I'm using a very cheap one (not raspberr= y > original) > > > > Thanks > > > > Mark Millard escreveu no dia s=C3=A1bado, 17/06/202= 3 > =C3=A0(s) 23:08: > > [Commenting out beastie_disable=3D"YES" and loader_color=3D"NO" > > in stable/13.] > > > > On Jun 17, 2023, at 14:42, Mark Millard wrote: > > > > > [This time I add continuing the sequence to test the stable/13 > snapshot.] > > > > > > On Jun 17, 2023, at 13:56, Mark Millard wrote: > > > > > >> On Jun 17, 2023, at 13:53, Mark Millard wrote: > > >> > > >>> I'm just making a status report for my experiments. > > >>> > > >>> I did a: > > >>> > > >>> dd if=3DFreeBSD-13.2-RELEASE-arm64-aarch64-RPI.img of=3D/dev/da1 bs= =3D1m > conv=3Dfsync,sync status=3Dprogress > > >>> > > >>> I made no adjustments. > > >>> > > >>> I then tried using the USB3 media to start a boot of > > >>> a 8 GiByte RPi4B. It took my typing to the RPi > > >>> keyboard just fine: I did not have to wait for > > >>> the timeout when I hit . The (official) RPi > > >>> keyboard was plugged into a USB2 port. > > >>> > > >>> Unfortunately there is a known issue for my context where it > > >>> gets: > > >>> > > >>> uhub_reattach_port: port 3 reset failed, error=3DUSB_ERR_TIMEOUT > > >>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling por= t > 3 > > >>> mountroot: waiting for device /dev/ufs/rootfs... > > >>> Mounting from ufs:/dev/ufs/rootfs failed with error 19. > > >>> > > >>> So booting all the way requires me to make an adjustment > > >>> in the config.txt by adding at the end something like: > > >>> > > >>> > > >>> [all] > > >>> # > > >>> # Local addition that avoids USB3 SSD boot failures that look like: > > >>> # uhub_reattach_port: port ? reset failed, error=3DUSB_ERR_TIMEOU= T > > >>> # uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling > port ? > > >>> initial_turbo=3D60 > > >>> > > >>> [It appears that with modern EEPROM context, the RPi* is > > >>> dynamically adjusting the frequency/voltage combinations > > >>> even during early booting. The initial_turbo use delays > > >>> that for the indicated number of seconds (up to 60 sec). > > >>> FreeBSD seems to not handle the variability and the above > > >>> gives FreeBSD a stable context for such properties for > > >>> early booting.] > > >>> > > >>> I conclude that there is nothing about use of the RPi > > >>> keyboard that stops it from working during early booting > > >>> of 13.2-RELEASE. The RPi* firmware, U-Boot, and FreeBSD > > >>> UEFI loader all work, other than possibly needing a > > >>> initial_turbo addition (or analogous that would span > > >>> at least that early boot time frame). > > >>> > > >>> If you had/have problems for the 13.2-RELEASE context, > > >>> they are likely somehow specific to your context in some > > >>> respect that deviates from the above. > > >>> > > >>> In some respects, investigating in the older context may > > >>> be better than dealing with stable/13 . It may be keyboard > > >>> specific in some way if the keyboard is not an RPi > > >>> keyboard. I did not have a mouse plugged in. An Ethernet > > >>> cable was plugged in for the booting. > > >> > > >> I forgot to mention having the HDMI connection plugged > > >> into the HDMI port nearest the USB3 power connector. > > >> > > >> As I remember, the other port stops updating its display > > >> at some point during the boot. > > >> > > >>> I just retried with the RPi keyboard plugged into a USB3 > > >>> port instead. It worked the same. (The boot media is also > > >>> plugged into a USB3 port and is USB3 capable SSD media.) > > >>> > > >>> FYI: > > >>> > > >>> # more /boot/msdos/config.txt > > >>> [all] > > >>> arm_64bit=3D1 > > >>> dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don > > >>> dtoverlay=3Dmmc > > >>> dtoverlay=3Ddisable-bt > > >>> device_tree_address=3D0x4000 > > >>> kernel=3Du-boot.bin > > >>> > > >>> [pi4] > > >>> hdmi_safe=3D1 > > >>> armstub=3Darmstub8-gic.bin > > >>> > > >>> [all] > > >>> # > > >>> # Local addition that avoids USB3 SSD boot failures that look like: > > >>> # uhub_reattach_port: port ? reset failed, error=3DUSB_ERR_TIMEOU= T > > >>> # uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling > port ? > > >>> initial_turbo=3D60 > > >>> > > >>> # more /boot/loader.conf > > >>> # Configure USB OTG; see usb_template(4). > > >>> hw.usb.template=3D3 > > >>> umodem_load=3D"YES" > > >>> # Multiple console (serial+efi gop) enabled. > > >>> boot_multicons=3D"YES" > > >>> boot_serial=3D"YES" > > >>> # Disable the beastie menu and color > > >>> beastie_disable=3D"YES" > > >>> loader_color=3D"NO" > > >>> > > >>> (That is unchanged from the image's /boot/loader.conf content.) > > >>> > > >>> > > >>> I'll see about stable/13's snapshot with the u-boot.bin > > >>> substitution. > > >>> > > >>> > > >>> Side note: I've other USB3 boot media for which having > > >>> usb_pgood_delay=3D2000 in U-Boot is sufficient but default > > >>> U-Boot contexts do not find the media suring the USB scan. > > >>> (There could be a better setting to use for all I know: > > >>> sufficient but possibly not necessary.) > > > > > > This is based on: > > > > > > dd > if=3DFreeBSD-13.2-STABLE-arm64-aarch64-RPI-20230615-894492f5bf4e-255597.i= mg > of=3D/dev/da0 bs=3D1m conv=3Dfsync,sync status=3Dprogress > > > > > > First dealing with the U-Boot vintage-avoidance issue: > > > > > > # mount -onoatime -tmsdosfs /dev/da1s1 /media > > > # mount -onoatime -tmsdosfs /dev/da0s1 /mnt > > > > > > # ls -Tld /media/u-boot.bin /mnt/u-boot.bin > > > -rwxr-xr-x 1 root wheel 601096 Apr 6 19:47:52 2023 > /media/u-boot.bin > > > -rwxr-xr-x 1 root wheel 602552 Jun 14 19:43:46 2023 /mnt/u-boot.bi= n > > > > > > # cp -aRx /media/u-boot.bin /mnt/ > > > > > > Then dealing with the initial_turbo issue: > > > > > > # diff /media/config.txt /mnt/config.txt > > > 12,18d11 > > > < < [all] > > > < # > > > < # Local addition that avoids USB3 SSD boot failures that look like: > > > < # uhub_reattach_port: port ? reset failed, error=3DUSB_ERR_TIMEOU= T > > > < # uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling > port ? > > > < initial_turbo=3D60 > > > # cp -aRx /media/config.txt /mnt/ > > > > > > Finally, checking things overall in the msdosfs: > > > > > > # diff -rq /media/ /mnt/ > > > Files /media/EFI/BOOT/bootaa64.efi and /mnt/EFI/BOOT/bootaa64.efi > differ > > > > > > # ls -Tld /media/EFI/*/* /mnt/EFI/*/* > > > -rwxr-xr-x 1 root wheel 1180860 Apr 6 20:48:14 2023 > /media/EFI/BOOT/bootaa64.efi > > > -rwxr-xr-x 1 root wheel 1182604 Jun 14 20:47:12 2023 > /mnt/EFI/BOOT/bootaa64.efi > > > > > > So: No other differences than the vintage of the FreeBSD UEFI > > > loader. > > > > > > This also booted just fine, taking my input to avoid having > > > to wait for the timeout. The only difference is which USB3 > > > SSD was plugged in (the boot drive), in this case the one > > > with a stable/13 snapshot instead of a releng/13.2 snapshot. > > > The rest of the ports were as they had been. > > > > > > FYI: > > > > > > # uname -apKU > > > FreeBSD generic 13.2-STABLE FreeBSD 13.2-STABLE > stable/13-n255597-894492f5bf4e GENERIC arm64 aarch64 1302505 1302505 > > > > > > Having confirmed this much for both releng/13.2 and stable.13 , > > > I'll go back and look at your notes about file content and the > > > like and see if I notice any distinctions vs. the above that > > > might be important. > > > > > > > > > Notes: > > > > > > I doubt that the RPi4B EEPROM image vintage would contribute, but > > > it is something we have not been explicit about. > > > > > > I do have various debug outputs enabled, including for > > > the EEPROM stage. The following is what it reports > > > about the EEPROM content ("BOOTLOADER release") at > > > power down after FreeBSD is done: > > > > > > RPi: BOOTLOADER release VERSION:8ba17717 DATE: 2023/01/11 TIME: > 17:40:52 > > > BOOTMODE: 0x06 partition 63 build-ts BUILD_TIMESTAMP=3D1673458852 ser= ial > c740af3c boardrev d03115 stc 421180 > > > Halt: wake: 1 power_off: 0 > > > > > > The "boardrev d03115" indicates a "C0T" Rev1.5 vintage part > > > that does not require the bounce buffer work around since > > > the wrapper logic is fixed. (FreeBSD keeps working as if > > > the bounce buffer was required: it is the only style of > > > operation the kernel code has for the category of part.) > > > > > > I have access to a 8 GiByte Rev 1.4 RPi4B and a Rev 1.1 > > > 4 GiByte RPi4B and could test those with the same media > > > and such. All would have the same "BOOTLOADER release" > > > as above, as I remember. > > > > > > > > > A you sure you have the HDMI plugged into the correct HDMI > > > port on the RPi4B, the one closest to the USB3 power > > > connection? > > > > [I have also changed the /bin/csh defaults to /bin/sh > > (which is my normal context).] > > > > # more /boot/loader.conf > > # Configure USB OTG; see usb_template(4). > > hw.usb.template=3D3 > > umodem_load=3D"YES" > > # Multiple console (serial+efi gop) enabled. > > boot_multicons=3D"YES" > > boot_serial=3D"YES" > > # Disable the beastie menu and color > > # beastie_disable=3D"YES" > > # loader_color=3D"NO" > > > > # shutdown -r now > > > > And the beastie shows up and works just fine, > > operated from the USB RPi keyboard. > > > > > > My bias here is to have minimal differences from > > the RELEASE and snapshot builds relative to the > > reported problem. I still see no evidence of any > > problem with use of the RPi keyboard to control > > booting. > > > > > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > > --=20 Nuno Teixeira FreeBSD Committer (ports) --0000000000003c769005fe5b4a2e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
- tested it on both USB2 and USB3 ports and same erro= r.
- added a gamer keyboard on all ports and same error.
- tested with both keyboads connected, but only one get error from the no= rmal keyboard, both failed with same error :)

= at boot time, none keyboards work.
at login time, both works.

I'm very curious about raspberry original keyboar= d! I will buy it next week.

Thanks very much for t= his awesome time that I learned more.
Thanks for your patience!

And I will stay tuned for updates on firmware and c= ontinue testing stable/current snapshots to check if boot is fixed.

Cheers,

Mark Millard <marklmi@yahoo.com> escreveu no dia s=C3=A1bado, 17/06/= 2023 =C3=A0(s) 23:41:
On Jun 17, 2023, at 15:28, Nuno Teixeira <eduardo@freebsd.org> wrote:

> I think I found the cause!
>
> Please take a look at photo.
>
> "Scanning xhci_pci devices... Failed to get keyboard state...&quo= t;

That message was displayed by U-Boot before the
FreeBSD UEFI loader was even loaded to memory.

The FreeBSD UEFI loader operates by using U-Boot
services. If U-Boot fails to set up the keyboard
input, the same would be true in the FreeBSD UEFI
loader (beastie or otherwise) until FreeBSD's
kernel does its own bindings and things get another
chance at working.

(A similar point goes for storage media that U-Boot
fails to set up.)

Is the keyboard plugged into a USB2 port? USB3? Have
you tried both ways?

It does seem that the system and keyboard are not
well matched.

> After a while it gets detected during boot. I've pressed enter key= and I saw it creating empty line at boot.
> Maybe it's a keyboard problem? I'm using a very cheap one (not= raspberry original)
>
> Thanks
>
> Mark Millard <marklmi@yahoo.com> escreveu no dia s=C3=A1bado, 17/06/2023 =C3=A0(= s) 23:08:
> [Commenting out beastie_disable=3D"YES" and loader_color=3D&= quot;NO"
> in stable/13.]
>
> On Jun 17, 2023, at 14:42, Mark Millard <marklmi@yahoo.com> wrote:
>
> > [This time I add continuing the sequence to test the stable/13 sn= apshot.]
> >
> > On Jun 17, 2023, at 13:56, Mark Millard <marklmi@yahoo.com> wrote:
> >
> >> On Jun 17, 2023, at 13:53, Mark Millard <marklmi@yahoo.com> wrote:
> >>
> >>> I'm just making a status report for my experiments. > >>>
> >>> I did a:
> >>>
> >>> dd if=3DFreeBSD-13.2-RELEASE-arm64-aarch64-RPI.img of=3D/= dev/da1 bs=3D1m conv=3Dfsync,sync status=3Dprogress
> >>>
> >>> I made no adjustments.
> >>>
> >>> I then tried using the USB3 media to start a boot of
> >>> a 8 GiByte RPi4B. It took my typing to the RPi
> >>> keyboard just fine: I did not have to wait for
> >>> the timeout when I hit <return>. The (official) RPi=
> >>> keyboard was plugged into a USB2 port.
> >>>
> >>> Unfortunately there is a known issue for my context where= it
> >>> gets:
> >>>
> >>> uhub_reattach_port: port 3 reset failed, error=3DUSB_ERR_= TIMEOUT
> >>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), dis= abling port 3
> >>> mountroot: waiting for device /dev/ufs/rootfs...
> >>> Mounting from ufs:/dev/ufs/rootfs failed with error 19. > >>>
> >>> So booting all the way requires me to make an adjustment<= br> > >>> in the config.txt by adding at the end something like: > >>>
> >>>
> >>> [all]
> >>> #
> >>> # Local addition that avoids USB3 SSD boot failures that = look like:
> >>> #=C2=A0 =C2=A0uhub_reattach_port: port ? reset failed, er= ror=3DUSB_ERR_TIMEOUT
> >>> #=C2=A0 =C2=A0uhub_reattach_port: device problem (USB_ERR= _TIMEOUT), disabling port ?
> >>> initial_turbo=3D60
> >>>
> >>> [It appears that with modern EEPROM context, the RPi* is<= br> > >>> dynamically adjusting the frequency/voltage combinations<= br> > >>> even during early booting. The initial_turbo use delays > >>> that for the indicated number of seconds (up to 60 sec).<= br> > >>> FreeBSD seems to not handle the variability and the above=
> >>> gives FreeBSD a stable context for such properties for > >>> early booting.]
> >>>
> >>> I conclude that there is nothing about use of the RPi
> >>> keyboard that stops it from working during early booting<= br> > >>> of 13.2-RELEASE. The RPi* firmware, U-Boot, and FreeBSD > >>> UEFI loader all work, other than possibly needing a
> >>> initial_turbo addition (or analogous that would span
> >>> at least that early boot time frame).
> >>>
> >>> If you had/have problems for the 13.2-RELEASE context, > >>> they are likely somehow specific to your context in some<= br> > >>> respect that deviates from the above.
> >>>
> >>> In some respects, investigating in the older context may<= br> > >>> be better than dealing with stable/13 . It may be keyboar= d
> >>> specific in some way if the keyboard is not an RPi
> >>> keyboard. I did not have a mouse plugged in. An Ethernet<= br> > >>> cable was plugged in for the booting.
> >>
> >> I forgot to mention having the HDMI connection plugged
> >> into the HDMI port nearest the USB3 power connector.
> >>
> >> As I remember, the other port stops updating its display
> >> at some point during the boot.
> >>
> >>> I just retried with the RPi keyboard plugged into a USB3<= br> > >>> port instead. It worked the same. (The boot media is also=
> >>> plugged into a USB3 port and is USB3 capable SSD media.)<= br> > >>>
> >>> FYI:
> >>>
> >>> # more /boot/msdos/config.txt
> >>> [all]
> >>> arm_64bit=3D1
> >>> dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don
> >>> dtoverlay=3Dmmc
> >>> dtoverlay=3Ddisable-bt
> >>> device_tree_address=3D0x4000
> >>> kernel=3Du-boot.bin
> >>>
> >>> [pi4]
> >>> hdmi_safe=3D1
> >>> armstub=3Darmstub8-gic.bin
> >>>
> >>> [all]
> >>> #
> >>> # Local addition that avoids USB3 SSD boot failures that = look like:
> >>> #=C2=A0 =C2=A0uhub_reattach_port: port ? reset failed, er= ror=3DUSB_ERR_TIMEOUT
> >>> #=C2=A0 =C2=A0uhub_reattach_port: device problem (USB_ERR= _TIMEOUT), disabling port ?
> >>> initial_turbo=3D60
> >>>
> >>> # more /boot/loader.conf
> >>> # Configure USB OTG; see usb_template(4).
> >>> hw.usb.template=3D3
> >>> umodem_load=3D"YES"
> >>> # Multiple console (serial+efi gop) enabled.
> >>> boot_multicons=3D"YES"
> >>> boot_serial=3D"YES"
> >>> # Disable the beastie menu and color
> >>> beastie_disable=3D"YES"
> >>> loader_color=3D"NO"
> >>>
> >>> (That is unchanged from the image's /boot/loader.conf= content.)
> >>>
> >>>
> >>> I'll see about stable/13's snapshot with the u-bo= ot.bin
> >>> substitution.
> >>>
> >>>
> >>> Side note: I've other USB3 boot media for which havin= g
> >>> usb_pgood_delay=3D2000 in U-Boot is sufficient but defaul= t
> >>> U-Boot contexts do not find the media suring the USB scan= .
> >>> (There could be a better setting to use for all I know: > >>> sufficient but possibly not necessary.)
> >
> > This is based on:
> >
> > dd if=3DFreeBSD-13.2-STABLE-arm64-aarch64-RPI-20230615-894492f5bf= 4e-255597.img of=3D/dev/da0 bs=3D1m conv=3Dfsync,sync status=3Dprogress
> >
> > First dealing with the U-Boot vintage-avoidance issue:
> >
> > # mount -onoatime -tmsdosfs /dev/da1s1 /media
> > # mount -onoatime -tmsdosfs /dev/da0s1 /mnt
> >
> > # ls -Tld /media/u-boot.bin /mnt/u-boot.bin
> > -rwxr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0 601096 Apr=C2=A0 6 19:4= 7:52 2023 /media/u-boot.bin
> > -rwxr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0 602552 Jun 14 19:43:46 = 2023 /mnt/u-boot.bin
> >
> > # cp -aRx /media/u-boot.bin /mnt/
> >
> > Then dealing with the initial_turbo issue:
> >
> > # diff /media/config.txt /mnt/config.txt
> > 12,18d11
> > <=C2=A0 < [all]
> > < #
> > < # Local addition that avoids USB3 SSD boot failures that loo= k like:
> > < #=C2=A0 =C2=A0uhub_reattach_port: port ? reset failed, error= =3DUSB_ERR_TIMEOUT
> > < #=C2=A0 =C2=A0uhub_reattach_port: device problem (USB_ERR_TI= MEOUT), disabling port ?
> > < initial_turbo=3D60
> > # cp -aRx /media/config.txt /mnt/
> >
> > Finally, checking things overall in the msdosfs:
> >
> > # diff -rq /media/ /mnt/
> > Files /media/EFI/BOOT/bootaa64.efi and /mnt/EFI/BOOT/bootaa64.efi= differ
> >
> > # ls -Tld /media/EFI/*/* /mnt/EFI/*/*
> > -rwxr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0 1180860 Apr=C2=A0 6 20:= 48:14 2023 /media/EFI/BOOT/bootaa64.efi
> > -rwxr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0 1182604 Jun 14 20:47:12= 2023 /mnt/EFI/BOOT/bootaa64.efi
> >
> > So: No other differences than the vintage of the FreeBSD UEFI
> > loader.
> >
> > This also booted just fine, taking my input to avoid having
> > to wait for the timeout. The only difference is which USB3
> > SSD was plugged in (the boot drive), in this case the one
> > with a stable/13 snapshot instead of a releng/13.2 snapshot.
> > The rest of the ports were as they had been.
> >
> > FYI:
> >
> > # uname -apKU
> > FreeBSD generic 13.2-STABLE FreeBSD 13.2-STABLE stable/13-n255597= -894492f5bf4e GENERIC arm64 aarch64 1302505 1302505
> >
> > Having confirmed this much for both releng/13.2 and stable.13 , > > I'll go back and look at your notes about file content and th= e
> > like and see if I notice any distinctions vs. the above that
> > might be important.
> >
> >
> > Notes:
> >
> > I doubt that the RPi4B EEPROM image vintage would contribute, but=
> > it is something we have not been explicit about.
> >
> > I do have various debug outputs enabled, including for
> > the EEPROM stage. The following is what it reports
> > about the EEPROM content ("BOOTLOADER release") at
> > power down after FreeBSD is done:
> >
> > RPi: BOOTLOADER release VERSION:8ba17717 DATE: 2023/01/11 TIME: 1= 7:40:52
> > BOOTMODE: 0x06 partition 63 build-ts BUILD_TIMESTAMP=3D1673458852= serial c740af3c boardrev d03115 stc 421180
> > Halt: wake: 1 power_off: 0
> >
> > The "boardrev d03115" indicates a "C0T" Rev1.= 5 vintage part
> > that does not require the bounce buffer work around since
> > the wrapper logic is fixed. (FreeBSD keeps working as if
> > the bounce buffer was required: it is the only style of
> > operation the kernel code has for the category of part.)
> >
> > I have access to a 8 GiByte Rev 1.4 RPi4B and a Rev 1.1
> > 4 GiByte RPi4B and could test those with the same media
> > and such. All would have the same "BOOTLOADER release"<= br> > > as above, as I remember.
> >
> >
> > A you sure you have the HDMI plugged into the correct HDMI
> > port on the RPi4B, the one closest to the USB3 power
> > connection?
>
> [I have also changed the /bin/csh defaults to /bin/sh
> (which is my normal context).]
>
> # more /boot/loader.conf
> # Configure USB OTG; see usb_template(4).
> hw.usb.template=3D3
> umodem_load=3D"YES"
> # Multiple console (serial+efi gop) enabled.
> boot_multicons=3D"YES"
> boot_serial=3D"YES"
> # Disable the beastie menu and color
> # beastie_disable=3D"YES"
> # loader_color=3D"NO"
>
> # shutdown -r now
>
> And the beastie shows up and works just fine,
> operated from the USB RPi keyboard.
>
>
> My bias here is to have minimal differences from
> the RELEASE and snapshot builds relative to the
> reported problem. I still see no evidence of any
> problem with use of the RPi keyboard to control
> booting.
>


=3D=3D=3D
Mark Millard
marklmi at yahoo.com



--
Nuno Teixeira
FreeBSD Committ= er (ports)
--0000000000003c769005fe5b4a2e-- From nobody Sat Jun 17 23:05:12 2023 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 4QkBT72jGMz4fTMt for ; Sat, 17 Jun 2023 23:05:31 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-20.consmr.mail.gq1.yahoo.com (sonic314-20.consmr.mail.gq1.yahoo.com [98.137.69.83]) (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 4QkBT71YTpz4QNb for ; Sat, 17 Jun 2023 23:05:30 +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=1687043129; bh=wUxn0cLrMuc1rk6goCByg0VGFdVtUMrInXASye0Rgnc=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=ZAewt3LpqypF/NMSDxjpJL8PDrpCdQ34M9kMSWEIl1qrP6KigAKYM0Y16crc1FxqU0+0wWcrWMRmfxh6WR97tedpMlkud/dtLdsr2Ah3BzK0E4pO4QVEZOofGAlX5WmYX3c98QA+d12PDKOLWA0POnJ+UtWClyW0qOnTwTIgm6I8bLrWxODbdk5cMmSpiZ770ilNdx/YBMEs16VuJkO6mvWwYrtmBEuC3RsWKgBm4JuZYr0IaN6Ap/cOS3L/GoGqS+OKVGxlHsvMHPxnC76LwiePbz0DVau9tXofqaNSLoqoYvp5nUVBso5vyemLkyyAoOnd3Vtx8kQaJ2ut5XlsMA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687043129; bh=Pszf4p+gznb76Z1qXE+MqyHqeLLnEONQa6OptqGfsnQ=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=b/8oyWBxEsJjA/EvFZ2NdD64172nDWH2n4FZ7XVfIMAdof+TSiRJ3nG0NK6tsriQ3iYTB8gLIreOdealGbc+Y93wjvf0A3021WlPNHh2Yp/cb6Yc7nmcgZZKv8tRwrXZWajp+p+VNNjyyhBw/JhDLodItrAI+AmcqvbY45eGy2rpuZo1owsyrcngkadeWA7PdRpBqGqLHE6JQN9/y/xfGv/vT9xEZZokbgwO0Qm/wf1Usq1E2tdDDMSp1WfU/wNX7p79ppMCFnhpCnpvor86JzG9eh42vOU2upImlbideRY17Bulju1KBajImRjQeq1StestoRgeMawW1Le0Ofknow== X-YMail-OSG: GHtKMgQVM1mTHzrTLbI7XFIs0SpcVzoiSjATbdt8HCdv7GIS8AUEiFtp9jrnsWv nexWlriTpUBRIrtXxvyi3wswPbmsT1EtmlLAoBCFp3qw2Xp5GJ36T_pEVWGt5sIEZNXSipd9ezNX .UwZVoucl2GkTeLpJrZWGG5G._GBxMMQiz1vsAdlbuUr_lb0.OqqSPg7PuDiw9Aq.jVCahdh2O56 txQkaofPu2GpXTheyBYTAWqztRKnNeyjyDoTFCohkHdIVndl0DCJ4Rw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o.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Sat, 17 Jun 2023 23:05:29 +0000 Received: by hermes--production-ne1-574d4b7954-wzfzc (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID a5ac4da57f436b209a85fa7d46294aaf; Sat, 17 Jun 2023 23:05:24 +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 16.0 \(3731.600.7\)) Subject: Re: Armv7 linker failure on -current From: Mark Millard In-Reply-To: Date: Sat, 17 Jun 2023 16:05:12 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <8B771495-1C68-4A23-8658-02A8AD28088B@yahoo.com> To: bob prohaska X-Mailer: Apple Mail (2.3731.600.7) X-Rspamd-Queue-Id: 4QkBT71YTpz4QNb X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Jun 17, 2023, at 11:42, bob prohaska wrote: > On Sat, Jun 17, 2023 at 08:34:16AM -0700, Mark Millard wrote: >> On Jun 17, 2023, at 07:34, bob prohaska wrote: >>=20 >>> A Pi2 running -current stops in buildworld with >>=20 >> I assume self building an update to main [so: 14]. >>=20 >=20 > Correct. >=20 >> What commit last built successfully? (This bounds what would be = different >> in official materials.) >>=20 >=20 > I haven't kept any manual records, but uname -a reports > FreeBSD www.zefox.com 14.0-CURRENT FreeBSD 14.0-CURRENT #39 = main-9f135336f5: Fri Jun 16 02:18:02 PDT 2023 = bob@www.zefox.com:/usr/obj/usr/src/arm.armv7/sys/GENERIC arm >=20 > Since my original post git pull found a few updates and I restarted = buildworld I expect that this means there is no evidence left to look at what was originally reported. > It has failed also, but with what looks like an unrelated error. These = problems > emerged after a silent hang using -j3, followed by power-cycling and = reboot. -j3 > was backed down to -j2 and buildworld restarted, with the mischief = reported here > ensuing. I see. Messy. > I'm starting to wonder if there's some undetected corruption in either = /usr/src > or /usr/obj. Perhaps I'd best run make cleandir twice and start over. = That will > likely take at least few days. This is a mechanical hard disk setup, = with 1 GB > swap. Boot is via microSD using only bootcode.bin, with the usual = msdos partition > on the hard disk. =20 >=20 > Is there a more expedient approach under the circumstances?=20 If I understand right, there is no evidence to examine from the original report's context to guide any investigation. It seems you need to establish a known context (broken or working) to possibly investigate. =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sat Jun 17 23:28:00 2023 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 4QkByr1tdwz4ffxG for ; Sat, 17 Jun 2023 23:27:48 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (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 "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QkByq5qxTz4VYF for ; Sat, 17 Jun 2023 23:27:47 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.17.1/8.15.2) with ESMTPS id 35HNS0al037568 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 17 Jun 2023 16:28:00 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.17.1/8.15.2/Submit) id 35HNS0QA037567; Sat, 17 Jun 2023 16:28:00 -0700 (PDT) (envelope-from fbsd) Date: Sat, 17 Jun 2023 16:28:00 -0700 From: bob prohaska To: Mark Millard Cc: freebsd-arm@freebsd.org Subject: Re: Armv7 linker failure on -current Message-ID: References: <8B771495-1C68-4A23-8658-02A8AD28088B@yahoo.com> 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=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4QkByq5qxTz4VYF X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Sat, Jun 17, 2023 at 04:05:12PM -0700, Mark Millard wrote: > On Jun 17, 2023, at 11:42, bob prohaska wrote: > > > On Sat, Jun 17, 2023 at 08:34:16AM -0700, Mark Millard wrote: > >> On Jun 17, 2023, at 07:34, bob prohaska wrote: > >> > >>> A Pi2 running -current stops in buildworld with > >> > >> I assume self building an update to main [so: 14]. > >> > > > > Correct. > > > >> What commit last built successfully? (This bounds what would be different > >> in official materials.) > >> > > > > I haven't kept any manual records, but uname -a reports > > FreeBSD www.zefox.com 14.0-CURRENT FreeBSD 14.0-CURRENT #39 main-9f135336f5: Fri Jun 16 02:18:02 PDT 2023 bob@www.zefox.com:/usr/obj/usr/src/arm.armv7/sys/GENERIC arm > > > > Since my original post git pull found a few updates and I restarted buildworld > > I expect that this means there is no evidence left to look at > what was originally reported. I still have the buildworld output from the failure, but given what went before I'm not at all confident it represents anything to do with FreeBSD. > > > It has failed also, but with what looks like an unrelated error. These problems > > emerged after a silent hang using -j3, followed by power-cycling and reboot. -j3 > > was backed down to -j2 and buildworld restarted, with the mischief reported here > > ensuing. > > I see. Messy. > > > I'm starting to wonder if there's some undetected corruption in either /usr/src > > or /usr/obj. Perhaps I'd best run make cleandir twice and start over. That will > > likely take at least few days. This is a mechanical hard disk setup, with 1 GB > > swap. Boot is via microSD using only bootcode.bin, with the usual msdos partition > > on the hard disk. > > > > Is there a more expedient approach under the circumstances? > > If I understand right, there is no evidence to examine from > the original report's context to guide any investigation. It Apart from the buildworld log, no. I was quite surprised at the lockup, -j3 and a gig of swap had been working fine for several build/install cycles. It was especially surprising when nothing turned up on the console. > seems you need to establish a known context (broken or > working) to possibly investigate. > Make cleandir was run twice and -j2 meta-mode buildworld restarted. I'll be more careful with the wreckage next time. Thanks for writing! bob prohaska From nobody Sat Jun 17 23:36:28 2023 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 4QkC931HJcz4fkSj for ; Sat, 17 Jun 2023 23:36:39 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-21.consmr.mail.gq1.yahoo.com (sonic305-21.consmr.mail.gq1.yahoo.com [98.137.64.84]) (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 4QkC926mssz4XQq for ; Sat, 17 Jun 2023 23:36:38 +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=1687044996; bh=3v54Q2Zoni3A7csMb6Arg7AhyAMLK93A6wP5o+tetVk=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=HsuoVYQ4Rk89OEmjSIhEOAztSkl+R8FI9h2Q6EY8qqrt8bYi0aAQqFJfl3+788FatBtNkBYeR4DMmueRQe+DBNHZ2cuCnNPinsvBZzqh/qIRC2sPAw03XREB1KAJKXG0bdG0n+EqMx+AhwRn8CRV/1hPF04wEUfZinWUMrgc4O8hBJJZaf5mAEd7dpf+Zztlf09nHDoAviPH0qkoF4po0ILC9S0l1wSrHGiLBw85Vqcr8v6Kwl7nrx2sGlCpvekdIxl/BKcDyV44s+SgsSjXwmlouMfvHvNGdeadW+1VCHRysteGpzG51mnAnUAwiHeiRPDF/d8m664VFivvYDyeAg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687044996; bh=TAyrQ7/+jkDKUdZr+++miYx8EaYyA5hJMVjcmomaUNM=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=eDO3BF/a8G/79enZq2i/Wbw9vctaLMca086uOukfxsEo+Q0LlOCtfaxy2Oz9ac/t1iw0pdvDuYolfv4M5c361SOkChU6sx1lJBqQ8dxmZZNPKCvsb4Z5Knfk1Ehh435KLPLFuctFR0GIPxK3xvFO4/3AowQSSZazZVz6n96T9qCqT6GRit9GtlpvLqNdTNirPxlo9L0NNB67bgaes9IxkbxcTQeZhBX2+b6AKrchBCmT/2HL4+B/PDnah/SUqWWqM31RELizhKHRmv7Ju1V2o0watoU03NDsltXIXHRllvBiQ3MDpv4zvsvKTcmbFAl8Np3jPG6Dw7yBr8XNO3mdVA== X-YMail-OSG: LjeEU8kVM1l0g16nQTbjln61Q28zL4Boek4.Gl533Eib7OIrV3GgVaQrqzraTWv Yqdshkks.FrpV2Ov8KC6Zav14TmTRft3BOfqBiyZh.67W5aX8FmHEAPkcjdZ4dDEfOxQVOgiiNSp Jqhaz1JKIYwaURn7HLHYFmUZThfp1zBoBUHrCyztLGMAOjhhPmWF0sU7xiMNQsW1HagExe45Osae 7bLq191mvaOrkFo1xxmyfQBJexRUWp5lH3RM763KZhNV4GNztGm4jPBrrYPva.xfXL4bvKMSPc_C S0ckr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ZPSw2qj5uQzKoVgTYZD2je5b5cSVkFO_D_o5qTHgNwmWVWVtnmDPT3Cp2s6K5rs34Jv6s5d Cx9shEcttELzSf4MccVt2.7pgWQjxWaa4v4tWMDOVMm_eUH.Sc2twSI46C4nVUV.spPh7YZl5XGO DZs.nGoS4zFjUpNhml.eshBHWT7Fw_gOSk9dnw7Yw5GM.h1M0OWw9oCqp9Xg4UylDexNaShSFgP. gfwOxqFeBvCRe409vGrRf5881jt1XLufNYJmX16B2KYDQEnIPepmTM1ONDG0UkcFe7CVadHOilha 5DWMA3Z._dSHA9DWkV824BS_oXZYCYi.1MVTn_jrplJoGwCck5MhvDDNs43r89lkjtVTo.kOe_0j oGYvT6E9EXzPizI9lPeOsNKpoTRH57VWE2eCYiUiWul2w5Ppjn2xIvC_2CWoRnYhSf6jUhrqoOR2 HWDUTOhgf8rEjP9EZmyoLtjilCA5pCYkuHXPcw_i7gFkT.l4I0MTo4Q7A8G9d8w1J9euXQkjyfdc 5XOustKrAQK6GNZsxHmThg5ex1m00nkR.oAjbm1iEdHyIZra6NYgBLGLLGNBeCy.iBfM2qmEmE5l Dbr80lES8kop_VO7etI.cP9oc2rTr3dDbjS9PPPqL_zUSHD2sCR24IV.KWznM3TsqAk8cdmWsogl uIIaEzvzNaAo3oo0Owvy76f8LvSNnWAFG5iySKNL9HDEuXgc2ltnbhUD_6ZzMcF2ny8ukVcyqzDG FmnQvmNQ4o81liTq35qx17Z_HK1XM3dY3ZywkoWRfgZWNpFhKtUZQR9Otni85HSsv3VAB31hygNT e1tTjSr8V.FIU9edDSZlINzyyovjeSS2v0LJE3PnJNjA_kkQJlg1qml3VZR09qI38wpsIg8JU9Yo mJPtkp81RChCfamONwy046IfA5YyKM3uCAKvJpUBCg408EAWdWdDlJSLotyOgtQ00KJdlx2f59N6 IzK._Hg-- X-Sonic-MF: X-Sonic-ID: b8e4cc1c-f675-495c-a0c7-9235355705c5 Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Sat, 17 Jun 2023 23:36:36 +0000 Received: by hermes--production-ne1-574d4b7954-wtfnl (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 47df85e67263fb884c304a32c5d0525f; Sat, 17 Jun 2023 23:36:32 +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 \(3731.600.7\)) Subject: Re: keyboard doesn't work at Boot Menu From: Mark Millard In-Reply-To: Date: Sat, 17 Jun 2023 16:36:28 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <99542360-6350-4636-A9EA-CA9BBCC93C60@yahoo.com> <5D8D94E2-781D-4945-B721-EDD0BF56A8F2@yahoo.com> <70CC43FC-2055-409E-A94E-76F934C14AE2@yahoo.com> <5875BDD2-B792-4FE1-8F42-99D996CAE71D@yahoo.com> <7D1BE218-B8B5-40EB-8CF3-C09CDEABA9C3@yahoo.com> To: Nuno Teixeira X-Mailer: Apple Mail (2.3731.600.7) X-Rspamd-Queue-Id: 4QkC926mssz4XQq X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Jun 17, 2023, at 16:01, Nuno Teixeira wrote: > - tested it on both USB2 and USB3 ports and same error. > - added a gamer keyboard on all ports and same error. > - tested with both keyboads connected, but only one get error from the = normal keyboard, both failed with same error :) >=20 > at boot time, none keyboards work. > at login time, both works. >=20 > I'm very curious about raspberry original keyboard! I will buy it next = week. Most of the keyboards that I have access to are much older, many of then from Apple. There is only one PC USB gaming keyboard and mouse, not that they were ever used for such. There is just the one RPi keyboard and mouse. I used the more modern, fairly common keyboard because trying to figure out if old equipment related failures are actually the same type of failure did not seem reasonable. Trying to match old equipment for comparison/contrast activities did not seem reasonable either. That the modern keyboard happens to be an RPi one is an accident. > Thanks very much for this awesome time that I learned more. > Thanks for your patience! >=20 > And I will stay tuned for updates on firmware and continue testing = stable/current snapshots to check if boot is fixed. >=20 > Cheers, >=20 > Mark Millard escreveu no dia s=C3=A1bado, = 17/06/2023 =C3=A0(s) 23:41: > On Jun 17, 2023, at 15:28, Nuno Teixeira wrote: >=20 > > I think I found the cause! > >=20 > > Please take a look at photo. > >=20 > > "Scanning xhci_pci devices... Failed to get keyboard state..." >=20 > That message was displayed by U-Boot before the > FreeBSD UEFI loader was even loaded to memory. >=20 > The FreeBSD UEFI loader operates by using U-Boot > services. If U-Boot fails to set up the keyboard > input, the same would be true in the FreeBSD UEFI > loader (beastie or otherwise) until FreeBSD's > kernel does its own bindings and things get another > chance at working. >=20 > (A similar point goes for storage media that U-Boot > fails to set up.) >=20 > Is the keyboard plugged into a USB2 port? USB3? Have > you tried both ways? >=20 > It does seem that the system and keyboard are not > well matched. >=20 > > After a while it gets detected during boot. I've pressed enter key = and I saw it creating empty line at boot. > > Maybe it's a keyboard problem? I'm using a very cheap one (not = raspberry original) > >=20 > > Thanks=20 > >=20 > > Mark Millard escreveu no dia s=C3=A1bado, = 17/06/2023 =C3=A0(s) 23:08: > > [Commenting out beastie_disable=3D"YES" and loader_color=3D"NO" > > in stable/13.] > >=20 > > On Jun 17, 2023, at 14:42, Mark Millard wrote: > >=20 > > > [This time I add continuing the sequence to test the stable/13 = snapshot.] > > >=20 > > > On Jun 17, 2023, at 13:56, Mark Millard wrote: > > >=20 > > >> On Jun 17, 2023, at 13:53, Mark Millard = wrote: > > >>=20 > > >>> I'm just making a status report for my experiments. > > >>>=20 > > >>> I did a: > > >>>=20 > > >>> dd if=3DFreeBSD-13.2-RELEASE-arm64-aarch64-RPI.img of=3D/dev/da1 = bs=3D1m conv=3Dfsync,sync status=3Dprogress > > >>>=20 > > >>> I made no adjustments. > > >>>=20 > > >>> I then tried using the USB3 media to start a boot of > > >>> a 8 GiByte RPi4B. It took my typing to the RPi > > >>> keyboard just fine: I did not have to wait for > > >>> the timeout when I hit . The (official) RPi > > >>> keyboard was plugged into a USB2 port. > > >>>=20 > > >>> Unfortunately there is a known issue for my context where it > > >>> gets: > > >>>=20 > > >>> uhub_reattach_port: port 3 reset failed, error=3DUSB_ERR_TIMEOUT > > >>> uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling = port 3 > > >>> mountroot: waiting for device /dev/ufs/rootfs... > > >>> Mounting from ufs:/dev/ufs/rootfs failed with error 19. > > >>>=20 > > >>> So booting all the way requires me to make an adjustment > > >>> in the config.txt by adding at the end something like: > > >>>=20 > > >>>=20 > > >>> [all] > > >>> # > > >>> # Local addition that avoids USB3 SSD boot failures that look = like: > > >>> # uhub_reattach_port: port ? reset failed, = error=3DUSB_ERR_TIMEOUT > > >>> # uhub_reattach_port: device problem (USB_ERR_TIMEOUT), = disabling port ? > > >>> initial_turbo=3D60 > > >>>=20 > > >>> [It appears that with modern EEPROM context, the RPi* is > > >>> dynamically adjusting the frequency/voltage combinations > > >>> even during early booting. The initial_turbo use delays > > >>> that for the indicated number of seconds (up to 60 sec). > > >>> FreeBSD seems to not handle the variability and the above > > >>> gives FreeBSD a stable context for such properties for > > >>> early booting.] > > >>>=20 > > >>> I conclude that there is nothing about use of the RPi > > >>> keyboard that stops it from working during early booting > > >>> of 13.2-RELEASE. The RPi* firmware, U-Boot, and FreeBSD > > >>> UEFI loader all work, other than possibly needing a > > >>> initial_turbo addition (or analogous that would span > > >>> at least that early boot time frame). > > >>>=20 > > >>> If you had/have problems for the 13.2-RELEASE context, > > >>> they are likely somehow specific to your context in some > > >>> respect that deviates from the above. > > >>>=20 > > >>> In some respects, investigating in the older context may > > >>> be better than dealing with stable/13 . It may be keyboard > > >>> specific in some way if the keyboard is not an RPi > > >>> keyboard. I did not have a mouse plugged in. An Ethernet > > >>> cable was plugged in for the booting. > > >>=20 > > >> I forgot to mention having the HDMI connection plugged > > >> into the HDMI port nearest the USB3 power connector. > > >>=20 > > >> As I remember, the other port stops updating its display > > >> at some point during the boot. > > >>=20 > > >>> I just retried with the RPi keyboard plugged into a USB3 > > >>> port instead. It worked the same. (The boot media is also > > >>> plugged into a USB3 port and is USB3 capable SSD media.) > > >>>=20 > > >>> FYI: > > >>>=20 > > >>> # more /boot/msdos/config.txt=20 > > >>> [all] > > >>> arm_64bit=3D1 > > >>> dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don > > >>> dtoverlay=3Dmmc > > >>> dtoverlay=3Ddisable-bt > > >>> device_tree_address=3D0x4000 > > >>> kernel=3Du-boot.bin > > >>>=20 > > >>> [pi4] > > >>> hdmi_safe=3D1 > > >>> armstub=3Darmstub8-gic.bin > > >>>=20 > > >>> [all] > > >>> # > > >>> # Local addition that avoids USB3 SSD boot failures that look = like: > > >>> # uhub_reattach_port: port ? reset failed, = error=3DUSB_ERR_TIMEOUT > > >>> # uhub_reattach_port: device problem (USB_ERR_TIMEOUT), = disabling port ? > > >>> initial_turbo=3D60 > > >>>=20 > > >>> # more /boot/loader.conf > > >>> # Configure USB OTG; see usb_template(4). > > >>> hw.usb.template=3D3 > > >>> umodem_load=3D"YES" > > >>> # Multiple console (serial+efi gop) enabled. > > >>> boot_multicons=3D"YES" > > >>> boot_serial=3D"YES" > > >>> # Disable the beastie menu and color > > >>> beastie_disable=3D"YES" > > >>> loader_color=3D"NO" > > >>>=20 > > >>> (That is unchanged from the image's /boot/loader.conf content.) > > >>>=20 > > >>>=20 > > >>> I'll see about stable/13's snapshot with the u-boot.bin > > >>> substitution. > > >>>=20 > > >>>=20 > > >>> Side note: I've other USB3 boot media for which having > > >>> usb_pgood_delay=3D2000 in U-Boot is sufficient but default > > >>> U-Boot contexts do not find the media suring the USB scan. > > >>> (There could be a better setting to use for all I know: > > >>> sufficient but possibly not necessary.) > > >=20 > > > This is based on: > > >=20 > > > dd = if=3DFreeBSD-13.2-STABLE-arm64-aarch64-RPI-20230615-894492f5bf4e-255597.im= g of=3D/dev/da0 bs=3D1m conv=3Dfsync,sync status=3Dprogress > > >=20 > > > First dealing with the U-Boot vintage-avoidance issue: > > >=20 > > > # mount -onoatime -tmsdosfs /dev/da1s1 /media > > > # mount -onoatime -tmsdosfs /dev/da0s1 /mnt > > >=20 > > > # ls -Tld /media/u-boot.bin /mnt/u-boot.bin > > > -rwxr-xr-x 1 root wheel 601096 Apr 6 19:47:52 2023 = /media/u-boot.bin > > > -rwxr-xr-x 1 root wheel 602552 Jun 14 19:43:46 2023 = /mnt/u-boot.bin > > >=20 > > > # cp -aRx /media/u-boot.bin /mnt/ > > >=20 > > > Then dealing with the initial_turbo issue: > > >=20 > > > # diff /media/config.txt /mnt/config.txt=20 > > > 12,18d11 > > > < < [all] > > > < # > > > < # Local addition that avoids USB3 SSD boot failures that look = like: > > > < # uhub_reattach_port: port ? reset failed, = error=3DUSB_ERR_TIMEOUT > > > < # uhub_reattach_port: device problem (USB_ERR_TIMEOUT), = disabling port ? > > > < initial_turbo=3D60 > > > # cp -aRx /media/config.txt /mnt/ > > >=20 > > > Finally, checking things overall in the msdosfs: > > >=20 > > > # diff -rq /media/ /mnt/ > > > Files /media/EFI/BOOT/bootaa64.efi and /mnt/EFI/BOOT/bootaa64.efi = differ > > >=20 > > > # ls -Tld /media/EFI/*/* /mnt/EFI/*/* > > > -rwxr-xr-x 1 root wheel 1180860 Apr 6 20:48:14 2023 = /media/EFI/BOOT/bootaa64.efi > > > -rwxr-xr-x 1 root wheel 1182604 Jun 14 20:47:12 2023 = /mnt/EFI/BOOT/bootaa64.efi > > >=20 > > > So: No other differences than the vintage of the FreeBSD UEFI > > > loader. > > >=20 > > > This also booted just fine, taking my input to avoid having > > > to wait for the timeout. The only difference is which USB3 > > > SSD was plugged in (the boot drive), in this case the one > > > with a stable/13 snapshot instead of a releng/13.2 snapshot. > > > The rest of the ports were as they had been. > > >=20 > > > FYI: > > >=20 > > > # uname -apKU > > > FreeBSD generic 13.2-STABLE FreeBSD 13.2-STABLE = stable/13-n255597-894492f5bf4e GENERIC arm64 aarch64 1302505 1302505 > > >=20 > > > Having confirmed this much for both releng/13.2 and stable.13 , > > > I'll go back and look at your notes about file content and the > > > like and see if I notice any distinctions vs. the above that > > > might be important. > > >=20 > > >=20 > > > Notes: > > >=20 > > > I doubt that the RPi4B EEPROM image vintage would contribute, but > > > it is something we have not been explicit about. > > >=20 > > > I do have various debug outputs enabled, including for > > > the EEPROM stage. The following is what it reports=20 > > > about the EEPROM content ("BOOTLOADER release") at > > > power down after FreeBSD is done: > > >=20 > > > RPi: BOOTLOADER release VERSION:8ba17717 DATE: 2023/01/11 TIME: = 17:40:52 > > > BOOTMODE: 0x06 partition 63 build-ts BUILD_TIMESTAMP=3D1673458852 = serial c740af3c boardrev d03115 stc 421180 > > > Halt: wake: 1 power_off: 0 > > >=20 > > > The "boardrev d03115" indicates a "C0T" Rev1.5 vintage part > > > that does not require the bounce buffer work around since > > > the wrapper logic is fixed. (FreeBSD keeps working as if > > > the bounce buffer was required: it is the only style of > > > operation the kernel code has for the category of part.) > > >=20 > > > I have access to a 8 GiByte Rev 1.4 RPi4B and a Rev 1.1 > > > 4 GiByte RPi4B and could test those with the same media > > > and such. All would have the same "BOOTLOADER release" > > > as above, as I remember. > > >=20 > > >=20 > > > A you sure you have the HDMI plugged into the correct HDMI > > > port on the RPi4B, the one closest to the USB3 power > > > connection? > >=20 > > [I have also changed the /bin/csh defaults to /bin/sh > > (which is my normal context).] > >=20 > > # more /boot/loader.conf > > # Configure USB OTG; see usb_template(4). > > hw.usb.template=3D3 > > umodem_load=3D"YES" > > # Multiple console (serial+efi gop) enabled. > > boot_multicons=3D"YES" > > boot_serial=3D"YES" > > # Disable the beastie menu and color > > # beastie_disable=3D"YES" > > # loader_color=3D"NO" > >=20 > > # shutdown -r now > >=20 > > And the beastie shows up and works just fine, > > operated from the USB RPi keyboard. > >=20 > >=20 > > My bias here is to have minimal differences from > > the RELEASE and snapshot builds relative to the > > reported problem. I still see no evidence of any > > problem with use of the RPi keyboard to control > > booting. > >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com