<!--
.. title: FreeBSD on PinePhone Pro
.. slug: freebsd
.. date: 2026-10-04 17:53:16 UTC+02:00
.. tags: 
.. category: 
.. link: 
.. description: 
.. type: text
-->

FreeBSD on PinePhone Pro.

serial debug cable - mine is a 3-pin type to 3 positions female header

pinout

```
tip - white		(RX from pinephone)
ring - red		(TX from pinephone)
base - black	(GND)
```

baud rate is 1500000 instead of 115200, 8n1.

nanoUART pinout - top to bottom

front side (pins to the right)
```
GND
TX
RX
DTR
RTS
3V3
```

back side (pins to the left)
```
RI
CTS
DSR
DCD
VREF
5V
```

back to [main](../) PinePhone Pro page.

## Links
[FreeBSD on the PinePhone Pro](https://codeberg.org/Honeyguide/freebsd-pinephonepro),

### local links
[c2](/machines/gigabyte_b450m_ds3h/freebsd), [nanoUART](/microcontrollers/nanouart),

## History
2026-10-05: ppp - it also shows loads of these messages
```
rk_tsadc0: Alarm: device temperature is above of alarm level.
rk_tsadc0: Alarm: device temperature is above of alarm level.
rk_tsadc0: Alarm: device temperature is above of alarm level.
rk_tsadc0: Alarm: device temperature is above of alarm level.
```

2026-10-05: ppp - today I tried plugging in two different usb hubs, just to see if they were detected. They were not. usbconfig reports this
```sh
root@PinePhonePro-FreeBSD:~ # usbconfig
ugen0.1: <Generic EHCI root HUB> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen1.1: <Generic OHCI root HUB> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen2.1: <Generic EHCI root HUB> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen3.1: <Generic OHCI root HUB> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen4.1: <Synopsys XHCI root HUB> at usbus4, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
```
doesn't matter if a usb hub is plugged in or not.

2026-10-04: ppp - shutdown info
```sh
root@PinePhonePro-FreeBSD:~ # shutdown -p now
Shutdown NOW!
shutdown: [pid 801]
root@PinePhonePro-FreeBSD:~ #                                                                                
*** FINAL System shutdown message from root@PinePhonePro-FreeBSD ***         

System going down IMMEDIATELY                                                  

                                                                               

System shutdown time has arrived
Waiting (max 60 seconds) for system process `vnlru' to stop... done
Waiting (max 60 seconds) for system process `syncer' to stop... 
Syncing disks, vnodes remaining... 0 0 0 0 0 0 0 0 done
All buffers synced.
Uptime: 1h11m43s
rk818_pmu0: Powering off...
```

2026-10-04: ppp - now resize the root filesystem
```sh
root@PinePhonePro-FreeBSD:~ # df -h /
Filesystem                  Size    Used   Avail Capacity  Mounted on
/dev/ufs/FreeBSD_Install    8.2G    6.7G    839M    89%    /
root@PinePhonePro-FreeBSD:~ # growfs /
Device is mounted read-write; resizing will result in temporary write suspension for /.
It's strongly recommended to make a backup before growing the file system.
OK to grow filesystem on /dev/ufs/FreeBSD_Install, mounted on /, from 8.3GB to 58GB? [yes/no] yes
super-block backups (for fsck_ffs -b #) at:
 18168384, 19033536, 19898688, 20763840, 21628992, 22494144, 23359296, 24224448, 25089600, 25954752, 26819904, 27685056, 28550208, 29415360, 30280512, 31145664, 32010816, 32875968, 33741120,
 34606272, 35471424, 36336576, 37201728, 38066880, 38932032, 39797184, 40662336, 41527488, 42392640, 43257792, 44122944, 44988096, 45853248, 46718400, 47583552, 48448704, 49313856, 50179008,
 51044160, 51909312, 52774464, 53639616, 54504768, 55369920, 56235072, 57100224, 57965376, 58830528, 59695680, 60560832, 61425984, 62291136, 63156288, 64021440, 64886592, 65751744, 66616896,
 67482048, 68347200, 69212352, 70077504, 70942656, 71807808, 72672960, 73538112, 74403264, 75268416, 76133568, 76998720, 77863872, 78729024, 79594176, 80459328, 81324480, 82189632, 83054784,
 83919936, 84785088, 85650240, 86515392, 87380544, 88245696, 89110848, 89976000, 90841152, 91706304, 92571456, 93436608, 94301760, 95166912, 96032064, 96897216, 97762368, 98627520, 99492672,
 100357824, 101222976, 102088128, 102953280, 103818432, 104683584, 105548736, 106413888, 107279040, 108144192, 109009344, 109874496, 110739648, 111604800, 112469952, 113335104, 114200256, 115065408,
 115930560, 116795712, 117660864, 118526016, 119391168, 120256320, 121121472, 121986624
root@PinePhonePro-FreeBSD:~ # df -h /
Filesystem                  Size    Used   Avail Capacity  Mounted on
/dev/ufs/FreeBSD_Install     58G    6.7G     46G    13%    /
```

2026-10-04: ppp - recover GPT partition table, and resize the ufs partition
```sh
root@PinePhonePro-FreeBSD:~ # gpart recover mmcsd0
mmcsd0 recovered
root@PinePhonePro-FreeBSD:~ # gpart show -p mmcsd0
=>       34  122167222    mmcsd0  GPT  (58G)
         34      66584  mmcsd0p1  efi  (33M)
      66618   17407998  mmcsd0p2  freebsd-ufs  (8.3G)
   17474616  104692640            - free -  (50G)

root@PinePhonePro-FreeBSD:~ # gpart resize -i 2 mmcsd0
mmcsd0p2 resized
root@PinePhonePro-FreeBSD:~ # gpart show -p mmcsd0
=>       34  122167222    mmcsd0  GPT  (58G)
         34      66584  mmcsd0p1  efi  (33M)
      66618  122092486  mmcsd0p2  freebsd-ufs  (58G)
  122159104       8152            - free -  (4.0M)
```

2026-10-04: ppp - disk layout - the microSD card seems to be this
```sh
root@PinePhonePro-FreeBSD:~ # gpart show -p mmcsd0
=>      34  18874294    mmcsd0  GPT  (58G) [CORRUPT]
        34     66584  mmcsd0p1  efi  (33M)
     66618  17407998  mmcsd0p2  freebsd-ufs  (8.3G)
  17474616   1399712            - free -  (683M)
```
and the eMMC this
```sh
root@PinePhonePro-FreeBSD:~ # gpart show -p mmcsd1
=>       63  241663937    mmcsd1  MBR  (115G)
         63      62437            - free -  (30M)
      62500     437501  mmcsd1s1  linux-data  (214M)
     500001   15500000  mmcsd1s2  linux-data  (7.4G)
   16000001  225663999  mmcsd1s3  linux-data  (108G)
```

2026-10-04: ppp - some interesting messages from dmesg
```
warning: KLD '/boot/kernel/kernel' is newer than the linker.hints file
KLD mx25l.ko: depends on kernel - not available or version mismatch
```
ok, this is the [mx25l(4)](https://man.freebsd.org/cgi/man.cgi?query=mx25l) driver fro spi flash chips.

and
```
goodix_touch0: <Goodix GT917s driver> at addr 0x28 irq 81 on iicbus0
goodix_touch0: Setting up evdev...
goodix_touch0: Touchscreen size X: 720
goodix_touch0: Touchscreen size Y: 1440
goodix_touch0: Product ID: 1 1 5 8 
goodix_touch0: F/w version: 0 1 
goodix_touch0: X-res: 42 1 
goodix_touch0: Y-res: 2 0 
goodix_touch0: Vendor ID: 0 3 
goodix_touch0: Goodix touch driver loaded
```

2026-10-04: c2 - the nanoUART shows up on my workstation
```sh
root@kg-core2:~ # ls -l /dev/cuaU* /dev/ttyU*
crw-rw----  1 uucp dialer 0x22e Oct  4 19:20 /dev/cuaU0
crw-rw----  1 uucp dialer 0x231 Oct  4 19:20 /dev/cuaU0.init
crw-rw----  1 uucp dialer 0x232 Oct  4 19:20 /dev/cuaU0.lock
crw-------  1 root wheel  0x22b Oct  4 19:20 /dev/ttyU0
crw-------  1 root wheel  0x22c Oct  4 19:20 /dev/ttyU0.init
crw-------  1 root wheel  0x22d Oct  4 19:20 /dev/ttyU0.lock
```
so I should be able to make cu work like this
```sh
tingo@kg-core2:/zt/t2/doc/Pine64/PinePhone_Pro/freebsd $ sudo cu -s 1500000 -l /dev/cuaU0
Connected
```
(using sudo until I can log out / in and get my groups updated)

and it works, some output captured
```
rk2aw: booted version RK3399/pinephone-pro/2024-02-14/00:29:35
rk2aw: Booted from source 3 (SPI NOR) block=0x00
rk2aw: Will try booting boot block 0x01 on SPI NOR

U-Boot TPL 2024.04-rc1-megi-ppp-00176-g6dc0a49f522d-dirty (Feb 15 2024 - 22:51:46)
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2024.04-rc1-megi-ppp-00176-g6dc0a49f522d-dirty (Feb 15 2024 - 22:51:46 +0100)
Battery status: vol=3875 cur=-265 ocv=3941 plugin=0 status=off usb_fault=1 usb_exist=0 bat_exist=1
Trying to boot from SPI
spl_perform_fixups: could not map boot_device to ofpath: -19


U-Boot 2024.04-rc1-megi-ppp-00176-g6dc0a49f522d-dirty (Feb 15 2024 - 22:51:46 +0100)

SoC: Rockchip rk3399
Reset cause: POR
Model: Pine64 PinePhonePro
DRAM:  4 GiB (effective 3.9 GiB)
PMIC:  RK8180 (on=0x80, off=0x08)
Core:  331 devices, 37 uclasses, devicetree: separate
MMC:   mmc@fe320000: 1, mmc@fe330000: 0
Loading Environment from nowhere... OK
In:    serial,usbkbd
Out:   serial,vidconsole
Err:   serial,vidconsole
Model: Pine64 PinePhonePro
Booting /efi\boot\bootaa64.efi
```
a bit later
```
Consoles: EFI console  
    Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk0p1:
FreeBSD/arm64 EFI loader, Revision 3.0
(Fri Jan 24 00:28:10 UTC 2025 root@releng3.nyi.freebsd.org)

   Command line arguments: loader.efi
   Image base: 0xf48ee000
   EFI version: 2.100
   EFI Firmware: Das U-Boot (rev 8228.1024)
   Console: efi,comconsole (0)
   Load Path: /efi\boot\bootaa64.efi
   Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,0000000000000000)/SD(1)/SD(0)/HD(1,GPT,8230dfcc-da01-11ef-81ea-0cc47ad8b808,0x22,0x10418)
   BootOrder: 0000 0001
Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,0000000000000000)/SD(1)/SD(0)/HD(1,GPT,8230dfcc-da01-11ef-81ea-0cc47ad8b808,0x22,0x10418)
Setting currdev to disk0p1:
Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,0000000000000000)/SD(1)/SD(0)/HD(2,GPT,8230dfd0-da01-11ef-81ea-0cc47ad8b808,0x1043a,0x1099ffe)
Setting currdev to disk0p2:
Loading /boot/defaults/loader.conf
Loading /boot/defaults/loader.conf
Loading /boot/device.hints
Loading /boot/loader.conf
Loading /boot/loader.conf.local
c\
   ______               ____   _____ _____  
  |  ____|             |  _ \ / ____|  __ \ 
  | |___ _ __ ___  ___ | |_) | (___ | |  | |
  |  ___| '__/ _ \/ _ \|  _ < \___ \| |  | |
  | |   | | |  __/  __/| |_) |____) | |__| |
  | |   | | |    |    ||     |      |      |
  |_|   |_|  \___|\___||____/|_____/|_____/ 

 +-------- Welcome to FreeBSD ----------+  ```                        `
 |                                      | s` `.....---.......--.```   -/
 |  1. Boot Multi user [Enter]          | +o   .--`         /y:`      +.
 |  2. Boot Single user                 |  yo`:.            :o      `+-
 |  3. Escape to loader prompt          |   y/               -/`   -o/
 |  4. Reboot                           |  .-                  ::/sy+:.
 |  5. Cons: Dual (Serial primary)      |  /                     `--  /
 |                                      | `:                          :`
 |  Kernel:                             | `:                          :`
 |  6. kernel (1 of 1)                  |  /                          /
 |                                      |  .-                        -.
 |  Options:                            |   --                      -.
 |  7. Boot Options                     |    `:`                  `:`
 |                                      |      .--             `--.
 +--------------------------------------+         .---.....----.
   Autoboot in 0 seconds. [Space] to pause Loading kernel...
/boot/kernel/kernel data=0x13b0620+0x36b9e0 0x8+0x11b800+0x8+0xee013
Loading configured modules...
/boot/dtb/rk3399-pinephone-pro.dtb size=0x16e78
can't find '/etc/hostid'
/boot/entropy size=0x1000
Using DTB from loaded file '/boot/dtb/rk3399-pinephone-pro.dtb'.
Loading splash ok
EFI framebuffer information:
addr, size     0xf7b00000, 0x3f4800
dimensions     720 x 1440
stride         720
masks          0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000
---<<BOOT>>---
GDB: debug ports: uart
GDB: current port: uart
KDB: debugger backends: ddb gdb
KDB: current backend: ddb
Copyright (c) 1992-2025 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 15.0-CURRENT #75 main-b836c229aa5a-dirty: Wed Apr 16 15:16:46 SAST 2025
    toby@toby-ghostbsd:/home/toby/Data/home/toby/Projects/freebsd-pinephonepro/obj/home/toby/Data/home/toby/Projects/freebsd-pinephonepro/freebsd-src/arm64.aarch64/sys/PINEPHONE_PRO arm64
gcc version 14.1.0 (FreeBSD Ports Collection for aarch64) 
WARNING: WITNESS option enabled, expect reduced performance.
VT(efifb): resolution 720x1440
real memory  = 4154503168 (3962 MB)
avail memory = 4015398912 (3829 MB)
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
random: unblocking device.
random: entropy device external interface
kbd0 at kbdmux0
ofwbus0: <Open Firmware Device Tree>
rk_grf0: <RockChip General Register Files> mem 0xff320000-0xff320fff on ofwbus0
rk3399_pmucru0: <Rockchip RK3399 PMU Clock and Reset Unit> mem 0xff750000-0xff750fff on ofwbus0
rk3399_cru0: <Rockchip RK3399 Clock and Reset Unit> mem 0xff760000-0xff760fff on ofwbus0
rk_grf1: <RockChip General Register Files> mem 0xff770000-0xff77ffff 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
regfix8: <Fixed Regulator> on ofwbus0
regfix9: <Fixed Regulator> on ofwbus0
debug0: <Coresight CPU Debug> mem 0xfe430000-0xfe430fff on ofwbus0
debug1: <Coresight CPU Debug> mem 0xfe432000-0xfe432fff on ofwbus0
debug2: <Coresight CPU Debug> mem 0xfe434000-0xfe434fff on ofwbus0
debug3: <Coresight CPU Debug> mem 0xfe436000-0xfe436fff on ofwbus0
debug4: <Coresight CPU Debug> mem 0xfe610000-0xfe610fff on ofwbus0
debug5: <Coresight CPU Debug> mem 0xfe710000-0xfe710fff on ofwbus0
simple_mfd0: <Simple MFD (Multi-Functions Device)> mem 0xff310000-0xff310fff on ofwbus0
psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0
smccc0: <ARM SMCCC v1.2> on psci0
gic0: <ARM Generic Interrupt Controller v3.0> mem 0xfee00000-0xfee0ffff,0xfef00000-0xfefbffff,0xfff00000-0xfff0ffff,0xfff10000-0xfff1ffff,0xfff20000-0xfff2ffff irq 18 on ofwbus0
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 76 on rk_pinctrl0
gpiobus0: <OFW GPIO bus> on gpio0
gpio1: <RockChip GPIO Bank controller> mem 0xff730000-0xff7300ff irq 77 on rk_pinctrl0
gpiobus1: <OFW GPIO bus> on gpio1
gpio2: <RockChip GPIO Bank controller> mem 0xff780000-0xff7800ff irq 78 on rk_pinctrl0
gpiobus2: <OFW GPIO bus> on gpio2
gpio3: <RockChip GPIO Bank controller> mem 0xff788000-0xff7880ff irq 79 on rk_pinctrl0
gpiobus3: <OFW GPIO bus> on gpio3
gpio4: <RockChip GPIO Bank controller> mem 0xff790000-0xff7900ff irq 80 on rk_pinctrl0
gpiobus4: <OFW GPIO bus> on gpio4
rk_i2c0: <RockChip I2C> mem 0xff130000-0xff130fff irq 24 on ofwbus0
iicbus0: <OFW I2C bus> on rk_i2c0
rk_i2c1: <RockChip I2C> mem 0xff3c0000-0xff3c0fff irq 40 on ofwbus0
iicbus1: <OFW I2C bus> on rk_i2c1
rk818_pmu0: <RockChip RK818 PMIC> at addr 0x38 irq 83 on iicbus1
rk818_pmu0: RK818 battery driver loaded
fan53555_pmic0: <SYR827 PMIC> at addr 0x80 on iicbus1
fan53555_pmic1: <SYR828 PMIC> at addr 0x82 on iicbus1
rk_i2c2: <RockChip I2C> mem 0xff3d0000-0xff3d0fff irq 41 on ofwbus0
iicbus2: <OFW I2C bus> on rk_i2c2
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xff320000-0xff320fff on rk_grf0
rk_iodomain1: <RockChip IO Voltage Domain> mem 0-0xff76ffff,0-0xffff on rk_grf1
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_tsadc0: <RockChip temperature sensors> mem 0xff260000-0xff2600ff irq 37 on ofwbus0
mmc_pwrseq0: <MMC Simple Power sequence> on ofwbus0
rk_usb2phy0: <Rockchip USB2PHY> mem 0-0xff76ffff,0-0xffff on rk_grf1
rk_usb2phy1: <Rockchip USB2PHY> mem 0-0xff76ffff,0-0xffff on rk_grf1
rk_emmcphy0: <Rockchip RK3399 eMMC PHY> mem 0-0xff76ffff,0-0xffff on rk_grf1
rk_typec_phy0: <Rockchip RK3399 PHY TYPEC> mem 0xff7c0000-0xff7fffff on ofwbus0
smbios0: <System Management BIOS>
smbios0: Entry point: v3 (64-bit), Version: 3.7
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
cpufreq_dt0: <Generic cpufreq driver> on cpu0
cpufreq_dt0: Found cpu-supply
cpufreq0: <CPU frequency control> on cpu0
cpufreq_dt1: <Generic cpufreq driver> on cpu1
cpufreq_dt1: Found cpu-supply
cpufreq1: <CPU frequency control> on cpu1
cpufreq_dt2: <Generic cpufreq driver> on cpu2
cpufreq_dt2: Found cpu-supply
cpufreq2: <CPU frequency control> on cpu2
cpufreq_dt3: <Generic cpufreq driver> on cpu3
cpufreq_dt3: Found cpu-supply
cpufreq3: <CPU frequency control> on cpu3
cpufreq_dt4: <Generic cpufreq driver> on cpu4
cpufreq_dt4: Found cpu-supply
cpufreq4: <CPU frequency control> on cpu4
cpufreq_dt5: <Generic cpufreq driver> on cpu5
cpufreq_dt5: Found cpu-supply
cpufreq5: <CPU frequency control> on cpu5
pmu0: <Performance Monitoring Unit> irq 0 on ofwbus0
pmu1: <Performance Monitoring Unit> irq 1 on ofwbus0
rockchip_dwmmc0: <Synopsys DesignWare Mobile Storage Host Controller (RockChip)> mem 0xfe310000-0xfe313fff irq 10 on ofwbus0
rockchip_dwmmc0: Hardware version ID is 270a
rockchip_dwmmc0: Disabling HS200+ (tuning code not written)
rockchip_dwmmc1: <Synopsys DesignWare Mobile Storage Host Controller (RockChip)> mem 0xfe320000-0xfe323fff irq 11 on ofwbus0
rockchip_dwmmc1: Hardware version ID is 270a
mmc0: <MMC/SD bus> on rockchip_dwmmc1
rockchip_dwmmc1: Disabling HS200+ (tuning code not written)
sdhci_rockchip0: <Rockchip RK3399 fdt SDHCI controller> mem 0xfe330000-0xfe33ffff irq 12 on ofwbus0
rk_emmcphy0: got emmcclk clock
sdhci_rockchip0-slot0: Hardware doesn't specify timeout clock frequency, setting BROKEN_TIMEOUT quirk.
sdhci_rockchip0: 1 slot(s) allocated
mmc1: <MMC/SD bus> on sdhci_rockchip0
ehci0: <Generic EHCI Controller> mem 0xfe380000-0xfe39ffff irq 13 on ofwbus0
usbus0: EHCI version 1.0
usbus0 on ehci0
ohci0: <Generic OHCI Controller> mem 0xfe3a0000-0xfe3bffff irq 14 on ofwbus0
usbus1 on ohci0
ehci1: <Generic EHCI Controller> mem 0xfe3c0000-0xfe3dffff irq 15 on ofwbus0
usbus2: EHCI version 1.0
usbus2 on ehci1
ohci1: <Generic OHCI Controller> mem 0xfe3e0000-0xfe3fffff irq 16 on ofwbus0
usbus3 on ohci1
rk_dwc30: <Rockchip RK3399 DWC3> on ofwbus0
snps_dwc3_fdt0: <Synopsys Designware DWC3> mem 0xfe800000-0xfe8fffff irq 88 on rk_dwc30
snps_dwc3_fdt0: 64 bytes context size, 32-bit DMA
usbus4: trying to attach
usbus4 on snps_dwc3_fdt0
iicbus0: <unknown card> at addr 0x28
iicbus0: <unknown card> at addr 0x90
iic0: <I2C generic I/O> on iicbus0
uart0: <Non-standard ns8250 class UART with FIFOs> mem 0xff180000-0xff1800ff irq 28 on ofwbus0
uart0: debug port (-1,n,8,1)
uart1: <16750 or compatible> mem 0xff1a0000-0xff1a00ff irq 30 on ofwbus0
uart1: console (1500000,n,8,1)
uart2: <16750 or compatible> mem 0xff1b0000-0xff1b00ff irq 31 on ofwbus0
spi0: <Rockchip SPI> mem 0xff1d0000-0xff1d0fff irq 33 on ofwbus0
spibus0: <OFW SPI bus> on spi0
mx25l0: <M25Pxx Flash Family> at cs 0 mode 0 on spibus0
mx25l0: Unknown SPI flash device. Vendor: 25, device id: 7018
device_attach: mx25l0 attach returned 6
iic1: <I2C generic I/O> on iicbus1
iicbus2: <unknown card> at addr 0x44
iicbus2: <unknown card> at addr 0xd0
iicbus2: <unknown card> at addr 0x38
iicbus2: <unknown card> at addr 0x18
iic2: <I2C generic I/O> on iicbus2
pwm0: <Rockchip PWM> mem 0xff420000-0xff42000f on ofwbus0
pwmbus0: <OFW PWM bus> on pwm0
pwmc0: <PWM Control> channel 0 on pwmbus0
pwm1: <Rockchip PWM> mem 0xff420020-0xff42002f on ofwbus0
pwmbus1: <OFW PWM bus> on pwm1
pwmc1: <PWM Control> channel 0 on pwmbus1
i2s0: <Rockchip I2S> mem 0xff880000-0xff880fff irq 58 on ofwbus0
Cannot set frequency for clk: clkin_i2s, error: 34
Cannot set frequency for clk: xin24m, error: 34
gpioc0: <GPIO controller> on gpio0
gpioc1: <GPIO controller> on gpio1
gpioc2: <GPIO controller> on gpio2
gpioc3: <GPIO controller> on gpio3
gpioc4: <GPIO controller> on gpio4
pwm_backlight0: <PWM Backlight> on ofwbus0
gpioled0: <GPIO LEDs> on ofwbus0
pcm0: <simple-audio-card> on ofwbus0
simpleamp0: <Simple Amplifier> on ofwbus0
simpleamp0: no VCC supplyarmv8crypto0: <AES-CBC,AES-XTS,AES-GCM>
Timecounters tick every 1.000 msec
rk818_pmu0: registered as a time-of-day clock, resolution 1.000000s
usbus0: 480Mbps High Speed USB v2.0
usbus1: 12Mbps Full Speed USB v1.0
ugen0.1: <Generic EHCI root HUB> at usbus0
uhub0 on usbus0
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 usbus1
uhub1: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
usbus2: 480Mbps High Speed USB v2.0
usbus3: 12Mbps Full Speed USB v1.0
ugen2.1: <Generic EHCI root HUB> at usbus2
uhub2 on usbus2
uhub2: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ugen3.1: <Generic OHCI root HUB> at usbus3
uhub3 on usbus3
uhub3: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
usbus4: 5.0Gbps Super Speed USB v3.0
ugen4.1: <Synopsys XHCI root HUB> at usbus4
uhub4 on usbus4
uhub4: <Synopsys XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus4
uhub1: 1 port with 1 removable, self powered
mmcsd0: 63GB <SDHC SD64G 6.1 SN 4490029E MFG 09/2022 by 159 TI> at mmc0 50.0MHz/4bit/1016-block
uhub3: 1 port with 1 removable, self powered
GEOM: mmcsd0: the secondary GPT header is not in the last LBA.
mmcsd1: 124GB <MMCHC A3A442 1.0 SN 7D7D9324 MFG 03/2022 by 214 0x0003> at mmc1 25.0MHz/8bit/65535-block
mmcsd1boot0: 4MB partition 1 at mmcsd1
mmcsd1boot1: 4MB partition 2 at mmcsd1
mmcsd1rpmb: 17MB partition 3 at mmcsd1
pcm0: no driver attached to codec node
uhub0: 1 port with 1 removable, self powered
Trying to mount root from ufs:/dev/ufs/FreeBSD_Install [rw,noatime]...
CPU  0: ARM Cortex-A53 r0p4 affinity:  0  0
                   Cache Type = <64 byte CWG,64 byte ERG,64 byte D-cacheline,VIPT I-cache,64 byte I-cacheline>
 Instruction Set Attributes 0 = <CRC32,SHA2,SHA1,AES+PMULL>
 Instruction Set Attributes 1 = <>
 Instruction Set Attributes 2 = <>
         Processor Features 0 = <GIC,AdvSIMD,FP,EL3 32,EL2 32,EL1 32,EL0 32>
         Processor Features 1 = <MTE_frac>
         Processor Features 2 = <>
      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>
      Memory Model Features 3 = <>
      Memory Model Features 4 = <>
             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:  0  1
CPU  2: ARM Cortex-A53 r0p4 affinity:  0  2
CPU  3: ARM Cortex-A53 r0p4 affinity:  0  3
CPU  4: ARM Cortex-A72 r0p2 affinity:  1  0
                   Cache Type = <64 byte CWG,64 byte ERG,64 byte D-cacheline,PIPT I-cache,64 byte I-cacheline>
      Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,16TB PA>
CPU  5: ARM Cortex-A72 r0p2 affinity:  1  1
gic0: using for IPIs
Release APs...done
WARNING: WITNESS option enabled, expect reduced performance.
Unresolved linked clock found: clkin_gmac
uhub4: 2 ports with 2 removable, self powered
GEOM: diskid/DISK-4490029E: the secondary GPT header is not in the last LBA.
uhub2: 1 port with 1 removable, self powered
Dual Console: Video Primary, Serial Secondary
GEOM: diskid/DISK-4490029E: the secondary GPT header is not in the last LBA.
GEOM: diskid/DISK-4490029E: the secondary GPT header is not in the last LBA.
warning: KLD '/boot/kernel/kernel' is newer than the linker.hints file
KLD mx25l.ko: depends on kernel - not available or version mismatch
lo0: link state changed to UP
lock order reversal: (sleepable after non-sleepable)
 1st 0xffff00000158fcf0 dev mtx (devd, sleep mutex) @ /home/toby/Data/home/toby/Projects/freebsd-pinephonepro/freebsd-src/sys/kern/kern_devctl.c:571
 2nd 0xffff0000016e2390 umareclaim (umareclaim, sx) @ /home/toby/Data/home/toby/Projects/freebsd-pinephonepro/freebsd-src/sys/vm/uma_core.c:3433
Freed UMA keg (DEVCTL) was not empty (399 items).  Lost 100 pages of memory.
goodix_touch0: <Goodix GT917s driver> at addr 0x28 irq 81 on iicbus0
goodix_touch0: Setting up evdev...
goodix_touch0: Touchscreen size X: 720
goodix_touch0: Touchscreen size Y: 1440
goodix_touch0: Product ID: 1 1 5 8 
goodix_touch0: F/w version: 0 1 
goodix_touch0: X-res: 42 1 
goodix_touch0: Y-res: 2 0 
goodix_touch0: Vendor ID: 0 3 
goodix_touch0: Goodix touch driver loaded

FreeBSD/arm64 (PinePhonePro-FreeBSD) (ttyu1)

login: root
Last login: Thu Sep 24 16:07:52 from :0
FreeBSD 15.0-CURRENT (PINEPHONE_PRO) #75 main-b836c229aa5a-dirty: Wed Apr 16 15:16:46 SAST 2025

Welcome to FreeBSD!

Release Notes, Errata: https://www.FreeBSD.org/releases/
Security Advisories:   https://www.FreeBSD.org/security/
FreeBSD Handbook:      https://www.FreeBSD.org/handbook/
FreeBSD FAQ:           https://www.FreeBSD.org/faq/
Questions List:        https://www.FreeBSD.org/lists/questions/
FreeBSD Forums:        https://forums.FreeBSD.org/

Documents installed with the system are in the /usr/local/share/doc/freebsd/
directory, or can be installed later with:  pkg install en-freebsd-doc
For other languages, replace "en" with a language code like de or fr.

Show the version of FreeBSD installed:  freebsd-version ; uname -a
Please include that output and any error messages when posting questions.
Introduction to manual pages:  man man
FreeBSD directory layout:      man hier

To change this login announcement, see motd(5).
root@PinePhonePro-FreeBSD:~ # sysctl hw.acpi.battery
hw.acpi.battery.millivolts: 3840
hw.acpi.battery.rate: -216
hw.acpi.battery.status: 0
hw.acpi.battery.life: 92
hw.acpi.battery.units: 1
root@PinePhonePro-FreeBSD:~ # 
```

2026-10-04: FreeBSD boots from microSD card, if I select the updated u-boot from the rk2aw menu (choice 3).

2026-10-04: I created this page.
