Jump to content

nedoskiv

Members
  • Posts

    45
  • Joined

  • Last visited

Recent Profile Visitors

1981 profile views
  1. here is the part of my rc.local that do the trick for me rmmod w1_gpio rmmod wire modprobe wire timeout=0 timeout_us=200000 slave_ttl=3 modprobe w1_gpio since that works, I assume one wire overlay parameter "param_w1_pin=PC3" was keep somewhere and is passed when I load module again.
  2. Hello after some search i successfull attack Ibutton on 1 wire, using ibutton probe my problem is that by default kernel scan for slaves every 10 seconds. Want to change it to 1 second or less if possible. Searching a bit, on some linux distributions this solves the problem: modprobe wire timeout=1 slave_ttl=5 modprobe w1-gpio but since in arbian /arbianEnv.txt take care of modules loaded, it do not work, My current file is: verbosity=1 bootlogo=false console=serial disp_mode=1920x10[D80p60 overlay_prefix=sun8i-h3 overlays=i2c0 pps-gpio uart1 uart2 uart3 usbhost1 usbhost2 w1-gpio param_pps_pin=PA6 param_w1_pin=PC3 rootdev=UUID=6dee376a-a115-473b-939b-b91774c75fa8 rootfstype=ext4 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u I have tried to add: param_w1_timeout=1 param_wire_timeout=1 and some other - unsuccessfull I need some help, thanks in advance
  3. looks like uarts can be enabled thru armbian-config and there is 3 UARTs that can be enabled, numbered from 1 to 3, I have tested board pins of UART0 - UART2 and they work perfect. I tried enabling and testting UARTS thru arbian-config and UART numbers are valid as picture above. My new question now is on which pins I should try for UART3? (also figured out that microUSB serial is named /dev/ttyGS0, not sure if it is included below): root@nanopineo:~# cat /proc/tty/driver/serial serinfo:1.0 driver revision: 0: uart:16550A mmio:0x01C28000 irq:49 tx:11757 rx:0 RTS|DTR 1: uart:16550A mmio:0x01C28400 irq:50 tx:44 rx:36 CTS 2: uart:16550A mmio:0x01C28800 irq:51 tx:8 rx:0 RTS|CTS|DTR 3: uart:16550A mmio:0x01C28C00 irq:52 tx:0 rx:0 CTS 4: uart:unknown port:00000000 irq:0 5: uart:unknown port:00000000 irq:0 6: uart:unknown port:00000000 irq:0 7: uart:unknown port:00000000 irq:0 root@nanopineo:~# cat /boot/armbianEnv.txt verbosity=1 bootlogo=false console=serial disp_mode=1920x1080p60 overlay_prefix=sun8i-h3 overlays=uart1 uart2 uart3 usbhost1 usbhost2 rootdev=UUID=6dee376a-a115-473b-939b-b91774c75fa8 rootfstype=ext4 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
  4. Hello, it is been awhile since I used armbian with Orange PI, now I took one orange PI NEO on it's connector is UART0, UART1 and UART2. My goal is to use all UARTS available on board. Googling a little I found the part where I should use BIX2FEX to convert script.bin and insert port definitions there, bot looks like that way is obsolete. looks by default only one uart is initialized: root@nanopineo:/boot# cat /proc/tty/driver/serial serinfo:1.0 driver revision: 0: uart:16550A mmio:0x01C28000 irq:49 tx:11630 rx:0 RTS|DTR 1: uart:unknown port:00000000 irq:0 2: uart:unknown port:00000000 irq:0 3: uart:unknown port:00000000 irq:0 4: uart:unknown port:00000000 irq:0 5: uart:unknown port:00000000 irq:0 6: uart:unknown port:00000000 irq:0 7: uart:unknown port:00000000 irq:0 I'm not sure that only available serial is not the MicroUSB one. Can someone point me in direction where UARTS are defined now?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines