Jump to content

haajee

Members
  • Posts

    117
  • Joined

  • Last visited

Posts posted by haajee

  1. I read here something for the orangepi 5 and the orangepi 5 plus. But i has always without anyproblem running the script below. But it looks like PWM is not working or something? Even if i have enabled the option under device-tree-overlay in armbian-config: rk3588-pwm1-m0.

     

    orangepi5:pwm:# ls
    orangepi5:pwm:# 

     

     

    I am running this Armbian version:

     

    orangepi5:/:# neofetch 
            #####           root@orangepi5 
           #######          -------------- 
           ##O#O##          OS: Armbian 24.11.2 noble aarch64 
           #######          Host: Orange Pi 5 
         ###########        Kernel: 6.1.75-vendor-rk35xx 
        #############       Uptime: 14 mins 
       ###############      Packages: 1055 (dpkg) 
       ################     Shell: zsh 5.9 
      #################     Terminal: /dev/pts/0 
    #####################   CPU: (8) @ 1.800GHz 
    #####################   Memory: 1901MiB / 7937MiB 
      #################
                                                    
                                                    

     

    What do i wrong? :)

     

    #!/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 60s
    echo 0 > /sys/class/pwm/pwmchip1/pwm0/duty_cycle
    sleep 5
    echo 50000 > /sys/class/pwm/pwmchip1/pwm0/duty_cycle
    
    declare -a CpuTemps=(45000 40000 38000 30000 28000 0)
    declare -a PwmDutyCycles=(1000 5000 10000 15000 30000)
    
    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 1s;

     

  2. New SSD arrived today. wrote image on it installed the SSD and runs directly! Did also update my SSD to NVME disk and think i broke something. it won't boot even from the USB anymore. Got some errors like can't reset port 1 and a lot more but putty won't save all output. So i think i could make better tomorrow a clean fresh install on the new SSD and restore the files. But all my own fault. ;)

  3. Got the same problem after the last update/upgrade... Can't restore because it hangs and did not get a shell....

     

    done.
    Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
    Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
    done.
    Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
    done.
    Gave up waiting for root file system device.  Common problems:
     - Boot args (cat /proc/cmdline)
       - Check rootdelay= (did the system wait long enough?)
     - Missing modules (cat /proc/modules; ls /dev)
    ALERT!  UUID=db80a2ac-ec37-4fda-91db-92604becfcce does not exist.  Dropping to a shell!

     

     

    When i boot in u-boot it looks like it also don't see the nvme drive:

     

    => nvme
    nvme - NVM Express sub-system
    
    Usage:
    nvme scan - scan NVMe devices
    nvme detail - show details of current NVMe device
    nvme info - show all available NVMe devices
    nvme device [dev] - show or set current NVMe device
    nvme part [dev] - print partition table of one or all NVMe devices
    nvme read addr blk# cnt - read `cnt' blocks starting at block
         `blk#' to memory address `addr'
    nvme write addr blk# cnt - write `cnt' blocks starting at block
         `blk#' from memory address `addr'
    => nvme scan
    => nvme detail
    => nvme device
    
    no nvme devices available
    => 

     

    And last update: i puted the nvme drive in a USB3 NVME external drive. And the drive in the USB 3.0 in the USB port and it's just back up and running. I don't know what the nvme broke to work . But i just ordered a new NVME drive because the old one was to small. So a fresh install is also coming maybe it will work again.

  4. Hi everyone!

     

    I did not has any problem with apt update. But the last weeks i got this error with one of the Armbian servers if i am right? Is there also a fix for this?

     

    Thank you very much! :)

     

    Hit:1 http://ports.ubuntu.com jammy InRelease
    Hit:2 http://ports.ubuntu.com jammy-security InRelease                                                                                                                      
    Hit:3 http://ports.ubuntu.com jammy-updates InRelease                                                                                                                       
    Hit:4 http://ports.ubuntu.com jammy-backports InRelease                                                                                                                     
    Hit:5 https://download.docker.com/linux/ubuntu jammy InRelease                                                                                                              
    Get:6 https://deb.nodesource.com/node_16.x jammy InRelease [4,583 B]                                                                        
    Get:7 http://fi.mirror.armbian.de/apt jammy InRelease [52.5 kB]                  
    Err:7 http://fi.mirror.armbian.de/apt jammy InRelease        
      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 93D6889F9F0E78D5
    Fetched 4,583 B in 2s (2,027 B/s)
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    All packages are up to date.
    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://fi.mirror.armbian.de/apt jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 93D6889F9F0E78D5
    W: Failed to fetch http://apt.armbian.com/dists/jammy/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 93D6889F9F0E78D5
    W: Some index files failed to download. They have been ignored, or old ones used instead.

     

  5. Hmm, got my Orange Pi 5 now running as home server and runs great. But this plus version does look great to have also. Like the 2.5Gbps ethernet ports... Perfect platform to build your own router. :)

  6. On 1/5/2023 at 2:06 AM, royk said:

    @haajee

    I had also some difficulties to get video hw acceleration in Chromium and Kodi, but now it's all working, even hdr10 and hdr8 do work in Kodi (gbm) by renaming the dtb overlay files from rock 5b to rk3588-.....

    What I did to make it work: (perhaps some of the latest steps were not necessary, I was clueless)

     

    It´s a little time ago. But i think i have hardware acceleration working under ubuntu-desktop. Or let i say so: by glxinfo -B i read the following:

     

    name of display: :0
    display: :0  screen: 0
    direct rendering: Yes
    Extended renderer info (GLX_MESA_query_renderer):
        Vendor: Panfrost (0xffffffff)
        Device: Mali-G610 (Panfrost) (0xffffffff)
        Version: 23.0.0
        Accelerated: yes
        Video memory: 7689MB
        Unified memory: yes
        Preferred profile: compat (0x2)
        Max core profile version: 0.0
        Max compat profile version: 3.0
        Max GLES1 profile version: 1.1
        Max GLES[23] profile version: 3.1
    OpenGL vendor string: Panfrost
    OpenGL renderer string: Mali-G610 (Panfrost)
    OpenGL version string: 3.0 Mesa 23.0.0-devel
    OpenGL shading language version string: 1.30
    OpenGL context flags: (none)
    
    OpenGL ES profile version string: OpenGL ES 3.1 Mesa 23.0.0-devel
    OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

     

    But everything what i do. Under chromium Hardware-accelerated video encode is always under chrome://flags unavailable . Not available on your platform. But the same is the situation on my Dell laptop. And it looks like that youtube plays a lot smoother...

     

    Anyone else: is it possible to integrate this driver in the release? :)

  7. Hmm, 4k video play´s now smooth in Chrome and Firefox also on Youtube. But it didn´t use hardware codec i think. Cpu is loaded arround 30%. :)

     

    @buvaluyi got the acrylic case. An SSD wil fit. I have now screw to mount the SSD. Just put some thick heatpad between the case and the SSD and it´s not perfectly flat. Also placed a 20x20x11 heatsink on the cpu and wil perfectly with a 3010 fan. Temperature is max 40 degrees celsius.

  8. @Efe Çetinwill give it a try! :)

    @Efe Çetin i have tried both: the cli version and the desktop version. Both works! The desktop start without problems and the nvme ssd works to boot from! Really nice! :) So it´s a good build!

     

    I have also tried to enable 3d support as mentioned on the downloadpage fo the Orangepi5 https://www.armbian.com/orangepi-5/ And offcourse followed the instructions here: https://launchpad.net/~liujianfeng1994/+archive/ubuntu/rockchip-multimedia

    But youtube in chromium wont play at all. Freeze complete on 4k resolution. Firefox runs a lot smoother but also on 1440 or 1080p. But i think i do something wrong because the RK3588s should be able to play on 8K resolution?

  9. Got the official image cinnamon focal running from SD card but now don´t want to run from NVME. Used the same commands as for the testbuild i got running. Updated spi with armbian-install and yes i have a real pcie ssd...

  10. @Avatar Ng@Efe Çetin

     

    Got exactly the same problem with the daily builds. Only a blinking cursor after startup. When i press the power button display comes back with the armbian shutdown logo. Got the beta beta build working on ssd but this daily builds looks like broken... :(

     

    Edit: tried build 124 also broken...

  11. Got it also working now! Just so simple with armbian-install working

     

    What i did maybe wrong:

    1. Not as root user but just with SU

    2. Used nand-sata-install instead of Armbian install

     

    Things i noticed at first use:

    1. At first setup it does not show the iP adress. If you don´t have a keyboard/mouse connected, you should search in your modem for the the ip.

    2. CPU speed settings / governor does not working in armbian-config. But this problem is also in the official Orangepi ubuntu image.

    3. GPIO could not be configured in armbian-config

    4. USB-C port looks like not working. Blue USB-A top port works on 5000Mb speed. Bottom port on USB 2.0 480Mb speed. But think that´s also a USB 2.0 port :P

  12. I can´t get it working also with Armbian. I think i do something wrong. I followed to he official Ubuntu manual and it works. Also read the link of the Rock Pi 5 but it´s not very clear for me.

     

    I downloaded the Armbian image, zero.img and rkspi_loader.img. I booted also from the micro sd armbian and that works fine. On the Orange pi i did the following:

     

    orangepi5:Downloads:# sudo dd if=zero.img of=/dev/mtdblock0
    32768+0 records in
    32768+0 records out
    16777216 bytes (17 MB, 16 MiB) copied, 253.123 s, 66.3 kB/s
    orangepi5:Downloads:# sudo dd if=rkspi_loader.img of=/dev/mtdblock0           
    32768+0 records in
    32768+0 records out
    16777216 bytes (17 MB, 16 MiB) copied, 254.654 s, 65.9 kB/s
    orangepi5:Downloads:# sudo dd bs=1M if=Armbian_20221220a-rpardini_Orangepi5_kinetic_legacy_5.10.110.img of=/dev/nvme0n1 status=progress
    2053111808 bytes (2.1 GB, 1.9 GiB) copied, 3 s, 683 MB/s
    2020+0 records in
    2020+0 records out
    2118123520 bytes (2.1 GB, 2.0 GiB) copied, 6.42917 s, 329 MB/s
    orangepi5:Downloads:# sudo poweroff 

     

    After powering up it just don´t start. I see also methods by using a usb port. And the steps for windows, linux and so on the call also step 3 and step 4. So totally not clear...?

  13. On 6/26/2022 at 4:39 PM, firedgje said:

    So I finally tested the default jammy install ans it works but I have no HDMI sound.

     

    Hmm, i don't use HDMI sound. But i got a new update today and not yet rebooted but got a trunk version???

     

    Preparing to unpack .../0-curl_7.68.0-1ubuntu2.12_arm64.deb ...
    Unpacking curl (7.68.0-1ubuntu2.12) over (7.68.0-1ubuntu2.11) ...
    Preparing to unpack .../1-libcurl4_7.68.0-1ubuntu2.12_arm64.deb ...
    Unpacking libcurl4:arm64 (7.68.0-1ubuntu2.12) over (7.68.0-1ubuntu2.11) ...
    Preparing to unpack .../2-armbian-config_22.08.0-trunk.0038_all.deb ...
    Unpacking armbian-config (22.08.0-trunk.0038) over (22.05.3) ...
    Preparing to unpack .../3-armbian-firmware_22.08.0-trunk.0038_all.deb ...
    Unpacking armbian-firmware (22.08.0-trunk.0038) over (22.05.3) ...
    Preparing to unpack .../4-armbian-zsh_22.08.0-trunk.0038_all.deb ...
    Unpacking armbian-zsh (22.08.0-trunk.0038) over (22.05.3) ...

     

    Don't know if this is a good sign....

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines