From owner-freebsd-arm@freebsd.org Fri Dec 14 10:29:25 2018 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 27E3C132A0B9 for ; Fri, 14 Dec 2018 10:29:25 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5DE8397DC3 for ; Fri, 14 Dec 2018 10:29:24 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 21259ec3; Fri, 14 Dec 2018 11:29:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=0sQLy/7RIGxPdM24uIGC23afPpc=; b=Hs+10R8rSK9l0l6gUXEwCav7E4A5 kWmnUamoLqzanrX+R183qy2wUBNkQGYbs061+bHqNZlvvWEDzdhJR4Tgvdbgx4Of NtSwN/cbYunVeZr569msUi0paX4bDZDawUIaPhQsoa2w9dLAUGyY5DbczHVaINOb sS1t1+hbYIJXKlM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=k7+eN+C+deRkKcM578ZPE0G25FFXdhJ+jRw/3DwDLf05cgwpFKfRcN0I mfh8Gaa5bbXPPozW43B6luHHIKE2ScfBkIl4io6gYc16MMRbk66en1qkYWdd56kV GsEKhvaMLTlcSSVRDhzfvSzIA6x54lh2KLNFnEhl1oxyKbVDwCc= Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 507decb7 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Fri, 14 Dec 2018 11:29:23 +0100 (CET) Date: Fri, 14 Dec 2018 11:29:22 +0100 From: Emmanuel Vadot To: Mark Millard Cc: Mark Millard via freebsd-arm Subject: Re: FYI: Jump from -r340287 variant to -r341766 variant failed to boot Pine64+ 2GB Message-Id: <20181214112922.6b0bdd6da74dd99c5b0c7731@bidouilliste.com> In-Reply-To: <5B693787-4A08-43CB-8E1F-524500814705@yahoo.com> References: <01634AC0-44C3-484F-85EE-9DA13086AA03@yahoo.com> <20181211152242.3bb4469818283ef3da554630@bidouilliste.com> <5B693787-4A08-43CB-8E1F-524500814705@yahoo.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 5DE8397DC3 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=Hs+10R8r; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [0.87 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_SPAM_MEDIUM(0.15)[0.151,0]; NEURAL_SPAM_SHORT(0.49)[0.495,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[cached: mx-backup.blih.net]; FREEMAIL_TO(0.00)[yahoo.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.13)[ipnet: 212.83.160.0/19(0.84), asn: 12876(-0.14), country: FR(-0.02)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Fri, 14 Dec 2018 10:29:25 -0000 On Tue, 11 Dec 2018 11:46:44 -0800 Mark Millard wrote: > > > On 2018-Dec-11, at 06:22, Emmanuel Vadot wrote: > > > On Tue, 11 Dec 2018 02:36:30 -0800 > > Mark Millard via freebsd-arm wrote: > > > >> FYI: The following does at this time still involve my historical > >> changes to allow: > >> > >> mc0: Card at relative address 0x0002 added: > >> mmc0: card: MMCHC DJNB4R 0.7 SN 9F43B2D6 MFG 06/2016 by 21 0x0000 > >> mmc0: quirks: 0 > >> mmc0: bus: 4bit, 52MHz (dual data rate timing) > >> mmc0: memory: 244277248 blocks, erase sector 1024 blocks > >> > >> as boot media on the Pine64+ 2GB. (This is via a microsd card > >> adapter.) So this is a report for a variant build instead > >> of an official ci.freebsd.org or other such official-source > >> build. I have not yet tried normal boot media. I'm not sure > >> when I'll get that done. > >> > >> > >> Showing the tail of boot -v before showing everything after > >> Loading Kernel... > >> > >> Release APs...done > >> Trying to mount root from ufs:/dev/label/PINE64P2Groot [rw,noatime]... > >> CPU 0: ARM Cortex-A53 r0p4 affinity: 0 > >> Instruction Set Attributes 0 = > >> Instruction Set Attributes 1 = <> > >> Processor Features 0 = > >> rtc0: Processor Features 1 = <0> > >> providing initial system time > >> Memory Model Features 0 = <4k Granule,64k Granule,MixedEndian,S/NS Mem,16bit ASID,1TB PA> > >> start_init: trying /sbin/init > >> Memory Model Features 1 = <> > >> Memory Model Features 2 = <32b CCIDX,48b VA> > >> Debug Features 0 = <2 CTX Breakpoints,4 Watchpoints,6 Breakpoints,PMUv3,Debug v8> > >> Debug Features 1 = <0> > >> Auxiliary Features 0 = <0> > >> Auxiliary Features 1 = <0> > >> CPU 1: ARM Cortex-A53 r0p4 affinity: 1 > >> CPU 2: ARM Cortex-A53 r0p4 affinity: 2 > >> CPU 3: ARM Cortex-A53 r0p4 affinity: 3 > >> regulator: shutting down dcdc3 > >> axp8xx_pmu0: Disable dcdc3 (dcdc3) > >> regulator: shutting down dcdc4 > >> axp8xx_pmu0: Disable dcdc4 (dcdc4) > >> regulator: shutting down vcc-hdmi > >> axp8xx_pmu0: Disable vcc-hdmi (dldo1) > >> regulator: shutting down vcc-mipi > >> axp8xx_pmu0: Disable vcc-mipi (dldo2) > >> regulator: shutting down dldo3 > >> axp8xx_pmu0: Disable dldo3 (dldo3) > >> regulator: shutting down vcc-wifi > >> axp8xx_pmu0: Disable vcc-wifi (dldo4) > >> regulator: shutting down aldo1 > >> axp8xx_pmu0: Disable aldo1 (aldo1) > >> regulator: shutting down cpvdd > >> axp8xx_pmu0: Disable cpvdd (eldo1) > >> regulator: shutting down eldo2 > >> axp8xx_pmu0: Disable eldo2 (eldo2) > >> regulator: shutting down eldo3 > >> axp8xx_pmu0: Disable eldo3 (eldo3) > >> regulator: shutting down vcc-1v2-hsic > >> axp8xx_pmu0: Disable vcc-1v2-hsic (fldo1) > >> > >> It never reports the next line (or later) > >> that my prior kernel ( -r340287 ) reported: > >> > >> regulator: shutting down vcc-phy > >> > >> The same sources built and installed for the OverDriver 1000 > >> (cortexA57 vs. cortexA53) boot the OVerDrive just fine (no > >> such odd boot-media involved). > >> > >> > >> > >> More completely the -r341766 boot -v shows: > >> > >> Loading kernel... > > . . . > >> axp8xx_pmu0: Disable eldo3 (eldo3) > >> regulator: shutting down vcc-1v2-hsic > >> axp8xx_pmu0: Disable vcc-1v2-hsic (fldo1) > >> > >> (And that is all that shows up.) > >> > >> Ignoring minor ordering differences and other minor > >> differences, -r340287 also had in its output (or > >> missing, if so noted): > >> > >> OK unload > >> OK load /boot/kerold/kernel > >> /boot/kerold/kernel text=0x8f880f data=0x17dc10+0x79ccbc syms=[0x8+0x1206d8+0x8+0x113e33] > >> > >> > >> [a 1 MB difference in one of its Exclude memory regions:] > >> > >> 0xb1000000 - 0xb267cfff, 22 MB ( 5757 pages) NoAlloc > >> > >> > >> [There were no lines like:] > >> > >> Preloaded boot_entropy_cache "/boot/entropy" at 0xffff0000014f7098. > >> Preloaded elf module "/boot/kernel/umodem.ko" at 0xffff0000014f70f0. > >> Preloaded elf module "/boot/kernel/ucom.ko" at 0xffff0000014f7908. > >> > >> [And, of course, -r340287 had the line (and what followed):] > >> > >> regulator: shutting down vcc-phy > >> > > . . . > > That's weird, I'll have a look. > > > > In the meantime you can set hw.regulator.disable_unused=0 in > > loader.conf as a hack. > > I got a chance to try that and it did allow the -r341766 based boot to complete. > Thanks. > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > Fixed in r342076. Thanks for reporting. -- Emmanuel Vadot