User Tools

Site Tools


rk3328-roc-cc_dts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
rk3328-roc-cc_dts [2024/03/10 07:20] – created torterk3328-roc-cc_dts [2025/01/21 12:36] (current) torte
Line 1: Line 1:
 +{{page>redirect#this_wiki_has_moved}}
 +https://torte71.github.io/InsideSovolKlipperScreen/rk3328-roc-cc_dts.html
 +{{page>redirect#section}}
 +----
 +
 ===== Sovol KlipperScreen ===== ===== Sovol KlipperScreen =====
 ==== Rebuilding ==== ==== Rebuilding ====
 === Internal wifi === === Internal wifi ===
  
-Source of Sovol's rk3328-roc-cc.dtb from 5.16.20 kernel+Source of Sovol's rk3328-roc-cc.dtb from 5.16.20 kernel ({{wiki:rk3328-roc-cc.dts|download}})
  
 (This does not yet include the [[#wifipatch|wifi-patch]]) (This does not yet include the [[#wifipatch|wifi-patch]])
 +
 +To apply the patch by your own:
 +  * Decompile dtb to dts: ''dtc -I dtb -O dts /boot/dtb/rockchip/rk3328-roc-cc.dtb -o rk3328-roc-cc.dts''
 +  * Modify rk3328-roc-cc.dts: Change line 863 from "rockchip,spi_test_bus1_cs2" to "armbian,spi-dev"
 +  * Compile dts back to dtb: ''dtc -I dts -O dtb rk3328-roc-cc.dts -o /boot/dtb/rockchip/rk3328-roc-cc.dtb''
 +
  
 <code> <code>
Line 2960: Line 2971:
  
 {{anchor:wifipatch}} {{anchor:wifipatch}}
 +Patch to get spi-dev working:
 <code> <code>
-bla+--- rk3328-roc-cc-org.dts Sat Mar 09 16:36:40 2024 
 ++++ rk3328-roc-cc-new.dts Sat Mar 09 17:33:57 2024 
 +@@ -860,7 +860,7 @@ 
 +  
 +  spi_for_cs2@0 { 
 +  reg = <0x00>; 
 +- compatible = "rockchip,spi_test_bus1_cs2"; 
 ++ compatible = "armbian,spi-dev"; 
 +  pinctrl-names = "default"; 
 +  pinctrl-0 = <0x35>; 
 +  spi-max-frequency = <0x4c4b40>;
 </code> </code>
  
rk3328-roc-cc_dts.1710051623.txt.gz · Last modified: 2024/03/10 07:20 by torte