From owner-freebsd-arm@freebsd.org Wed Nov 13 20:54:29 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 BA7601BB9E6 for ; Wed, 13 Nov 2019 20:54:29 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47CxgT0YZ6z3Hc0 for ; Wed, 13 Nov 2019 20:54:28 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id xADKtFab045650 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 13 Nov 2019 21:55:16 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1573678516; bh=rFOPx99KBUV8aAQscqHxu32uTqS+kUyIfLshb0qTD/Q=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=Og9TXiU78AfJgAkD999HQAnTPgLWDxze3Im3QGkF83yIGiG+++DuP1MT98UHJk3QL 1+NXgGIqi6Bv2LKz4m2jCGNNAgWSiYMSjeFygp7uGH3isReZvaLBjTciZJfJg26JaY ps4DwE03k/Nmmfcgsll33FVu/uzuEMzwfdupJtC8= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id xADKsNcu014791 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Nov 2019 21:54:23 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id xADKsNME070586; Wed, 13 Nov 2019 21:54:23 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id xADKsN5G070585; Wed, 13 Nov 2019 21:54:23 +0100 (CET) (envelope-from ticso) Date: Wed, 13 Nov 2019 21:54:23 +0100 From: Bernd Walter To: Klaus =?iso-8859-1?Q?K=FCchemann?= Cc: freebsd-arm@freebsd.org Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 Message-ID: <20191113205422.GW43404@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113164800.GS43404@cicely7.cicely.de> <20191113183722.GD4552@funkthat.com> <1573674941654-0.post@n6.nabble.com> <20191113205935.fcb4383214e3a2f02ddde5bb@bidouilliste.com> <1573677464044-0.post@n6.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1573677464044-0.post@n6.nabble.com> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 47CxgT0YZ6z3Hc0 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=Og9TXiU7; dmarc=none; spf=none (mx1.freebsd.org: domain of ticso@cicely7.cicely.de has no SPF policy when checking 195.149.99.3) smtp.mailfrom=ticso@cicely7.cicely.de X-Spamd-Result: default: False [-1.80 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[googlemail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] 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: Wed, 13 Nov 2019 20:54:29 -0000 On Wed, Nov 13, 2019 at 01:37:44PM -0700, Klaus Küchemann via freebsd-arm wrote: > Emmanuel Vadot-7 wrote > > Hi Klaus, > > > > On Wed, 13 Nov 2019 12:55:41 -0700 (MST) > > Klaus Küchemann via freebsd-arm < > > > freebsd-arm@ > > > > wrote: > > > >> well, after installing > >> https://www.freshports.org/sysutils/u-boot-rockpro64/ > >> just for testing > >> I see u-boot.itb is missing(which is really needed). there are > >> boot.img/trust.img/README& idbloader.img . > >> as said, I have no problems booting the RockPro64 but I use a hacked > >> version > >> of 2019.10 - > >> sysutils/u-boot-rockpro64 should be updated if there's really no > >> u-boot.itb > >> available . > >> Also a 2019.10 - version with 115200 should help most users with cheap > >> USB-dongles if they don't have another SBC available to connect UART . > > > > First of all, could you quote on your answer, it's really hard to > > follow a discussion if you don't. > > > > And there is u-boot.itb : > > > > manu@skull> sudo pkg install > > u-boot-rockpro64 Updating FreeBSD repository catalogue... > > FreeBSD repository is up to date. > > All repositories are up to date. > > The following 1 package(s) will be affected (of 0 checked): > > > > New packages to be INSTALLED: > > u-boot-rockpro64: 2019.10 [FreeBSD] > > > > Number of packages to be installed: 1 > > > > The process will require 1 MiB more space. > > 303 KiB to be downloaded. > > > > Proceed with this action? [y/N]: y > > [1/1] Fetching u-boot-rockpro64-2019.10.txz: 100% 303 KiB 310.4kB/s > > 00:01 Checking integrity... done (0 conflicting) > > [1/1] Installing u-boot-rockpro64-2019.10... > > [1/1] Extracting u-boot-rockpro64-2019.10: 100% > > manu@skull> ls > > -l /usr/local/share/u-boot/u-boot-rockpro64/ total 3 > > -rw-r--r-- 1 root wheel 473933 Nov 9 19:37 idbloader.img > > -rw-r--r-- 1 root wheel 368 Nov 9 19:37 README > > -rw-r--r-- 1 root wheel 824140 Nov 9 19:37 u-boot.itb > > > > How did you test the port ? > > > Hi Emmanuel, > > yes, I see now u-boot.itb available if installing on aarch64(RockPro64 > itself). > root@generic:~ # uname -a > root@generic:~ # uname -a > FreeBSD generic 13.0-CURRENT FreeBSD 13.0-CURRENT #0 > f4c44436d92-c263877(master)..04:30:47 UTC 2019 > root@generic:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC-4 > > root@generic:~ # ls /usr/local/share/u-boot/u-boot-rockpro64 > README idbloader.img u-boot.itb > - > > installed on AMD64(maybe compiled from ports, don't remember) I saw this : > -- > root@freebsd:~ # uname -a > FreeBSD freebsd 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64 > root@freebsd:~ # ls /usr/local/share/u-boot/u-boot-rockpro64 > README idbloader.img trust.img uboot.img I just installed the package: [72]cicely7# pkg info | grep rock u-boot-rockpro64-2019.10 Cross-build das u-boot for model rockpro64 [73]cicely7# uname -a FreeBSD cicely7.cicely.de 12.0-STABLE FreeBSD 12.0-STABLE r343219 GENERIC amd64 [74]cicely7# ls /usr/local/share/u-boot/u-boot-rockpro64 README idbloader.img u-boot.itb > -- > well, booting the now created uSD created with files from sysutils I see > garbled output on 115200( as Walter said) : > > -- > Press CTRL-A Z for help on special keys > ???c???NOTICE: BL31: v2.1(release): > NOTICE: BL31: Built : 01:47:33, Oct 24 2019 > i?Q????e???(?8????????.????h?????????0U8?????h?? q????*????? (? > ???????9-??+???????????? > -- > which seems to mean that it's set to 1500000 what most of cheap USB-UARTs > can't handle. Since I also see garbled output with two different CH340G adapters at 1.5Mbps, as well as a PL2303, I assume there is something fishy. I will see what happens with the anlyzer. > Should be better to provide a 2019.10-version which can handle 115200.. I agree, since many adapters arn't capable of doing 1.5Mbps. Not to mention the byte losses. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.