RockPro64 booting w/ u-boot v2019-rc3
Klaus Küchemann
maciphone2 at googlemail.com
Fri Oct 11 10:50:57 UTC 2019
Hi,
FreeBSD-13.0-CURRENT-arm64-aarch64-20191004-r353072-memstick.img
--
U-Boot TPL 2019.10 (Oct 08 2019 - 07:58:06)
Trying to boot from BOOTROM
Returning to boot ROM...
U-Boot SPL 2019.10 (Oct 08 2019 - 07:58:06 +0000)
Trying to boot from MMC1
U-Boot 2019.10 (Oct 08 2019 - 07:58:06 +0000)
Model: Pine64 RockPro64
DRAM: 2 GiB << error/it`s the 4GB-model !!!>>>>>>>
MMC: dwmmc at fe320000: 1, sdhci at fe330000: 0
Loading Environment from MMC... Card did not respond to voltage select!
*** Warning - No block device, using default environment
Consoles: EFI console
Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk0p1:
FreeBSD/arm64 EFI loader, Revision 1.1
(Fri Oct 4 02:56:02 UTC 2019 root at releng1.nyi.freebsd.org)
rockchip_dnl_key_pressed: adc_channel_single_shot fail!
Command line arguments: loader.efi
EFI version: 2.80autoboot: 0
EFI Firmware: Das U-Boot (rev 8217.4096)
Console: efi (0)s #0, OK
Load Path: /efi\boot\bootaa64.efi
Load Device:
/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(1,GP
T,ddd7d28e-e677-11e9-a9eb-002590ec5bf2,0x3,0x10418)efi
Trying ESP:
/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(1,GPT,dd
d7d28e-e677-11e9-a9eb-002590ec5bf2,0x3,0x10418)
Setting currdev to disk0p1:tage select!
Trying:
/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(2,GPT,ddd7d2
8e-e677-11e9-a9eb-002590ec5bf2,0x1041b,0x1ebe80)
Setting currdev to disk0p2:
Loading /boot/defaults/loader.conf
Loading /boot/device.hintsoad any image
Loading /boot/loader.confs (18.9 MiB/s)
Loading /boot/loader.conf.localERR_BADMAGIC
\
|_| |_| \___|\___||____/|_____/|_____/
```
`
ââââââââââââWelcome to FreeBSDâââââââââââââ? s` `.....---.......--.```
-/
â â? +o .--` /y:`
+.
â 1. Boot Multi user [Enter] â? yo`:. :o
`+-
â 2. Boot Single user â? y/ -/` -o/
â 3. Escape to loader prompt â? .-
::/sy+:.
â 4. Reboot â? / `--
/
â â? `:
:`
â? Options: â? `:
:`
â? 5. Kernel: default/kernel (1 of 1) â? /
/
â? 6. Boot Options â? .-
-.
â? â? -- -.
â? â? `:` `:`
â? â? .-- `--.
âââââââââââââââââââââââââââââââââââââââââââ? .---.....----.
Autoboot in 0 seconds, hit [Enter] to boot or any other key to stop
Loading kernel...
/boot/kernel/kernel text=0x958e8c data=0x196020+0x7785c4
syms=[0x8+0x13d3d0+0x8+
0x129037]
Loading configured modules...
can't find '/boot/entropy'
Using DTB provided by EFI at 0x80ec000.
---<<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 #0 r353072: Fri Oct 4 03:32:10 UTC 2019
root at releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC
arm4
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM
8.0.)
WARNING: WITNESS option enabled, expect reduced performance.
VT: init without driver.
module firmware already present!
Starting CPU 1 (1)
Starting CPU 2 (2)
Starting CPU 3 (3)
Starting CPU 4 (100)
Starting CPU 5 (101)
FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs
arc4random: WARNING: initial seeding bypassed the cryptographic random
device b.
random: entropy device external interface
MAP 7cf1d000 mode 2 pages 1
MAP 7cf26000 mode 2 pages 1
MAP 7ff40000 mode 2 pages 16
kbd0 at kbdmux0
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-0xff70
rk3399_cru0: <Rockchip RK3399 Clock and Reset Unit> mem
0xff760000-0xff760fff o0
rk_grf1: <RockChip General Register Files> mem 0xff770000-0xff77ffff on
ofwbus0
clk_fixed1: <Fixed clock> on ofwbus0
regfix0: <Fixed Regulator> on ofwbus0
regfix1: <Fixed Regulator> on ofwbus0
regfix2: <Fixed Regulator> on ofwbus0
regfix3: <Fixed Regulator> on ofwbus0
regfix4: <Fixed Regulator> on ofwbus0
regfix5: <Fixed Regulator> on ofwbus0
regfix6: <Fixed Regulator> on ofwbus0
regfix7: <Fixed Regulator> on ofwbus0
simple_mfd0: <Simple MFD (Multi-Functions Device)> mem 0xff310000-0xff310fff
on0
psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0
gic0: <ARM Generic Interrupt Controller v3.0> mem
0xfee00000-0xfee0ffff,0xfef000
its0: <ARM GIC Interrupt Translation Service> mem 0xfee20000-0xfee3ffff on
gic0
rk_pinctrl0: <RockChip Pinctrl controller> on ofwbus0
gpio0: <RockChip GPIO Bank controller> mem 0xff720000-0xff7200ff irq 65 on
rk_p0
gpiobus0: <OFW GPIO bus> on gpio0
gpio1: <RockChip GPIO Bank controller> mem 0xff730000-0xff7300ff irq 66 on
rk_p0
gpiobus1: <OFW GPIO bus> on gpio1
gpio2: <RockChip GPIO Bank controller> mem 0xff780000-0xff7800ff irq 67 on
rk_p0
gpiobus2: <OFW GPIO bus> on gpio2
gpio3: <RockChip GPIO Bank controller> mem 0xff788000-0xff7880ff irq 68 on
rk_p0
gpiobus3: <OFW GPIO bus> on gpio3
gpio4: <RockChip GPIO Bank controller> mem 0xff790000-0xff7900ff irq 69 on
rk_p0
gpiobus4: <OFW GPIO bus> on gpio4
rk_i2c0: <RockChip I2C> mem 0xff110000-0xff110fff irq 20 on ofwbus0
iicbus0: <OFW I2C bus> on rk_i2c0
rk_i2c1: <RockChip I2C> mem 0xff130000-0xff130fff irq 22 on ofwbus0
iicbus1: <OFW I2C bus> on rk_i2c1
rk_i2c2: <RockChip I2C> mem 0xff3c0000-0xff3c0fff irq 38 on ofwbus0
iicbus2: <OFW I2C bus> on rk_i2c2
syr8270: <Silergy SYR827 regulator> at addr 0x80 on iicbus2
rk_i2c3: <RockChip I2C> mem 0xff3d0000-0xff3d0fff irq 39 on ofwbus0
iicbus3: <OFW I2C bus> on rk_i2c3
rk805_pmu0: <RockChip RK805 PMIC> at addr 0x36 irq 70 on iicbus2
generic_timer0: <ARMv8 Generic Timer> irq 2,3,4,5 on ofwbus0
Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000
Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000
rk_usb2phy0: <Rockchip RK3399 USB2PHY> mem 0-0xff76ffff,0-0xffff on rk_grf1
rk_usb2phy1: <Rockchip RK3399 USB2PHY> mem 0-0xff76ffff,0-0xffff on rk_grf1
rk_emmcphy0: <Rockchip RK3399 eMMC PHY> mem 0-0xff76ffff,0-0xffff on rk_grf1
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
cpufreq_dt0: <Generic cpufreq driver> on cpu0
cpu1: <Open Firmware CPU> on cpulist0
cpufreq_dt1: <Generic cpufreq driver> on cpu1
cpu2: <Open Firmware CPU> on cpulist0
cpufreq_dt2: <Generic cpufreq driver> on cpu2
cpu3: <Open Firmware CPU> on cpulist0
cpufreq_dt3: <Generic cpufreq driver> on cpu3
cpu4: <Open Firmware CPU> on cpulist0
cpufreq_dt4: <Generic cpufreq driver> on cpu4
cpu5: <Open Firmware CPU> on cpulist0
cpufreq_dt5: <Generic cpufreq driver> on cpu5
dwc0: <Rockchip Gigabit Ethernet Controller> mem 0xfe300000-0xfe30ffff irq 9
on0
miibus0: <MII bus> on dwc0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 0 on miibus0
rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
1000baseT-FDX, o
rgephy1: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
1000baseT-FDX, o
dwc0: Ethernet address: 3e:e5:c3:24:6e:90
rockchip_dwmmc0: <Synopsys DesignWare Mobile Storage Host Controller
(RockChip)0
rockchip_dwmmc0: Hardware version ID is 270a
mmc0: <MMC/SD bus> on rockchip_dwmmc0
sdhci_fdt0: <Rockchip RK3399 fdt SDHCI controller> mem 0xfe330000-0xfe33ffff
ir0
rk_emmcphy0: got emmcclk clock
sdhci_fdt0-slot0: Hardware doesn't specify timeout clock frequency, setting
BRO.
sdhci_fdt0: 1 slot(s) allocated
mmc1: <MMC/SD bus> on sdhci_fdt0
ehci0: <Generic EHCI Controller> mem 0xfe380000-0xfe39ffff irq 13 on ofwbus0
ehci0: Could not set phy to host mode
panic: lock 0xffff0000413bb140 is not initialized
cpuid = 0
time = 1
KDB: stack backtrace:
db_trace_self() at db_trace_self_wrapper+0x28
pc = 0xffff00000071e7b8 lr = 0xffff000000106224
sp = 0xffff000000010530 fp = 0xffff000000010740
db_trace_self_wrapper() at vpanic+0x18c
pc = 0xffff000000106224 lr = 0xffff0000003ff2bc
sp = 0xffff000000010750 fp = 0xffff000000010800
vpanic() at panic+0x44
pc = 0xffff0000003ff2bc lr = 0xffff0000003ff06c
sp = 0xffff000000010810 fp = 0xffff000000010890
panic() at lock_destroy+0x44
pc = 0xffff0000003ff06c lr = 0xffff000000447ffc
sp = 0xffff0000000108a0 fp = 0xffff0000000108b0
lock_destroy() at usb_bus_mem_free_all+0x34
pc = 0xffff000000447ffc lr = 0xffff000000288314
sp = 0xffff0000000108c0 fp = 0xffff0000000108d0
usb_bus_mem_free_all() at generic_ehci_detach+0xb8
pc = 0xffff000000288314 lr = 0xffff00000075f418
sp = 0xffff0000000108e0 fp = 0xffff000000010900
generic_ehci_detach() at generic_ehci_fdt_detach+0x1c
pc = 0xffff00000075f418 lr = 0xffff00000075f800
sp = 0xffff000000010910 fp = 0xffff000000010950
generic_ehci_fdt_detach() at generic_ehci_fdt_attach+0x26c
pc = 0xffff00000075f800 lr = 0xffff00000075f7a0
sp = 0xffff000000010960 fp = 0xffff0000000109b0
generic_ehci_fdt_attach() at device_attach+0x3ec
pc = 0xffff00000075f7a0 lr = 0xffff000000434d2c
sp = 0xffff0000000109c0 fp = 0xffff000000010a10
device_attach() at device_probe_and_attach+0x7c
pc = 0xffff000000434d2c lr = 0xffff0000004348a8
sp = 0xffff000000010a20 fp = 0xffff000000010a40
device_probe_and_attach() at bus_generic_new_pass+0xec
pc = 0xffff0000004348a8 lr = 0xffff000000436930
sp = 0xffff000000010a50 fp = 0xffff000000010a80
bus_generic_new_pass() at bus_generic_new_pass+0xd0
pc = 0xffff000000436930 lr = 0xffff000000436914
sp = 0xffff000000010a90 fp = 0xffff000000010ac0
bus_generic_new_pass() at bus_generic_new_pass+0xd0
pc = 0xffff000000436914 lr = 0xffff000000436914
sp = 0xffff000000010ad0 fp = 0xffff000000010b00
bus_generic_new_pass() at bus_set_pass+0x8c
pc = 0xffff000000436914 lr = 0xffff000000432408
sp = 0xffff000000010b10 fp = 0xffff000000010b40
bus_set_pass() at mi_startup+0x238
pc = 0xffff000000432408 lr = 0xffff000000398ad4
sp = 0xffff000000010b50 fp = 0xffff000000010bb0
mi_startup() at virtdone+0x54
pc = 0xffff000000398ad4 lr = 0xffff000000001084
sp = 0xffff000000010bc0 fp = 0x0000000000000000
KDB: enter: panic
[ thread pid 0 tid 100000 ]
Stopped at 0
db> help
This is ddb(4), the kernel debugger; see https://man.FreeBSD.org/ddb/4 for
help.
Use "bt" for backtrace, "dump" for kernel core dump, "reset" to reboot.
Available commands:
acttrace alltrace b break
bt c call capture
continue countfreebufs d delete
dhwatch dump dwatch examine
findstack gdb halt hwatch
kill kldstat match next
p panic pci_clearerr print
ps reboot reset run
s script scripts search
set show step sysctl
t textdump thread trace
unscript until w watch
watchdog where write x
The following have subcommands; append "help" to list (e.g. "show help"):
show
db>
-----
Regards
Klaus
--
Sent from: http://freebsd.1045724.x6.nabble.com/freebsd-arm-f4199244.html
More information about the freebsd-arm
mailing list