Jump to content

Younes_Thabet

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by Younes_Thabet

  1. Hello,

    I am using OPI one with Armbian_5.90_Ubuntu_bionic_4.19.57, so I fliped my 7" touch screen display vertically (rotated 180) by modifing:

    /etc/X11/xorg.conf/01-armbian-defaults.conf

    and it worked, but the touch doesn't correspond with it (still points as it was before rotation).

     

    how can i flip the touch information (x,y) coordinates vertically (rotate by 180)?

     

    Regards,

  2. 23 minutes ago, martinayotte said:

    You need to decompile DTB into DTS, edit the DTS by changing "status" from "okay" to "disabled" for uart0 node and vice-versa for pwm node, then recompile DTS into DTB and reboot.

    I did decompile DTB into DTS, and this is what i found:

     

    uart0 {
    pins = "PA4/0PA5";
    function = "uart0";
    phandle = < 0x19 >;
    };

     

     

    pwm@1c21400 {
    compatible = "allwinner,sun8i-h3-pwm";
    reg = < 0x1c21400 0x08 >;
    clocks = < 0x0e >;
    #pwm-cells = < 0x03 >;
    status = "disabled";
    phandle = < 0x56 >;
    };

     

    there is no status line in uart0 and all other peripherals (spi i2c i2s ...) i tryed to change the status of pwm to "enabled" but with no luck!?

  3. Hello all,

     

    I used using opi one with (Armbian_5.90_Ubuntu_bionic_4.19.57) image. and used the uart0 pins for hardware pwm but the output was around 330mv pwm not 3.3v as i want.

    my initial thoughts was either the uart0 isn't disabled or there are no pull ups activated, although i tryed using this: https://github.com/iboguslavsky/pwm-sunxi-opi0

    Remap pins in FEX:

    ; Disable debug

    UART0 [uart_para]

    uart_debug_port = 0

    uart_debug_tx = port:PA04<2><1>

    uart_debug_rx = port:PA05<2><1>

     

    ; Enable PWM0 on PA05

    [pwm0_para] pwm_used = 1

    pwm_positive = port:PA05<3><0>

     

    but there is no FEX but DTB files and i didn't know how to disable uart0 and activate pwm in DTB/DTS files.

     

    so how can i get a 3.3v pwm on uart0 (hardware pwm) ?

  4. Hello all,

     

    I have a 5" waveshare touch screen connected (touch screen cable) to an orange pi one through usb with a separate power cable for screen, and it works fine. but when I used the (microusb to microusb cable) for the touch  it doesn't work..

     

    is there any way to make it work!? because i need the usb for something else and i can't use a usb hub for it's too big for my application.

     

    Regards, 

     

     

  5. I have orange pi one with Armbian Xenial desktop legacy kernel 3.4.y which have a script.bin file in /boot directory and doesn't have /boot/dtb directory ...but when i installed Armbian Bionic mainline based kernel 4.19.y, I found the .dtb files but not the script.bin ....now i don't know how to configure both touch screen and the pwm pin!

     

    is the .dtb file (sun8i-h3-orangepi-one.dtb) is the same as script.bin or orangepione.bin ?

    if so, how to configure it? because i am used to convert the script.bin to .fex to configure it and then back to .bin.

  6. Hello all,

     

    Recently, I bought an Orange Pi Win Plus board and have installed Armbian on SDcard and it works fine but when i try to install it on emmc using "sudo nand-sata-install" it just shows "install/update the bootloader on SD/eMMC" in the options instead of "boot from eMMC - system on eMMC" as i have seen on the internet .

     

    so guys! what am i doing wrong!?

     

    Regards,

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines