Jump to content

tiziano000

Members
  • Posts

    3
  • Joined

  • Last visited

  1. Hi, yes i'm logged in as root, under System menu there is "Dtc View/Edit/Compile device tree WIP". In /boot/dtb/rockchip/overlay there are those file: README.rockchip-overlays rockchip-i2c1.dtbo rockchip-pwm2.dtbo rockchip-uart0.dtbo rockchip-fixup.scr rockchip-nanopi-r5s-leds.dtbo rockchip-pwm9.dtbo rockchip-uart0-rts_cts.dtbo rockchip-i2c0.dtbo rockchip-pwm1.dtbo rockchip-spi-spidev.dtbo rockchip-uart1.dtbo decompiling rockchip-uart1.dtbo with dtc -I dtb -O dts rockchip-uart1.dtbo -o rockchip-uart1.dts , return this file: /dts-v1/; / { fragment@0 { target = <0xffffffff>; __overlay__ { status = "okay"; dma-names = "tx\0rx"; }; }; __fixups__ { uart0 = "/fragment@0:target:0"; }; }; How it's linked to uart1 hardware configuration? Like this one? https://github.com/friendlyarm/kernel-rockchip/blob/nanopi6-v6.1.y/arch/arm64/boot/dts/rockchip/rk3568-nanopi5-common.dtsi Thanks
  2. Hi, thanks for reply. in armbian-config there is no hardware menu, i tried adding uart5 to /boot/armbianEnv.txt but it does not work. Digging in the device tree I found this: uart5 { uart5m0-xfer { rockchip,pins = <0x02 0x01 0x03 0xb2 0x02 0x02 0x03 0xb2>; phandle = <0x8f>; }; uart5m0-ctsn { rockchip,pins = <0x01 0x1f 0x03 0xb0>; phandle = <0x230>; }; uart5m0-rtsn { rockchip,pins = <0x02 0x00 0x03 0xb0>; phandle = <0x231>; }; uart5m1-xfer { rockchip,pins = <0x03 0x13 0x04 0xb2 0x03 0x12 0x04 0xb2>; phandle = <0x232>; }; }; In /dev there are 8 serials configured from ttyS0 to ttyS7, but when I try to read them they return input/output error.
  3. Hi all. Has anyone managed to get the gpio pins working? I'm trying to use gps as timesource for my pi. I tried connecting the GPS to UART5 (pins 3 and 5) and using pin 12 as a PPS input. However, I saw that the serial ports are deactivated by default; how can I activate uart5? then I tried with a serial-usb converter to test the functioning of the pps pin, but without success despite it being correctly configured from gpioinfo. gpiochip3 - 32 lines: line 21: unnamed "pps-gpio0" input active-high [used] any suggestions? Thanks in advance
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines