-
Orange PI 5 doesn't boot
Hmm, i got the same... Does have a orangepi 5 running for a few years now i think from NVME SSD. Runs without problem. Just want to try a boot from the SD card. Installed the SD card and exactly the same like Simo happend. Tried different SD cards and images. Also DietPi wont boot from SD card. But when i remove the SD card and run from the SSD everything works well. What i discovered what maybe could be a reason is the SD card is detected as mmcblk1 instead of mmcblk0? orangepi5:~:# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS mtdblock0 31:0 0 16M 0 disk mmcblk1 179:0 0 59.6G 0 disk └─mmcblk1p1 179:1 0 1.6G 0 part zram0 252:0 0 3.9G 0 disk [SWAP] zram1 252:1 0 50M 0 disk /var/log zram2 252:2 0 0B 0 disk nvme0n1 259:0 0 953.9G 0 disk └─nvme0n1p1 259:1 0 944.3G 0 part /var/log.hdd /
-
Temperature and fan control on OPI5
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;
-
OPI5 + M2 SATA : not boot: Alert UUID
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.
-
OPI5 + M2 SATA : not boot: Alert UUID
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.
- Migration to rk35xx LINUXFAMILY
haajee
Members
-
Joined
-
Last visited