From owner-freebsd-arm@freebsd.org Mon May 18 23:01:55 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 53EC42DFE85 for ; Mon, 18 May 2020 23:01:55 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-8.consmr.mail.gq1.yahoo.com (sonic308-8.consmr.mail.gq1.yahoo.com [98.137.68.32]) (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 49QvfB18kPz4VxG for ; Mon, 18 May 2020 23:01:54 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: mb_ZBIYVM1mRCABIEkKnLdla0EAAE1gZyuAspYjPNMBqKfqnYakdGpLRIuS0.Yi L99.pbluiOO4gJpJhdKi7kEjY7RGKbuc1G8OdhhVu_jgmlsiz3lrXZAhXJ14WxT2Q79RTAZgSEdS 7aq_8nAPpFA6WKZ8cJ7jz8FukL1tVpsAuJ45CNsng5CcH0TW8DxT9UN33rnQ_YJHtKw7IjYcXKGr HdIFr.NNYMzUEKTiOsHH7CsELcrrLTSrYYBOVo1owuAWSjD3Fj53T9zclNIJ5GIXwKHkTLZLoScZ 73f9zCAMO4Stj6Ls7MWW3yqtPSwY2eqWPddmP9Yhwel23ffHZaajJgFmkEsplcvGAx6EQzC8EPz6 5shJMVct6kyvJmt0jenOKEcd55_6pfwFVRMfG2.rzcgt8hD9LkjdGvlr8MDOLISFhmAGsvEN_qEU OLWpEo80J9UT5QYIeErSJt3tE5ascc2kTl.SVn1UVwDPzlZOq6OiOUnE1Lw6K0BL3sOnu7jIHyEb PD6ss1IL4RRqUlEzZ2RxVSi14JmWMfNX5vioYZLHh6phAU3Xk6pHi7vL3t4MqPEjcIHlg5QQCJlY XGba2muWLipjdqhHYcqISWztgCwADWubP7TQd8jCtT49i9agNe0XRMW5Cwi3klLi8urCO_7Kyd5S yhQAri6d41q7nztpm1Ccf.HfG9r9LZr_nN6f5z3N31jndp.gV8ggvzH90jDJ5spkN9_I_lMCwFQg 1IOuSBJ.m1mHPfOQ1bCphMoI9uayATB3wnCXiCdxD0vXXJnfCNNxTiLwVrBPYm5sK7EJ6k6tvD_c 6v8EVH32LVt3Rdf15SQGYhvyI7Q_bJRJ9Ik1RuoLNplgjaQ.9t9iypLYXZJbGAFO0iuET3fH0jv6 8WGMg.VNNEUFFqaeV6hjjFU.SSK.572BUj1zU63i8v5N8FLPC01HA1dZECIaDtv4.z5NT8nvQVzy 48q72SMryv.UW7dRV31VO5.okVDxcIFK7GCax457U7wb.XRPTigrHeJb1GRIrMo7IzhyuRLuG8sF wWNQ_W9vhPRbqi4gPlijP7kyLStW3QiSk6v1SM7fVSXgqRLj82neWzhRsNs0UIExUfxV7WtvZFjZ BlfJyWU72TKh4z6AriHDrAEZbAujEVP5PBlfetV_kyDeezHOpVK..jMfO2Z1VfopJ.tJwHaZqxdQ C37k21oukdQw0XeljndNfFIOLT0DEuHGRms4.lYKznj9pL7vkDTcef4aUF1nmXgSAi65zF_nunt3 .Xh5A_ryWLF3DnhJ9nRQxOaAvnyczd4Iu_okelogWj4n_ErQraCVr04DVbFkxN_igd8CponC3Hf. 1ZGrv4WQUrux9ADVjvJ7T9S4e7b1D_GF1lTYRJ6qwaU2jG4McT_agY09ysa1CPayUr0vzIY3ysPj u5g5LXh51usq6xURkoJKkGbEn Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Mon, 18 May 2020 23:01:52 +0000 Received: by smtp415.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID de5a1443a55a852ad3796f299be07d43; Mon, 18 May 2020 23:01:47 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Recommended arm hardware (mostly for compilation)? From: Mark Millard In-Reply-To: Date: Mon, 18 May 2020 16:01:47 -0700 Cc: Mark Murray , freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <59616D7C-7D72-4E11-B01D-68A42D756587@yahoo.com> References: <1b109252-3232-05c4-e1e0-2fea4739583d@spth.de> <47A5AF8A-1EB9-4721-94D5-B0A0A6FFF69B@unrelenting.technology> <9E10C464-474F-489A-A667-B263A64E78F2@googlemail.com> <39FF7B47-B807-4D70-BB45-FC324FD4B913@icloud.com> To: Dan Kotowski X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49QvfB18kPz4VxG X-Spamd-Bar: / X-Spamd-Result: default: False [-0.16 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.32:from]; 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)[98.137.68.32:from]; NEURAL_HAM_SHORT(-0.66)[-0.657]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; FREEMAIL_CC(0.00)[icloud.com,freebsd.org]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2020 23:01:55 -0000 On 2020-May-18, at 05:27, Dan Kotowski wrote: > After a solid 16hrs this weekend, I can confirm that the pre-built = images do NOT "just work", at least not with SolidRun's HoneyComb = version rev 1.4. A more thorough post in the other thread I have about = this platform with subject "FreeBSD on Layerscape/QorIQ LX2160X". Interestingly, there seems to be another github area from solidrun referenced by: https://developer.solid-run.com/knowledge-base/lx2160a-firmware/ that has a link that points to: https://github.com/SolidRun/lx2160a_build/tree/LSDK-19.09-sr-uefi Note that it is explicitly uefi . There also is a non-uefi branch: https://github.com/SolidRun/lx2160a_build/tree/LSDK-19.09-sr The referencing developer.solid-run page says: Currently recommend are branch LSDK-19.09-sr for U-Boot, and branch = LSDK-19.09-sr-uefi for UEFI! However, the notes on the developer.solidrun page referenced say: QUOTE Binaries At this point in time we do not provide firmware binaries due to the = necessity of deployment-specific configuration. While we are working on = simplifying this situation, firmware can be compiled using our tool = linked above, and explicitly taking into account the particular RAM = installed on the system, as well as the intended firmware media (SPI, = microSD, ...). END QUOTE But: = https://developer.solid-run.com/knowledge-base/honeycomb-clearfog-cx-insta= llation-and-tips/ does reference a pre-built image. But it is not explicit upfront if it is the uefi variant or not. One hint may be other text on the page and what that text references: QUOTE To flash to eMMC run the following commands (it will wipre your data on = the eMMC device). For this to work eMMC distroboot support is required = (patch is here =E2=80=93 = https://github.com/SolidRun/lx2160a_build/commit/75891e5cb4d2171a2094c1e35= 087374b1f47acdd ) END QUOTE and that patch area has things like: patches/{u-boot =E2=86=92 = u-boot-LSDK-19.06}/0001-armv8-add-lx2160acex7-build-inclusion.patch This suggests it is the example is u-boot material, not uefi material. > Dan Kotowski >=20 > =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 = Original Message =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2= =80=90 > On Sunday, May 17, 2020 10:00 PM, Mark Millard via freebsd-arm = wrote: >=20 >>=20 >>=20 >> On 2020-May-17, at 03:26, Mark Murray wrote: >>=20 >>>> On 17 May 2020, at 10:41, Mark Millard via freebsd-arm = freebsd-arm@freebsd.org wrote: >>>> Sounds like a LX2K would be an interesting thing to >>>> compare with. >>>=20 >>> If UEFI was ported, would FreeBSD "Just Work" like on the = Macchiatobin? >>> . . . >>=20 >> I do not know but there appears to be a UEFI port already. >> There is: >>=20 >> https://github.com/SolidRun/edk2-platforms/tree/master-lx2160a >>=20 >> as was referenced in: >>=20 >> https://lists.freebsd.org/pipermail/freebsd-arm/2020-May/021609.html >>=20 >> I've no clue if the combination of that with FreeBSD "just works". >> The last commit seems to be on 2020-Feb-12. >>=20 >> The edk2 material above seems to be tied to the same person as >> the twitter link below, with a solid-run E-mail address shown >> in edk2 material. >>=20 >> There is = https://twitter.com/linux4kix/status/1210936214259404800?s=3D20 >> that reports the PCIe ECAM needs a quirk to deal with the differing >> address spaces between it and the devices behind it. It mentions SATA >> errata as well. And it mentions V2 silicon in the future for fixing >> these points. It also indicates "98% SBSA compliant". >>=20 >> One of the replies is from Jared McNeill indicating that he got his >> board and was looking to get NetBSD running on it. >>=20 >> Back at the edk2-platform/tree/master-lx2160a area there is this: >>=20 >> QUOTE >> Add this class code so AHCI functions properly on kernels that don't >> have the qoriq specific AHCI driver. >>=20 >> This still misses the quirk for V1 silicon that if the device is hard >> reset the SerDes can lose link, but in general this is enough to boot >> and install an OS. >> END QUOTE >=20 . . . =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)