Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Dec 2018 15:22:42 +0100
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        Mark Millard via freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: FYI: Jump from -r340287 variant to -r341766 variant failed to boot Pine64+ 2GB
Message-ID:  <20181211152242.3bb4469818283ef3da554630@bidouilliste.com>
In-Reply-To: <01634AC0-44C3-484F-85EE-9DA13086AA03@yahoo.com>
References:  <01634AC0-44C3-484F-85EE-9DA13086AA03@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 11 Dec 2018 02:36:30 -0800
Mark Millard via freebsd-arm <freebsd-arm@freebsd.org> wrote:

> FYI: The following does at this time still involve my historical
> changes to allow:
> 
> mc0: Card at relative address 0x0002 added:
> mmc0:  card: MMCHC DJNB4R 0.7 SN 9F43B2D6 MFG 06/2016 by 21 0x0000
> mmc0:  quirks: 0
> mmc0:  bus: 4bit, 52MHz (dual data rate timing)
> mmc0:  memory: 244277248 blocks, erase sector 1024 blocks
> 
> as boot media on the Pine64+ 2GB. (This is via a microsd card
> adapter.) So this is a report for a variant build instead
> of an official ci.freebsd.org or other such official-source
> build. I have not yet tried normal boot media. I'm not sure
> when I'll get that done.
> 
> 
> Showing the tail of boot -v before showing everything after 
> Loading Kernel...
> 
> Release APs...done
> Trying to mount root from ufs:/dev/label/PINE64P2Groot [rw,noatime]...
> CPU  0: ARM Cortex-A53 r0p4 affinity:  0
>  Instruction Set Attributes 0 = <AES+PMULL,SHA1,SHA2,CRC32>
>  Instruction Set Attributes 1 = <>
>          Processor Features 0 = <AdvSIMD,Float,EL3 32,EL2 32,EL1 32,EL0 32>
> rtc0:          Processor Features 1 = <0>
> providing initial system time
>       Memory Model Features 0 = <4k Granule,64k Granule,MixedEndian,S/NS Mem,16bit ASID,1TB PA>
> start_init: trying /sbin/init
>       Memory Model Features 1 = <>
>       Memory Model Features 2 = <32b CCIDX,48b VA>
>              Debug Features 0 = <2 CTX Breakpoints,4 Watchpoints,6 Breakpoints,PMUv3,Debug v8>
>              Debug Features 1 = <0>
>          Auxiliary Features 0 = <0>
>          Auxiliary Features 1 = <0>
> CPU  1: ARM Cortex-A53 r0p4 affinity:  1
> CPU  2: ARM Cortex-A53 r0p4 affinity:  2
> CPU  3: ARM Cortex-A53 r0p4 affinity:  3
> regulator: shutting down dcdc3
> axp8xx_pmu0: Disable dcdc3 (dcdc3)
> regulator: shutting down dcdc4
> axp8xx_pmu0: Disable dcdc4 (dcdc4)
> regulator: shutting down vcc-hdmi
> axp8xx_pmu0: Disable vcc-hdmi (dldo1)
> regulator: shutting down vcc-mipi
> axp8xx_pmu0: Disable vcc-mipi (dldo2)
> regulator: shutting down dldo3
> axp8xx_pmu0: Disable dldo3 (dldo3)
> regulator: shutting down vcc-wifi
> axp8xx_pmu0: Disable vcc-wifi (dldo4)
> regulator: shutting down aldo1
> axp8xx_pmu0: Disable aldo1 (aldo1)
> regulator: shutting down cpvdd
> axp8xx_pmu0: Disable cpvdd (eldo1)
> regulator: shutting down eldo2
> axp8xx_pmu0: Disable eldo2 (eldo2)
> regulator: shutting down eldo3
> axp8xx_pmu0: Disable eldo3 (eldo3)
> regulator: shutting down vcc-1v2-hsic
> axp8xx_pmu0: Disable vcc-1v2-hsic (fldo1)
> 
> It never reports the next line (or later)
> that my prior kernel ( -r340287 ) reported:
> 
> regulator: shutting down vcc-phy
> 
> The same sources built and installed for the OverDriver 1000
> (cortexA57 vs. cortexA53) boot the OVerDrive just fine (no
> such odd boot-media involved).
> 
> 
> 
> More completely the -r341766 boot -v shows:
> 
> Loading kernel...
> /boot/kernel/kernel text=0x8fcb5b data=0x181210+0x7a975c syms=[0x8+0x122d78+0x8+0x115c0d]
> Loading configured modules...
> /boot/entropy size=0x1000
> /boot/kernel/umodem.ko text=0x2168 text=0x1410 data=0x102d0+0xfd40 syms=[0x8+0xf30+0x8+0xb73]
> /boot/kernel/ucom.ko text=0x2210 text=0x3410 data=0x101b8+0x106a0 syms=[0x8+0x1170+0x8+0xb0e]
> 
> Hit [Enter] to boot immediately, or any other key for command prompt.
> Booting [/boot/kernel/kernel] in 8 seconds... 
> 
> Type '?' for a list of commands, 'help' for more detailed help.
> OK boot -v
> Using DTB provided by EFI at 0x47ff8000.
> Loading DTB overlays: 'sun50i-a64-sid,sun50i-a64-ths,sun50i-a64-timer'
> /boot/dtb/overlays/sun50i-a64-sid.dtbo size=0x1fd
> /boot/dtb/overlays/sun50i-a64-ths.dtbo size=0x3e8
> /boot/dtb/overlays/sun50i-a64-timer.dtbo size=0x175
> applying DTB overlay '/boot/dtb/overlays/sun50i-a64-sid.dtbo'
> applying DTB overlay '/boot/dtb/overlays/sun50i-a64-ths.dtbo'
> applying DTB overlay '/boot/dtb/overlays/sun50i-a64-timer.dtbo'
> EHCI failed to shut down host controller.
> EHCI failed to shut down host controller.
> ---<<BOOT>>---
> KDB: debugger backends: ddb
> KDB: current backend: ddb
>                    Type     Physical      Virtual   #Pages Attr
>      ConventionalMemory 000040000000     40000000 00007ff8 WB 
>                Reserved 000047ff8000     47ff8000 00000005 WB 
>     RuntimeServicesData 000047ffd000     47ffd000 00000003 WB RUNTIME
>                Reserved 000048000000     48000000 00000005 WB 
>     RuntimeServicesData 000048005000     48005000 00000003 WB RUNTIME
>      ConventionalMemory 000048008000     40000000 00068e72 WB 
>              LoaderData 0000b0e7a000     b0e7a000 00000001 WB 
>                Reserved 0000b0e7b000     b0e7b000 00000001 WB 
>                Reserved 0000b0e7c000     b0e7c000 00000001 WB 
>              LoaderData 0000b0e7d000     b0e7d000 00004000 WB 
>              LoaderData 0000b4e7d000     b4e7d000 00004000 WB 
>              LoaderCode 0000b8e7d000     b8e7d000 0000009c WB 
>                Reserved 0000b8f19000     b8f19000 00000001 WB 
>                Reserved 0000b8f1a000     b8f1a000 00000001 WB 
>     RuntimeServicesData 0000b8f1b000     b8f1b000 00000001 WB RUNTIME
>                Reserved 0000b8f1c000     b8f1c000 00000001 WB 
>                Reserved 0000b8f1d000     b8f1d000 00000001 WB 
>                Reserved 0000b8f1e000     b8f1e000 00000001 WB 
>                Reserved 0000b8f1f000     b8f1f000 00000001 WB 
>     RuntimeServicesData 0000b8f20000     b8f20000 00000001 WB RUNTIME
>                Reserved 0000b8f21000     b8f21000 00000001 WB 
>                Reserved 0000b8f22000     b8f22000 00000001 WB 
>              LoaderData 0000b8f23000     b8f23000 00005025 WB 
>     RuntimeServicesCode 0000bdf48000     bdf48000 00000002 WB RUNTIME
>              LoaderData 0000bdf4a000     b8f23000 000020b6 WB 
> Physical memory chunk(s):
>   0x40000000 - 0x47ff7fff,   127 MB (  32760 pages)
>   0x47ffd000 - 0x47ffffff,     0 MB (      3 pages)
>   0x48005000 - 0xb0e7afff,  1678 MB ( 429686 pages)
>   0xb0e7d000 - 0xb8f18fff,   128 MB (  32924 pages)
>   0xb8f1b000 - 0xb8f1bfff,     0 MB (      1 pages)
>   0xb8f20000 - 0xb8f20fff,     0 MB (      1 pages)
>   0xb8f23000 - 0xbdf47fff,    80 MB (  20517 pages)
>   0xbdf4a000 - 0xbfffffff,    32 MB (   8374 pages)
> Excluded memory regions:
>   0x47ff8000 - 0x48007fff,     0 MB (     16 pages) NoAlloc 
>   0xb0e7b000 - 0xb0e7cfff,     0 MB (      2 pages) NoAlloc 
>   0xb1000000 - 0xb271bfff,    23 MB (   5916 pages) NoAlloc 
>   0xb8f19000 - 0xb8f22fff,     0 MB (     10 pages) NoAlloc 
>   0xbdf48000 - 0xbdf49fff,     0 MB (      2 pages) NoAlloc 
> Found 4 CPUs in the device tree
> Copyright (c) 1992-2018 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 #2 r341766M: Sun Dec  9 12:51:00 PST 2018
>     markmi@FBSDFSSD:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/sys/GENERIC-NODBG arm64
> FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1)
> VT: init without driver.
> Preloaded elf kernel "/boot/kernel/kernel" at 0xffff0000014ee000.
> Preloaded boot_entropy_cache "/boot/entropy" at 0xffff0000014f7098.
> Preloaded elf module "/boot/kernel/umodem.ko" at 0xffff0000014f70f0.
> Preloaded elf module "/boot/kernel/ucom.ko" at 0xffff0000014f7908.
> Preloaded dtbo "/boot/dtb/overlays/sun50i-a64-sid.dtbo" at 0xffff0000014f80e0.
> Preloaded dtbo "/boot/dtb/overlays/sun50i-a64-ths.dtbo" at 0xffff0000014f8140.
> Preloaded dtbo "/boot/dtb/overlays/sun50i-a64-timer.dtbo" at 0xffff0000014f81a0.
> Starting CPU 1 (1)
> Starting CPU 2 (2)
> Starting CPU 3 (3)
> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
> random: read 3840 bytes from preloaded cache
> random: unblocking device.
> arc4random: read 32 bytes from preloaded cache
> VIMAGE (virtualized network stack) enabled
> ULE: setup cpu 0
> ULE: setup cpu 1
> ULE: setup cpu 2
> ULE: setup cpu 3
> random: entropy device external interface
> MAP 47ffd000 mode 2 pages 3
> MAP 48005000 mode 2 pages 3
> MAP b8f1b000 mode 2 pages 1
> MAP b8f20000 mode 2 pages 1
> MAP bdf48000 mode 2 pages 2
> nfslock: pseudo-device
> crypto: <crypto core>
> kbd0 at kbdmux0
> mem: <memory>
> null: <full device, null device, zero device>
> openfirm: <Open Firmware control device>
> ofwbus0: <Open Firmware Device Tree>
> clk_fixed0: <Fixed clock> on ofwbus0
> clk_fixed1: <Fixed clock> on ofwbus0
> clk_fixed2: <Fixed clock> on ofwbus0
> simplebus0: <Flattened device tree simple bus> on ofwbus0
> ccu_a64ng0: <Allwinner A64 Clock Control Unit NG> mem 0x1c20000-0x1c203ff on simplebus0
> ccu_a64ng0: Setting pll_periph0 as parent for ahb1
> ccu_a64ng0: Setting pll_periph0 as parent for ahb2
> ccu_a64ng0: Setting pll_ddr0 as parent for dram
> Clock: pll_cpux, parent: osc24M(0), freq: 816000000
> Clock: pll_audio, parent: osc24M(0), freq: 24571428
> Clock: pll_periph0_2x, parent: osc24M(0), freq: 600000000
> Clock: pll_periph1_2x, parent: osc24M(0), freq: 600000000
> Clock: pll_ddr0, parent: osc24M(0), freq: 408000000
> Clock: pll_ddr1, parent: osc24M(0), freq: 1344000000
> Clock: pll_video0, parent: osc24M(0), freq: 30303
> Clock: pll_video1, parent: osc24M(0), freq: 30303
> Clock: pll_ve, parent: osc24M(0), freq: 30303
> Clock: pll_gpu, parent: osc24M(0), freq: 30303
> Clock: pll_de, parent: osc24M(0), freq: 30303
> Clock: pll_hsic, parent: osc24M(0), freq: 1200000
> Clock: apb2, parent: osc24M(1), freq: 24000000
> Clock: nand, parent: osc24M(0), freq: 24000000
> Clock: mmc0, parent: pll_periph0_2x(1), freq: 50000000
> Clock: mmc1, parent: osc24M(0), freq: 24000000
> Clock: mmc2, parent: osc24M(0), freq: 24000000
> Clock: ts, parent: osc24M(0), freq: 24000000
> Clock: ce, parent: osc24M(0), freq: 24000000
> Clock: spi0, parent: osc24M(0), freq: 24000000
> Clock: spi1, parent: osc24M(0), freq: 24000000
> Clock: spdif, parent: pll_audio(0), freq: 24571428
> Clock: dram, parent: pll_ddr0(0), freq: 408000000
> Clock: de, parent: pll_periph0_2x(0), freq: 600000000
> Clock: deinterlace, parent: pll_periph0(0), freq: 300000000
> Clock: csi-sclk, parent: pll_periph0(0), freq: 300000000
> Clock: csi-mclk, parent: osc24M(0), freq: 24000000
> Clock: ve, parent: pll_ve(0), freq: 30303
> Clock: hdmi, parent: pll_video0(0), freq: 30303
> Clock: mbus, parent: pll_periph0_2x(1), freq: 200000000
> Clock: gpu, parent: pll_gpu(0), freq: 30303
> Clock: ahb1, parent: pll_periph0(3), freq: 300000000
> Clock: ahb2, parent: pll_periph0(1), freq: 150000000
> Clock: cpux, parent: pll_cpux(2), freq: 816000000
> Clock: i2s0mux, parent: pll_audio-8x(0), freq: 196571424
> Clock: i2s1mux, parent: pll_audio-8x(0), freq: 196571424
> Clock: i2s2mux, parent: pll_audio-8x(0), freq: 196571424
> Clock: axi, parent: cpux(0), freq: 204000000
> Clock: apb1, parent: ahb1(0), freq: 75000000
> Clock: apb, parent: cpux(0), freq: 272000000
> Clock: thsdiv, parent: osc24M(0), freq: 12000000
> Clock: osc12M, parent: osc24M(0), freq: 12000000
> Clock: pll_periph0, parent: pll_periph0_2x(0), freq: 300000000
> Clock: pll_periph1, parent: pll_periph1_2x(0), freq: 300000000
> Clock: pll_audio-2x, parent: pll_audio(0), freq: 49142856
> Clock: pll_audio-4x, parent: pll_audio(0), freq: 98285712
> Clock: pll_audio-8x, parent: pll_audio(0), freq: 196571424
> Clock: bus-mipi-dsi, parent: ahb1(0), freq: 300000000
> Clock: bus-ce, parent: ahb1(0), freq: 300000000
> Clock: bus-dma, parent: ahb1(0), freq: 300000000
> Clock: bus-mmc0, parent: ahb1(0), freq: 300000000
> Clock: bus-mmc1, parent: ahb1(0), freq: 300000000
> Clock: bus-mmc2, parent: ahb1(0), freq: 300000000
> Clock: bus-nand, parent: ahb1(0), freq: 300000000
> Clock: bus-dram, parent: ahb1(0), freq: 300000000
> Clock: bus-emac, parent: ahb2(0), freq: 150000000
> Clock: bus-ts, parent: ahb1(0), freq: 300000000
> Clock: bus-hstimer, parent: ahb1(0), freq: 300000000
> Clock: bus-spi0, parent: ahb1(0), freq: 300000000
> Clock: bus-spi1, parent: ahb1(0), freq: 300000000
> Clock: bus-otg, parent: ahb1(0), freq: 300000000
> Clock: bus-ehci0, parent: ahb1(0), freq: 300000000
> Clock: bus-ehci1, parent: ahb2(0), freq: 150000000
> Clock: bus-ohci0, parent: ahb1(0), freq: 300000000
> Clock: bus-ohci1, parent: ahb2(0), freq: 150000000
> Clock: bus-ve, parent: ahb1(0), freq: 300000000
> Clock: bus-tcon0, parent: ahb1(0), freq: 300000000
> Clock: bus-tcon1, parent: ahb1(0), freq: 300000000
> Clock: bus-deinterlace, parent: ahb1(0), freq: 300000000
> Clock: bus-csi, parent: ahb1(0), freq: 300000000
> Clock: bus-hdmi, parent: ahb1(0), freq: 300000000
> Clock: bus-de, parent: ahb1(0), freq: 300000000
> Clock: bus-gpu, parent: ahb1(0), freq: 300000000
> Clock: bus-msgbox, parent: ahb1(0), freq: 300000000
> Clock: bus-spinlock, parent: ahb1(0), freq: 300000000
> Clock: bus-codec, parent: apb1(0), freq: 75000000
> Clock: bus-spdif, parent: apb1(0), freq: 75000000
> Clock: bus-pio, parent: apb1(0), freq: 75000000
> Clock: bus-ths, parent: apb1(0), freq: 75000000
> Clock: bus-i2s0, parent: apb1(0), freq: 75000000
> Clock: bus-i2s1, parent: apb1(0), freq: 75000000
> Clock: bus-i2s2, parent: apb1(0), freq: 75000000
> Clock: bus-i2c0, parent: apb2(0), freq: 24000000
> Clock: bus-i2c1, parent: apb2(0), freq: 24000000
> Clock: bus-i2c2, parent: apb2(0), freq: 24000000
> Clock: bus-src, parent: apb2(0), freq: 24000000
> Clock: bus-uart0, parent: apb2(0), freq: 24000000
> Clock: bus-uart1, parent: apb2(0), freq: 24000000
> Clock: bus-uart2, parent: apb2(0), freq: 24000000
> Clock: bus-uart3, parent: apb2(0), freq: 24000000
> Clock: bus-uart4, parent: apb2(0), freq: 24000000
> Clock: bus-dbg, parent: ahb1(0), freq: 300000000
> Clock: ths, parent: thsdiv(0), freq: 12000000
> Clock: usb-phy0, parent: osc24M(0), freq: 24000000
> Clock: usb-phy1, parent: osc24M(0), freq: 24000000
> Clock: usb-hsic, parent: pll_hsic(0), freq: 1200000
> Clock: usb-hsic-12M, parent: osc12M(0), freq: 12000000
> Clock: usb-ohci0, parent: osc12M(0), freq: 12000000
> Clock: usb-ohci1, parent: usb-ohci0(0), freq: 12000000
> Clock: dram-ve, parent: dram(0), freq: 408000000
> Clock: dram-csi, parent: dram(0), freq: 408000000
> Clock: dram-deinterlace, parent: dram(0), freq: 408000000
> Clock: dram-ts, parent: dram(0), freq: 408000000
> Clock: csi-misc, parent: osc24M(0), freq: 24000000
> Clock: ac-dig, parent: pll_audio(0), freq: 24571428
> Clock: ac-dig-4x, parent: pll_audio-4x(0), freq: 98285712
> Clock: avs, parent: osc24M(0), freq: 24000000
> Clock: hdmi-ddc, parent: osc24M(0), freq: 24000000
> iichb0: <Allwinner Integrated I2C Bus Controller> mem 0x1c2b000-0x1c2b3ff irq 28 on simplebus0
> iicbus0: <OFW I2C bus> on iichb0
> ccu_sun8i_r0: <Allwinner SUN8I_R Clock Control Unit NG> mem 0x1f01400-0x1f014ff on simplebus0
> Clock: ar100, parent: osc32k(0), freq: 32768
> Clock: apb0, parent: ahb0(0), freq: 32768
> Clock: ahb0, parent: ar100(0), freq: 32768
> Clock: ir, parent: osc32k(0), freq: 32768
> Clock: apb0-pio, parent: apb0(0), freq: 32768
> Clock: apb0-ir, parent: apb0(0), freq: 32768
> Clock: apb0-timer, parent: apb0(0), freq: 32768
> Clock: apb0-rsb, parent: apb0(0), freq: 32768
> Clock: apb0-uart, parent: apb0(0), freq: 32768
> Clock: apb0-i2c, parent: apb0(0), freq: 32768
> Clock: apb0-twd, parent: apb0(0), freq: 32768
> psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0
> psci0: PSCI version 0.2 compatible
> aw_sid0: <Allwinner Secure ID Controller> mem 0x1c14000-0x1c143ff on simplebus0
> iichb1: <Allwinner RSB> mem 0x1f03400-0x1f037ff irq 38 on simplebus0
> iicbus1: <OFW I2C bus> on iichb1
> gic0: <ARM Generic Interrupt Controller> mem 0x1c81000-0x1c81fff,0x1c82000-0x1c83fff,0x1c84000-0x1c85fff,0x1c86000-0x1c87fff irq 33 on simplebus0
> gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 224
> gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1c20800-0x1c20bff irq 16,17,18 on simplebus0
> gpiobus0: <OFW GPIO bus> on gpio0
> Processing 1 pin-config node(s) in pinctrl-0 for mmc@1c0f000
> Processing 1 pin-config node(s) in pinctrl-0 for serial@1c28000
> Processing 1 pin-config node(s) in pinctrl-0 for i2c@1c2b000
> Processing 1 pin-config node(s) in pinctrl-0 for ethernet@1c30000
> Processing 1 pin-config node(s) in pinctrl-0 for rsb@1f03400
> Processing 1 pin-config node(s) in pinctrl-0 for mmc@1c0f000
> Processing 1 pin-config node(s) in pinctrl-0 for serial@1c28000
> Processing 1 pin-config node(s) in pinctrl-0 for i2c@1c2b000
> Processing 1 pin-config node(s) in pinctrl-0 for ethernet@1c30000
> Processing 1 pin-config node(s) in pinctrl-0 for rsb@1f03400
> aw_nmi0: <Allwinner NMI Controller> mem 0x1f00c00-0x1f00fff irq 36 on simplebus0
> gpio1: <Allwinner GPIO/Pinmux controller> mem 0x1f02c00-0x1f02fff irq 37 on simplebus0
> gpiobus1: <OFW GPIO bus> on gpio1
> Processing 1 pin-config node(s) in pinctrl-0 for mmc@1c0f000
> Processing 1 pin-config node(s) in pinctrl-0 for serial@1c28000
> Processing 1 pin-config node(s) in pinctrl-0 for i2c@1c2b000
> Processing 1 pin-config node(s) in pinctrl-0 for ethernet@1c30000
> Processing 1 pin-config node(s) in pinctrl-0 for rsb@1f03400
> Processing 1 pin-config node(s) in pinctrl-0 for mmc@1c0f000
> Processing 1 pin-config node(s) in pinctrl-0 for serial@1c28000
> Processing 1 pin-config node(s) in pinctrl-0 for i2c@1c2b000
> Processing 1 pin-config node(s) in pinctrl-0 for ethernet@1c30000
> Processing 1 pin-config node(s) in pinctrl-0 for rsb@1f03400
> axp8xx_pmu0: <X-Powers AXP803 Power Management Unit> at addr 0x746 irq 40 on iicbus1
> axp8xx_pmu0: chip ID 0x51
> gpiobus2: <OFW GPIO bus> on axp8xx_pmu0
> generic_timer0: <ARMv8 Generic Timer> irq 0,1,2,3 on ofwbus0
> Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000
> Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000
> a10_timer0: <Allwinner timer> mem 0x1c20c00-0x1c20c2b irq 4,5 on simplebus0
> Timecounter "a10_timer timer0" frequency 24000000 Hz quality 2000
> a10_timer0: clock: hz=1000 stathz = 0
> a10_timer0: event timer clock frequency 24000000
> a10_timer0: timecounter clock frequency 0
> rtc0: <Allwinner RTC> mem 0x1f00000-0x1f00053 irq 34,35 on simplebus0
> rtc0: Using external oscillator
> rtc0: registered as a time-of-day clock, resolution 1.000000s
> aw_syscon0: <Allwinner syscon> mem 0x1c00000-0x1c00fff on simplebus0
> awusbphy0: <Allwinner USB PHY> mem 0x1c19400-0x1c19413,0x1c1a800-0x1c1a803,0x1c1b800-0x1c1b803 on simplebus0
> efirtc0: cannot read EFI realtime clock, error 5
> cpulist0: <Open Firmware CPU Group> on ofwbus0
> cpu0: <Open Firmware CPU> on cpulist0
> cpu0: missing 'clock-frequency' property
> cpu1: <Open Firmware CPU> on cpulist0
> cpu1: missing 'clock-frequency' property
> cpu2: <Open Firmware CPU> on cpulist0
> cpu2: missing 'clock-frequency' property
> cpu3: <Open Firmware CPU> on cpulist0
> cpu3: missing 'clock-frequency' property
> ofwbus0: <sound_spdif> compat simple-audio-card (no driver attached)
> ofwbus0: <spdif-out> compat linux,spdif-dit (no driver attached)
> aw_thermal0: <Allwinner Thermal Sensor Controller> mem 0x1c25000-0x1c250ff irq 6 on simplebus0
> aw_thermal0: cpu: alarm 85C hyst 58C shut 106C
> aw_thermal0: gpu1: alarm 85C hyst 58C shut 106C
> aw_thermal0: gpu2: alarm 85C hyst 58C shut 106C
> simplebus0: <dma-controller@1c02000> mem 0x1c02000-0x1c02fff irq 7 compat allwinner,sun50i-a64-dma (no driver attached)
> aw_mmc0: <Allwinner Integrated MMC/SD controller> mem 0x1c0f000-0x1c0ffff irq 8 on simplebus0
> aw_mmc0: vmmc-supply regulator found
> mmc0: <MMC/SD bus> on aw_mmc0
> simplebus0: <mmc@1c10000> mem 0x1c10000-0x1c10fff irq 9 disabled compat allwinner,sun50i-a64-mmc (no driver attached)
> simplebus0: <mmc@1c11000> mem 0x1c11000-0x1c11fff irq 10 disabled compat allwinner,sun50i-a64-emmc (no driver attached)
> simplebus0: <usb@1c19000> mem 0x1c19000-0x1c193ff irq 11 compat allwinner,sun8i-a33-musb (no driver attached)
> ehci0: <Allwinner Integrated USB 2.0 controller> mem 0x1c1a000-0x1c1a0ff irq 12 on simplebus0
> usbus0: EHCI version 1.0
> usbus0 on ehci0
> ehci0: usbpf: Attached
> ohci0: <Generic OHCI Controller> mem 0x1c1a400-0x1c1a4ff irq 13 on simplebus0
> usbus1 on ohci0
> ohci0: usbpf: Attached
> ehci1: <Allwinner Integrated USB 2.0 controller> mem 0x1c1b000-0x1c1b0ff irq 14 on simplebus0
> usbus2: EHCI version 1.0
> usbus2 on ehci1
> ehci1: usbpf: Attached
> ohci1: <Generic OHCI Controller> mem 0x1c1b400-0x1c1b4ff irq 15 on simplebus0
> usbus3 on ohci1
> ohci1: usbpf: Attached
> gpioc0: <GPIO controller> on gpio0
> simplebus0: <spdif@1c21000> mem 0x1c21000-0x1c213ff irq 19 disabled compat allwinner,sun50i-a64-spdif (no driver attached)
> simplebus0: <i2s@1c22000> mem 0x1c22000-0x1c223ff irq 20 disabled compat allwinner,sun50i-a64-i2s (no driver attached)
> simplebus0: <i2s@1c22400> mem 0x1c22400-0x1c227ff irq 21 disabled compat allwinner,sun50i-a64-i2s (no driver attached)
> uart0: console (115384,n,8,1)mem 0x1c28000-0x1c283ff irq 22 on simplebus0
> uart0: fast interrupt
> uart0: PPS capture mode: DCD
> simplebus0: <serial@1c28400> mem 0x1c28400-0x1c287ff irq 23 disabled compat snps,dw-apb-uart (no driver attached)
> simplebus0: <serial@1c28800> mem 0x1c28800-0x1c28bff irq 24 disabled compat snps,dw-apb-uart (no driver attached)
> simplebus0: <serial@1c28c00> mem 0x1c28c00-0x1c28fff irq 25 disabled compat snps,dw-apb-uart (no driver attached)
> simplebus0: <serial@1c29000> mem 0x1c29000-0x1c293ff irq 26 disabled compat snps,dw-apb-uart (no driver attached)
> simplebus0: <i2c@1c2ac00> mem 0x1c2ac00-0x1c2afff irq 27 disabled compat allwinner,sun6i-a31-i2c (no driver attached)
> iic0: <I2C generic I/O> on iicbus0
> simplebus0: <i2c@1c2b400> mem 0x1c2b400-0x1c2b7ff irq 29 disabled compat allwinner,sun6i-a31-i2c (no driver attached)
> simplebus0: <spi@1c68000> mem 0x1c68000-0x1c68fff irq 30 disabled compat allwinner,sun8i-h3-spi (no driver attached)
> simplebus0: <spi@1c69000> mem 0x1c69000-0x1c69fff irq 31 disabled compat allwinner,sun8i-h3-spi (no driver attached)
> awg0: <Allwinner Gigabit Ethernet> mem 0x1c30000-0x1c3ffff irq 32 on simplebus0
> simplebus0: no default resources for rid = 1, type = 3
> awg0: PHY type: rgmii, conf mode: reg
> awg0: EMAC clock: 0x00000006
> axp8xx_pmu0: Enable vcc-phy (dc1sw)
> awg0: AHB frequency 150000000 Hz, MDC div: 0x2
> miibus0: <MII bus> on awg0
> rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 0 on miibus0
> rgephy0: OUI 0x00e04c, model 0x0011, rev. 5
> rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
> rgephy1: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
> rgephy1: OUI 0x00e04c, model 0x0011, rev. 5
> rgephy1:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
> awg0: bpf attached
> awg0: Ethernet address: 02:ba:b1:c5:93:b7
> gpioc1: <GPIO controller> on gpio1
> gpioc2: <GPIO controller> on axp8xx_pmu0
> iic1: <I2C generic I/O> on iicbus1
> aw_wdog0: <Allwinner A31 Watchdog> mem 0x1c20ca0-0x1c20cbf irq 39 on simplebus0
> cryptosoft0: <software crypto>
> crypto: assign cryptosoft0 driver id 0, flags 0x6000000
> crypto: cryptosoft0 registers alg 1 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 2 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 3 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 4 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 5 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 16 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 6 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 7 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 32 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 18 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 19 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 20 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 8 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 15 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 9 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 10 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 13 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 14 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 34 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 35 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 36 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 37 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 11 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 22 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 23 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 25 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 24 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 26 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 27 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 28 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 21 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 17 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 29 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 30 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 31 flags 0 maxoplen 0
> crypto: cryptosoft0 registers alg 38 flags 0 maxoplen 0
> Device configuration finished.
> Found SMCCC version 1.0
> procfs registered
> Timecounters tick every 1.000 msec
> lo0: bpf attached
> vlan: initialized, using hash tables with chaining
> arc4random: read 32 bytes from preloaded cache
> arc4random: read 32 bytes from preloaded cache
> arc4random: read 32 bytes from preloaded cache
> tcp_init: net.inet.tcp.tcbhashsize auto tuned to 16384
> IPsec: Initialized Security Association Processing.
> aw_mmc0: usbus0: 480Mbps High Speed USB v2.0
> usbus1: 12Mbps Full Speed USB v1.0
> usbus2: 480Mbps High Speed USB v2.0
> usbus3: 12Mbps Full Speed USB v1.0
> Powering up sd/mmc
> axp8xx_pmu0: Enable vcc-3v3 (dcdc1)
> mmc0: Probing bus
> ugen1.1: <Generic OHCI root HUB> at usbus1
> uhub0: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
> ugen2.1: <Allwinner EHCI root HUB> at usbus2
> uhub1: <Allwinner EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
> ugen3.1: <Generic OHCI root HUB> at usbus3
> uhub2: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
> ugen0.1: <Allwinner EHCI root HUB> at usbus0
> uhub3: <Allwinner EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
> aw_mmc0: error rint: 0x00000100
> AW_MMC_INT_RESP_TIMEOUT 
> aw_mmc0: error rint: 0x00000100
> AW_MMC_INT_RESP_TIMEOUT 
> aw_mmc0: error rint: 0x00000100
> AW_MMC_INT_RESP_TIMEOUT 
> aw_mmc0: error rint: 0x00000100
> AW_MMC_INT_RESP_TIMEOUT 
> aw_mmc0: error rint: 0x00000100
> AW_MMC_INT_RESP_TIMEOUT 
> aw_mmc0: error rint: 0x00000100
> AW_MMC_INT_RESP_TIMEOUT 
> aw_mmc0: error rint: 0x00000100
> AW_MMC_INT_RESP_TIMEOUT 
> aw_mmc0: error rint: 0x00000100
> AW_MMC_INT_RESP_TIMEOUT 
> mmc0: SD probe: failed
> mmc0: MMC probe: OK (OCR: 0x40ff8080)
> mmc0: Current OCR: 0x00ff8080
> mmc0: Probing cards
> mmc0: New card detected (CID 150100444a4e423452079f43b2d663ef)
> mmc0: New card detected (CSD d02701320f5903fff6dbffef8e40400d)
> aw_mmc0: error rint: 0x00008010
> AW_MMC_INT_DATA_END_BIT_ERR
> mmc0: Card at relative address 0x0002 added:
> mmc0:  card: MMCHC DJNB4R 0.7 SN 9F43B2D6 MFG 06/2016 by 21 0x0000
> mmc0:  quirks: 0
> mmc0:  bus: 4bit, 52MHz (dual data rate timing)
> mmc0:  memory: 244277248 blocks, erase sector 1024 blocks
> aw_mmc0: error rint: 0x00000100
> AW_MMC_INT_RESP_TIMEOUT 
> aw_mmc0: error rint: 0x00000100
> AW_MMC_INT_RESP_TIMEOUT 
> aw_mmc0: error rint: 0x00000100
> AW_MMC_INT_RESP_TIMEOUT 
> aw_mmc0: error rint: 0x00000100
> AW_MMC_INT_RESP_TIMEOUT 
> mmc0: setting transfer rate to 52.000MHz (dual data rate timing)
> mmcsd0: taking advantage of TRIM
> mmcsd0: cache size 65536KB
> mmcsd0: 125GB <MMCHC DJNB4R 0.7 SN 9F43B2D6 MFG 06/2016 by 21 0x0000> at mmc0 52.0MHz/4bit/32768-block
> mmcsd0boot0: 4MB partion 1 at mmcsd0
> mmcsd0boot1: 4MB partion 2 at mmcsd0
> mmcsd0rpmb: 4MB partion 3 at mmcsd0
> uhub0: 1 port with 1 removable, self powered
> GEOM: new disk mmcsd0
> GEOM: new disk mmcsd0boot0
> uhub2: 1 port with 1 removable, self powered
> GEOM: new disk mmcsd0boot1
> uhub1: 1 port with 1 removable, self powered
> uhub3: 1 port with 1 removable, self powered
> Release APs...done
> Trying to mount root from ufs:/dev/label/PINE64P2Groot [rw,noatime]...
> CPU  0: ARM Cortex-A53 r0p4 affinity:  0
>  Instruction Set Attributes 0 = <AES+PMULL,SHA1,SHA2,CRC32>
>  Instruction Set Attributes 1 = <>
>          Processor Features 0 = <AdvSIMD,Float,EL3 32,EL2 32,EL1 32,EL0 32>
> rtc0:          Processor Features 1 = <0>
> providing initial system time
>       Memory Model Features 0 = <4k Granule,64k Granule,MixedEndian,S/NS Mem,16bit ASID,1TB PA>
> start_init: trying /sbin/init
>       Memory Model Features 1 = <>
>       Memory Model Features 2 = <32b CCIDX,48b VA>
>              Debug Features 0 = <2 CTX Breakpoints,4 Watchpoints,6 Breakpoints,PMUv3,Debug v8>
>              Debug Features 1 = <0>
>          Auxiliary Features 0 = <0>
>          Auxiliary Features 1 = <0>
> CPU  1: ARM Cortex-A53 r0p4 affinity:  1
> CPU  2: ARM Cortex-A53 r0p4 affinity:  2
> CPU  3: ARM Cortex-A53 r0p4 affinity:  3
> regulator: shutting down dcdc3
> axp8xx_pmu0: Disable dcdc3 (dcdc3)
> regulator: shutting down dcdc4
> axp8xx_pmu0: Disable dcdc4 (dcdc4)
> regulator: shutting down vcc-hdmi
> axp8xx_pmu0: Disable vcc-hdmi (dldo1)
> regulator: shutting down vcc-mipi
> axp8xx_pmu0: Disable vcc-mipi (dldo2)
> regulator: shutting down dldo3
> axp8xx_pmu0: Disable dldo3 (dldo3)
> regulator: shutting down vcc-wifi
> axp8xx_pmu0: Disable vcc-wifi (dldo4)
> regulator: shutting down aldo1
> axp8xx_pmu0: Disable aldo1 (aldo1)
> regulator: shutting down cpvdd
> axp8xx_pmu0: Disable cpvdd (eldo1)
> regulator: shutting down eldo2
> axp8xx_pmu0: Disable eldo2 (eldo2)
> regulator: shutting down eldo3
> axp8xx_pmu0: Disable eldo3 (eldo3)
> regulator: shutting down vcc-1v2-hsic
> axp8xx_pmu0: Disable vcc-1v2-hsic (fldo1)
> 
> (And that is all that shows up.)
> 
> Ignoring minor ordering differences and other minor
> differences, -r340287 also had in its output (or
> missing, if so noted):
> 
> OK unload
> OK load /boot/kerold/kernel
> /boot/kerold/kernel text=0x8f880f data=0x17dc10+0x79ccbc syms=[0x8+0x1206d8+0x8+0x113e33]
> 
> 
> [a 1 MB difference in one of its Exclude memory regions:]
> 
>   0xb1000000 - 0xb267cfff,    22 MB (   5757 pages) NoAlloc 
> 
> 
> [There were no lines like:]
> 
> Preloaded boot_entropy_cache "/boot/entropy" at 0xffff0000014f7098.
> Preloaded elf module "/boot/kernel/umodem.ko" at 0xffff0000014f70f0.
> Preloaded elf module "/boot/kernel/ucom.ko" at 0xffff0000014f7908.
> 
> [And, of course, -r340287 had the line (and what followed):]
> 
> regulator: shutting down vcc-phy
> 
> 
> 
> ===
> Mark Millard
> marklmi at yahoo.com
> ( dsl-only.net went
> away in early 2018-Mar)
> 
> _______________________________________________
> 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"

 That's weird, I'll have a look.

 In the meantime you can set hw.regulator.disable_unused=0 in
loader.conf as a hack.

-- 
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?20181211152242.3bb4469818283ef3da554630>