Jump to content

thanh_tan

Members
  • Posts

    51
  • Joined

  • Last visited

Posts posted by thanh_tan

  1. Hello,

     

    I tried to install the RTL8821CE card on Orange Pi 5 Plus, but only the Bluetooth is on, the wifi not working. Which driver i should use?

     

    I am using Armbian 24.2.1 Jammy with Linux 5.10.160-legacy-rk35xx

     

    here is the dmesg of 
     

    admin@orangepi5-plus:~$ nmtui
    admin@orangepi5-plus:~$ dmesg | grep 8821
    [    5.588211] pci_bus 0003:30: root bus resource [mem 0x9c0000000-0x9ffffffff pref]
    [    8.482106] rtw_8821ce 0002:21:00.0: enabling device (0000 -> 0003)
    [    8.493940] rtw_8821ce 0002:21:00.0: Firmware version 24.11.0, H2C version 12
    [    8.534600] rtw_8821ce 0002:21:00.0: rfe 6 isn't supported
    [    8.534719] rtw_8821ce 0002:21:00.0: failed to setup chip efuse info
    [    8.534723] rtw_8821ce 0002:21:00.0: failed to setup chip information
    [   83.795823] Bluetooth: hci0: RTL: examining hci_ver=08 hci_rev=000c lmp_ver=08 lmp_subver=8821
    [   83.796843] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821c_fw.bin
    [   83.799263] Bluetooth: hci0: RTL: loading rtl_bt/rtl8821c_config.bin
    admin@orangepi5-plus:~$ lspci
    0002:20:00.0 PCI bridge: Rockchip Electronics Co., Ltd Device 3588 (rev 01)
    0002:21:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
    0003:30:00.0 PCI bridge: Rockchip Electronics Co., Ltd Device 3588 (rev 01)
    0003:31:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
    0004:40:00.0 PCI bridge: Rockchip Electronics Co., Ltd Device 3588 (rev 01)
    0004:41:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
    admin@orangepi5-plus:~$ dmesg | grep iwlwifi
    admin@orangepi5-plus:~$ dmesg | grep wifi
    [    4.419741] wifi_disable: no parameters, enabled
    [    4.419802] reg-fixed-voltage wifi-diable-gpio-regulator: wifi_disable supplying 0uV
    [    6.159542] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = ap6275p
    [    6.159548] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
    [    6.159554] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
    [    6.159620] [WLAN_RFKILL]: wlan_platdata_parse_dt: The ref_wifi_clk not found !
    [    6.159633] [WLAN_RFKILL]: rfkill_set_wifi_bt_power: 1
    admin@orangepi5-plus:~$
    

     

  2. Hello,

     

    I would like to connect RFID-RC522 to OPI 3 LTS

     

    My wiring as bellow

    VCC -> Pin 1

    GND -> Pin 9

    MOSI -> Pin19

    MISO -> Pin21

    SDA -> Pin24

    SCK -> Pin23

    RST  None

     

    I wired it based on this chart

    h6-26p-pi3-649x400.png

     

    Then I edit the armbianEnv.txt  added

     

    Quote

    overlays=spi-spidev
    param_spidev_spi_bus=1

     

    Reboot .

     

    But still not see the /dev/spi 

     

    Where am I wrong?

  3. Hello,

     

    I am looking for the old version of Armbian_5.30_Orangepipcplus_Ubuntu_xenial_default_3.4.113

     

    Have checked the archive server here: https://imola.armbian.com/archive/orangepipcplus/archive/ but no luck

     

    There are old link found https://dl.armbian.com/orangepipcplus/archive/Armbian_5.30_Orangepipcplus_Ubuntu_xenial_default_3.4.113.7z but has been "404 Not Found"

     

    Hope that someone still archived this version, please upload to a cloud server i just want to download it for my project

     

    Thanks in advance

     

  4. On 3/15/2021 at 6:41 PM, rreignier said:

    Hi @rdeyes

     

    On an Orange Pi One (which might be close to your Orange Pi PC), I have managed to get the OV5640 thanks to the amazing work of the contributors of this thread.

     

    Last time I have tried was on Armbian 20.08.17 with Linux 5.8.16.

     

    The device tree overlay I use is this one (you may have to change some pins) :

    /dts-v1/;
    /plugin/;
    
    / {
            compatible = "allwinner,sun8i-h3";
    };
    
    &ccu {
            assigned-clocks = <&ccu 107>;
            assigned-clock-parents = <&osc24M>;
            assigned-clock-rates = <24000000>;
    };
    
    &pio {
            csi_mclk_pin: csi-mclk-pin {
                    pins = "PE1";
                    function = "csi";
            };
    };
    
    &i2c2_pins {
            bias-pull-up;
    };
    
    &i2c2 {
            status = "okay";
    
            ov5640: camera@3c {
                    compatible = "ovti,ov5640";
                    reg = <0x3c>;
                    pinctrl-names = "default";
                    pinctrl-0 = <&csi_mclk_pin>;
                    clocks = <&ccu 107>;
                    clock-names = "xclk";
    
                    AVDD-supply = <&reg_vcc_af_csi>;
                    DOVDD-supply = <&reg_vdd_1v5_csi>;
                    DVDD-supply = <&reg_vcc_csi>;
                    reset-gpios = <&pio 4 14 1>; /* CSI-RST-R: PE14 */
                    powerdown-gpios = <&pio 4 15 0>; /* CSI-STBY-R: PE15 */
    
                    port {
                            ov5640_ep: endpoint {
                                    remote-endpoint = <&csi_ep>;
                                    bus-width = <8>;
                                    data-shift = <2>; /* lines 9:2 are used */
                                    hsync-active = <1>; /* Active high */
                                    vsync-active = <0>; /* Active low */
                                    data-active = <1>;  /* Active high */
                                    pclk-sample = <1>;  /* Rising */
                            };
                    };
            };
    };
    
    &csi {
            status = "okay";
    
            port {
                    #address-cells = <1>;
                    #size-cells = <0>;
    
                    csi_ep: endpoint {
                            remote-endpoint = <&ov5640_ep>;
                            bus-width = <8>;
                            hsync-active = <1>; /* Active high */
                            vsync-active = <0>; /* Active low */
                            data-active = <1>;  /* Active high */
                            pclk-sample = <1>;  /* Rising */
                    };
            };
    };

     

    To enable it, I use this command:

    sudo armbian-add-overlay csi-ov5640.dts

    And then, to take a picture:

    media-ctl --device /dev/media1 --set-v4l2 '"ov5640 1-003c":0[fmt:JPEG_1X8/1920x1080]'
    fswebcam -d /dev/video0 -r 1920x1080 -D 0 --jpeg 100 /tmp/test.jpg

     

    I hope this can help you and others.

     

    Today, i have tried your dts on Orange Pi PC Plus with the camera ov5640.

     

    But after reboot there are only the video0 and it is not ov5640, the output of command 

    v4l2-ctl -d /dev/video0 --all

    show

     

    Quote

    Driver Info:
            Driver name      : cedrus
            Card type        : cedrus
            Bus info         : platform:cedrus
            Driver version   : 5.4.45
            Capabilities     : 0x84208000
                    Video Memory-to-Memory
                    Streaming
                    Extended Pix Format
                    Device Capabilities
            Device Caps      : 0x04208000
                    Video Memory-to-Memory
                    Streaming
                    Extended Pix Format

     

    any wrong?

  5. On 6/2/2022 at 8:41 PM, MacBreaker said:

    Hello @thanh_tan,

     

    next time I will try the same with Orange Pi One.

     

    My search point to this adress:  https://desertbot.io/blog/raspberry-pi-touchscreen-kiosk-setup

     

    It's based on a cli (small) image with Chromium, no desktop need.

     

    Found also a artickel, but it's in german with the firefox browser.

     

    Maybe this helps a little bit..

     

    Markus

     

    I have followed this instruction and success with display video on orange pi but there are two problem need to ask more.

     

    1. How to get the sound output with HDMI out? Tried alsa-mixer to setup sound out with hdmi, but seem that chromium doesn't play the sound

     

    2. The default resolution is 1024x800. Want to upgrade to 1080p but cannot

  6. 18 hours ago, MacBreaker said:

    Hello,

     

    great that it works for you and you were able to solve the differences between RPi and Armbian. 👍

     

    For my part, I have not dig deep in the project, since for me it is a "bad weather project" in the future of this year.

     

    Thanks for your tips, I'll use them... 🙂

     

    What about the space of your eMMC?

    I think no Problem.

     

    Markus

     

    The Orange PI PC Plus has 8GB and all the os and chromium took only 3GB. 
    That's sound good for me now

     

    Screenshot_1.png

  7. I have found the solution for autologin from console here https://askubuntu.com/questions/819117/how-can-i-get-autologin-at-startup-working-on-ubuntu-server-16-04-1

     

    First, find the agetty

    type -a agetty

     

    It will returns, like this

    agetty is /usr/sbin/agetty

    agetty is /sbin/agetty

     

    note /sbin/agetty

     

    Then run this

    sudo systemctl edit getty@tty1.service

     

    This will the create a drop-in file (if neccessary) and open it an editor. Add the following, replacing myusername with username:

    [Service]
    ExecStart=
    ExecStart=-/sbin/agetty --noissue --autologin myusername %I $TERM 
    Type=idle

     

    This will:

    Quote

     

    Create the folder /etc/systemd/system/getty@tty1.service.d if necessary

    Create the file /etc/systemd/system/getty@tty1.service.d/override.conf if necessary

     

     

    Then reboot. Since i have follow the above instruction from desertbot.io, it will appear the website

  8. On 6/2/2022 at 8:41 PM, MacBreaker said:

    Hello @thanh_tan,

     

    next time I will try the same with Orange Pi One.

     

    My search point to this adress:  https://desertbot.io/blog/raspberry-pi-touchscreen-kiosk-setup

     

    It's based on a cli (small) image with Chromium, no desktop need.

     

    Found also a artickel, but it's in german with the firefox browser.

     

    Maybe this helps a little bit..

     

    Markus

     

    This derserbot cannot work on armbian since armbian doesn't allow autologin with username.

    On Raspi they have on raspi-config

     

    Boot Options> Desktop CLI> Console Autologin

     

    but armbian-config don't

  9. Armbianmonitor:

    Hello,

     

    I tried Armbian_21.02.1_Orangepi4_bionic_current_5.10.12_minimal.img and Armbian_21.02.1_Orangepi4_buster_current_5.10.12.img

     

    but these two version the eth0 doesn't work. This is the ifconfig printout

     

    
    Last login: Thu Feb 25 09:07:13 2021
    root@orangepi4:~# ifconfig
    eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
            ether 6e:6d:04:05:d9:8c  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device interrupt 35
    
    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.68.112  netmask 255.255.255.0  broadcast 192.168.68.255
            inet6 fe80::120d:4bf9:fc2a:4604  prefixlen 64  scopeid 0x20<link>
            ether c0:84:7d:31:4f:92  txqueuelen 1000  (Ethernet)
            RX packets 90  bytes 10915 (10.6 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 100  bytes 18412 (17.9 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

     

    Tried using nmtui to activate but it does not activate and return

                                                                                   |  |     |   Could not activate connection:  │       │
                                                                                   │ │   │ Connection 'Wired connection 1' │       │
                                                                                   │ │   │ is not available on device eth0 │       │
                                                                                   │ │   │ because device has no carrier

  10. I have tried to test this board.

     

    The OpenWRT version on xunlong site (http://www.orangepi.org/downloadresources/) doesn't work

     

    The Debian/Ubuntu version is booted, but i don't know why it always crash and reboot.

     

    I am planning to install PiHole on this device to bring it to a hub that can block ads on internet natively, like this flow

     

    Internet <=> Modem <=> R1 Plus (PI Hole) <=> Wireless Router 

     

    any thought?

     

  11. and pcie expansion board  works ?
    I tested and didnt work. but it could be because of power problems or other problems...
    That board doesnt have external power pins!!!

    Me too, it seems the extension board is just ready for other thing


    Sent from my iPhone using Tapatalk
  12. On 3/31/2020 at 2:08 AM, Localhost said:

    You can download board specific images from :

    http://www.orangepi.org/downloadresources/

    Also if you only need the Android Image, you can download the official orange pi build from :

    https://drive.google.com/drive/mobile/folders/1Urh9-yljq9Mrrafp7ZWRVf_s_AdjUoTQ?usp=drive_open

    EDIT:

    Are sure you used the correct file?

    The image provided by the link you mentioned, is 383 Mb, and no other orange pi's official linux image has a size equal to that

    So go double check the file you used/extracted

    :)

     

     

    I can install the Android 7 on Orange Pi 3 but there are no google store, and everytime i try to run Netflix/Youtube or other program, it said

     

     

    23ace6625646ac18f557.jpg

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines