Skip to content

adding my patches for fixing the DTB, hdmi issues, and others #30

@bruceloco

Description

@bruceloco

Had to fix the clock files to match the dts naming which is the same as acpi naming, otherwise the ARM Mali vendor driver does not build
hdmi not turning back on if turned off at boot - fixed
other minor fixues such as at boot via dtb restoring SMMU variables not to get boot errors
and others

orangepi6_fixes_bruce_loco_6.19.4.patch

orangepi6-6.19.4_config.txt

decided to open an issue to fix issues instead of moaning about issues

BTW, I don't use a bootloader, I build a single image

This is for my dtb build:
ukify build --linux /home/orange-pi/linux-6.19.4/arch/arm64/boot/Image --initrd /boot/efi/initrd.img --devicetree /home/orange-pi/linux-6.19.4/arch/arm64/boot/dts/cix/sky1-orangepi-6-plus.dtb --uname 6.19.4 --cmdline "console=tty1 console=ttyAMA2,115200 rw rootwait clk_ignore_unused root=UUID='whatever your UUID is' rootflags=subvol=void_root cma=640M acpi=off" --stub /usr/lib/systemd/boot/efi/linuxaa64.efi.stub --output /boot/efi/void-runit.efi
I also put a copy of the dtb in /boot/efi

or if you want UEFI
dracut --kver 6.19.4 --force --kernel-image=/home/orange-pi/linux-6.19.4/arch/arm64/boot/Image --kernel-cmdline="console=tty1 console=ttyAMA2,115200 rw rootwait clk_ignore_unused root=UUID='your UUID' rootflags=subvol=void_root sky1.gpu=vendor cma=640M" --hostonly --uefi /boot/efi/void-runit.efi

kernel image is the location of your kernel image
you don't need ttyAMA2 unless you are debugging like I was
I use host only for the initramfs on dracut for a minimal initramfs, but you don't have to do it and it will have all drivers
Keep in mind this is a void rootfs and kernel
but all drivers are loaded
Now I will work on getting Void Linux with hyprland working with some premade ricing, looking for ideas, I like youtuber's typecraft rice
Will see what Garuda did as well

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions