Jump to content

SUPA

Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi. I would like to know if someone can help me. I was successfully able to compile armbian 6.6.30 with all of @Stephen Graf patches for my orangepi zero 3 having Full Audio working even on HDMI. see below for reference. Now I have a 2nd project. It runs the h616 with 2GB DDR3 RAM with AXP313. Can someone help me with a patch for the AXP313 on h616. Or alternatively, could my h618 orangepi zero 3 setup work if I patch it to run with DDR3? If so where can I find such a patch. Thanks in advance.
  2. Thank you soooo much Stephan. I realized my error. I had to add the patches with the expected root path. Which was linux6.6. So I had to add my patches here: ~/src/build/userpatches/kernel/sunxi-6.6/linux-6.6/ @sasa Thank you for showing us how to enable audio through the mixer.
  3. Okay I noted the file path should be ~/src/build/userpatches/kernel/archive/sunxi-6.6. Then it includes them... Nut now I see the patches are not setup correctly for the correct changes. They work when i build from source. But how do I add them patches from https://github.com/warpme/minimyth2/tree/master/script/kernel/linux-6.6/files so they work in Armbian build tool? Sorry if my questions are noob.
  4. @Stephen Graf I successfully compiled using armbian build. But not sure if i successfully integrated the patches. and also don't know if I used all the correct patches. Could you review and advise please: Here are my steps: sudo apt-get -y -qq install git mkdir ~/src cd ~/src ======================= git hdmi audio patches ======================= git clone https://github.com/warpme/minimyth2.git git clone --depth=1 --branch=main https://github.com/armbian/build mkdir -p ~/src/build/userpatches/kernel/sunxi-current cp ~/src/minimyth2/script/kernel/linux-6.6/files/0600-drivers-h616-wip-add-usb-emac2-support.patch ~/src/build/userpatches/kernel/sunxi-current/ cp ~/src/minimyth2/script/kernel/linux-6.6/files/0601-drivers-thermal-allwinner-add-h616-ths-support.patch ~/src/build/userpatches/kernel/sunxi-current/ cp ~/src/minimyth2/script/kernel/linux-6.6/files/0602-media-cedrus-add-H616-variant.patch ~/src/build/userpatches/kernel/sunxi-current/ cp ~/src/minimyth2/script/kernel/linux-6.6/files/0603-soc-sunxi-sram-Add-SRAM-C1-H616-handling.patch ~/src/build/userpatches/kernel/sunxi-current/ cp ~/src/minimyth2/script/kernel/linux-6.6/files/0606-dma-sun6i-dma-add-h616-support.patch ~/src/build/userpatches/kernel/sunxi-current/ cp ~/src/minimyth2/script/kernel/linux-6.6/files/0607-drivers-drm-wip-add-h616-hdmi-jernejsk-24102023.patch ~/src/build/userpatches/kernel/sunxi-current/ cp ~/src/minimyth2/script/kernel/linux-6.6/files/0608-sound-soc-sunxi-add-codec-driver-for-h616.patch ~/src/build/userpatches/kernel/sunxi-current/ cp ~/src/minimyth2/script/kernel/linux-6.6/files/0609-sound-soc-add-sunxi_v2-for-h616-ahub.patch ~/src/build/userpatches/kernel/sunxi-current/ cp ~/src/minimyth2/script/kernel/linux-6.6/files/0615-drivers-iommu-sun50i-iommu-fix-iommu-on-h616.patch ~/src/build/userpatches/kernel/sunxi-current/ cp ~/src/minimyth2/script/kernel/linux-6.6/files/0630-arm64-dts-allwinner-h616.dtsi-add-ths-audio-hdmi.patch ~/src/build/userpatches/kernel/sunxi-current/ cp ~/src/minimyth2/script/kernel/linux-6.6/files/0631-arm64-dts-allwinner-h616-OrangePI-Zero23-enable-ths-hdmi-audio.patch ~/src/build/userpatches/kernel/sunxi-current/ cp ~/src/minimyth2/script/kernel/linux-6.6/files/0639-arm64-dts-allwinner-h616.dtsi-add-spdif.patch ~/src/build/userpatches/kernel/sunxi-current/ cp ~/src/minimyth2/script/kernel/linux-6.6/files/0640-arm64-dts-allwinner-h618-enable-spdif-opi23-tanix-tx6s.patch ~/src/build/userpatches/kernel/sunxi-current/ ls ~/src/build/userpatches/kernel/sunxi-current ========================= armbian build =========================== cd ~/src/build ./compile.sh
  5. @Stephen Graf i see that if i use the original kernel source i want to build patched linux-image and linux-header for armbian jammy 6.6.26. It seems to include support for analog audio. I compile and install these using . **************** i have already tested all my components on jammy 6.6.26 thats why I would prefer using it ========================= Here are my cheat sheets: wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.6.26.tar.xz tar -xvf linux-6.6.26.tar.xz cd ~/src/kernel-source/linux-6.6.26 copy all patches into ~/src/kernel-source/linux-6.6.26 cp /boot/config-$(uname -r) .config patch -p1 < 0606-dma-sun6i-dma-add-h616-support.patch patch -p1 < 0608-sound-soc-sunxi-add-codec-driver-for-h616.patch patch -p1 < 0609-sound-soc-add-sunxi_v2-for-h616-ahub.patch patch -p1 < 0630-arm64-dts-allwinner-h616.dtsi-add-ths-audio-hdmi.patch patch -p1 < 0631-arm64-dts-allwinner-h616-OrangePI-Zero23-enable-ths-hdmi-audio.patch patch -p1 < 0639-arm64-dts-allwinner-h616.dtsi-add-spdif.patch yes "y" | make oldconfig sudo make prepare sudo make clean cd ~/src/kernel-source/linux-6.6.26 sudo make -j$(nproc) bindeb-pkg LOCALVERSION=-custom cd ~/src/kernel-source/ sudo dpkg -i linux-image-6.6.26-custom_6.6.26-gbbc005ee4185-6_arm64.deb sudo dpkg -i linux-headers-6.6.26-custom_6.6.26-gbbc005ee4185-6_arm64.deb sudo dpkg -i linux-libc-dev_6.6.26-gbbc005ee4185-6_arm64.deb ls -l /boot/Image ls -l /boot/uInitrd ln -sf /boot/vmlinuz-6.6.26-custom /boot/Image ln -sf /boot/initrd.img-6.6.26-custom /boot/uInitrd cd ~/src/kernel-source/linux-6.6.26 make dtbs sudo mkdir /boot/dtb-6.6.26-custom/allwinner sudo cp /root/src/kernel-source/linux-6.6.26/arch/arm64/boot/dts/allwinner/*.dtb /boot/dtb-6.6.26-custom/allwinner/ sudo ln -sfn /boot/dtb-6.6.26-custom /boot/dtb sudo reboot now however my board doesnt boot. Do you have any suggestions? maybe u-boot? I have created the needed symlink which I though would be enough for u-boot. Maybe my approach is completely wrong
  6. Hi @Stephen Graf, thank you so much for these images. you are correct. Having audio even on HDMI is extremely useful. Do you perhaps have the kernel headers for this image? https://drive.google.com/file/d/1jIMTIqKc6y_uuG7lRyXXhIWQ_fvo0XgI/view?usp=drive_link Also, Could you create an image for armbian jammy, or provide steps so that i can do it. Armbian_community_24.5.0-trunk.93_Orangepizero3_jammy_current_6.6.18_gnome_desktop.img
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines