From nobody Fri May 27 11:08:57 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B1A581B58E1B for ; Fri, 27 May 2022 11:09:17 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [IPv6:2a02:21e0:16e0:fe::101:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L8hrr5ZYKz4hcC for ; Fri, 27 May 2022 11:09:16 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de (mail.cicely.de [IPv6:2a02:21e0:16e0:20fe:0:0:101:c]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id 24RB9284052715 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=FAIL); Fri, 27 May 2022 13:09:05 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1653649745; bh=3gYtIfpmGjYpSffX2/tfZNK6qRw9kns0WXecdACeekc=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=ZwO5eGKJ3ab3JwZw5S0m+h2XLZEiFKSV+MOKoRW9DECjlaDxrJKMWqSRlyEKfSeUI 4PiIUBNGJo4YcBnf6ztvIv60P8dxfC0zImjTfKDx/VQG14m96d4/mOeTWYeqqpb7bi fA3G63ePTsIez5pqsM0cT1wI+73mEaJ/dgWv8bPw= Received: from cicely7.cicely.de (c7-old.cicely.de [IPv6:2a02:21e0:16e0:20fe:0:0:101:d]) by mail.cicely.de (8.16.1/8.16.1) with ESMTPS id 24RB8wbR012968 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 27 May 2022 13:08:58 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.16.1/8.16.1) with ESMTP id 24RB8w6h016424; Fri, 27 May 2022 13:08:58 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.16.1/8.16.1/Submit) id 24RB8vII016422; Fri, 27 May 2022 13:08:57 +0200 (CEST) (envelope-from ticso) Date: Fri, 27 May 2022 13:08:57 +0200 From: Bernd Walter To: Emmanuel Vadot Cc: ticso@cicely.de, Bernd Walter , freebsd-arm@freebsd.org Subject: Re: Only 400kHz on eMMC with Allwinner Pinebook on 13.1-RELEASE Message-ID: Reply-To: ticso@cicely.de References: <20220525161448.1010d6ddb78448676ca7cd34@bidouilliste.com> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220525161448.1010d6ddb78448676ca7cd34@bidouilliste.com> X-Operating-System: FreeBSD cicely7.cicely.de 13.0-RELEASE-p8 amd64 X-Spam-Status: No, score=-1.5 required=4.5 tests=BAYES_00=-1.9,KHOP_HELO_FCRDNS=0.398,SPF_HELO_NONE=0.001,SPF_NONE=0.001 autolearn=no autolearn_force=no version=3.4.5 X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on spamd.cicely.de X-Rspamd-Queue-Id: 4L8hrr5ZYKz4hcC X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=ZwO5eGKJ; dmarc=none; spf=none (mx1.freebsd.org: domain of ticso@cicely7.cicely.de has no SPF policy when checking 2a02:21e0:16e0:fe::101:1) smtp.mailfrom=ticso@cicely7.cicely.de X-Spamd-Result: default: False [-2.26 / 15.00]; HAS_REPLYTO(0.00)[ticso@cicely.de]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; FREEFALL_USER(0.00)[ticso]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; DMARC_NA(0.00)[cicely.de]; NEURAL_SPAM_SHORT(0.04)[0.044]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-arm]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:44700, ipnet:2a02:21e0::/32, country:DE]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Wed, May 25, 2022 at 04:14:48PM +0200, Emmanuel Vadot wrote: > On Wed, 18 May 2022 20:39:30 +0200 > Bernd Walter wrote: > > > I did a binary update from 13.0 with freebsd-update > > I did no U-Boot update however. > > Installing and booting kernel seemed to work, but it came up rather slow. > > And installing the userland took 6h. > > I have an internal eMMC and an additional uSD card. > > The uSD card worked fine and probes at 50MHz. > > The eMMC however is probed with 400kHz only and the pmc fails to attach. > > Are you sure that you didn't updated u-boot ? I don't know when I did the last u-boot update. At least I kept it when updating from 13.0 p-something to 13.1. However, in the meantime I did an update (with the arm64 package content) and now the screen stays black. Not sure when I will find time to investigate. At least I'm happy that I didn't update one of my Pine64 first. > Because the PMIC error looks like it's still in i2c mode and not in > RSB mode. > This was fixed in > https://cgit.freebsd.org/src/commit/sys/arm/allwinner/aw_rsb.c?id=12faeba9953ac7fa5198b258dcd80f89b3b4b947 > but it seems that I forgot to MFC it so 13.1 doesn't have it. > > The eMMC problem is likely due to the PMIC problem (we can't switch > the car to an higher speed as we can't change the voltage). > > I'm travelling right now so can't test if applying this commit will > solve everything. > > Cheers, > -- > Emmanuel Vadot > -- B.Walter https://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.