Re: Pinephone Pro
- Reply: Pete Wright : "Re: Pinephone Pro"
- Reply: Dmitry Salychev : "Re: Pinephone Pro"
- In reply to: Pete Wright : "Pinephone Pro"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 01 Apr 2023 23:21:16 UTC
On Fri, 31 Mar 2023, Pete Wright wrote: > So my question is - is the PINE64 the right image to use? Anyone else > tried this and able to share tweaks or docs they used to get things moving? What I would do is to take the device tree used by the Linux kernel and try to see if something very similar can be used for FreeBSD, first and foremost if the devices listed there are supported. Device trees used by FreeBSD kernel are in sys/contrib/device-tree https://cgit.freebsd.org/src/tree/sys/contrib/device-tree plus some overlays in https://cgit.freebsd.org/src/tree/sys/dts PinePhone Pro seems to be using a variant of RockChip RK3399 so I'd do for the "rockchip" directory to looks for similar boards. Pine64 uses Allwinner processors, so this is unlikely to work. Some notes: https://wiki.pine64.org/wiki/PinePhone_Pro_Development Their fork of the Linux kernel: https://github.com/megous/linux This seems to be the device tree: https://github.com/megous/linux/blob/master/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts (it includes also other files, like rk3399.dtsi and rk3399-opp.dtsi, both seems to be included in the FreeBSD kernel tree). Seems like they are still figuring things out for Linux as well, so you are not alone in that effort. I think you should be prepared to build your own image. With FreeBSD it is not very difficult (I find it easier than in the Linux world). Marcin