From owner-freebsd-arm@freebsd.org Thu Aug 27 16:10:20 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 84D483B76A9 for ; Thu, 27 Aug 2020 16:10:20 +0000 (UTC) (envelope-from mishin@mh.net.ru) Received: from frog.mh.net.ru (mh.balakovo.san.ru [88.147.158.22]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bcnkf5gXgz3blJ for ; Thu, 27 Aug 2020 16:10:17 +0000 (UTC) (envelope-from mishin@mh.net.ru) Received: from webmail.mh.net.ru (mouse.home [192.168.5.6]) by frog.mh.net.ru (Postfix) with ESMTPSA id C1CEDA009 for ; Thu, 27 Aug 2020 20:10:07 +0400 (+04) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 27 Aug 2020 20:10:07 +0400 From: Alexander Mishin To: freebsd-arm@freebsd.org Subject: Re: Boot issue with orange pi pc In-Reply-To: <20200825201527.66c8385ca691657038e425a9@bidouilliste.com> References: <52ea831ec34ebc0dc00292ac5e1c3894@mh.net.ru> <20200825201527.66c8385ca691657038e425a9@bidouilliste.com> User-Agent: Roundcube Webmail/1.4.2 Message-ID: <322599255ad284372e6dbab8253c2634@mh.net.ru> X-Sender: mishin@mh.net.ru X-Rspamd-Queue-Id: 4Bcnkf5gXgz3blJ X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=mh.net.ru (policy=none); spf=fail (mx1.freebsd.org: domain of mishin@mh.net.ru does not designate 88.147.158.22 as permitted sender) smtp.mailfrom=mishin@mh.net.ru X-Spamd-Result: default: False [2.60 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_FAIL(1.00)[-all]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.21)[0.214]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(0.67)[0.675]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; NEURAL_SPAM_LONG(0.71)[0.710]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12389, ipnet:88.147.128.0/17, country:RU]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm]; DMARC_POLICY_SOFTFAIL(0.10)[mh.net.ru : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2020 16:10:20 -0000 Emmanuel Vadot писал 2020-08-25 22:15: > On Tue, 25 Aug 2020 21:37:21 +0400 > Alexander Mishin wrote: > >> After a last friday's update my OrangePI-PC stop booting. >> Where to look? Fdt overlay to set the clock for mmc0? >> >> Here's how it ended in the console: >> >> ---- skipped ---- >> Trying to mount root from ufs:/dev/ufs/rootfs [rw,noatime]... >> uhub4 on usbus5 >> uhub5 on usbus1 >> uhub4: on >> usbus5 >> uhub5: on >> usbus1 >> Root mount waiting for:ugen6.1: at usbus6 >> ugen7.1: at usbus7 >> uhub6 usbus0 on usbus6 >> usbus1uhub7 usbus2 on usbus7 >> usbus3uhub6: > 1> >> on usbus6 >> usbus4uhub7: > 1> >> on usbus7 >> usbus5 usbus6 usbus7 >> uhub0: 1 port with 1 removable, self powered >> uhub4: 1 port with 1 removable, self powered >> uhub5: 1 port with 1 removable, self powered >> uhub7: 1 port with 1 removable, self powered >> mmc0: on aw_mmc0 >> Cannot set frequency for clk: mmc0, error: 34 >> aw_mmc0: failed to set frequency to 50000000 Hz: 34 >> uhub2: 1 port with 1 removable, self powered >> uhub1: 1 port with 1 removable, self powered >> uhub3: 1 port with 1 removable, self powered >> uhub6: 1 port with 1 removable, self powered >> mountroot: waiting for device /dev/ufs/rootfs... >> Mounting from ufs:/dev/ufs/rootfs failed with error 19. >> >> Loader variables: >> vfs.root.mountfrom=ufs:/dev/ufs/rootfs >> vfs.root.mountfrom.options=rw,noatime >> >> Manual root filesystem specification: >> : [options] >> Mount using filesystem >> and with the specified (optional) option list. >> >> eg. ufs:/dev/da0s1a >> zfs:zroot/ROOT/default >> cd9660:/dev/cd0 ro >> (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /) >> >> ? List valid disk boot devices >> . Yield 1 second (for background tasks) >> Abort manual input >> >> mountroot> aw_mmc0: controller timeout >> aw_mmc0: timeout resetting DMA/FIFO >> aw_mmc0: timeout updating clock >> aw_mmc0: controller timeout >> aw_mmc0: timeout resetting DMA/FIFO >> aw_mmc0: timeout updating clock >> aw_mmc0: controller timeout >> aw_mmc0: timeout resetting DMA/FIFO > > What version of FreeBSD ? > What revision ? > > Could you test the GENERICSD image (you just need to add your u-boot). > > I'll try to find time this week to test myself on H3 board. > I just tried a new image from Aug 27 2020, but the result is still the same: Copyright (c) 1992-2020 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 13.0-CURRENT #0 r364846: Thu Aug 27 05:20:47 UTC 2020 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm.armv7/sys/GENERIC arm FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc2-0-g414f32a9e86) WARNING: WITNESS option enabled, expect reduced performance. ---- skipped ---- Trying to mount root from ufs:/dev/ufs/rootfs [rw]... ugen6.1: at usbus6 uhub4ugen5.1: at usbus5 on usbus3 uhub4: on usbus3 uhub5 on usbus7 uhub6 on usbus5 uhub5: on usbus7 uhub6: on usbus5 uhub7 on usbus6 uhub7: on usbus6 Root mount waiting for: usbus0 usbus1 usbus2 usbus3 usbus4 usbus5 usbus6 usbus7 uhub3: 1 port with 1 removable, self powered uhub4: 1 port with 1 removable, self powered uhub6: 1 port with 1 removable, self powered uhub5: 1 port with 1 removable, self powered mmc0: on aw_mmc0 Cannot set frequency for clk: mmc0, error: 34 aw_mmc0: failed to set frequency to 50000000 Hz: 34 uhub1: 1 port with 1 removable, self powered uhub0: 1 port with 1 removable, self powered uhub2: 1 port with 1 removable, self powered uhub7: 1 port with 1 removable, self powered mountroot: waiting for device /dev/ufs/rootfs... Mounting from ufs:/dev/ufs/rootfs failed with error 19. Loader variables: vfs.root.mountfrom=ufs:/dev/ufs/rootfs vfs.root.mountfrom.options=rw Manual root filesystem specification: : [options] Mount using filesystem and with the specified (optional) option list. eg. ufs:/dev/da0s1a zfs:zroot/ROOT/default cd9660:/dev/cd0 ro (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /) ? List valid disk boot devices . Yield 1 second (for background tasks) Abort manual input mountroot> aw_mmc0: controller timeout aw_mmc0: timeout resetting DMA/FIFO aw_mmc0: timeout updating clock random: unblocking device. aw_mmc0: controller timeout aw_mmc0: timeout resetting DMA/FIFO