User Tools

Site Tools


aml-s905x-cc


Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
aml-s905x-cc [2024/03/23 13:44] adminaml-s905x-cc [2024/11/14 02:30] (current) – external edit 127.0.0.1
Line 9: Line 9:
 Pretty much everything here is standard, the main difference is loading the overlays for UART, RTC, and PPS. RTC and PPS must be manually compiled. Pretty much everything here is standard, the main difference is loading the overlays for UART, RTC, and PPS. RTC and PPS must be manually compiled.
  
 +
 +==== RV-3032-C7 ====
 +<file c i2c-ao-rv3032.dts>
 +/dts-v1/;
 +/plugin/;
 +
 +/ {
 + compatible = "libretech,cc", "amlogic,s905x", "amlogic,meson-gxl";
 +
 + fragment@1 {
 + target = <&i2c_AO>;
 +
 + __overlay__ {
 + rtc@52 {
 + compatible = "microcrystal,rv3032";
 + reg = <0x51>;
 + };
 + };
 + };
 +};
 +</file>
  
  
-=== PPS Pin 7 ===+==== PPS Pin 7 ====
  
 <file c pps_pin7.dts> <file c pps_pin7.dts>
Line 36: Line 57:
 </file> </file>
  
-build with+==== Build & Merge ====
  
 <code> <code>
-dtc -I dts -O dtb pps_pin7.dts -o pps-pin7.dtbo+dtc -I dts -O dtb pps_pin7.dts -o pps-pin7.dtbo ; 
 +dtc -I dts -O dtb i2c-ao-rv3032.dts -o i2c-ao-rv3032.dtbo
 </code> </code>
  
 copy: copy:
-<code>sudo cp pps-pin7.dtbo \ +<code>sudo cp *.dtbo \ 
-/opt/librecomputer/libretech-wiring-tool/libre-computer/aml-s905x-cc-v2/dt/</code>+/opt/librecomputer/libretech-wiring-tool/libre-computer/aml-s905x-cc-v2/dt/.</code>
  
 merge: merge:
 <code> <code>
-sudo ldto merge pps-pin7+sudo ldto merge i2c-ao ; 
 +sudo ldto merge uart-a ; 
 +sudo ldto merge i2c-ao-rv3032 ; 
 +sudo ldto merge pps-pin7 
 +sudo reboot 
 +</code> 
 + 
 +Disable the SW RTC 
 +<code> 
 +echo "blacklist rtc_meson_vrtc" | sudo tee -a /etc/modules >/dev/null
 </code> </code>
aml-s905x-cc.1711201476.txt.gz · Last modified: 2024/11/14 02:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki