Jump to content

haajee

Members
  • Posts

    117
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Drenthe, Netherlands

Recent Profile Visitors

2817 profile views
  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. So it's now safe to upgrade what i read?
  5. 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.
  6. 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.
  7. Did the RTC work?
  8. I don't know. I have just installed standard pihole without strange things. There are also not very much queries or things. Now disabled armbian-ramlog and works ok but it's more nice to enable. BTW my whole system crashed almost with the full /var/log..
  9. Got the same error today. And i think the problem is PiHole in my situation. After running "pihole flush logs" it's ok for a short time. The log file was arround 50MB big. Ok it's big but i have more than 100GB free?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines