

Ultradrom
-
Posts
6 -
Joined
-
Last visited
Reputation Activity
-
Ultradrom got a reaction from charlesrg1 in Fix USB3-power and Bluetooth for H6 tvbox "V96mini 6k" (DTB customize example)
Problem:
USB3-power and Bluetooth not work when use original dtb-file "sun50i-h6-tanix-tx6.dtb" on tvbox "V96mini 6k" (brother of TX6),
with Armbian_21.08.0-trunk_Aw-h6-tv_hirsute_current_5.10.53_xfce_desktop.img.xz (distro from Balbes150).
All other stuff works fine: Ethernet100, HDMI+Audio, 2xUSB2.0, WiFi.
Hardware info "V96mini 6k" :
CPU : Allwinner H6; GPU : Mali-T720; RAM 4GB, MMC 64GB
Power Management Unit (PMU) : A8038 ! (not AXP805 !)
Wireless module : AP6256 ! (WiFi 2.5ghz and 5.0ghz, Bluetooth)
Ethernet 100mbit; 1xUSB3.0, 2xUSB2.0; microSD
Solution: (for fix USB3-power and Bluetooth on tvbox "V96mini 6k")
Variant 1 (easy) : use attached "sun50i-h6-tanix-tx6_v96mini6k_01.dtb" for fix problem (this mod based on "sun50i-h6-tanix-tx6.dtb").
Variant 2 (hardcore) : read next message in this topic for instructions how to fix manually (decompile dtb to dts, edit dts, compile new dtb).
sun50i-h6-tanix-tx6_v96mini6k_01.dtb
-
Ultradrom got a reaction from Willy Moto in Fix USB3-power and Bluetooth for H6 tvbox "V96mini 6k" (DTB customize example)
Variant 2 (hardcore) : decompile dtb to dts, edit dts, compile new dtb.
Step by step instructions for manual fix USB3-power and Bluetooth on tvbox "V96mini 6k":
1. Copy original dtb-file "sun50i-h6-tanix-tx6.dtb" from Armbian boot filesystem "/boot/dtb/allwinner/sun50i-h6-tanix-tx6.dtb" to empty work dir.
2. In work dir decompile original "sun50i-h6-tanix-tx6.dtb" to editable text:
$ dtc -I dtb -O dts sun50i-h6-tanix-tx6.dtb -o decompiled.dts
3. Open in text editor file "decompiled.dts" for make changes.
Insert new 6 text blocks exactly in places like showed in my example (spoiler below "SRC_DTS_TX6_MOD_FOR_V96MINI6K").
Note: All new 6 text blocks looks like :
/* ADDON part1of3 BEGIN */ ... ... /* ADDON part1of3 END */
"SRC_DTS_TX6_MOD_FOR_V96MINI6K":
Save modified file as "modified.dts".
4. Compile modified DTS to new DTB:
$ dtc -I dts -O dtb modified.dts -o sun50i-h6-tanix-tx6_v96mini6k_0x.dtb
5. Copy new DTB-file to Armbian boot filesystem:
/boot/dtb/allwinner/sun50i-h6-tanix-tx6_v96mini6k_0x.dtb
6. Edit boot config file "/boot/extlinux/extlinux.conf":
###commented orig line:###FDT /boot/dtb/allwinner/sun50i-h6-tanix-tx6.dtb FDT /boot/dtb/allwinner/sun50i-h6-tanix-tx6_v96mini6k_0x.dtb
7. Reboot.