From owner-freebsd-arm@freebsd.org Sun Dec 22 20:47:13 2019 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 F41E81DCA03 for ; Sun, 22 Dec 2019 20:47:12 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-20.consmr.mail.gq1.yahoo.com (sonic317-20.consmr.mail.gq1.yahoo.com [98.137.66.146]) (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 47gvg23hHMz3Lp6 for ; Sun, 22 Dec 2019 20:47:10 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: FB4V9mYVM1nwmQH0QaGONfrAzof2jvJ_qxM.1FbBB5u4XzmgWD_e5Ifw5dGxrm3 N1ZhAOAOHc2X80qwkSOfv80yfFro6W_athP1Ncsyk3dmlg.F5hMxToHpRtVz1frM_8IHYklpa.VA q3s0gTKnTGC_4CaXFxM7k8KDTDQghr_crhc3T5cno6z6qjHsOroNxLdRCS7JMH.P97m_06vwcfYK ip_RzM5EukWDHixTcXexZr0FxhlHRNAkb9BfzXGnibe9VtrM2mGrVDzANI5AwOxVbo_FZgPXmLAl gaW7P9XU2MOXA.boGydXGGopU4eYST1xCDI9TJbxSyss7PWbpMd6mxSw.2N8_mni.93qF85dMyvS BG5TRl0P4oCNfeFN3VUkUak65.aYS8nBfpOvmWnMGKOmS7rGWf93jFQzSbZRnL.afctPK16E9BNu 067E8IeTPLOtEZScLcnXD4Ux6IvIP0hRT3_54LwEDNmq86ZwzgbDkWmchaxg_wjKRvpEwIU7DY7U rM53azayiVseC4lVsnisUVGlU1ffnEUyp5tcB2hYiWAEptdn_0.mqZfutTlI1phZ3qVUOnt7tpFA Nl4mt6o8tt9eRWvsIzN9IR7pdOBBe2qiGd_4dR75OA9ehx0OEci6w_xkrHkXaUlfJEa.oAFGgSPD Od_QfEA84y8i7LEF5SINh5XGHLphYRmLkMUYe1KJ_Wc.ukM_J0eTPU258r_Kw9DByLlFRwoqiHdR .jLDF7xfVaE4HP71FUDhcRlPXEU3KInCfluTcmkY5tkX_0zVhD8JrJTy8I5ADbHcsUC21UaviyDF CszHBUQh8c_pZ7tGLJkoeXbZkfJG.sjSlHn6e0AW3JEhsEqtdlCCVyKmrHP6SfvqelQdNGgkqXZQ BaBtcbHc.F7UfmQovtC2_dxG9Y7hSg.F5qpd7JLJL_yiJzIQGCuN8YgSKQ2l01UIBP1ZZFcZ1OMW 36quC38jj8lQ.i09YQTRDZdKQbg7Go57PAj5zlTa9igtOnRBWNDIeH44U_DSYuXhY3F6yphtWW9L NeS9v0vL1W_jT7ix98yuM.B0LnJIjEYH8lTsqNVfi2o8HqyhFCHF2YZrstoVYeX0MnuL6r.q2nFs w5Ad8x0tQ7f6XS_eogxbG93G4dri6tKuR1f4fSZWlcMzzMQ7mtcSD8Ogsafu2XBXfXgNevreuSHU GeH0H_8Wf3jh4..jEdfD4cmIq11oKeVWE.m3Gokd3jJIidieplbt0tSehcMnBhOtTqpwHIWsHO0c KVRkbNtxDVKnF9.iMpkL3b_oSorcPi1pO5X2kDFyytwf3Q7OG7ijYAFw97qMIks_mntrr5pnXB60 B6FyIBV.pXlijXPZwfJIMI6.sNRzueZmLaW.5BLyBef1J5UQrnStZbnSo30VtrJqCoSSGWZVpfyQ zQ_VE4zXKFAbiJLPbZVQ- Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.gq1.yahoo.com with HTTP; Sun, 22 Dec 2019 20:47:08 +0000 Received: by smtp405.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID c476b85795553c730caead19cd56881c; Sun, 22 Dec 2019 20:47:04 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: Attempt to update Rock64 to head -r355976 failed to boot afterwards, anyone have a recent FreeBSD booting a Rock64? Date: Sun, 22 Dec 2019 12:47:03 -0800 References: <78081E30-3758-46F3-A228-02B29CDAA6A6.ref@yahoo.com> <78081E30-3758-46F3-A228-02B29CDAA6A6@yahoo.com> <20191222113844.9385de125afd10e86358bc98@bidouilliste.com> <3C550401-A5BF-441E-81E6-29D5D917302B@yahoo.com> To: freebsd-arm In-Reply-To: <3C550401-A5BF-441E-81E6-29D5D917302B@yahoo.com> Message-Id: X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Rspamd-Queue-Id: 47gvg23hHMz3Lp6 X-Spamd-Bar: / X-Spamd-Result: default: False [0.64 / 15.00]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; 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)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.24)[-0.242,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_MEDIUM(0.39)[0.385,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; IP_SCORE(0.00)[ip: (3.16), ipnet: 98.137.64.0/21(0.89), asn: 36647(0.71), country: US(-0.05)]; RCVD_IN_DNSWL_NONE(0.00)[146.66.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: Sun, 22 Dec 2019 20:47:13 -0000 On 2019-Dec-22, at 11:16, Mark Millard wrote: > On 2019-Dec-22, at 02:38, Emmanuel Vadot = wrote: >=20 >> On Sun, 22 Dec 2019 00:22:16 -0800 >> Mark Millard via freebsd-arm wrote: >>=20 >>> [OverDrive 1000 and MACCHIATObin Doubleshot updates went fine. >>> The code has Peter Jeremy's rk_tsadc.c patch.] >>>=20 >>>=20 >>> The console shows for boot -v . . . >>>=20 >>>=20 >>> Loading kernel... >>> /boot/kernel/kernel text=3D0x98af14 data=3D0x18e618 = data=3D0x0+0x6fc8e8 syms=3D[0x8+0x142020+0x8+0x12d3fd] >>> Loading configured modules... >>> /boot/kernel/umodem.ko text=3D0x2120 text=3D0x13e0 data=3D0x6e8+0x10 = syms=3D[0x8+0xf60+0x8+0xb7f] >>> /boot/kernel/ucom.ko text=3D0x217f text=3D0x3340 data=3D0x880+0x858 = syms=3D[0x8+0x1170+0x8+0xb0d] >>> /boot/entropy size=3D0x1000 >>>=20 >>> Hit [Enter] to boot immediately, or any other key for command = prompt. >>> Booting [/boot/kernel/kernel] in 8 seconds...=20 >>>=20 >>> Type '?' for a list of commands, 'help' for more detailed help. >>> OK boot -v >>> Using DTB provided by EFI at 0x80f3000. >>> ---<>--- >>> . . . >>=20 >>=20 >> I don't have the same clocks from the dtb, make sure that you are >> using the latest one. >> rk3328_cru0: mem = 0xff440000-0xff440fff on ofwbus0 >> . . . >> sha256 /boot/dtb/rockchip/rk3328-rock64.dtb=20 >> SHA256 (/boot/dtb/rockchip/rk3328-rock64.dtb) =3D = 50a180fed37f1d5dbfda60a6c55261c7b87b5b2bc97e428042481c94877da317 >=20 > Thanks. >=20 > # sha256 /mnt/boot/dtb/rockchip/rk3328-rock64.dtb > SHA256 (/mnt/boot/dtb/rockchip/rk3328-rock64.dtb) =3D = 50a180fed37f1d5dbfda60a6c55261c7b87b5b2bc97e428042481c94877da317 >=20 > Looks like a match to me. So I need to look elsewhere than > the contents of that file . . . >=20 > My getting: "Using DTB provided by EFI at 0x80f3000" suggests > that the file is not being used for some reason: Instead some > sort of nonFreeBSD/internal-to-something-else DTB seems to be > in use? >=20 > So my current guess is that I need to figure out how to control > which DTB source is used so that /boot/dtb/rockchip/rk3328-rock64.dtb > is used in my context. (Although I've no clue why I'd need a > different configuration for controlling such things now.) >=20 > Note: I tried putting back the prior EFI/BOOT/bootaa64.efi but > it made no difference to the failed-boot behavior. Well, using load -t explicitly got farther: (So once I figure out an equivalent in /boot/loader.conf it should automatically get farther.) . . . Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel] in 8 seconds...=20 Type '?' for a list of commands, 'help' for more detailed help. OK load -t dtb /boot/dtb/rockchip/rk3328-rock64.dtb /boot/dtb/rockchip/rk3328-rock64.dtb size=3D0xc2c5 OK boot Using DTB from loaded file '/boot/dtb/rockchip/rk3328-rock64.dtb'. ---<>--- . . . CPU 1: ARM Cortex-A53 r0p4 affinity: 1 CPU 2: ARM Cortex-A53 r0p4 affinity: 2 CPU 3: ARM Cortex-A53 r0p4 affinity: 3 Root mount waiting for: usbus0 usbus1 usbus2 CAM uhub2: 1 port with 1 removable, self powered uhub1: 1 port with 1 removable, self powered uhub0: 1 port with 1 removable, self powered Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Warning: no time-of-day clock registered, system time will not be set = accurately Fatal data abort: Fatal data abort: x0: 0 x1: 30 x2: 0 x3: 1 x1: ffff000067bea420 x2: c x3: 0 x4: 3 x5: ffff0000007637e0 x6: ffff000000472014 x7: 151 x8: fffffd0000bd0510 x9: 92ac8 x10: 2db x11: 0 x12: 96000006 x13: 92ac7 x14: 31 x15: ffff000000890a2b x16: 1 x17: 0 x18: ffff000067bea320 x19: fffffd0000bd0500 x20: ffff000067bea420 x21: fffffd000c51c560 x22: 1b x23: 1b x24: fffffd0000aab880 x25: 78 x26: ffff0000417ebd1c x27: ffff0000417eb000 x0: 2d x1: 0 x2: ffff000067be9f08 x3: 1 x4: 78 x5: 55 x6: ffff000000472014 x7: 151 x8: 0 x9: 1 x10: 167bca x11: f x12: 2e774a x13: ffff0000016fe000 oresight Trace Memory Controller = (TMC)dxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxd= xdxdxdxdxdxdxdxdxdxdxdx elr: ffff000000472ba0 spsr: 0 far: 10 esr: 96000006 dxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdx elr: = ffff000000472ab8 = dxdxdxdxdxdxdxdxdxdxdxdxdxdxddxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxd= xdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxdxd= xdxdxdxdxdxdxdxdxdxdxdxdxdxdxdx elr: ffff000000472ab8 spsr: 20000145 far: 67bebaa0ffff0000 esr: 96000044 timeout stopping cpus =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)