From nobody Tue Feb 13 22:43:00 2024 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TZGZD0Lx2z59ywb for ; Tue, 13 Feb 2024 22:43:16 +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 4TZGZC1CPrz4gXZ for ; Tue, 13 Feb 2024 22:43:15 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=eCSYUrWt; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.84 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1707864192; bh=MdAHl6ZC9yNprS7azh2dH7304E1qbJesSMAlvu3MJOc=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=eCSYUrWtYc1BDLU04egYaXXu4UTve28JjEUW9PsyWPgFKHK7U9EJwdSO1k9tdB1TQt45I2m4/b+i8KoHt5QYJXYE/lVTHqeZqLxGWQcChVdlHlZ04VUTA5FFf8cSt90H5AHr9PVUPiBiVKxoIRirEZ+Kjdr1rTNzo5TDok6rP+RBlxlVcAtNWnVHy46+IzbUit2UM18tglDtRrfBEAZOyN5g9qTNcextp0qeSPEb93RGl+6gxkoEryyGoLFGHDl/btg3cRycS7VmE1WVdPwz0zZtx8jP61WfDrf7bpr6XbkTSrQxM3/bqlV2oHnGMiMJi57zE0PD78KyWxU7f+NSBQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1707864192; bh=jLeASvBlZHfD4Ab7yCku2OqoZgBpzXpz/vDnGgz4EM6=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=i6eiwXfnGyAarOc7Lbi0joaCLZO0S3S0B/e0vVyx5P4XvXWav0iyJus6DEVwpcgP+zsy8BzN9NiGihJWGYHbV3+3GBq+RMREJoMau2BVOi43jKzniNDLUGfgUMKTyCXcEfcs7pDaJJXgLQaBBDQfV7OgOZIKSKvUBrmMUT/fFI9jfF23yto/IKajjmWF1DgiVX1F3okNmzKNcKSlJ+n+4mwdMOaHrWlAvFH+aTop994i66HVMcTJFTi3vawrIcX3RGrxS8Tb3Du77OCtSvCNQESN3iUmF9y5Y69gycObvxtuO67KLF7usiJTbHFs27W1USljZc79of33Fp4YU1nXLA== X-YMail-OSG: z_Dw5VgVM1nMuOhu6w.2WhNrowSPXeEN4k65seQeXvlBKVqzekJxzG_Cz_arb.c pXo3076b.7b_71Tbyx4TA36FwzxTO6qgHqQT04KP2QquR7ylfs_wQZHghuTsSCWzFP0_7wWQvpsQ 8kPwku0EY6965vvKzhMPZAHdd3PK7i1qXAlUlbx4_NKlKT5GxPd25zbwr2W80.p3sa8NPVgS7YEj BksD5tDSeGWvr7q84eAvHbkf_esiA0dUIZf8lmNjvSD_a8jHlwQiZiLOWf3K4zCW578_17i1cxIB 0L2UfgbffGrpoZcpBnqVgnsIlyhvfuFD6zuHYeVHDy3FC3KBsP_XDhvd7D0rkCRDmc4MKqHeOpv1 YmVgan0X1.JV5ZHnSx5zwpUzuaKlbWjh5JFtZ2u157XuSuabIo5.Ulg1uDm._Y6U3aZGbpwh3TYs 14b67tOPeo_GROqPvne0mYSxuteqJmLqEHU.9BKwCkRTeydRLPoSN4RyRjexRosQR7Bx4gaVvR6. iFTxvFCC3_bUB5wnQZ_WiHmdl54jmn0oaVAGt9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Q2N7srDn7Su06DVMoEiPr7wZ.dxg Hh5JOrjexUYFtSWB6lpRcct0UHD..VGV28kgTAFAbfwK7EAjJPx_UnN6ZE_J9psKwe1iN7DW1aHw Dv0JdLYgmnccX1H1urdSamQyqsng9bM9cvw1.ddqFk64JIHl.GMQfGvkigY7vMDnt4NTrUNn7k8O oQA3TSgL43i3ZNCfOSyWYyjz3uQ9caZwFxNv702iLNMs2IdYIwybkjLB6GxqlO03KzDJLxrxni1G cTBcAfC6E_jNHeSmwRqX9bEjmn_IfmeRxueQiIz82pOM3VNYujd0Q914X5QSunlGuJCVRC9vZP_i a_VJZglAbG3lNIUIuq8Nh1wbfYzQA7qS2JeVVXmagLW0RayNzyEQ1jjfk6IR6PDbqoNPuz1xhPl4 mAsoQTycnv4GNL3zXM2SBE8PvKcCuB5wAJJl5outMxiMBhbaYo8w9sY2SkDzHBzeF5hGIvOeBaHV ISb1Em5bDUPzQmfh11cUVbSN4bwJTMIBFquyVPWpaR1urlzY29UoGR1Wq5QxY.QdH2ls8WD4LcnN GI5uJx7GyKGX3wSm8LCA04PngkMAjRGwWIBs2IHEjvE7Z5kC8PJ7fBOQTc3kCcEdZ2ADuxBw0R3E yq3UaTfT8X138uxb.d25TLRssz2Gges5ix0sDcEVt0DbRm9niFbleMgwTvxNIHQ-- X-Sonic-MF: X-Sonic-ID: 1fb44ae1-2855-4538-93a3-eebdfc9631c9 Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Tue, 13 Feb 2024 22:43:12 +0000 Received: by hermes--production-gq1-5c57879fdf-tnlsv (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 3a15fc2828f78727da873a48e67b6a26; Tue, 13 Feb 2024 22:43:11 +0000 (UTC) From: Mark Millard 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 16.0 \(3774.400.31\)) Subject: Rock64 snapshot on e.MMC media fails to mount root (no microsd card involved) Message-Id: <657E46C8-B4C4-4C80-BA12-D351F54D4911@yahoo.com> Date: Tue, 13 Feb 2024 14:43:00 -0800 To: FreeBSD ARM List X-Mailer: Apple Mail (2.3774.400.31) References: <657E46C8-B4C4-4C80-BA12-D351F54D4911.ref@yahoo.com> X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.84:from]; APPLE_MAILER_COMMON(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.84:from] X-Rspamd-Queue-Id: 4TZGZC1CPrz4gXZ I downloaded and expanded (via unxz) to get: = FreeBSD-15.0-CURRENT-arm64-aarch64-ROCK64-20240208-82bebc793658-268105.img= I then did: # dd = if=3DFreeBSD-15.0-CURRENT-arm64-aarch64-ROCK64-20240208-82bebc793658-26810= 5.img of=3D/dev/da3 bs=3D1m conv=3Dsync,fsync,fdatasync status=3Dprogress onto e.MMC media. The attempted boot got to the mount root stage but hang-up: . . . WARNING: WITNESS option enabled, expect reduced performance. Unresolved linked clock found: hdmi_phy Unresolved linked clock found: usb480m_phy Trying to mount root from ufs:/dev/ufs/rootfs [rw]... GEOM: mmcsd0: the secondary GPT header is not in the last LBA. mmcsd0: Error indicated: 4 Failed uhub1: 1 port with 1 removable, self powered uhub3: 2 ports with 2 removable, self powered uhub0: 1 port with 1 removable, self powered uhub2: 1 port with 1 removable, self powered random: unblocking device. And that is all the output. This is likely (in part?) because of using a mode requiring tuning(/re-tuning?) that FreeBSD does not support for the Rock64: mmcsd0: 125GB at = mmc0 150.0MHz/8bit/1016-block mmcsd0boot0: 4MB partition 1 at mmcsd0 mmcsd0boot1: 4MB partition 2 at mmcsd0 mmcsd0rpmb: 4MB partition 3 at mmcsd0 (DDR50/DDR52 would be the fastest mode not requiring tuning. SDR104 requires tuning, as do faster modes. FreeBSD's NULL implementations of tuning that are used absent actual support for the controller for such activity lie and report success.) Tuning has controller specific definitions involved for stepping the phase and such: such is not specified by the standard. (There is a command for sending tuning data but not for how to have the controller explore the alternative phases and such and then to set good value(s).) As reported earlier, USB booting also does not complete a root mount, despite U-Boot 2024.01 supporting USB for its activities. So the Rock64 may be microsd card only for FreeBSD for now. =3D=3D=3D Mark Millard marklmi at yahoo.com