From owner-freebsd-arm@freebsd.org Tue Mar 3 17:28:15 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 B78B8256539 for ; Tue, 3 Mar 2020 17:28:15 +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 48X3rF1x26z48fW for ; Tue, 3 Mar 2020 17:28:12 +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 023HTZ19022691 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 3 Mar 2020 18:29:36 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1583256577; bh=bGQxZF0YhE9/fHVmKkmG1oyKk8+yChaLcsVcB+QmzX8=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=uHKsnsI+kmPL/f84wgXZMewfCiqD4pCPgM9z/tiLL1/u5cpAUiikk9++bosNxPz1S F2SmpTgDthAPudLH5T9HTG7FBkuR3/Bzn7tHmVWIPraExf5nmiMsi9w/XKWbZRSW3j fub5P3eLwVSifxMWS0lMQs+RsKzB86oiVqbe62jI= 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 023HS4Nc009153 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 3 Mar 2020 18:28:04 +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 023HS3Iw008961; Tue, 3 Mar 2020 18:28:03 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id 023HS2Ai008960; Tue, 3 Mar 2020 18:28:02 +0100 (CET) (envelope-from ticso) Date: Tue, 3 Mar 2020 18:28:02 +0100 From: Bernd Walter To: Klaus =?iso-8859-1?Q?K=FCchemann?= Cc: Emmanuel Vadot , Bernd Walter , freebsd-arm@freebsd.org Subject: Re: RockPro64 with u-boot 2010.01 Message-ID: <20200303172801.GQ52462@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <20200302225606.GN52462@cicely7.cicely.de> <20200303141931.365fb9b9c85339190b7c405a@bidouilliste.com> <454BC07B-A0B5-467C-8682-00BE291D4CB7@googlemail.com> <20200303173349.bd9b69669633b048bbed107b@bidouilliste.com> <5F875EA0-E86A-4EF2-B4EF-0B07E166BA3D@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5F875EA0-E86A-4EF2-B4EF-0B07E166BA3D@googlemail.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: 48X3rF1x26z48fW X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=uHKsnsI+; 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.71 / 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(-0.91)[-0.912,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; 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.02)] 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: Tue, 03 Mar 2020 17:28:15 -0000 On Tue, Mar 03, 2020 at 05:58:22PM +0100, Klaus Küchemann wrote: > > > > Am 03.03.2020 um 17:33 schrieb Emmanuel Vadot : > > > > On Tue, 3 Mar 2020 17:10:16 +0100 > > Klaus Küchemann wrote: > > > >> > >> > >>> Am 03.03.2020 um 14:19 schrieb Emmanuel Vadot : > >>> > >>> > >>> Hi Bernd, > >>>> > >>> > >>> You need to update ATF (sysutils/atf-master) to the master > >>> branch. They didn't released a new version which is why I didn't update > >>> the u-boot ports to 2020.01 yet. > >>> I hope that they release a version before the next u-boot release > >>> (2020.04) otherwise I'll just update it to a snapshot that works. > >>> Or you could locally patch with > >>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244491 > >>> > >>> I told phk@ that I won't include this patch in the source tree as > >>> probably more code is required. > >> > >> > >> After testing on other BSD(no issues when mounting SD-card-reader) and talking > >> with a dev , this seems to be a FreeBSD/aarch64-only - issue which has nothing > >> directly to do with ATF. While I didin`t yet test latest ATF-master under FreeBSD. > >> But when I think of the many (cam) mount problems (e.g. vfs_mountroot) in src-head lately, I think that it has to be checked what is really going wrong(afaik it?s not ATF directly) I do not know further details about this. > >> > >> Regards > >> > >> Klaus > >> > >> P.S: Confirmation: card reader also panics here > > > > WTF are you talking about ? I'm talking about the boot issue that > > Bernd have after updating u-boot in the ports tree. > .... yeah ! :-) > I am talking about Bernd`s cam-panic described in this thread ???( or did I accidentally answer to the wrong thread) > U-boot 2020.01 works including detecting 4Gig RAM on RockPro64 with FreeBSD ., with or without ATF-updates , but there`s KP(machine panics) if cardreader is plugged??? > So this seems to be a cam-issue ( see Bernd`s console output) ???. > While I wrote that I DON`T know why it didn???t panic with Bernd`s 2019.10 .. Ok - there are two likely unrelated issues. First is that my self build u-boot 2020.01 didn't boot and your build worked fine. Then there is the USB card reader problem within FreeBSD, which I hadn't when I booted the very same system with the u-boot 2019.10, which I installed via package on my 12.1 amd64. Maybe the 2G vs 4G RAM avoided triggering the bug - who knows. I just mentioned it in the same thread since it happened to me after using the newer u-boot (and therefor the full 4G RAM). -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.