From owner-freebsd-arm@freebsd.org Sat Feb 1 22:34:07 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7D2C922ECF7 for ; Sat, 1 Feb 2020 22:34:07 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-55.consmr.mail.gq1.yahoo.com (sonic316-55.consmr.mail.gq1.yahoo.com [98.137.69.31]) (using TLSv1.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 48985T6mHyz49M2 for ; Sat, 1 Feb 2020 22:34:05 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: LDxC7_YVM1mjbjaUCQjYwlYqn2nS.AA9nc1ImyWxwuHm.VLchS.4uP60OAgPJey 72.garlmSui_ZV645CkVqjDKKnNom6KdtX9ULvExyC2ly9fMVk.LMEuu.bLAc5Cu35tiY3ff6cE7 kzb8BxKxgvOR2IyfYCLmJn5YHP2YT7f2kdMip.XYFVj6AlIa4mGvIJuaGx9JWzJAltwK_aRNsCVD CDVhydrwtnx5IaZjetnr1EHxC_oJ2E16Zeu7Ld2MQ1k9yiQZ0BRYw5rihQH10Nxgs1ZX3u6IVv2y WGuaezVEe.mqIvvhLjtHePZi1umexd0bX1HBupZEOkRXADx194luBrhJbZZPxJ_t8Ek944zQBJAX O64gopGxcPWmbxV9hsvm7DnJltRniuU8gz9rLhv3n8S43ugTGk19JLi.uUEOhJJTNsjoaB9dVX2o ABuGKgBHyb6Ss7cf4r8nAx78Y8QAagbsfPhsQkBKpZSpUwF99m_Ti3Ry1wZ1TKaxhopV5dH3XhZ3 jZt6WKx3Au4GnkhuPrqCjqBRmMS09591cr6_cU3eF3XONRoz2v8R_lj_6tGLEVTc6LBS1bKPcK4C tsmn7tTORHnylW_xM9Hi0NsOiKLMKqtpXRR0txKdSxTlQL83WNpplAumIQLJM8Z58Mg4kv3.zQ51 x1vlZeRyBC5rU53HWnwS2mcW1T0l.J4o5VgUS7q6pmp6Dx5jvShaE9lv8mXLKVj4rgFQbb28yTxh Rw8NrW9J0ZcW3GcS9PXFXd2ZoBUAifLFtNO6tOMh9xA8qunJlG2RNgIL3.L2HDj4g142NE.Loids B6dum0n7OYj0jQfvWPhDDikW53p54xRHNho9pEg_2hDLtRjRdsD.0kBP0mCt2OzoO1VIkaOdGz7h wTSjNkyoEUj0IYzNFCIcvorZtmGY4G_MlzsgcYbRmr.mmHUTtFkpYizJL_Oo2pq7Ejdvqd65Yk6Z _yeooknq.YA_0Q.YU95yyfwN_QmLaDeH_2qFKhwoajlJCL7iZu81GrE5_3H_.eWOsSLWk0q2Nhv2 ByDkzWBMaUod8SLp4HKt4Jz4us67982z9zGPJSx6U9AKCgjUhGHbT_SPNrOhYjzykxfkk9Kj3AMS SSRfZYk4pezLVSLD_QSKxVBnFCOd0aqX77zEc17RICRzAD8CZPJ5r43wOFDyxndiGWPWbHYDyY4Q eS2VFS.9ruthW1_LjS9tkoq8UmdEWjPaKx1L9p6sqffu8sx9zO1yTOK0XY3t2Cd5Ej16T6840ALd kF_R.d5d6Py58AD3E0B0kZWDlr63l0_i4hxS6wKIyPKKF4zf.L4.MwC0.jYSndzfmkxBUVa48FvD UWNxtChxOL5utiqHEcx4e25ZjbWQKcgTqx_xgycOkvg7UY8_RdhvXea7P2Q6mWTDAiu1E7qj_nsw D.NDUyCPIjrFwLr5PYZGmYgPhQYbk9UzLzAo.BG.Cejo3kCZOfYEZcAqJQiM0h9kyIrjz390- Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Sat, 1 Feb 2020 22:34:04 +0000 Received: by smtp415.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 713a5da64b4642e78274966570fbe59a; Sat, 01 Feb 2020 22:34:01 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Re: head -r357356: fails to boot RPi4 but boots Rock64 (same media, moved between machines); -r356426 booted both From: Mark Millard In-Reply-To: Date: Sat, 1 Feb 2020 14:34:01 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <63205335-8E8A-4CCB-BC80-E4EC767FBC09.ref@yahoo.com> <63205335-8E8A-4CCB-BC80-E4EC767FBC09@yahoo.com> <0908ECCA-4776-4662-9C78-309C20445BE5@googlemail.com> To: =?utf-8?Q?Klaus_K=C3=BCchemann?= X-Mailer: Apple Mail (2.3608.60.0.2.5) X-Rspamd-Queue-Id: 48985T6mHyz49M2 X-Spamd-Bar: / X-Spamd-Result: default: False [-0.74 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FREEMAIL_TO(0.00)[googlemail.com]; 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/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.13)[-0.131,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.11)[-0.110,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (5.28), ipnet: 98.137.64.0/21(0.83), asn: 36647(0.67), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[31.69.137.98.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Feb 2020 22:34:07 -0000 [It looks like I can make what I'm seeing clearer relative to what maciphone2_googlemail.com reported in D15955 .] On 2020-Feb-1, at 14:07, Mark Millard wrote: > On 2020-Feb-1, at 12:45, Klaus K=C3=BCchemann wrote: >=20 >=20 >=20 >>> Am 01.02.2020 um 20:02 schrieb Mark Millard : >>>=20 >>> I described the original sequence that made the originally >>> -r356426 based Rock64 microSD card also bootable on the >>> RPi4 in: >>>=20 >>> = https://lists.freebsd.org/pipermail/freebsd-arm/2020-January/021117.html >>>=20 >>=20 >> Thanks for posting (I also =E2=80=99ve both boards available),=20 >> so we can assume that=E2=80=99s an (known) RPI4-only issue, which I = also encounter when compiling to=20 >> GENERIC-NODEBUG(or whatever kernel) to r357335 yesterday. >> I discussed that with Kyle Evans in :=20 >> https://reviews.freebsd.org/D15955 >>=20 >> . . . >> That was a copy/paste-issue because I was watching football the same = time I wrote :-) >>=20 >>> . . . >>=20 >> The rescan seems to fail... so that if you were on mountroot > = -prompt it probably wouldn=E2=80=99t be help to mount=20 >> by ufs:/=E2=80=A6. =20 >=20 > As long as it is reporting: >=20 > "APs not started" >=20 > that APs issue likely has nothing to do with lack of > rescanning for "card insertion / removal detection". >=20 > Also, the examples of >=20 > QUOTE > psci0: on ofwbus0 > psci0: PSCI version number mismatched with DT > device_attach: psci0 attach returned 6 > END QUOTE >=20 > are new compared to -r356426 . >=20 > There seem to be other, bigger issues not involving > "card insertion / removal detection" at all. I'd > prefer that those be addressed first and do not > plan on looking into rescanning related chnagess at > this time. >=20 >> But I=E2=80=99ve read somewhere that 1 user had success by mounting = mmc/uSD by typing ufs:/=E2=80=A6 @mountroot >=20 > "PSCI version number mismatched with DT" and "APs not started" > can not be fixed by such a activity. >=20 >> When I waited a moment after the mount-crash it gave me the = mountroot> prompt on RPI4 but with me no way to mount manually at the = moment, so this issue has to be fixed =E2=80=A6. >=20 > I do not get such and I want the APs to start and such. >=20 >> I have updated the Wiki a little( and will add more today) : >> https://wiki.freebsd.org/arm/Raspberry%20Pi >> .. welcome there if you have interesting news=20 >>=20 >=20 After: CPU 1: (null) (null) r0p0 affinity: 0 CPU 2: (null) (null) r0p0 affinity: 0 CPU 3: (null) (null) r0p0 affinity: 0 I never see anything like (from D15955): Mounting from ufs:/dev/ufs/rootfs failed with error 19. Loader variables: vfs.root.mountfrom=3Dufs:/dev/ufs/rootfs vfs.root.mountfrom.options=3Drw Manual root filesystem specification: : [options] Mount using filesystem and with the specified (optional) option list. eg. ufs:/dev/da0s1a zfs:zroot/ROOT/default cd9660:/dev/cd0 ro (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /) ? List valid disk boot devices . Yield 1 second (for background tasks) Abort manual input But, I instead the next thing that I see looks like (actual example): sdhci_bcm0-slot0: Controller timeout sdhci_bcm0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER = DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm0-slot0: Sys addr: 0x000004c8 | Version: 0x00001002 sdhci_bcm0-slot0: Blk size: 0x00000200 | Blk cnt: 0x00000001 sdhci_bcm0-slot0: Argument: 0x0ee2afff | Trn mode: 0x00000012 sdhci_bcm0-slot0: Present: 0x1fff0a06 | Host ctl: 0x00000007 sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000080 sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00000107 sdhci_bcm0-slot0: Timeout: 0x00000003 | Int stat: 0x00000021 sdhci_bcm0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003a sdhci_bcm0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_bcm0-slot0: Caps: 0x45ee6432 | Caps2: 0x0000a525 sdhci_bcm0-slot0: Max curr: 0x00080008 | ADMA err: 0x00000000 sdhci_bcm0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000001 sdhci_bcm0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D mmcsd0: Error indicated: 1 Timeout In my context, "hung up" means watching a sequence of such messages. As far as I can tell, my context simply does not have the issue that you are investigating. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)