Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2019 12:00:06 +0200
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        "freebsd-arm@freebsd.org" <arm@freebsd.org>
Subject:   Re: booting head on orange-zero panics
Message-ID:  <20190418120006.bda663817c9d83b690c14079@bidouilliste.com>
In-Reply-To: <F4A346DF-99DB-4628-B84D-F0FA4AC842B3@cs.huji.ac.il>
References:  <F4A346DF-99DB-4628-B84D-F0FA4AC842B3@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 18 Apr 2019 12:47:44 +0300
Daniel Braniss <danny@cs.huji.ac.il> 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 <unknown> devices...
>  Checking unit=3D0 slice=3D<auto> partition=3D<auto>... 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)
> ---<<BOOT>>---
> 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 <manu@bidouilliste.com> <manu@freebsd.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190418120006.bda663817c9d83b690c14079>