From owner-freebsd-arm@freebsd.org Sun Mar 28 20:02:43 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 D6CBB5ACF85 for ; Sun, 28 Mar 2021 20:02:43 +0000 (UTC) (envelope-from soren.schmidt@gmail.com) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7mpW1bTmz3JmP for ; Sun, 28 Mar 2021 20:02:42 +0000 (UTC) (envelope-from soren.schmidt@gmail.com) Received: by mail-wm1-x334.google.com with SMTP id u5-20020a7bcb050000b029010e9316b9d5so5622308wmj.2 for ; Sun, 28 Mar 2021 13:02:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=xEc4gU0x7ShQBULELxF4Vt/kjgEgCunmURX2HSs1H9Q=; b=fFDOn9ZXW2tON4/SckJpbaj//IIJquzbmLUP6Eo50RNTey+Ap1+5aPbgoxhHlhoQ1H H878//sWHj+NzZB8YQKQL3GMH1rHLCV4TBnfSFQsscUVq+O8xCun0yTzbXBBF+m6hq2p Fsxnt9xQg1F4017Jf0E5oUbTll2ZicisleODHSB6oHYdeYuC727vUzZjZsSGKWv+8l5o /PLQIidl4ULuAg8mx1BcGP44m19pijb0TGxa/7DIrqm6ySn2tTgyb+BSU7pmhIgInuaP OwdHffE8sO1ehUOx8tTcVfBZ3k17JlAyQevZqPhIL52UyqTKckZcpOhy7E2UNS/71hnZ VjOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=xEc4gU0x7ShQBULELxF4Vt/kjgEgCunmURX2HSs1H9Q=; b=ESdYnw2pAqpb9JMBpC2gk/2sodS0GzDrkogUxJUY8Fz5xf3YBTAmZvUaAFNI0qSDp8 Du9zD0xazjYAmqSrH6jvat0m5jaPHP1SCDshUFzFly9e5sWxTAhqKapwQuFGnRvwTJ0K mI8OUQuuCIQ06xaDR4mtYrT6quJEg8VryzdGdCyDBzYyzRUzL2ZsNlN3Ln47MGayBHfh P2nEieqXdbtFPGbRpP2zewDR8iIPis91AWO9CVpiGzHpa7X5ODTXa9GzJqSL4lDBwPK4 ygOv4xJzMyraZLAyrLJPqqHH7N4smRoIAUWIQzvkcm7pHPs1Vnb5iq2sGErlTXh9PSx7 5xIw== X-Gm-Message-State: AOAM5336cK4mwsYn9ODxT+3DLXMGX4W54xiz/XlLA74PqnY4c4KWWeMl Wia2aDRlOnekxLKNhQXcOqxaBx6gqNc= X-Google-Smtp-Source: ABdhPJx3yOolKhqtd6v+BGT6cB7mNGlKRN3eGHqFVXzbVuBlT/xiBifo0iwoJwhONcj67IBeFI4bhg== X-Received: by 2002:a7b:c357:: with SMTP id l23mr21700501wmj.152.1616961760757; Sun, 28 Mar 2021 13:02:40 -0700 (PDT) Received: from mac.deepcore.dk ([85.27.186.9]) by smtp.gmail.com with ESMTPSA id h25sm25427471wml.32.2021.03.28.13.02.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Mar 2021 13:02:40 -0700 (PDT) From: =?utf-8?Q?S=C3=B8ren_Schmidt?= Message-Id: Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: Any good alternative to Raspberry for Arm64? Date: Sun, 28 Mar 2021 22:02:39 +0200 In-Reply-To: Cc: freebsd-arm@freebsd.org To: =?utf-8?Q?Klaus_K=C3=BCchemann?= References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> <265dbf9c33f4ce09c702c9d7fae93c9b@pyret.net> X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4F7mpW1bTmz3JmP X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=fFDOn9ZX; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of sorenschmidt@gmail.com designates 2a00:1450:4864:20::334 as permitted sender) smtp.mailfrom=sorenschmidt@gmail.com X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[googlemail.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::334:from]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::334:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::334:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 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 20:02:43 -0000 On 28 Mar 2021, at 21.48, Klaus K=C3=BCchemann = wrote: >>=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=20 > 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.=20 > 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 ?? Yes, both my rockpro64=E2=80=99s and my pinebookpro boots of NVMe just = fine, there is one caveat though, for it to work it needs to be a NVMe = device that uses as little power as possible (I use older Intel 660 IIRC = uses only 3.5W max), otherwise the HW cant cope.. S=C3=B8ren Schmidt sos@deepcore.dk / sos@freebsd.org "So much code to hack, so little time"