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/22 15:47] adminaml-s905x-cc [2024/11/14 02:30] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Libre Computer Le Potato AML-S905X-CC ====== ====== Libre Computer Le Potato AML-S905X-CC ======
 +Pretty much everything here should apply to the v2, as well.
  
-===== PPS Pin 7 ===== +Pinout: 
-<file c pps_pin7.dts>+https://docs.google.com/spreadsheets/d/1U3z0Gb8HUEfCIMkvqzmhMpJfzRqjPXq7mFLC-hvbKlE/edit#gid=
 + 
 + 
 +==== TimePotato ==== 
 +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/; /dts-v1/;
 /plugin/; /plugin/;
  
 / { / {
-        compatible = "libretech,cc", "amlogic,s905x", "amlogic,meson-gxl";+ compatible = "libretech,cc", "amlogic,s905x", "amlogic,meson-gxl";
  
-        fragment@+ fragment@
-                target-path "/"+ target = <&i2c_AO>
-                __overlay__ { + 
-                        pps_gpio: pps-gpio + __overlay__ { 
-                                compatible = "pps-gpio"; + rtc@52 
-                                gpios = <&gpio 98 0>; + compatible = "microcrystal,rv3032"; 
-                                interrupt-parent = <&gpio_intc>; + reg = <0x51>; 
-                                interrupts = <98 1>; + }; 
-                                assert-rising-edge; + }; 
-                                status = "okay"; + };
-                        }; +
-                }; +
-        };+
 }; };
 </file> </file>
  
-===== PPS (OLD) ===== 
  
-<file c pps_pin13.dts>+==== PPS Pin 7 ==== 
 + 
 +<file c pps_pin7.dts>
 /dts-v1/; /dts-v1/;
 /plugin/; /plugin/;
Line 50: Line 57:
 </file> </file>
  
-build with+==== Build & Merge ====
  
 <code> <code>
-dtc -I dts -O dtb pps_pin13.dts -o pps-pin13.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_pin13.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-pin13+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.1711122449.txt.gz · Last modified: 2024/11/14 02:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki