From owner-freebsd-arm@freebsd.org Sun Jan 27 01:29:29 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 1FCDB14B7A5C for ; Sun, 27 Jan 2019 01:29:29 +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 DA7DA77D75 for ; Sun, 27 Jan 2019 01:29:27 +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 x0R1TM7G018627 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sun, 27 Jan 2019 02:29:23 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1548552564; bh=yxCYvGVLEIusb+pOULRVcvLajytsP2CwF2hC23UJYyI=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=xPyZ9WT55mXXDg/rpLS5syJmvtFjuqe66B+cTm7otDIQ7iC0E5XLTT9Yu9R4hA7uV tP+pMRM2mP7hLRDxVN8dg2V3F799jbfzye2RXNXA2PWGhTrlK2DDcJfdqsTKCwVsmC LiggpYGfw8yUakvEJcq+xwDyElqWVJ6eaf/52ye0= 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 x0R1Se1G007721 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 27 Jan 2019 02:28:40 +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 x0R1Tt9T086453; Sun, 27 Jan 2019 02:29:55 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id x0R1TsVs086452; Sun, 27 Jan 2019 02:29:54 +0100 (CET) (envelope-from ticso) Date: Sun, 27 Jan 2019 02:29:54 +0100 From: Bernd Walter To: Warner Losh Cc: ticso@cicely.de, freebsd-arm@freebsd.org, Bernd Walter Subject: Re: 12-RELEASE loader fails on Orange Pi R1 (maybe 256MB related) Message-ID: <20190127012954.GK74542@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <20190126030330.GI74542@cicely7.cicely.de> <20190126050119.GJ74542@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190126050119.GJ74542@cicely7.cicely.de> 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: DA7DA77D75 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=xPyZ9WT5 X-Spamd-Result: default: False [-2.33 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.99)[-0.987,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; MX_GOOD(-0.01)[cached: mx1.bwct.de]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; NEURAL_HAM_SHORT(-0.58)[-0.578,0]; NEURAL_HAM_MEDIUM(-0.95)[-0.950,0]; R_SPF_NA(0.00)[]; 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.01)] 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, 27 Jan 2019 01:29:29 -0000 On Sat, Jan 26, 2019 at 06:01:20AM +0100, Bernd Walter wrote: > On Fri, Jan 25, 2019 at 09:36:44PM -0700, Warner Losh wrote: > > On Fri, Jan 25, 2019, 9:08 PM Bernd Walter > > > > > It might be because my R1 is a 256MB, while the tested zero is 512MB. > > > I can test a 256MB zero in a few days, but don't have a 256MB zero at home. > > > > > > > Maybe it is the block cache code? It hovers up a ton of memory.... it was > > fixed on i386, though, I thought... > > Ok, then I will pick up a 256MB Orange Pi zero tomorrow and test with it. Absolutely - it is related to 256MB. This is the same card, which booted on a 512MB zero, now inserted into a 256MB zero: U-Boot SPL 2018.11 (Jan 20 2019 - 22:15:19 +0100) DRAM: 256 MiB Trying to boot from MMC1 U-Boot 2018.11 (Jan 20 2019 - 22:15:19 +0100) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: Xunlong Orange Pi Zero DRAM: 256 MiB MMC: SUNXI SD/MMC: 0 Loading Environment from FAT... *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: phy interface0 eth0: ethernet@1c30000 starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... 25259 bytes read in 3 ms (8 MiB/s) Found EFI removable media binary efi/boot/bootarm.efi Scanning disks on usb... Disk usb0 not ready Disk usb1 not ready Disk usb2 not ready Disk usb3 not ready Scanning disks on mmc... MMC Device 1 not found MMC Device 2 not found MMC Device 3 not found Found 3 disks 587736 bytes read in 29 ms (19.3 MiB/s) ## Starting EFI application at 42000000 ... Consoles: EFI console failed to allocate staging area: 14 failed to allocate staging area ## Application terminated, r = 5 EFI LOAD FAILED: continuing... Device 0: device type unknown ... is now current device ethernet@1c30000 Waiting for PHY auto negotiation to complete. done BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 DHCP client bound to address 10.1.1.156 (1045 ms) ... -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.