From owner-freebsd-arm@freebsd.org Sun Jul 14 02:15:35 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E319B15D3FCB for ; Sun, 14 Jul 2019 02:15:34 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from mail.myserver.ws (mail.myserver.ws [144.217.111.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.myserver.ws", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B98AA81B3F; Sun, 14 Jul 2019 02:15:33 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from dendrobates (c-73-153-76-61.hsd1.co.comcast.net [73.153.76.61]) (Authenticated sender: sm@ara-ler.com) by mail.myserver.ws (Postfix) with ESMTPSA id 4ADC6A2241; Sun, 14 Jul 2019 02:15:27 +0000 (UTC) Date: Sat, 13 Jul 2019 20:15:22 -0600 From: Sergey Manucharian To: Denis Polygalov Cc: Ian Lepore , freebsd-arm@freebsd.org Subject: Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black Message-ID: <20190714021522.GL1503@dendrobates> References: <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates> <6b3dcec02b425a8559605b4e6c5ada19ee642728.camel@freebsd.org> <20190713194256.GK1503@dendrobates> <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <85e35455-793a-84fe-c8cf-39b89ade7c11@gmail.com> User-Agent: Mutt/1.11.4 (2019-03-13) X-Rspamd-Queue-Id: B98AA81B3F X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sm@ara-ler.com designates 144.217.111.45 as permitted sender) smtp.mailfrom=sm@ara-ler.com X-Spamd-Result: default: False [-0.46 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-0.49)[-0.485,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+a:mail.myserver.ws]; NEURAL_HAM_LONG(-0.86)[-0.855,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ara-ler.com]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.64)[0.640,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mail.myserver.ws]; IP_SCORE(0.06)[ipnet: 144.217.0.0/16(-0.88), asn: 16276(1.17), country: FR(-0.01)]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[61.76.153.73.zen.spamhaus.org : 127.0.0.10]; R_DKIM_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:16276, ipnet:144.217.0.0/16, country:FR]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[] 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: Sun, 14 Jul 2019 02:15:35 -0000 Excerpts from Denis Polygalov's message from Sun 14-Jul-19 10:34: > > Yes, 12.0 works fine. > > just for clarification, - > FreeBSD-12.0-RELEASE-arm-armv7-BEAGLEBONE.img > does *not* work for me (same behavior as 11.3 and 11.2). Right now I have 2 BBBs running FreeBSD-12.0 for months, one of them has a working Newhaven 7" LCD cape (touchpanel doesn't work - there is no driver). I never needed any special tweaking to boot them. There exist a few flavors of BBBs. I testify, that, e.g., black-board industrial temperature BBBs have certain issues compared to red-board ones. Also, I discovered, that certain USB flash drives are not detected by u-boot at boot time because of wrong timing, I had to recompile u-boot to avoid such thing for my particular purpose. I know, it is not related to your case, Denis, just an example. What if you try using a different SD card? I know for sure that SanDisk cards of class 10 perfectly work with all variants of BBBs I have. The default DTB tells the kernel to set the SD card clock speed to 50MHz. It may be too high for certain types. I looked the clock's waveform on the oscilloscope, it doesn't look good, believe me. I'm involved in a commercial project with BBBs running Debian Linux, and to be on the safe side I lowered clock's speed to 25MHz. -S