lsmod

Members
  • Content Count

    34
  • Joined

  • Last visited

About lsmod

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Yes - but the organisation of this schematic diagram is horrible. It would be nice to have a complete overview. A helpful table can be found on page 23 of the CPU description: http://linux-sunxi.org/images/d/de/Allwinner_H5_Datasheet_V1.0.pdf
  2. But - why? pin 23/24 is shown in the diagram as SPI1? Is the reason that this pins are multi purpose? Where did you find this secret?
  3. My experiment to activate UART0 fails with overlays=... uart0 uart1 and results only in an working UART1. O.K. - then i have to connect my serial device on UART 1 and everything is fine. Thank you for your help martinayotte! Is it possible to use the UART pin's near the HDMI-connector?
  4. Hmm - this information comes late. Additional i have to find out that an overlay assignment is already existant from the beginning! This is the content of the original file armbianEnv.txt that is again in use: verbosity=1 console=both overlay_prefix=sun50i-h5 rootdev=UUID=aa5e51f4-5867-45a3-a342-740ba0961be3 rootfstype=ext4 overlays=analog-codec i2c0 i2c1 i2c2 pps-gpio pwm spi-add-cs1 spi-jedec-nor spi-spidev uart1 uart2 uart3 w1-gpio usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u The problem is that all UART's should have worked from the beginning! Retest
  5. I see in the manual that this should be UART3. And i can see on page 6 in GPIO of the schematic that UART3 should be PA14/PA13. That was the source. It takes more than one minute for me. But i know what you mean - this days i simply don't have enough time for this problem and i always must "think me into the problem again". Now i checked with and without a wire-loop on GIPO pins 38+40 that should be UART1. I added to the configuration overlays=uart1 overlays=uart2 UART1 can't be opened with a serial program. UART2
  6. When it is clear enough - why there is UART0 on Pin 8/10 ? UART0 is defined on PA4/PA5 in the configuration files ? I already tested UART0 and it is not working too I think i have to give up to get the UART working with Armbian on an Orange Pi PC 2 ...
  7. This schematic does not contain a clear and reliable Pinout.! Correct. I have wirtten that there was no signal. This are serial Pins on an Raspberry - so why not on an Orange-Pi ?
  8. Now i am very confused. Where you find this information about Pins 23/24 ? We already discussed this theme here and i have to find out that every Pinout is somehow wrong! Is there somewhere a correct one for an Orange Pi PC 2 ? But your idea is good - i will make simple tests just to find any working UART ... The scope probe was O.K., because i could see High-Level 3.3V and working signal of the serial device i want to connect.
  9. Good idea! It seems that the serial ports are added with the correct number: [ 0.682731] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.683890] console [ttyS0] disabled [ 0.704033] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 28, base_baud = 1500000) is a U6_16550A [ 0.704085] console [ttyS0] enabled [ 0.726793] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 29, base_baud = 1500000) is a U6_16550A I can only open /dev/ttyS3. All other ports will fail with "Unable to configure serial port" When i enable all ports with overla
  10. This is my current Pin-Assignment for the GPIO with all references:
  11. Yes - i can find this files in the path /boot/dtb/allwinner/overlay -rw-r--r-- 1 root root 506 Sep 19 12:10 sun50i-a64-uart1.dtbo -rw-r--r-- 1 root root 1001 Sep 19 12:10 sun50i-a64-uart2.dtbo -rw-r--r-- 1 root root 826 Sep 19 12:10 sun50i-a64-uart3.dtbo -rw-r--r-- 1 root root 1001 Sep 19 12:10 sun50i-a64-uart4.dtbo For other users: The files can be translated each with dtc -I dtb sun50i-a64-uart1.dtbo -O dts -o sun50i-a64-uart1.dts There are many definitions for the UART ... Yes - i am really confused by the wrong schematics. Is there anywhere
  12. Thank you for the Tip! Where i can find the DT overlays? I will check this on the weekend when i am home again ...
  13. Hello, after some time i am trying to work again on my Orange Project. Now i want to connect an serial device on UART2 (PA0 / PA1). The devices /dev/ttyS0 - S3 are existant, but no data is coming in over RXD. I already read the thread here and tried to check the configuration. I upgraded my armbian and i am now working with ARMBIAN 5.60 stable Debian GNU/Linux 9 (stretch) 4.14.70-sunxi64 So i hopefully found the configuration in /boot/dtb-4.14.70-sunxi64/allwinner/sun50i-h5-orangepi-pc2.dtb After decompiling i found
  14. Doesn't it make sense to create additional an shared object file ? With something additional like gcc -shared -fPIC -o libarmbianio.so armbianio.o -lc
  15. Yes - it's clear that WiringPi is not needed for I2C. I added the PC2 board to ArmbianIO: