From owner-freebsd-arm@freebsd.org Thu Apr 18 10:00:12 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 394D0156B844 for ; Thu, 18 Apr 2019 10:00:12 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8AE5486BD7 for ; Thu, 18 Apr 2019 10:00:11 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: by mailman.ysv.freebsd.org (Postfix) id 44225156B843; Thu, 18 Apr 2019 10:00:11 +0000 (UTC) Delivered-To: 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 09B1D156B842 for ; Thu, 18 Apr 2019 10:00:11 +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 87A1586BD6 for ; Thu, 18 Apr 2019 10:00:10 +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 781c2af0; Thu, 18 Apr 2019 12:00:07 +0200 (CEST) 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=cWHfhjRWJ+v4Va0+3/YvAJusDZY=; b=cMqMU0mrcY8ZOt3XN5SSrWAkrx4K 8YfHWjhATrhKKURUjd+9tFT3J2ivLZoxx1Z2fey99idAmuOi63I/c2EVZIGFNL/k Psmas10zlUaAHvt/fEH81eJWbfheLUc7uhc2y9pi9gTSlAZkLNOrO5FeJg14qel2 xefAPZSY7d30lEA= 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=WwuXxNLpDpLn1fSHv07mrUyfAkV6ry7IQkxYDjTxXZykBE4IfElgwQ8C aQruK5i/X28JvoD7+/VyIDqDCRaP+W8kgh9docqAfoH55m0MOYrd3U9BpFATOxbL m4vouE/gL8/WEgttRz0pQIUmoAbM1imSB9xeZ2nek/F3pBqoD1o= 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 7c6ceb03 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Thu, 18 Apr 2019 12:00:07 +0200 (CEST) Date: Thu, 18 Apr 2019 12:00:06 +0200 From: Emmanuel Vadot To: Daniel Braniss Cc: "freebsd-arm@freebsd.org" Subject: Re: booting head on orange-zero panics Message-Id: <20190418120006.bda663817c9d83b690c14079@bidouilliste.com> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 87A1586BD6 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.971,0] 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: Thu, 18 Apr 2019 10:00:12 -0000 On Thu, 18 Apr 2019 12:47:44 +0300 Daniel Braniss wrote: > Hi, > the hardware is an OrangePi-zero, and > my guess is that I have issues with the dtb, but any hinst will be most w= elcome :-) >=20 > U-Boot SPL 2019.01 (Apr 18 2019 - 12:24:08 +0300) > DRAM: 256 MiB > Trying to boot from MMC1 >=20 >=20 > U-Boot 2019.01 (Apr 18 2019 - 12:24:08 +0300) Allwinner Technology >=20 > 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 envi= ronment >=20 > 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: 2 =08=08=08 1 =08=08=08 0=20 > switch to partitions #0, OK > mmc0 is current device > Scanning mmc 0:1... > Found U-Boot script /boot.scr > 199 bytes read in 1 ms (194.3 KiB/s) > ## Executing script at 43100000 > 375752 bytes read in 21 ms (17.1 MiB/s) > ## Starting application at 0x42000000 ... > Consoles: U-Boot console =20 > Compatible U-Boot API signature found @0x4bf595c8 >=20 > FreeBSD/armv7 U-Boot loader, Revision 1.2 >=20 > DRAM: 256MB > Number of U-Boot devices: 1 > U-Boot env: loaderdev not set, will probe all devices. > Found U-Boot device: disk > Probing all devices... > Checking unit=3D0 slice=3D partition=3D... good. > Booting from disk0s2a: > |=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-= =08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08= /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\= =08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08= -=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|= =08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08= Loading /boot/defaults/loader.conf > Loading /boot/device.hints > \=08|=08/=08-=08\=08Loading /boot/loader.conf > |=08/=08-=08\=08Loading /boot/loader.conf.local > |=08/=08-=08\=08|=08/=08-=08[0;37;40mLoading kernel... > \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/= =08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/boot/kernel/kernel text=3D0= x8575c4 /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/= =08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08= |=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-= =08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08data=3D0xb5d88+0= x25dc78 /=08-=08\=08|=08/=08-=08syms=3D[0x4+0xa8ff0\=08|=08/=08-=08\=08|=08= +0x4+0x10cda6/=08-=08\=08|=08/=08-=08\=08|=08] > Loading configured modules... > /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08/boot/entropy size=3D0x1000 >=20 > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel] in 9 seconds... Booting [/boot/kernel/kerne= l] in 8 seconds... Booting [/boot/kernel/kernel] in 7 seconds... Booting [/= boot/kernel/kernel]... =20 > \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/= =08-=08/boot/dtb/sun8i-h2-plus-orangepi-zero.dtb size=3D0x6779 > Loaded DTB from file 'sun8i-h2-plus-orangepi-zero.dtb'. > \=08|=08/=08-=08\=08|=08Kernel entry at 0x42400180... > Kernel args: (null) > ---<>--- > KDB: debugger backends: ddb > KDB: current backend: ddb > Copyright (c) 1992-2019 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 #1 r346147M: Thu Apr 18 09:24:18 IDT 2019 ^^^^^^^^ Try after r346272, make sure your dtb on the fat partition is up to date too. --=20 Emmanuel Vadot