[Task]: Add Cix P1 ACPI support
Task description
This is a milestone tracker to add support for the CIX P1 via ACPI used in:
- Radxa Orion O6.
- Radxa Orion O6N
- OrangePi 6 Plus
- Minisforum MS-R1 (hardware unavailable to us yet)
Everybody can contribute and reference this issue for progress.
Information about the board
This board has ACPI as well as device tree support via EDK2-UEFI. ACPI is matured enough to run mainline linux with proper PCIe support enabling GPU's like from AMD and Nvidia (up to and 30XX series confirmed working).
For now not all drivers are upstreamed so there is also downstream BSP that has full hardware enablement (Mali GPU, NPU, VPU, etc.). The goal here for an Armbian addition would be to offer the downstream kernel with Armbian Userspace with all neccessary kernel / userspace drivers ready configured out of the box. With the goal to steadily switch parts to their upstream counterparts like Mesa+Panthor for the integrated GPU.
Todo
- [x] Create Board / SoC Family config (Proof of concept here https://github.com/HeyMeco/build/tree/radxa-orion-o6-q3)
- [x] Adapt board / kernel config for the latest kernel source (based on 6.6)
- [ ] Integrate Cix userspace apps/fw/etc. (https://github.com/radxa-pkg/cix-prebuilt/releases)
- [x] Enable Panthor support: reference implementation
Jira ticket: AR-2709
Sync with @efectn He is also doing something here.
I currently work on 6.1 BSP with GPU support using mali blobs. I am able to get into desktop enviroment after completing Armbian installation with USB-TTL converter, but somehow tty does not show on my display. I will create an initial PR today or tomorrow, including current progress.
but somehow tty does not show on my display.
@efectn do you have the linlon drm driver enabled in your kernel config? Like here https://gitlab.freedesktop.org/marysaka/linux/-/commit/dbda2b92bd20bb93209a3f1b6227b4edec201d03
I currently work on 6.1 BSP
Question, at boot have you had to try a minimal/standard version and figure out if you have video output? I've tried distros and at boot/installation video output dies
Other thing I saw that a person was working on it also on the forum, I don't remember the nickname, I tried one of his version, when I tried to install it on the nvme disk from armbian-install it didn't give any signs of life at the next boot.
but somehow tty does not show on my display.
@efectn do you have the linlon drm driver enabled in your kernel config? Like here gitlab.freedesktop.org/marysaka/linux/-/commit/dbda2b92bd20bb93209a3f1b6227b4edec201d03
Yes i have it like:
CONFIG_DRM_CIX=y
CONFIG_DRM_LINLONDP=m
CONFIG_DRM_CIX_VIRTUAL=y
# CONFIG_DRM_LINLONDP_CLOCK_FIXED is not set
# CONFIG_DRM_TRILIN_DP_CIX is not set
CONFIG_DRM_CIX_EDP_PANEL=m
CONFIG_DRM_TRILIN_DPSUB=m
# CONFIG_DRM_TRILIN_CADENCE_PHY is not set
CONFIG_DRM_LEGACY=y
I currently work on 6.1 BSP
Question, at boot have you had to try a minimal/standard version and figure out if you have video output? I've tried distros and at boot/installation video output dies
I did not test, but it will will probably not work due to the tty issue i had. It is also occuring in other distros i have tried and all of them use https://gitlab.com/cix-linux/cix_proprietary/cix_proprietary/-/blob/874c4/bbdf2/cix_beta2_radxa_dev/cix_proprietary-debs/cix-gpu-umd/usr/bin/load-modules.sh?ref_type=heads to load external mali drivers. I will include them into the BSP kernel by default
I will investigate more, thanks for the elucidation