How to enable dpu&gpu on Orion O6(fedora 41)

  1. Install Fedora
    download
    https://mirror.nyist.edu.cn/fedora/releases/41/Workstation/aarch64/images/Fedora-Workstation-41-1.4.aarch64.raw.xz and dd it to nvme.
    After Install, fedora use cpu render and uefi display
    Step 1:Enable DPU,use cpu render and dpu display.
    Step 2:Enale GPU,use gpu render and dpu display.

  2. Enable DPU

  • Setup environment
    Disable selinux: setenforce 0
    Install dpkg: dnf install dpkg

  • Install kernel deb package on system
    dpkg -i linux-headers-6.1.44-cix-build-generic_6.1.44-cix-build-generic-2_arm64
    dpkg -i linux-image-6.1.44-cix-build-generic_6.1.44-cix-build-generic-2_arm64
    dpkg -i linux-libc-dev_6.1.44-cix-build-generic-2_arm64
    cp /usr/lib/linux-image-6.1.44-cix-build-generic/cix/sky1-evb.dtb /boot/
    Ignore the following error message:

  • Modify grub
    Change/boot/grub2/grub.cfg to the following content:
    [root@fedora cix]# cat /boot/grub2/grub.cfg
    set debug=loader,mm
    set term=vt100
    set default=0
    set timeout=5

menuentry β€˜0 Cix Sky1 on EVB (Device Tree)’ {
devicetree (hd0,msdos2)/sky1-evb.dtb
linux (hd0,msdos2)/vmlinuz-6.1.44-cix-build-generic
console=ttyAMA2,115200
efi=noruntime
earlycon=pl011,0x040d0000
arm-smmu-v3.disable_bypass=0
acpi=off
loglevel=7
root=/dev/nvme0n1p3 rootflags=subvol=root noresume rootwait rw
}

  • Verify
    reboot system
    If multiple resolutions can be seen through the settings ->display, it can be considered that dpu enable is successful
    lsmod command can see that linlon_dp.ko is loaded and also confirm that dpu enable is successful
  1. Enable GPU
  • install gpu kmd: dpkg -i --force-depends cix-gpu-driver_1.0.0_arm64.deb

  • install cix-firmware: dpkg -i --force-depends cix-firmware_1.0.0_arm64.deb

  • install cix-env: dpkg -i --force-depends cix-env_1.0.0_arm64.deb

  • install cix-go
    tar -xvf cix-go-1.0.0.tar.gz
    cd cix-go
    sed -i β€˜s/dpkg -i/dpkg -i --force-depends/g’ install.sh
    ./install.sh(Ignore the following error message, don’t install cix xwayland)


    ldconfig

  • reboot system

  • Verify: Confirm that the pid of gnome_shell is in the/sys/kernel/debug/mli0/ctx directory

3 Likes