From owner-freebsd-arm@freebsd.org Sun Mar 28 23:13:55 2021 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 51B3E5B31CB for ; Sun, 28 Mar 2021 23:13:55 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-24.consmr.mail.gq1.yahoo.com (sonic312-24.consmr.mail.gq1.yahoo.com [98.137.69.205]) (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 4F7s356NxGz3mpq for ; Sun, 28 Mar 2021 23:13:53 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1616973232; bh=vORIAvic1asSTXtyO1khBgthOwHLh1Sbz7jUfGEN0IE=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=tn/C3hlhN40dgxfjkSvBTzZWKxuFufB070AAj0Y1APmpCDA4OmizXJpqWWEjrcuu/yxUL3NSncXHvrs/8jo3yarq6LOC0C1OfysfrlBE8pja1WpZH7LxnW+/vNeeUCirIcDjs8O20mQu98v9q+4nBPnopOjNtZg4wqL84SaGSWc/ctZ3sPrJg8s+IGPXqLYarF0R2+8Nqnnu64nGCmak9wTytAX1mgGLd22IlKJfNzg2zNpWWppB+UATtIpqj/7qvORMMZ9pKLkJrwSuWWU1+D3jVCVUFdfryzT7Bem7WbgGfo5Np0jVv2djSQPRRm7WyP8jaQxETzhV1D4QjnpOkg== X-YMail-OSG: btJX0iUVM1kuZFL4BLmaa7c83VBRn0SUSDrVc3LzzpGQj2ULbK7ZR23S7yUMo2H HBM5x6YGBFlKCoq_LLSDMwP5WsIDPgWS0bC.m1Iu27ZQpTMm0EBXdvMlNI5ahkFeDiTN51ShEHaA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0s zNbT_tKOUIZD0E3Hy63q1nyvJoHq8GUGI5LkrMKCyDME6iVsmYGPOSK9mwDKx.XSfjUlvImKRqNn gbpd03zjfFLh0SiyX8IGnFHpIEEDjNvbCVEAt76LlRKFVI5jxs2TVDgJJkiGe2Lcjic8szWZdk38 YaWAdmYld2_VZvMTy_hw6eN3pBRnV83q.NxOxeDutdrid0X5XWjfaWIwoPOLBh0NZ3OCS97.cb3j UWCQumboxFKlTsxyAH9YVmwLPZT8hytqLlCmE2d.yFLRZ4eD_b2rKb3OBtNWG68VLr1M9KLVuEba shO9kFrAfWrIRvJs0nOtYjIufTpePXVebIVkFBv4Mg_lkEd_oQeFp7l6N2WJQF1zu4haB7wRxj_q iZQKUnsi7tJyEidOBM54Lo9UkX_jT9txSmEBP8rjyxlGSC_gZBAJU X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Sun, 28 Mar 2021 23:13:52 +0000 Received: by kubenode508.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 2cbf2130740de0a156e016580b669a89; Sun, 28 Mar 2021 23:13:50 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? From: Mark Millard In-Reply-To: Date: Sun, 28 Mar 2021 16:13:48 -0700 Cc: =?utf-8?Q?Klaus_K=C3=BCchemann?= , freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <206AFC1E-88CA-4F3B-897B-14444CE0905C@yahoo.com> References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> <265dbf9c33f4ce09c702c9d7fae93c9b@pyret.net> To: Marcin Wojtas X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F7s356NxGz3mpq X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.69.205:from]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; SPAMHAUS_ZRD(0.00)[98.137.69.205:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.205:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.205:from]; FREEMAIL_CC(0.00)[googlemail.com,freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 23:13:55 -0000 On 2021-Mar-28, at 15:52, Marcin Wojtas wrote: H Mark, niedz., 28 mar 2021 o 22:15 Mark Millard via freebsd-arm napisa=C5=82(a): >=20 > On 2021-Mar-28, at 12:48, Klaus K=C3=BCchemann via freebsd-arm = wrote: >>=20 >>> Am 28.03.2021 um 21:35 schrieb S=C3=B8ren Schmidt = : >>>=20 >>> On 28 Mar 2021, at 21.23, Daniel Engberg = wrote: >>>=20 >>>> ESD can kill any type of hardware, there are multiple reasons why = you shouldn't play around with live hardware and powered off for that = matter without any protection regarding ESD. Pretty much all hardware = comes with clear instructions and warnings about it. Without getting too = technical I say that I have a 3A PSU the runs fine at least for me = however quality of PSUs is a different story. It's a RockPro64 paired = with a dual port PCIe NIC however I would recommend higher rated one if = you plan to attach non external powered USB devices. >>>>=20 >>>> We only support mainline u-boot, if you're using forks and/or = patched versions you're kinda "on your own" and there's no (to my = knowledge) support (yet) upstream for booting off NVME or SATA/AHCI. >>>=20 >>> Well, at least u-boot2021.01 has all the needed support to boot a = rockpro64 or pinebookpro from nvme/sata/usb/sd/mmc/net. >>> If you put u-boot into the SPI-flash it will boot from any of the = above media. >>>=20 >>> -- >>> S=C3=B8ren Schmidt >>> sos@deepcore.dk / sos@freebsd.org >>> "So much code to hack, so little time=E2=80=9C >>>=20 >>=20 >> yes, I used 2021.04-rcXX( master, self-compiled)=E2=80=A6 the strange = thing on Rock960-board was that it needed some reboots >> until nvme was scanned correctly in u-boot-prompt. >> Thean it boots FreeBSD straight up and then hangs on mountroot> ( = because there=E2=80=99s no /dev/nda0 or /dev/nvmeXX). >> I presume an electrical issue since it was once(only once) detected = by adding nvme_load=3D=E2=80=9EYES=E2=80=9C& nvd_load=3D=E2=80=9EYES=E2=80= =9C in rc.conf. >> The u-boot patch related to nvme on that board also was based on a = voltage-change . >> =E2=80=A6 I`ll post some debug-output the next hours=E2=80=A6 (`guess = pcie has mem alloc issue from dmesg)=E2=80=A6 >>=20 >> Anyone successfully booting from nvme on any aarch64-board ?? >=20 > As reported on the list earlier, I plugged a Optane 480 GiByte > into a MACCHIATObin Double Shot's PCIe in a system that's microsd > card had the EDK2-variant build from: >=20 > = https://unrelentingtech.s3.dualstack.eu-west-1.amazonaws.com/flash-image-2= 020-07-01-mainline-tfa.bin >=20 > and the system just worked (/dev/nda0). I updated the FreeBSD in > this configuration and that booted too. >=20 > (The Optane was originally initialized while in a amd64 system > and so was boot-ready when first plugged into an aarch64.) >=20 > This is not the MACCHIATObin's normal configuration and things > were put back to normal after the experiment. >=20 > The MACCHIATObin Double Shot has 4 Cortex-A72 cores. >=20 MacchiatoBin has fully opensource firmware, with the mainline edk2/TF-A one can boot FreeBSD with DT or ACPI. The referenced image from Greg should also be fine. The only significant interface missing is the built-in PP2 NIC. EspressoBin (and Armada 3720 in general) is very well supported - apart from PCIE, everything should work. Best regards, Marcin =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)