Untitled

 avatar
unknown
plain_text
4 days ago
1.4 kB
15
Indexable
System details:
	Board: Radxa Cubie A5E
	OS: Armbian v25.11 rolling (kernel 6.16.0-edge-sun55iw3)
	Bootloader / configuration: /boot/armbianEnv.txt uses user_overlays=pps-pi6
	Device tree source used: pps_pi6.dts / compiled pps_pi6.dtbo
	PPS kernel support: CONFIG_PPS=y, CONFIG_PPS_CLIENT_GPIO=m, CONFIG_PPS_CLIENT_LDISC=m
	Tried pps_gpio module with both modprobe pps_gpio and modprobe pps_gpio gpio=266 assert_rising=1

GPIO attempts:
	GPIO 266 (gpiochip1 line 266, physical pin 33)
	Pin 13 did not work

Observed behavior:
	GPIO can be read via gpioget correctly (high/low)
	/dev/pps0 is never created
	ppstest /dev/pps0 fails with “No such file or directory”

FILES

cat pps_pi6.dts
/dts-v1/;
/plugin/;

/ {
    compatible = "radxa,cubie-a5e";

    fragment@0 {
        target = <&pio1>;  // PI6 está no banco PI (verificado via gpioinfo)
        __overlay__ {
            pps {
                compatible = "pps-gpio";
                gpios = <&pio1 6 0>;   // pino PI6, flags 0 (ACTIVE_HIGH não funciona aqui)
                assert-rising-edge;
            };
        };
    };
};

---------------------

cat armbianEnv.txt
	verbosity=1
	bootlogo=false
	console=both
	disp_mode=1920x1080p60
	fdtfile=sun55i-a527-radxa-cubie-a5e.dtb
	rootdev=XXXXXXX
	rootfstype=ext4
	#PPS GPIO overlay
	user_overlays=pps-pi6
	usbstoragequirks=XXXXX
Editor is loading...
Leave a Comment