From owner-freebsd-arm@freebsd.org Sun Feb 9 22:48:23 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 CE0B0244FB1 for ; Sun, 9 Feb 2020 22:48:23 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic313-20.consmr.mail.gq1.yahoo.com (sonic313-20.consmr.mail.gq1.yahoo.com [98.137.65.83]) (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 48G42F6wcNz4f12 for ; Sun, 9 Feb 2020 22:48:21 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: b9IENlUVM1n6QRclHECAjv53IOSasIqCHgL9LDA7t9c0pR0gOWmPFZQZxyoelgO WurqMrUZkfcGsRuyuEuJ6a1siRN1gC5dEwp0ZfbZCKbqUcLWMk2eheFv.qRY4q4_qTuws6S9GVvP K1McdLNjVrV5Cb330It09L.NOkakoyY9ytqbQ7mlujyl2rJv9.UCEPJgbgCL0Jvd_2nRRrQWiGnf HiTJ8oVOoy1xZn_PMpOL61r_aS7o0RQ1bo4f_Vv3euYCgd_06_hMZ6F_.iFDXWxSIlwF_GPTGlaN TmPpufTp1q1hH57BxYEDIzaWG9r8AbR_cwxcqG.O7rjM3qtZOr_DqNrGDfTPLLheUxHV0bkrWG0u 5XoK2whKHEprDAxMOVyBi4WIlrYIv94naffw0ozurth3aCp5fTIy5IVO7PoZGE1D3.YdWDhJ9VJl kTj6nBuld.BK3irD9NZrHpbXLsL.HT9iCUtdmcdDTElwsg3yqvJ63my6RBrde_G_xS5Bi.vhK.Ov ykT24psUD2DeGCElt3kKr2b6qJ4HvDTUFPoMrJ25HZ3cWIlc7UpCMhOVot2zHvb40wolZw3iis6C UC4psjzucjmPy3ZMe9Y2nuuc9xGWedfyG3816gf5S6yrY3.lfzfSPuneNzST.rVDVMJcXgewDqFZ 8lmOtC0OEA1_MnXgNXYqNzec1C3DfKN28mkXqOjVS4T1YvGTzd7CxlUzgfJmVfo94PJPoc01aR.1 C9xWgarcZamN_Ut92NrgaXJOt7YmASetNlwtPGrSIXBIIJnq_Oi0cVfsfX.3UdeB1L_6mGJRdS6_ F.LiopQ9QgNdQTNZJmrvr.JdG62HPso1TsEy9tE7l7eyhDvp8cnTgMT7bJijfCp6cx2KL7ip0f24 Lr_eMGtFmc5uzde_c0ohFkxNzjPbrE.wxjQUxWS8t9Wwcfar449VQRy_0c.sVOji.PX7QHGSamLg vJ8wtF09KNb1khsfe_xGpSrX56tVW3bEPY1I2ixHGBeRq82mDx_V.CxccVQtitS62qB5.m57AEe5 qagYzz4giUihevFWGtjWzyRlv9Hsu_AQQl3l2IRtzYEFZ9jOxDFoYdYPcVPBJPU_9q73NqLX0DnF 14s7y48wv4BBLiRCOmxJq7HIqtoY_YYaKXxADu7.5mqDfyP69uzoCuwAkXJWK5XNI7EPRLBQrj57 j2QykNj7d_rdzkVWLjcRFsbGG3SZj4ElNfGD1Ya1RxVavueQ3cllYCFu75Zptj6PZ906lANbDFDJ YHB6YfpIDFSqFTvzVjujjOhNM8N_f8YzyYuS2DL_H7wcve8Wv8xMvgeLL0t6ikBB6_uMG7xq6zxI RZuHCr8.LoYKI69Gw3W1gQlVjRj1tuUuIoQvmIhfY4FvI1vSnRCg.0N8TNyzWmOsuXYsEGoNVfrQ kv5xcGU0k48PASLP0VW52KzqkIWCFzNBSGO.bOduSjOXxZRg25WHMIZE5WKlQ7iV6w63sXPWzOg- - Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.gq1.yahoo.com with HTTP; Sun, 9 Feb 2020 22:48:19 +0000 Received: by smtp411.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 477642ed6ce767dc98913557c03c7790; Sun, 09 Feb 2020 22:48:15 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Re: RPI4 Install r357606 test 09.02.2020 failed From: Mark Millard In-Reply-To: <4551CAE8-08DA-463F-876C-DD1BBAA5D7C5@bitblocks.com> Date: Sun, 9 Feb 2020 14:48:14 -0800 Cc: mike@karels.net, freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <202002092026.019KQXLF021366@mail.karels.net> <4551CAE8-08DA-463F-876C-DD1BBAA5D7C5@bitblocks.com> To: Bakul Shah X-Mailer: Apple Mail (2.3608.60.0.2.5) X-Rspamd-Queue-Id: 48G42F6wcNz4f12 X-Spamd-Bar: - X-Spamd-Result: default: False [-1.70 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.63)[-0.631,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.57)[-0.572,0]; TO_DN_SOME(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[83.65.137.98.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(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)[]; IP_SCORE(0.00)[ip: (3.25), ipnet: 98.137.64.0/21(0.83), asn: 36647(0.66), country: US(-0.05)]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0] 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, 09 Feb 2020 22:48:23 -0000 On 2020-Feb-9, at 14:19, Bakul Shah wrote: > On Feb 9, 2020, at 12:26 PM, Mike Karels wrote: >>=20 >>> On Sun, Feb 9, 2020, 1:10 PM wrote: >>=20 >>>> ok I understand not all opensource as always claimed Too bad >>>>=20 >>=20 >>> The Raspberry Pi isn't really a totally open design. >>=20 >>> Warner >>=20 >> Indeed. In this case, the GPL Linux driver is available as a = substitute >> for documentation, but it isn't the clearest description of the (5 = versions) >> of the Ethernet section. >=20 > Perhaps the plan9 drivers would help? They are considerably > simpler and I suspect you mainly want h/w parameters. 9pi (arm) > & 9front (arm64) have ethernet, wifi & xhci working. >=20 > Re: documentation. I asked on their forum about their long > promised documentation and was told it is hung up due to some > sort of personal issue. The RPF engineers hang out on their > forum and they do help provided one asks specific questions. >=20 > I will be happy to help once I re-bootstrap into freebsd kernel > hacking. First I need to figure out why it boots partially and > then hangs with repeated controller timeout messages: >=20 > .... > Timecounters tick every 1.000 msec > Obsolete code will be removed soon: random(9) is the obsolete = Park-Miller LCG f8 > usb_needs_explore_all: no devclass > mmcsd0: 16GB at mmc0 = 50.0MHz/4k > sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no = active comm. > sdhci_bcm1-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 > dhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 > ... It is messed up long before that. The earliest that I know of is when it first outputs: psci0: PSCI version number mismatched with DT device_attach: psci0 attach returned 6 By then the PSCI version number comes back as 0 (both major and minor). > I built -current locally a couple days back and it has the same > issue.=20 >=20 If you want a build that works, use the kernel from head -r356767 . The next head version ( -r356776 ) is where the broken status starts for RPi4 and RPi3. RPi4B's with 4 GiBYTes of RAM fail to boot. As I understand, at least some forms of RPi3 boot but are messed up, such as only running 1 core. (Not surprising given the PSCI version problem which happens there as well.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)