Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2022 20:39:30 +0200
From:      Bernd Walter <ticso@cicely7.cicely.de>
To:        freebsd-arm@freebsd.org
Cc:        Bernd Walter <ticso@cicely7.cicely.de>
Subject:   Only 400kHz on eMMC with Allwinner Pinebook on 13.1-RELEASE
Message-ID:  <YoU9Yvc9NIMg53Nf@cicely7.cicely.de>

next in thread | raw e-mail | index | archive | help
I did a binary update from 13.0 with freebsd-update
I did no U-Boot update however.
Installing and booting kernel seemed to work, but it came up rather slow.
And installing the userland took 6h.
I have an internal eMMC and an additional uSD card.
The uSD card worked fine and probes at 50MHz.
The eMMC however is probed with 400kHz only and the pmc fails to attach.


WARNING: Cannot find freebsd,dts-version property, cannot check DTB compliance
Copyright (c) 1992-2021 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.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC arm64
FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)
VT(efifb): resolution 1920x1080
module firmware already present!
real memory  = 2139090944 (2039 MB)
avail memory = 2058932224 (1963 MB)
Starting CPU 1 (1)
Starting CPU 2 (2)
Starting CPU 3 (3)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
random: unblocking device.
random: entropy device external interface
MAP 47ef8000 mode 2 pages 16
MAP b8f2e000 mode 2 pages 1
MAP b8f33000 mode 2 pages 1
MAP bdf50000 mode 2 pages 16
kbd0 at kbdmux0
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
regfix0: <Fixed Regulator> on ofwbus0
regfix1: <Fixed Regulator> on ofwbus0
psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0
rtc0: <Allwinner RTC> mem 0x1f00000-0x1f00053 irq 36,37 on simplebus0
rtc0: Having only 2 clocks instead of 3, aborting
rtc0: registered as a time-of-day clock, resolution 1.000000s
ccu_a64ng0: <Allwinner A64 Clock Control Unit NG> mem 0x1c20000-0x1c203ff on simplebus0
ccu_sun8i_r0: <Allwinner SUN8I_R Clock Control Unit NG> mem 0x1f01400-0x1f014ff on simplebus0
gic0: <ARM Generic Interrupt Controller> mem 0x1c81000-0x1c81fff,0x1c82000-0x1c83fff,0x1c84000-0x1c85fff,0x1c86000-0x1c87fff irq 34 on simplebus0
gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 224
aw_r_intc_gicp0: <Allwinner R INTC> mem 0x1f00c00-0x1f00fff irq 38 on simplebus0
gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1c20800-0x1c20bff irq 17,18,19 on simplebus0
gpiobus0: <OFW GPIO bus> on gpio0
iichb0: <Allwinner Integrated I2C Bus Controller> mem 0x1f02400-0x1f027ff irq 39 on simplebus0
iicbus0: <OFW I2C bus> on iichb0
gpio1: <Allwinner GPIO/Pinmux controller> mem 0x1f02c00-0x1f02fff irq 40 on simplebus0
gpiobus1: <OFW GPIO bus> on gpio1
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
aw_syscon0: <Allwinner syscon> mem 0x1c00000-0x1c00fff on simplebus0
aw_sid0: <Allwinner Secure ID Controller> mem 0x1c14000-0x1c143ff on simplebus0
mmc_pwrseq0: <MMC Simple Power sequence> on ofwbus0
awusbphy0: <Allwinner USB PHY> mem 0x1c19400-0x1c19413,0x1c1a800-0x1c1a803,0x1c1b800-0x1c1b803 on simplebus0
iichb1: <Allwinner RSB> mem 0x1f03400-0x1f037ff irq 41 on simplebus0
iicbus1: <OFW I2C bus> on iichb1
axp8xx_pmu0: <X-Powers AXP803 Power Management Unit> at addr 0x746 irq 43 on iicbus1
axp8xx_pmu0: cannot allocate resources for device
device_attach: axp8xx_pmu0 attach returned 6
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
cpu1: <Open Firmware CPU> on cpulist0
cpu2: <Open Firmware CPU> on cpulist0
cpu3: <Open Firmware CPU> on cpulist0
a31dmac0: <Allwinner DMA controller> mem 0x1c02000-0x1c02fff irq 6 on simplebus0
aw_mmc0: <Allwinner Integrated MMC/SD controller> mem 0x1c0f000-0x1c0ffff irq 9 on simplebus0
aw_mmc1: <Allwinner Integrated MMC/SD controller> mem 0x1c10000-0x1c10fff irq 10 on simplebus0
aw_mmc2: <Allwinner Integrated MMC/SD controller> mem 0x1c11000-0x1c11fff irq 11 on simplebus0
ehci0: <Generic EHCI Controller> mem 0x1c1a000-0x1c1a0ff irq 13 on simplebus0
usbus0: EHCI version 1.0
usbus0 on ehci0
ohci0: <Generic OHCI Controller> mem 0x1c1a400-0x1c1a4ff irq 14 on simplebus0
usbus1 on ohci0
ehci1: <Generic EHCI Controller> mem 0x1c1b000-0x1c1b0ff irq 15 on simplebus0
usbus2: EHCI version 1.0
usbus2 on ehci1
ohci1: <Generic OHCI Controller> mem 0x1c1b400-0x1c1b4ff irq 16 on simplebus0
usbus3 on ohci1
gpioc0: <GPIO controller> on gpio0
uart0: <16750 or compatible> mem 0x1c28000-0x1c283ff irq 23 on simplebus0
uart0: console (115384,n,8,1)
pwm0: <Allwinner PWM> mem 0x1c21400-0x1c217ff on simplebus0
pwmbus0: <OFW PWM bus> on pwm0
pwmc0: <PWM Control> channel 0 on pwmbus0
iicbus0: <unknown card> at addr 0x70
iic0: <I2C generic I/O> on iicbus0
gpioc1: <GPIO controller> on gpio1
axp8xx_pmu0: <X-Powers AXP803 Power Management Unit> at addr 0x746 irq 43 on iicbus1
axp8xx_pmu0: cannot allocate resources for device
device_attach: axp8xx_pmu0 attach returned 6
iic1: <I2C generic I/O> on iicbus1
aw_wdog0: <Allwinner A31 Watchdog> mem 0x1c20ca0-0x1c20cbf irq 42 on simplebus0
armv8crypto0: <AES-CBC,AES-XTS,AES-GCM>
Timecounters tick every 1.000 msec
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
usbus0: 480Mbps High Speed USB v2.0
usbus1: 12Mbps Full Speed USB v1.0
CPU  0: ARM Cortex-A53 r0p4 affinity:  0
                   Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG>
 Instruction Set Attributes 0 = <CRC32,SHA2,SHA1,AES+PMULL>
 Instruction Set Attributes 1 = <>
         Processor Features 0 = <AdvSIMD,FP,EL3 32,EL2 32,EL1 32,EL0 32>
         Processor Features 1 = <>
      Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,1TB PA>
      Memory Model Features 1 = <8bit VMID>
      Memory Model Features 2 = <32bit CCIDX,48bit VA>
             Debug Features 0 = <DoubleLock,2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3,Debugv8>
             Debug Features 1 = <>
         Auxiliary Features 0 = <>
         Auxiliary Features 1 = <>
AArch32 Instruction Set Attributes 5 = <CRC32,SHA2,SHA1,AES+VMULL,SEVL>
AArch32 Media and VFP Features 0 = <FPRound,FPSqrt,FPDivide,DP VFPv3+v4,SP VFPv3+v4,AdvSIMD>
AArch32 Media and VFP Features 1 = <SIMDFMAC,FPHP DP Conv,SIMDHP SP Conv,SIMDSP,SIMDInt,SIMDLS,FPDNaN,FPFtZ>
CPU  1: ARM Cortex-A53 r0p4 affinity:  1
CPU  2: ARM Cortex-A53 r0p4 affinity:  2
CPU  3: ARM Cortex-A53 r0p4 affinity:  3
Release APs...done
usbus2: 480Mbps High Speed USB v2.0
usbus3: 12Mbps Full Speed USB v1.0
ugen0.1: <Generic EHCI root HUB> at usbus0
mmc0: <MMC/SD bus>Trying to mount root from zfs:zroot/ROOT/default []...
 on aw_mmc2
uhub0 on usbus0
ugen2.1: <Generic EHCI root HUB> at usbus2
ugen3.1: <Generic OHCI root HUB> at usbus3
uhub0: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
ugen1.1: <Generic OHCI root HUB> at usbus1
uhub1 on usbus2
uhub2 on usbus3
uhub3 on usbus1
uhub1: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
uhub2: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
uhub3: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
mmc0: Failed to set VCCQ for card at relative address 2
mmc0: Failed to set VCCQ for card at relative address 2
mmcsd0: 62GB <MMCHC SLD64G 2.0 SN 222F3E56 MFG 08/2018 by 136 0x0003> at mmc0 0.4MHz/8bit/4096-block
mmcsd0boot0: 4MB partition 1 at mmcsd0
mmcsd0boot1: 4MB partition 2 at mmcsd0
mmcsd0rpmb: 4MB partition 3 at mmcsd0
mmc1: <MMC/SD bus> on aw_mmc1
mmc1: No compatible cards found on bus
aw_mmc1: Spurious interrupt - no active request, rint: 0x00000004

mmc2: <MMC/SD bus> on aw_mmc0
uhub3: 1 port with 1 removable, self powered
uhub2: 1 port with 1 removable, self powered
mmcsd1: 128GB <SDHC SN128 8.0 SN C06EC426 MFG 03/2020 by 3 SD> at mmc2 50.0MHz/4bit/32768-block
uhub0: 1 port with 1 removable, self powered
uhub1: 1 port with 1 removable, self powered
ugen2.2: <vendor 0x05e3 USB2.0 Hub> at usbus2
uhub4 on uhub1
uhub4: <vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/88.32, addr 2> on usbus2
uhub4: 4 ports with 1 removable, self powered
ugen2.3: <HAILUCK CO.,LTD USB KEYBOARD> at usbus2
ukbd0 on uhub4
ukbd0: <HAILUCK CO.,LTD USB KEYBOARD, class 0/0, rev 1.10/1.00, addr 3> on usbus2
kbd1 at ukbd0
ums0 on uhub4
ums0: <HAILUCK CO.,LTD USB KEYBOARD, class 0/0, rev 1.10/1.00, addr 3> on usbus2
ums0: 5 buttons and [XYZT] coordinates ID=1
mmc2: Failed to set VCCQ for card at relative address 58916
ugen2.4: <Lenovo ThinkPad Compact USB Keyboard with TrackPoint> at usbus2
ukbd1 on uhub4
ukbd1: <Lenovo ThinkPad Compact USB Keyboard with TrackPoint, class 0/0, rev 2.00/3.30, addr 4> on usbus2
kbd2 at ukbd1
ums1 on uhub4
ums1: <Lenovo ThinkPad Compact USB Keyboard with TrackPoint, class 0/0, rev 2.00/3.30, addr 4> on usbus2
ums1: 6 buttons and [XYZT] coordinates ID=1
ugen2.5: <Generic USB2.0 PC CAMERA> at usbus2
Dual Console: Video Primary, Serial Secondary
pwm_backlight0: <PWM Backlight> on ofwbus0
lo0: link state changed to UP
Security policy loaded: MAC/ntpd (mac_ntpd)
ugen0.2: <Ralink 802.11 n WLAN> at usbus0
run0 on uhub0
run0: <1.0> on usbus0
run0: MAC/BBP RT5390 (rev 0x0502), RF RT5370 (MIMO 1T1R), address 08:da:35:e1:23:39
run0: [HT] Enabling 802.11n
ieee80211_load_module: load the wlan_amrr module by hand for now.
wlan0: Ethernet address: 08:da:35:e1:23:39
run0: firmware RT3071 ver. 0.33 loaded
wlan0: link state changed to UP
-- 
B.Walter <bernd@bwct.de> https://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



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