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