FreeBSD 13.0-STABLE on Pinephone

From: Crystal Kolipe <kolipe.c_at_exoticsilicon.com>
Date: Sat, 15 Jan 2022 00:21:27 UTC
Hi,

I installed FreeBSD 13.0-STABLE on a Pinephone 1.2 for testing, and thought that the dmesg output would be of interest to the list:

---<<BOOT>>---
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.0-STABLE #0 stable/13-n248759-3684bb89d52: Thu Dec 30 03:49:13 UTC 2021
    root@releng3.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)
VT: init without driver.
module firmware already present!
real memory  = 3221004288 (3071 MB)
avail memory = 3118305280 (2973 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 f8f2b000 mode 2 pages 4
MAP f8f30000 mode 2 pages 4
MAP fdf60000 mode 2 pages 16
kbd0 at kbdmux0
ofwbus0: <Open Firmware Device Tree>
clk_fixed0: <Fixed clock> on ofwbus0
clk_fixed1: <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-0x1f003ff irq 58,59 on simplebus0
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 53 on simplebus0
gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 224
aw_r_intc_gicp0: <Allwinner R INTC> mem 0x1f00c00-0x1f00fff irq 60 on simplebus0
gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1c20800-0x1c20bff irq 24,25,26 on simplebus0
gpiobus0: <OFW GPIO bus> on gpio0
iichb0: <Allwinner Integrated I2C Bus Controller> mem 0x1c2ac00-0x1c2afff irq 40 on simplebus0
iicbus0: <OFW I2C bus> on iichb0
iichb1: <Allwinner Integrated I2C Bus Controller> mem 0x1c2b000-0x1c2b3ff irq 41 on simplebus0
iicbus1: <OFW I2C bus> on iichb1
iichb2: <Allwinner Integrated I2C Bus Controller> mem 0x1c2b400-0x1c2b7ff irq 42 on simplebus0
iicbus2: <OFW I2C bus> on iichb2
gpio1: <Allwinner GPIO/Pinmux controller> mem 0x1f02c00-0x1f02fff irq 63 on simplebus0
gpiobus1: <OFW GPIO bus> on gpio1
generic_timer0: <ARMv8 Generic Timer> irq 4,5,6,7 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 8,9 on simplebus0
Timecounter "a10_timer timer0" frequency 24000000 Hz quality 2000
aw_syscon0: <Allwinner syscon> mem 0x1c00000-0x1c00fff on simplebus0
rtc1: <MAX77620 RTC> at addr 0xd0 irq 69 on iicbus1
rtc1: Error when reading reg 0x02, rv: 3
rtc1: Failed to configure RTC
device_attach: rtc1 attach returned 5
rtc1: <MAX77620 RTC> at addr 0xd0 irq 69 on iicbus1
rtc1: Error when reading reg 0x02, rv: 3
rtc1: Failed to configure RTC
device_attach: rtc1 attach returned 5
aw_sid0: <Allwinner Secure ID Controller> mem 0x1c14000-0x1c143ff on simplebus0
rtc1: <MAX77620 RTC> at addr 0xd0 irq 69 on iicbus1
rtc1: Error when reading reg 0x02, rv: 3
rtc1: Failed to configure RTC
device_attach: rtc1 attach returned 5
mmc_pwrseq0: <MMC Simple Power sequence> on ofwbus0
awusbphy0: <Allwinner USB PHY> mem 0x1c19400-0x1c19413,0x1c1a800-0x1c1a803,0x1c1b800-0x1c1b803 on simplebus0
rtc1: <MAX77620 RTC> at addr 0xd0 irq 69 on iicbus1
rtc1: Error when reading reg 0x02, rv: 3
rtc1: Failed to configure RTC
device_attach: rtc1 attach returned 5
iichb3: <Allwinner RSB> mem 0x1f03400-0x1f037ff irq 64 on simplebus0
iicbus3: <OFW I2C bus> on iichb3
axp8xx_pmu0: <X-Powers AXP803 Power Management Unit> at addr 0x746 irq 70 on iicbus3
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
cpufreq_dt0: <Generic cpufreq driver> on cpu0
cpufreq_dt0: no regulator for cpu@0
device_attach: cpufreq_dt0 attach returned 6
cpu1: <Open Firmware CPU> on cpulist0
cpufreq_dt1: <Generic cpufreq driver> on cpu1
cpufreq_dt1: no regulator for cpu@1
device_attach: cpufreq_dt1 attach returned 6
cpu2: <Open Firmware CPU> on cpulist0
cpufreq_dt2: <Generic cpufreq driver> on cpu2
cpufreq_dt2: no regulator for cpu@2
device_attach: cpufreq_dt2 attach returned 6
cpu3: <Open Firmware CPU> on cpulist0
cpufreq_dt3: <Generic cpufreq driver> on cpu3
cpufreq_dt3: no regulator for cpu@3
device_attach: cpufreq_dt3 attach returned 6
pmu0: <Performance Monitoring Unit> irq 0,1,2,3 on ofwbus0
a31dmac0: <Allwinner DMA controller> mem 0x1c02000-0x1c02fff irq 10 on simplebus0
aw_mmc0: <Allwinner Integrated MMC/SD controller> mem 0x1c0f000-0x1c0ffff irq 14 on simplebus0
aw_mmc1: <Allwinner Integrated MMC/SD controller> mem 0x1c10000-0x1c10fff irq 15 on simplebus0
aw_mmc2: <Allwinner Integrated MMC/SD controller> mem 0x1c11000-0x1c11fff irq 16 on simplebus0
musbotg0: <Allwinner USB DRD> mem 0x1c19000-0x1c193ff irq 19 on simplebus0
musbotg0: setting phy mode 3
usbus0: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM
usbus0 on musbotg0
ehci0: <Generic EHCI Controller> mem 0x1c1a000-0x1c1a0ff irq 20 on simplebus0
usbus1: EHCI version 1.0
usbus1 on ehci0
ohci0: <Generic OHCI Controller> mem 0x1c1a400-0x1c1a4ff irq 21 on simplebus0
usbus2 on ohci0
ehci1: <Generic EHCI Controller> mem 0x1c1b000-0x1c1b0ff irq 22 on simplebus0
usbus3: EHCI version 1.0
usbus3 on ehci1
ohci1: <Generic OHCI Controller> mem 0x1c1b400-0x1c1b4ff irq 23 on simplebus0
usbus4 on ohci1
gpioc0: <GPIO controller> on gpio0
aw_thermal0: <Allwinner Thermal Sensor Controller> mem 0x1c25000-0x1c250ff irq 34 on simplebus0
uart0: <16750 or compatible> mem 0x1c28000-0x1c283ff irq 35 on simplebus0uart0: console (115384,n,8,1)
uart1: <16750 or compatible> mem 0x1c28400-0x1c287ff irq 36 on simplebus0
uart2: <16750 or compatible> mem 0x1c28c00-0x1c28fff irq 38 on simplebus0
iicbus0: <unknown card> at addr 0xba
iic0: <I2C generic I/O> on iicbus0
iicbus1: <unknown card> at addr 0x3c
iicbus1: <unknown card> at addr 0x90
rtc1: <MAX77620 RTC> at addr 0xd0 irq 69 on iicbus1
rtc1: Error when reading reg 0x02, rv: 3
rtc1: Failed to configure RTC
device_attach: rtc1 attach returned 5
iic1: <I2C generic I/O> on iicbus1
iic2: <I2C generic I/O> on iicbus2
pwm0: <Allwinner PWM> mem 0x1f03800-0x1f03bff on simplebus0
pwmbus0: <OFW PWM bus> on pwm0
pwmc0: <PWM Control> channel 0 on pwmbus0
gpioc1: <GPIO controller> on gpio1
axp8xx_pmu0: <X-Powers AXP803 Power Management Unit> at addr 0x746 irq 70 on iicbus3
axp8xx_pmu0: cannot allocate resources for device
device_attach: axp8xx_pmu0 attach returned 6
iic3: <I2C generic I/O> on iicbus3
aw_wdog0: <Allwinner A31 Watchdog> mem 0x1c20ca0-0x1c20cbf irq 65 on simplebus0
gpioled0: <GPIO LEDs> on ofwbus0
armv8crypto0: <AES-CBC,AES-XTS,AES-GCM>
cpufreq_dt0: <Generic cpufreq driver> on cpu0
cpufreq_dt0: no regulator for cpu@0
device_attach: cpufreq_dt0 attach returned 6
cpufreq_dt1: <Generic cpufreq driver> on cpu1
cpufreq_dt1: no regulator for cpu@1
device_attach: cpufreq_dt1 attach returned 6
cpufreq_dt2: <Generic cpufreq driver> on cpu2
cpufreq_dt2: no regulator for cpu@2
device_attach: cpufreq_dt2 attach returned 6
cpufreq_dt3: <Generic cpufreq driver> on cpu3
cpufreq_dt3: no regulator for cpu@3
device_attach: cpufreq_dt3 attach returned 6
Timecounters tick every 1.000 msec
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
usbus0: 480Mbps High Speed USB v2.0
usbus1: 480Mbps High Speed USB v2.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
usbus4: 12Mbps Full Speed USB v1.0
Trying to mount root from ufs:/dev/ufs/rootfs [rw]...
ugen0.1: <Mentor Graphics OTG Root HUB> at usbus0
Root mount waiting for:uhub0ugen2.1: <Generic OHCI root HUB> at usbus2
ugen1.1: <Generic EHCI root HUB> at usbus1
 on usbus0
uhub0: <Mentor Graphics OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
 usbus0uhub1 on usbus2
 usbus1uhub1: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
 usbus2ugen3.1: <Generic EHCI root HUB> at usbus3
 usbus3uhub2 usbus4 on usbus1

uhub2: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
uhub3 on usbus3
uhub3: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
ugen4.1: <Generic OHCI root HUB> at usbus4
uhub4 on usbus4
uhub4: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
uhub1: 1 port with 1 removable, self powered
uhub4: 1 port with 1 removable, self powered
uhub0: 1 port with 1 removable, self powered
mmc0: <MMC/SD bus> on aw_mmc2
mmc0: Failed to set VCCQ for card at relative address 2
mmcsd0: 31GB <MMCHC DA4032 0.1 SN FF342515 MFG 06/2020 by 69 0x0000> at mmc0 52.0MHz/8bit/4096-block
mmcsd0boot0: 4MB partition 1 at mmcsd0
mmcsd0boot1: 4MB partition 2 at mmcsd0
mmcsd0rpmb: 17MB 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

uhub2: 1 port with 1 removable, self powered
uhub3: 1 port with 1 removable, self powered
mountroot: waiting for device /dev/ufs/rootfs...
Dual Console: Serial Primary, Video Secondary
Setting hostuuid: 30633239-6439-6162-3062-303436373435.
Setting hostid: 0x09ffad61.
/etc/rc: WARNING: $zfskeys_enable is not set properly - see rc.conf(5).
Starting file system checks:
/dev/ufs/rootfs: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ufs/rootfs: clean, 6670786 free (26 frags, 833845 blocks, 0.0% fragmentation)
Mounting local filesystems:.
Setting hostname: generic.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED
Feeding entropy: .
Autoloading module: pwm_backlight
warning: KLD '/boot/kernel/backlight.ko' is newer than the linker.hints file
pwm_backlight0: <PWM Backlight> on ofwbus0
pwm_backlight0: No power-supply property
device_attach: pwm_backlight0 attach returned 6
lo0: link state changed to UP
Starting Network: lo0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
	inet 127.0.0.1 netmask 0xff000000
	groups: lo
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
Starting devd.
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Updating /var/run/os-release done.
Creating and/or trimming log files.
Clearing /tmp (X related).
Updating motd:.
Starting syslogd.
Mounting late filesystems:.
Performing sanity check on sshd configuration.
Starting sshd.
Starting cron.
Starting background file system checks in 60 seconds.

Fri Jan  1 00:04:48 UTC 2010

FreeBSD/arm64 (generic) (ttyu0)

login: root
Password:
Jan  1 00:04:50 generic login[835]: ROOT LOGIN (root) ON ttyu0