FreeBSD-13.0-CURRENT-arm64-aarch64-ROCKPRO64-20201210-7578a4862f0 broken ?
Søren Schmidt
soren.schmidt at gmail.com
Sat Dec 12 16:52:52 UTC 2020
Hi gang
Just tried the latest rockpro64 image, it it fails utterly (see below).
From a few experiments it seems that boot is more or less broken or very unstable since after uboot-2019.10 on this board.
SD etc OK, same HW boots net/openBSD just fine…
Any ideas ?
U-Boot TPL 2020.10 (Dec 10 2020 - 10:13:59)
Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=16/15 CS=1 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=16/15 CS=1 Die BW=16 Size=2048MB
256B stride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate: change freq to 800000000 mhz 1, 0
Trying to boot from BOOTROM
Returning to boot ROM...
U-Boot SPL 2020.10 (Dec 10 2020 - 10:13:59 +0000)
Trying to boot from MMC1
U-Boot 2020.10 (Dec 10 2020 - 10:13:59 +0000)
SoC: Rockchip rk3399
Reset cause: POR
Model: Pine64 RockPro64 v2.1
DRAM: 3.9 GiB
PMIC: RK808
MMC: mmc at fe310000: 2, mmc at fe320000: 1, sdhci at fe330000: 0
Loading Environment from SPIFlash... SF: Detected gd25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Model: Pine64 RockPro64 v2.1
Net: eth0: ethernet at fe300000
starting USB...
Bus usb at fe380000: USB EHCI 1.00
Bus usb at fe3a0000: USB OHCI 1.0
Bus usb at fe3c0000: USB EHCI 1.00
Bus usb at fe3e0000: USB OHCI 1.0
Bus dwc3: usb maximum-speed not found
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb at fe380000 for devices... 1 USB Device(s) found
scanning bus usb at fe3a0000 for devices... 1 USB Device(s) found
scanning bus usb at fe3c0000 for devices... 1 USB Device(s) found
scanning bus usb at fe3e0000 for devices... 1 USB Device(s) found
scanning bus dwc3 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
Card did not respond to voltage select!
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
76003 bytes read in 10 ms (7.2 MiB/s)
Found EFI removable media binary efi/boot/bootaa64.efi
Card did not respond to voltage select!
Scanning disk mmc at fe310000.blk...
Disk mmc at fe310000.blk not ready
Scanning disk mmc at fe320000.blk...
** Unrecognized filesystem type **
Card did not respond to voltage select!
Scanning disk sdhci at fe330000.blk...
Disk sdhci at fe330000.blk not ready
Found 3 disks
** Unable to read file ubootefi.var **
Failed to load EFI variables
BootOrder not defined
EFI boot manager: Cannot load any image
1182828 bytes read in 56 ms (20.1 MiB/s)
Booting /efi\boot\bootaa64.efi
Consoles: EFI console
Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk0p1:
FreeBSD/arm64 EFI loader, Revision 1.1
(Thu Dec 10 12:56:00 UTC 2020 root at releng1.nyi.freebsd.org)
Command line arguments: loader.efi
Image base: 0xf0dec000
EFI version: 2.80
EFI Firmware: Das U-Boot (rev 8224.4096)
Console: comconsole (0)
Load Path: /efi\boot\bootaa64.efi
Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(1,GPT,38120edf-3aef-11eb-bf4c-002590ec5bf2,0x8000,0x19000)
Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(1,GPT,38120edf-3aef-11eb-bf4c-002590ec5bf2,0x8000,0x19000)
Setting currdev to disk0p1:
Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(2,GPT,38120edf-3aef-11eb-bf4c-002590ec5bf2,0x21000,0x5def80)
Setting currdev to disk0p2:
Loading /boot/defaults/loader.conf
Loading /boot/defaults/loader.conf
Loading /boot/device.hints
Loading /boot/loader.conf
Loading /boot/loader.conf.local
|
Loading kernel...
/boot/kernel/kernel text=0x2a8 text=0x88211c text=0x1f2174 data=0x19cd48 data=0x0+0x5446f6 syms=[0x8+0x117780+0x8+0x13c5ab]
Loading configured modules...
/boot/kernel/umodem.ko text=0x2120 text=0x1390 data=0x6e0+0x10 syms=[0x8+0xf48+0x8+0xb6e]
loading required module 'ucom'
/boot/kernel/ucom.ko text=0x21a0 text=0x2e20 data=0x880+0x858 syms=[0x8+0x11a0+0x8+0xb2c]
can't find '/etc/hostid'
can't find '/boot/entropy'
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
Using DTB provided by EFI at 0x80ea000.
---<<BOOT>>---
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2020 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 #0 7578a4862f0-c255032(main): Thu Dec 10 13:22:45 UTC 2020
root at releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
FreeBSD clang version 11.0.0 (git at github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673)
WARNING: WITNESS option enabled, expect reduced performance.
VT: init without driver.
module firmware already present!
real memory = 4158357504 (3965 MB)
avail memory = 4028813312 (3842 MB)
Starting CPU 1 (1)
Starting CPU 2 (2)
Starting CPU 3 (3)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled.
random: entropy device external interface
MAP f0f13000 mode 2 pages 1
MAP f0f17000 mode 2 pages 3
MAP f0f1b000 mode 2 pages 4
MAP f3f40000 mode 2 pages 16
WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 13.0.
kbd0 at kbdmux0
WARNING: Device "openfirm" is Giant locked and may be deleted before FreeBSD 13.0.
ofwbus0: <Open Firmware Device Tree>
clk_fixed0: <Fixed clock> on ofwbus0
simplebus0: <Flattened device tree simple bus> on ofwbus0
rk_grf0: <RockChip General Register Files> mem 0xff320000-0xff320fff on ofwbus0
rk3399_pmucru0: <Rockchip RK3399 PMU Clock and Reset Unit> mem 0xff750000-0xff750fff on ofwbus0
rk3399_cru0: <Rockchip RK3399 Clock and Reset Unit> mem 0xff760000-0xff760fff on ofwbus0
Memory modified after free 0xffffa00000d92920(24) val=deadc0df @ 0xffffa00000d92924
panic: Most recently used by none
cpuid = 0
time = 1
KDB: stack backtrace:
db_trace_self() at db_trace_self_wrapper+0x30
pc = 0xffff0000007f4234 lr = 0xffff0000001cbfc8
sp = 0xffff0000000cb310 fp = 0xffff0000000cb510
db_trace_self_wrapper() at vpanic+0x194
pc = 0xffff0000001cbfc8 lr = 0xffff00000050088c
sp = 0xffff0000000cb520 fp = 0xffff0000000cb580
vpanic() at panic+0x44
pc = 0xffff00000050088c lr = 0xffff000000500634
sp = 0xffff0000000cb590 fp = 0xffff0000000cb640
panic() at mtrash_ctor+0x90
pc = 0xffff000000500634 lr = 0xffff000000780f54
sp = 0xffff0000000cb650 fp = 0xffff0000000cb650
mtrash_ctor() at item_ctor+0x2c8
pc = 0xffff000000780f54 lr = 0xffff000000779c6c
sp = 0xffff0000000cb660 fp = 0xffff0000000cb670
item_ctor() at malloc+0xa0
pc = 0xffff000000779c6c lr = 0xffff0000004d534c
sp = 0xffff0000000cb680 fp = 0xffff0000000cb6c0
malloc() at strdup+0x2c
pc = 0xffff0000004d534c lr = 0xffff0000005f8c80
sp = 0xffff0000000cb6d0 fp = 0xffff0000000cb700
strdup() at sysctl_add_oid+0x118
pc = 0xffff0000005f8c80 lr = 0xffff00000050eee4
sp = 0xffff0000000cb710 fp = 0xffff0000000cb740
sysctl_add_oid() at device_attach+0x1b8
pc = 0xffff00000050eee4 lr = 0xffff000000538c84
sp = 0xffff0000000cb750 fp = 0xffff0000000cb7c0
device_attach() at device_probe_and_attach+0x7c
pc = 0xffff000000538c84 lr = 0xffff000000538a34
sp = 0xffff0000000cb7d0 fp = 0xffff0000000cb820
device_probe_and_attach() at bus_generic_attach+0x18
pc = 0xffff000000538a34 lr = 0xffff00000053a21c
sp = 0xffff0000000cb830 fp = 0xffff0000000cb850
bus_generic_attach() at ofwbus_attach+0x10c
pc = 0xffff00000053a21c lr = 0xffff0000002d440c
sp = 0xffff0000000cb860 fp = 0xffff0000000cb8a0
ofwbus_attach() at device_attach+0x400
pc = 0xffff0000002d440c lr = 0xffff000000538ecc
sp = 0xffff0000000cb8b0 fp = 0xffff0000000cb8f0
device_attach() at device_probe_and_attach+0x7c
pc = 0xffff000000538ecc lr = 0xffff000000538a34
sp = 0xffff0000000cb900 fp = 0xffff0000000cb950
device_probe_and_attach() at bus_generic_new_pass+0xf8
pc = 0xffff000000538a34 lr = 0xffff00000053ac1c
sp = 0xffff0000000cb960 fp = 0xffff0000000cb980
bus_generic_new_pass() at bus_generic_new_pass+0xa8
pc = 0xffff00000053ac1c lr = 0xffff00000053abcc
sp = 0xffff0000000cb990 fp = 0xffff0000000cb9c0
bus_generic_new_pass() at bus_set_pass+0x4c
pc = 0xffff00000053abcc lr = 0xffff000000535fac
sp = 0xffff0000000cb9d0 fp = 0xffff0000000cba00
bus_set_pass() at mi_startup+0x12c
pc = 0xffff000000535fac lr = 0xffff00000048d92c
sp = 0xffff0000000cba10 fp = 0xffff0000000cba50
mi_startup() at virtdone+0x64
pc = 0xffff00000048d92c lr = 0xffff0000000010d8
sp = 0xffff0000000cba60 fp = 0x0000000000000000
KDB: enter: panic
[ thread pid 0 tid 100000 ]
Stopped at 0
db>
--
Søren Schmidt
sos at deepcore.dk <mailto:sos at deepcore.dk> / sos at freebsd.org <mailto:sos at freebsd.org>
"So much code to hack, so little time"
More information about the freebsd-arm
mailing list