From nobody Tue May 25 03:10:50 2021 X-Original-To: arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id AB24F9FBCEF for ; Tue, 25 May 2021 03:10:59 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-23.consmr.mail.gq1.yahoo.com (sonic303-23.consmr.mail.gq1.yahoo.com [98.137.64.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FpzcL3KJ1z3h5P for ; Tue, 25 May 2021 03:10:58 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1621912256; bh=AtNrGnzGGH8yAHW8MZbIwufkMYut/347284b6WKr6ec=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=JTeqj6i9ylXl3bVG1QRt7mqSlTWCRjEJ8A7OQXAlEknXLboR1SXLhitgPNlUhVeiVD8A5Lm05TE8sPayeDBaGMzr19fQQm/wfJpE475zomh8uGyVUUvy90hYPbnnb76WZNnSk87wuN/6W9maqfOI+68mGyiYi2yOFPr3FxyAB95fI33P+adRON0qXUYHjKiS2OJMUnU6zAvkyTjK6Ej6Fj+WMsMefl8yCaazRdDejOS4MyjS1VB4pn0uMe8vu7EWAPnHVOXdpyvdbqS5HRfxCiILz0feTlBd4s/NodWnFkZfFJf0U/D4Im0n3OLbczvz6l8zoo0ZPtQdU9k3CiUXQA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1621912256; bh=PE4aZw8ouPLStMawuJf2JlMRpFH7qEhSLlrGeaqUkQ/=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=SjuqrcSBSmafIyWjylkQ5AGVXaym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uk9qaW1LtoWoOryqtPhdhwHYzfSwJ1jFxNDbq1nGd1cVjwGJohb579PvUgJuD1fNM2rUsZ SD0VVQuXnT0XXp_TUJ0eJNXz38C.HIgtaYuwvjD_mAjBEv9bK3urLJp2uMazZn4XJuE909Sq8UIf FaWo5wuzIEoGxAcjAIxwtQbVns9M2qG5d6VKGmfXAHQ3Bj5YU_eZkG_ZksvL9P7AzkosN55ZLYwl Svn9ij86GCitP_SS9BJVZnurNU5v.PafpFKUYKof97Oe1UZJtPd6gmZlZeeZQRFnwAiEENN1VGAy BPLkogpUg7A5GKADW1VoURphxcKocrCdSYYuNnKUgiBmkFaY9zWyT_2r9ldlxZmiJAQlJJv0IOc2 _cKfYtIftivc1ydhgFwNlfmhN80oVNwZ58Vjj5hzPp1UmHxl8SsaJwz_IPR2jlkr0nmTnymcemGI dRGi67uDn2dqhzE5H9ItB2C1tHLxZmKABEJSrjTWvgud7U7qflvPo0UBHUjqZqg_Gyi36dhZN9ew KwLwPYoYOUhoBfZVmnzT4xLCImRkqbNtG0ehQJj8WK.UV9bzx0jwRbnKPsCRfW7eFub_uvHUulm_ JV5jS2WDNwuQkekS4gWnC00OsbBRqSzTh9_KtQ57e9pBxRbC79z518VEfowV0VJGEuTtp7DEy_uV nFd1FgsBI1q0VcFV9BhedFHjzl.sSnRsaihDczfg3r0etgfodIzfq.bSoIopVQcUDXoBt_eq4K0H 5BRgngP.QweARCEYFQ2hLp7JCagKGb.rzbW2VaI.qeTWQrYTrOIxGtyVmqPgGzNoHz0Srj83Bvj7 5Eklv4gY0rtZlkRJzWbt8Wo0uB5_CeuzxS8ZlKm6iI6TZZfcKAGEwiVbo5K0K.R_TmKkbQp57dWE - X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Tue, 25 May 2021 03:10:56 +0000 Received: by kubenode512.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID afeed6f7f1b2c1282ce77e9a91f0030d; Tue, 25 May 2021 03:10:53 +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 14.0 \(3654.80.0.2.43\)) Subject: Re: /usr/local/share/u-boot/u-boot-orangepi-plus-2e/README out of date ; orangepi-plus-2e and RPi2 v1.1 get "Kernel args: (null)" In-Reply-To: <99906599-273E-4216-A41E-DE642F33E392@yahoo.com> Date: Mon, 24 May 2021 20:10:50 -0700 Cc: "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <0482F239-B137-42F5-8802-8883D08D5868@yahoo.com> References: <40298C05-5F50-4437-B15B-7A02EA070EAE.ref@yahoo.com> <40298C05-5F50-4437-B15B-7A02EA070EAE@yahoo.com> <20210513111517.86336633bae9568d8599f229@bidouilliste.com> <20210513124050.47714a83f876d67a80e28080@bidouilliste.com> <3C04FB55-4A26-48C8-833F-E4AC84DC4F78@yahoo.com> <99906599-273E-4216-A41E-DE642F33E392@yahoo.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3654.80.0.2.43) X-Rspamd-Queue-Id: 4FpzcL3KJ1z3h5P X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=JTeqj6i9; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.204 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [0.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.64.204:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[98.137.64.204:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.997]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.204:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.204:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[arm] Reply-To: marklmi@yahoo.com From: Mark Millard via arm X-Original-From: Mark Millard On 2021-May-24, at 15:53, Mark Millard wrote: > On 2021-May-13, at 12:03, Mark Millard wrote: >=20 >>>>> . . . >=20 > I do not know if the FreeBSD kernel has been depending > on some U-Boot initialization for root-on-USB and the > two no longer match or what. >=20 > But I've used a release/13.0.0.0 microsd card based > boot to get older U-Boot materials (Quarterly as it > turns out). Installing such got me back to having a > root-on-USB boot of the OPi+2e (other than the > mircosd card having the older U-Boot (2020.10 as it > turns out). Of course there is also the matching > boot.scr involved --but it also is on the USB SSD. > (Similarly reverted RPi2 U-Boot, other than needing > to switch boot.scr to match.) >=20 > After booting with the reverted U-Boot related > material: >=20 > # mount -onoatime -tmsdosfs /dev/mmcsd1s1 /mnt > # mount -onoatime /dev/mmcsd1s2a /media >=20 > # ls -Tla /mnt/ > total 20 > drwxr-xr-x 1 root wheel 16384 Dec 31 16:00:00 1979 . > drwxr-xr-x 25 root wheel 512 Dec 31 16:00:40 2009 .. >=20 > # ls -Tla /media/ > total 60 > drwxr-xr-x 2 root wheel 512 May 24 15:43:19 2021 . > drwxr-xr-x 25 root wheel 512 Dec 31 16:00:40 2009 .. > -rwxr-xr-x 1 root wheel 52456 Apr 24 19:48:36 2021 bootcode.bin >=20 > The media is also set up for booting an RPi2 via > root-in-USB ( other than bootcode.bin ). >=20 > If FreeBSD and the more modern U-Boot were well matched > for USB support, I'd expect that this sort of thing would > work (no boot.scr needed). >=20 > For reference: >=20 > # ~/fbsd-based-on-what-freebsd-main.sh=20 > FreeBSD OPiP2E_RPi2v11 14.0-CURRENT FreeBSD 14.0-CURRENT = mm-src-n245445-def0058cc690 GENERIC-NODBG arm armv7 1400005 1400005 > def0058cc690 (HEAD -> mm-src) mm-src snapshot for mm's patched build = in git context. > merge-base: 7381bbee29df959e88ec59866cf2878263e7f3b2 > merge-base: CommitDate: 2021-03-12 20:29:42 +0000 > 7381bbee29df (freebsd/main, freebsd/HEAD, pure-src, main) cam: Run all = XPT_ASYNC ccbs in a dedicated thread > n245444 (--first-parent --count for merge-base) Looks like 2021.04 (even before 2021.04_1) also has the problem for root-on-USB handling. I managed to find a 2021-Apr-09 u-boot-orangepi-plus-2e directory copy that was 2021.04 (and its boot.scr) but before the UEFI change. When I tried it for the root-on-USB context I still got the hangup after "Kernel args: (null)" in: . . . Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... =20 Using DTB provided by EFI at 0x47eea000. Kernel entry at 0xb2e00200... Kernel args: (null) So it does not appear to be the UEFI change so much as 2021.04 in general for which the FreeBSD kernel and the U-Boot are apparently(?) mismatched for root-on-USB. Reverting again to 2020.10 U-Boot got back the root-on-USB status. For this the boot looks like: . . . Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... =20 Using DTB provided by EFI at 0x47ef5000. Kernel entry at 0xb2e00200... Kernel args: (null) ---<>--- KDB: debugger backends: ddb KDB: current backend: ddb 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 14.0-CURRENT mm-src-n245445-def0058cc690 GENERIC-NODBG arm FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git = llvmorg-11.0.1-0-g43ff75f2c3fe) . . . =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)