Jump to content

haajee

Members
  • Posts

    113
  • Joined

  • Last visited

Posts posted by haajee

  1. I am a little bit flabbergasted. In thought: i download the Android 9 / TV image from the Rockpi site for the Rock Pi 4 who has also a RK3399 chipset. So i did and flashed it to a SD card and put in the Orange Pi 4. Ethernet activity and link lights up and a red light. Nothing looks happen but there was a lot of traffic. So i disconnected the power supply and back in and...

     

    Rock Pi Kernel on my TV. Than the Android Booting logo and there was Android itself. Tries a few things but looks like mostly all things work. Bluetooth works, sound works, wifi works. When i look by the buildnumber i see also: RK3399-Pi. Without Rock Pi or something. So it looks like just a universal image. But the Rock Pi android version is a lot more up to date.

     

    Oh there is one thing what not works. When i choose for restart by shutdown it hangs and do i need to remove and replug the power supply again....

  2. Just now, haajee said:

    Hi all,

     

    So if a lot of you maybe know is a heatsink and fan  a must for the OrangePi 4. With my temporarly installed fan makes a lot of noise i maked yesterday the step to order a Noctua NF-A4x20 5V PWM. The price was arround €17,- not the cheapest but te reviews are amazing.

     

    Even on full speed its a lot more silence then the 20x20 mini fan but with a good air flow. But as you could read did i choose for a PWM variant so i could control the rpm´s with a PWM GPIO pin. And amazingly it did work! I have the PWM pin connected to pin 7 of the OrangePi 4.

     

    Commands to start pwm for the first time:

     

    
    cd /sys/class/pwm/pwmchip1/
    echo 0 > export
      
    echo 1000000 > pwmchip1/pwm0/period
    
    echo 500000 > pwm0/duty_cycle
      
    #and with this step the fan goes on a lower speed
      
    echo 1 > pwm0/enable
    
    #and back on full speed without PWM
    
    echo 0 > pwm0/enable

     

    So it´s really nice. And i found a nice script for the Nanopi M4 with also a RK3399 chip from @mar0ni in this topic

     

    To make it complete i paste also here the script from @mar0ni

     

    
    #!/bin/bash
    
    if [ ! -d /sys/class/pwm/pwmchip1/pwm0 ]; then
        echo 0 > /sys/class/pwm/pwmchip1/export
    fi
    sleep 1
    while [ ! -d /sys/class/pwm/pwmchip1/pwm0 ];
    do
        sleep 1
    done
    ISENABLE=`cat /sys/class/pwm/pwmchip1/pwm0/enable`
    if [ $ISENABLE -eq 1 ]; then
        echo 0 > /sys/class/pwm/pwmchip1/pwm0/enable
    fi
    echo 50000 > /sys/class/pwm/pwmchip1/pwm0/period
    echo 1 > /sys/class/pwm/pwmchip1/pwm0/enable
    
    # max speed run 5s
    echo 0 > /sys/class/pwm/pwmchip1/pwm0/duty_cycle
    sleep 5
    echo 49994 > /sys/class/pwm/pwmchip1/pwm0/duty_cycle
    
    declare -a CpuTemps=(75000 63000 58000 52000 48000 0)
    declare -a PwmDutyCycles=(25000 37000 48300 49250 49300 49994)
    
    while true
    do
    	temp=$(cat /sys/class/thermal/thermal_zone0/temp)
    	for i in 0 1 2 3 4 5; do
    		if [ $temp -gt ${CpuTemps[$i]} ]; then
    			DUTY=${PwmDutyCycles[$i]}
    			echo $DUTY > "/sys/class/pwm/pwmchip1/pwm0/duty_cycle";
    			#echo "temp: $temp, target: ${CpuTemps[$i]}, duty: $DUTY"
    			break		
    		fi
    	done
    	sleep 2s;
    done

     

    I saved the file in my home dir as pwm-fan.sh and run it as administrator with

    bash ./pwm-fan.sh

    And the fan spins up full speed but after that it stops running. Even when the temperature is over the 30 degrees celsius. I have changed 48000 in the above script to 30000. So i think there is also something else to change but i have no idea what. Who could help me? :)

  3. Hi all,

     

    So if a lot of you maybe know is a heatsink and fan  a must for the OrangePi 4. With my temporarly installed fan makes a lot of noise i maked yesterday the step to order a Noctua NF-A4x20 5V PWM. The price was arround €17,- not the cheapest but te reviews are amazing.

     

    Even on full speed its a lot more silence then the 20x20 mini fan but with a good air flow. But as you could read did i choose for a PWM variant so i could control the rpm´s with a PWM GPIO pin. And amazingly it did work! I have the PWM pin connected to pin 7 of the OrangePi 4.

     

    Commands to start pwm for the first time:

     

    cd /sys/class/pwm/pwmchip1/
    echo 0 > export
      
    echo 1000000 > pwmchip1/pwm0/period
    
    echo 500000 > pwm0/duty_cycle
      
    #and with this step the fan goes on a lower speed
      
    echo 1 > pwm0/enable
    
    #and back on full speed without PWM
    
    echo 0 > pwm0/enable

     

    So it´s really nice. And i found a nice script for the Nanopi M4 with also a RK3399 chip from @mar0ni in this topic

     

    To make it complete i paste also here the script from @mar0n

  4. Hmm, sadly does not work...

     

    The result of your command:

     

    $ sudo dmesg | grep Blue
    [   25.829280] Bluetooth: Core ver 2.22
    [   25.829368] Bluetooth: HCI device and connection manager initialized
    [   25.829384] Bluetooth: HCI socket layer initialized
    [   25.829392] Bluetooth: L2CAP socket layer initialized
    [   25.829419] Bluetooth: SCO socket layer initialized

     

  5. bluetoothctl didn´t find any controllers. Bluetooth service gives this error but start:

     

    ● bluetooth.service - Bluetooth service
       Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
       Active: active (running) since Mon 2020-04-13 17:33:55 CEST; 3min 45s ago
         Docs: man:bluetoothd(8)
     Main PID: 4218 (bluetoothd)
       Status: "Running"
        Tasks: 1 (limit: 4533)
       Memory: 1.0M
       CGroup: /system.slice/bluetooth.service
               └─4218 /usr/lib/bluetooth/bluetoothd
    
    apr 13 17:33:55 4-OrangePi systemd[1]: Starting Bluetooth service...
    apr 13 17:33:55 4-OrangePi bluetoothd[4218]: Bluetooth daemon 5.50
    apr 13 17:33:55 4-OrangePi systemd[1]: Started Bluetooth service.
    apr 13 17:33:55 4-OrangePi bluetoothd[4218]: Starting SDP server
    apr 13 17:33:55 4-OrangePi bluetoothd[4218]: kernel lacks bnep-protocol support
    apr 13 17:33:55 4-OrangePi bluetoothd[4218]: System does not support network plugin
    apr 13 17:33:55 4-OrangePi bluetoothd[4218]: Bluetooth management interface 1.15 initialized

     

  6. On 4/3/2020 at 8:12 AM, FredrikA said:

    I have no stability problem, since I got a cooling fan.
    I am using an OKDO usb-c power supply (the company that makes the PSU for raspberry pi). It has real 3A supply.

    I had it halt twice before

    Once because overheating

    Once because memory was exhausted when I tried to build tensorflow.

     

    Always good to share this troubles. :) Learn from mistakes from others, you couldn't make them all by yourself. :P And trust me: i make a lot. ;)

  7. I read a lot of stability problems... What do you all use for power supply? A USB charger is not the same a power supply. Special is the are USB-C PD chargers. See also this. Since i use on all my orange pi´s a simple cheap 5v 3A like hese power supply it works all smooth and very stable. I also tested some USB-C cables with USB PD chargers or quick charge chargers. And a lot of time it won´t boot of it freezes...

  8. On 3/17/2020 at 3:51 PM, martinayotte said:

    You don't need to format any SDCard before writing an image ... The image is providing the formatting ...

     

    Strange enough do i got troubles when i format it before in EXT3 of EXT4 and write the image. When i format it before as FAT32 it works ok.

  9. On 3/15/2020 at 10:44 PM, gounthar said:

    Thanks for the tip, but this was a new SDCard.

     

    How do you put the image on the card? And how do you format the SD card before? I format it on Linux Mint as FAT32 and then write it. But that could be also great with Belena Etcher. And do you have the Orange Pi 4 with eMMC or without?

     

    I think with the eMMC because you say it boots the onboard Android. Flashing to eMMC is described in this manual. https://drive.google.com/file/d/1wko5XfiFaw8qpB2uKXpdIYjiwlVFq4QG/view?usp=sharing

  10. I run now a few days 20.02.3 stable with kernel 5.4.23 and the things i discover are:

     

    Bluetooth looks not to work (headless)

    APCUPSD do i not get to work. With an older kernel it works

    Cannnot switch to kernel 5.5.8. Get an error. In switch_kernel.log is to read: ´linux-image-dev-rockchip64=20.05.0-trunk.069 linux-dtb-dev-rockchip64=20.05.0-trunk.069 linux-u-boot-orangepi4-dev´. Dont know also what ´trunk.069´ means :)

     

    Maybe simple things to fix. But i learn a lot but i am really sure not a advanced linux user. ;)

  11. 5 hours ago, Jakob said:

    Thank you for your comment. I'm not really in a hurry as it will probably take a looong time to ship, to me it's just important that the hardware is OK since software can usually be fixed.

     

    Oh, you mean the hardware fault in the H6 with result in a not working PCI-E port? I know to much about the details but readed on Facebook i thought that the PCI-E extension module worked. I got bluetooth not working. Wifi works. I want to try the GPIO pins but don't just know how to got it working. :)

  12. 17 hours ago, Belgrado said:

    Does the sound work too?

     

    Not really tested yet. I use the board headless so i don´t knnow.

     

    On 3/9/2020 at 10:18 PM, Jakob said:

    Since it's really hard to find any reviews on this board I figured I might ask here. So to those who own this board, is it working okay without any flaws in the hardware? I'm considering the basic non eMMC non NPU model.

     

    Because the board is not long relesed and also chinese new year and the corona virus makes that delivery takes a lot more time.

     

    It works ok what i see now. But remember that Armbian is just work in progress for this board. If you stay on safe could you better buy a Rockpi 64 or something.

  13. My Orange Pi 4 arrives this week and i am now testing it. It''s a lot faster than the H6 and works ok! I hope, and if someone have a suggestion, there comes a case for this Orange Pi 4. I have btw the most basic version. No NPU and no internal flash.

     

    With my higher quality HDMI cable i got no display like i has on the OnePlus. Strange enough: when i plug a cheap hdmi cable in i got display. Maybe display works with HDMI 1.4 cable and not 2.0?

    A heatsink with a fan looks essential. I have broke a heatsink from a old Fritzbox 7490 and attached a fan to it. Now is it IDLE arround the 30 degrees  and with full load arround the 45

    When it boots it takes a really long time before i could get access via SSH or see something on HDMI. What is the system doing in that time?

  14. 13 hours ago, greg798 said:

    If the temperature is above 60, the processor resets the frequency to 1.5Ghz, active cooling will give stability.

     

    Hmm, mines is continuously around 38 degrees with active cooling.

     

     

    18 hours ago, Werner said:

     

    AFAIK for some people the H6 did non run stable with full speed. Therefore it has been limited to stable 1,5GHz.

     

    Thnx for your info. Maybe is it placebo but it feels like the pi works faster! So i hope :)

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines