Re: Pinephone Pro

Marcin Cieslak <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
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
smime.p7s (application/pkcs7-signature, 3.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.