Jump to content

Recommended Posts

Posted (edited)

I have the file .../dts/amlogic/meson-sm1-x96-air-gbit.dts and the patch 004-arch-arm64-dts-amlogic-meson-sm1-ac2xx-tv-boxes.patch.

How to patch a dts file and generate a dtb file from it.

I am asking for help.

Edited by KrzyPac
Posted

@KrzyPac

 

I suspect you just need the DTB correct? Git clone the armbian/build, place the patch in patch/kernel/archive/meson64-6.12/ and build any meson64 board. 

 

./compile.sh KERNEL_GIT=shallow BRANCH=current EXPERT=yes KERNEL_BTF=no kernel BOARD=bananapicm4io

 

The DTS files are one of the first things to be compiled,  so once you see them finish, hit CTRL+C to cancel the build and then grab the DTB file from the source dir: cache/sources/linux-kernel-worktree/6.12__meson64__arm64/arch/arm64/boot/dts/amlogic/

 

That is the easiest way I can think of doing what you want to achieve. Here is an updated PATCH and pr-ecompiled DTB.

 

NOTE: There are different variants of the X96-AIR. I have two. One that uses Qualcomm for wireless and another that is Realtek. Each variant requires a different DTS for it to function properly. This patch is for the Realtek variant. 

 

 

x96-air-gbit-spdif-jack-i2c1-openvfd-jl2xx1-bt-support.patch meson-sm1-x96-air-gbit.dtb

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines