Jump to content

VyacheslavS

Members
  • Posts

    30
  • Joined

  • Last visited

Everything posted by VyacheslavS

  1. I tested this method on Orange Pi PC2 (Armbian 21.08 Focal). ~:% uname -a Linux orangepipc2 5.10.60-sunxi64 #21.08.1 SMP Wed Aug 25 18:29:57 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux The instructions have a small clarification for the aarch64 architecture. The symlink must be like this to install the driver: sudo ln -s /lib/modules/$(uname -r)/build/arch/arm64 /lib/modules/$(uname -r)/build/arch/aarch64 The driver is installed and works well.
  2. VyacheslavS

    Mainline VPU

    Very interesting. I also want to test it in the near future.
  3. I bought this one a year ago, along with the board. This is a miniPCIe. Me also need an adapter to connect an NVMe SSD with an M2 key. I can't find one.
  4. Which adapter do you use to connect the M2 for PCIE port on the orange pi 4? I can't find.
  5. I also bought the same one, about 15 Euros. I configured the script and now it starts to rotate from +35, the rotation speed is floating. The maximum spin speed starts at +60 . This cooler is really quiet and worth it money.
  6. @haajee , This is a problem with my cooler. It starts rotating with 3.3 V. If the tension is less, then silence. I took voltage measurements from 7 pin. The voltage on this pin is: min=1.0 V, max=2.9 V. Tell me please did you connect Noctua NF-A4x20 5V PWM directly or via MOSFET? In Noctua cooler with 4 pins or 3 pins?
  7. $ gpio readall shows +------+-----+----------+------+---+OrangePi 4+---+---+--+----------+-----+------+ | GPIO | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | GPIO | +------+-----+----------+------+---+----++----+---+------+----------+-----+------+ | | | 3.3V | | | 1 || 2 | | | 5V | | | | 64 | 0 | I2C2_SDA | IN | 0 | 3 || 4 | | | 5V | | | | 65 | 1 | I2C2_SCL | IN | 0 | 5 || 6 | | | GND | | | | 150 | 2 | PWM1 | ALT2 | 1 | 7 || 8 | 1 | ALT2 | I2C3_SCL | 3 | 145 | | | | GND | | | 9 || 10 | 1 | ALT2 | I2C3_SDA | 4 | 144 | | 33 | 5 | GPIO1_A1 | IN | 0 | 11 || 12 | 1 | IN | GPIO1_C2 | 6 | 50 | | 35 | 7 | GPIO1_A3 | OUT | 1 | 13 || 14 | | | GND | | | | 92 | 8 | GPIO2_D4 | IN | 0 | 15 || 16 | 0 | IN | GPIO1_C6 | 9 | 54 | | | | 3.3V | | | 17 || 18 | 0 | IN | GPIO1_C7 | 10 | 55 | | 40 | 11 | SPI1_TXD | ALT3 | 0 | 19 || 20 | | | GND | | | | 39 | 12 | SPI1_RXD | ALT3 | 1 | 21 || 22 | 0 | IN | GPIO1_D0 | 13 | 56 | | 41 | 14 | SPI1_CLK | ALT3 | 1 | 23 || 24 | 1 | ALT3 | SPI1_CS | 15 | 42 | | | | GND | | | 25 || 26 | 0 | IN | GPIO4_C5 | 16 | 149 | | 64 | 17 | I2C2_SDA | IN | 0 | 27 || 28 | 0 | IN | I2C2_SCL | 18 | 65 | | | | I2S0_RX | | | 29 || 30 | | | GND | | | | | | I2S0_TX | | | 31 || 32 | | | I2S_CLK | | | | | | I2S0_SCK | | | 33 || 34 | | | GND | | | | | | I2S0_SI0 | | | 35 || 36 | | | I2S0_SO0 | | | | | | I2S0_SI1 | | | 37 || 38 | | | I2S0_SI2 | | | | | | GND | | | 39 || 40 | | | I2S0_SI3 | | | +------+-----+----------+------+---+----++----+---+------+----------+-----+------+ | GPIO | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | GPIO | +------+-----+----------+------+---+OrangePi 4+---+---+--+----------+-----+------+ $ ls /sys/class/pwm/pwmchip1 device export npwm power subsystem uevent unexport I don't have a pwm0 folder. Yes.
  8. I confirm. I have updated to 5.6.10. Bluetooth doesn't work now. PS: this hack helped me again. PSS: now there is no sound from the 3.5 Jack. I didn't find how to fix it. I don't want to roll back to the old kernel.
  9. Yes, compatible. I checked that both blue ports work USB 3.0. You only need to consider that there are two types of boards: Orange Pi 4 - 1x USB3.0 HOST, 1 x USB3.0 Type-C Orange Pi 4B - 1 x USB3.0 Type-C
  10. @haajee, I have for some reason does not work, there is no signal from the 7 pin. Kernel 5.6.3 Buster. What else do I need to do to make it work?
  11. This is great! What version of the kernel does this script run on?
  12. Today I enjoyed the sound from OPi4 via 3.5 Jack. The rt5651 codec transmits sound very well. Thank you again @iamdrq! The audio output was via Alsa, because Pulseaudio is not the quality I would like to get. Headphones: Sony mh755 Player: DeadBeef Format music: FLAC Sound via Bluetooth also works great!
  13. I measured the consumption of the OP4 board: 1.Loading the operating system 2.The system is loaded, there is no application load 3. 7z benchmark. Maximum CPU load.
  14. There is sound through the 3.5 mm jack. Good work!
  15. No yet, I tried to compile dtb for the kernel from the repository. Can I ask you for a ready-made kernel with patches?
  16. How do I apply this to the installed kernel 5.4.28? I tried to compile dtb, but I get an error: $ dtc -I dts -O dtb -o orangepi4-i2s_8ch_mclk.dtb orangepi4-i2s_8ch_mclk.dts Error: orangepi4-i2s_8ch_mclk.dts:11.28-29 syntax error FATAL ERROR: Unable to parse input tree
  17. Here I agree. But with the kernel 5.4 Panfrost is already working, and I was very interested to feel how it works.
  18. Look there: https://dl.armbian.com/orangepi4/archive/ Armbian_20.02.6_Orangepi4_buster_current_5.4.27_desktop.7z Works faster than on armbian buster image 20.02.6 use kernel 4.4.213, but there are problems with wi-fi, bluetooth.
  19. Do it and show it uname -a ? My Bluetooth only works on kernel 4.4, but not on 5.4.
  20. Again I and again with a problem. This time with GPIO. I have this in /boot/armbianEnv.txt: overlays=w1-gpio When I boot the board, I see this in dmesg: :~$ dmesg | grep gpio [ 72.674888] rk808-regulator rk808-regulator: there is no dvs0 gpio [ 72.676163] rk808-regulator rk808-regulator: there is no dvs1 gpio [ 73.755528] input: gpio-keys as /devices/platform/gpio-keys/input/input2 [ 75.240702] gpiod_get_value: invalid GPIO (errorpointer) [ 75.240706] gpiod_set_raw_value: invalid GPIO (errorpointer) [ 75.262584] gpio-36 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file [ 75.262603] OF: /onewire@0: could not get #gpio-cells for /pinctrl/pcfg-pull-up [ 75.262607] w1-gpio onewire@0: gpio_request_one (ext_pullup_enable_pin) failed [ 75.262617] w1-gpio: probe of onewire@0 failed with error -22 ~$ uname -a Linux orangepi4 5.4.26-rockchip64 #20.02.5 SMP PREEMPT Thu Mar 19 21:39:46 CET 2020 aarch64 GNU/Linux Any ideas? I'm using the rockchip-w1-gpio.dtbo that was installed with the system. armbian-hardware-monitor.log
  21. The driver crashes. It works for a while, and then it falls down again. :~$ dmesg [ 1485.667595] ieee80211 phy0: brcmf_fw_crashed: Firmware has halted or crashed And again have to lift it manually: # rmmod brcmfmac # insmod /lib/modules/5.4.26-rockchip64/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko
  22. I built the Far Manager (Linux port of FAR v2) deb package for аarch64. far2l defaults to run as GUI app based on wxWidgets toolkit. You can run far2lс to get console support. Installation with dependencies: sudo apt install ./far2l_arm64.deb Or: sudo dpkg -i far2l_arm64.deb sudo apt-get install -f Depends: libglib2.0-dev, libwxgtk3.0-dev, libgtkmm-3.0-dev, uuid-dev, libssl-dev, libsecret-1-dev, sshfs, gvfs-libs, gvfs-backends, gvfs-fuse, libssh-dev, libsmbclient-dev, libnfs-dev Far2l sources. far2l_arm64.deb
  23. Today, wireless Internet access is permanently disabled. OS: Armbian 20.02.5 Orangepi4 buster current 5.4.26 ~$ uname -a Linux orangepi4 5.4.26-rockchip64 #20.02.5 SMP PREEMPT Thu Mar 19 21:39:46 CET 2020 aarch64 GNU/Linux dmesg: Only this helps: sudo rmmod brcmfmac sudo insmod /lib/modules/5.4.26-rockchip64/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko How can I fix it? I noticed another error when loading the brcmfmac driver: brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43456-sdio.rockchip,rk3399.txt failed with error -2 I had to create a symbolic link in /lib/firmware/brcm. This error disappeared. But WiFi is still unstable.
  24. I found the answer to my question. Working library for Orange PI 4: https://github.com/orangepi-xunlong/wiringOP
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines