maxsub Posted Wednesday at 03:47 PM Posted Wednesday at 03:47 PM Is this specific patch that reverts the busy looping thread? https://github.com/armbian/build/commit/99ad08839eed42d647e716a3ed090ea318d01d2e 0 Quote
sven-ola Posted Wednesday at 04:10 PM Author Posted Wednesday at 04:10 PM @maxsub yes and no. That 900*.patch never was meant to be in the Armbian repo, I wounder how this made it in the Armbian repo. Some black git magic... Patch experimentally rolls back an upstream change (...that removes the kthread under discussion and by this prevents the main CPU from communicating to the remote CPU). Upstream (the Fedora folks that emitted the SpacemiT code drops) has removed the kthread to prevent high CPU load b/c they use RV2 for their RISCV compile farm or so. The 900*.patch was an experiment by me to understand the impact on HDMI audio / ADMA). Long blabla. This proposed and committed change solves the issue for my pull RQ on the topic: https://github.com/armbian/build/pull/9299/changes/613737fab5aadc2d0a288a10a98aa0a433db4e76 0 Quote
maxsub Posted Wednesday at 05:14 PM Posted Wednesday at 05:14 PM I patched that, am rebuilding and will post the R2S temps after that patch. 0 Quote
maxsub Posted Wednesday at 05:51 PM Posted Wednesday at 05:51 PM The patch brought the idle load average drastically down on the R2S from 2.0 to 0.18. However the temp remains at 57-58 deg C. orangepi@orangepir2s:~$ cat /sys/class/thermal/thermal_zone1/temp 56000 orangepi@orangepir2s:~$ htop orangepi@orangepir2s:~$ cat /sys/class/thermal/thermal_zone1/temp 57000 0 Quote
c0rnelius Posted Wednesday at 06:09 PM Posted Wednesday at 06:09 PM 14 minutes ago, maxsub said: The patch brought the idle load average drastically down on the R2S from 2.0 to 0.18. However the temp remains at 57-58 deg C. That's not bad honestly. The K1 series runs hot in general. If you add heavy lifting to thee equation it would require a fan. I have the MusePi Pro and BPI-F3 and both run hot. 0 Quote
maxsub Posted Wednesday at 06:39 PM Posted Wednesday at 06:39 PM Thank you. Looking forward to all these contributions hitting the main branch so I can depend on the standard edge and current builds! 0 Quote
sven-ola Posted Wednesday at 07:38 PM Author Posted Wednesday at 07:38 PM For me, those 57°C is fine without further cooling. Starting cool on my RV2 is: root@orangepirv2:~# uptime;cat $(find /sys -name temp) 18:55:15 up 0 min, 1 user, load average: 0.90, 0.25, 0.08 27000 28000 Now some work, will probably max out at 95° or so root@orangepirv2:~# uptime;cat $(find /sys -name temp) 19:23:11 up 28 min, 3 users, load average: 7.61, 6.79, 3.86 90000 90000 Stop compiling and wait a bit gives this which is fine IMO root@orangepirv2:~# uptime;cat $(find /sys -name temp) 19:35:07 up 40 min, 3 users, load average: 0.00, 0.64, 1.81 56000 58000 0 Quote
maxsub Posted Thursday at 06:01 PM Posted Thursday at 06:01 PM I have been testing the R2S extensively. The 1GbE is very stable, but the 2.5GbE drops frequently. I do not have debug logs yet but it is something I need to analyze. I also have a wireless AP running on the R2S. Performance is poor: 1GbE WAN connection, but I am getting only 20Mbps throughput but it is stable. 0 Quote
maxsub Posted 13 hours ago Posted 13 hours ago On RV2 with the edge branch WiFi does not work. 0 Quote
sven-ola Posted 11 hours ago Author Posted 11 hours ago Hu? In difference to Spacemit 6.6.99, the 6.18 kernel has no bcmdhd included. For that reason I put in an adapted version of bcmdhd in a DKMS, installed via a source deb from my repo on codeberg.org/sven-ola. B/c DKMS needs a compiler on the board, the edge image is larger than current image. Code quality of bcmdhd is questionable so it probably never make it into the official Linux tree, but it works (at least on my board with my image). HTH // Sven-Ola 0 Quote
maxsub Posted 11 hours ago Posted 11 hours ago Got it! But this DKMS should be loaded by the build: function post_family_tweaks_bsp__orangepirv2_wifi() { display_alert "$BOARD" "Force load bmcdhd wireless" "info" run_host_command_logged mkdir -pv "${destination}"/etc/modules-load.d run_host_command_logged echo "bcmdhd" > "${destination}"/etc/modules-load.d/${BOARD}.conf } 0 Quote
Malay Posted 6 hours ago Posted 6 hours ago (edited) 7 часов назад, maxsub сказал: On RV2 with the edge branch WiFi does not work. I confirm that when building an image with the Edge 6.18 kernel, WiFi does not work. Also, when building an image with the Xfce desktop, the image is approximately 3 GB (it should be more than 4 GB), but it is not there, only the command line works. Edited 5 hours ago by Malay 0 Quote
sven-ola Posted 2 hours ago Author Posted 2 hours ago Hello @maxsub, we are talking about git log --oneline -1 which says 613737fab. The post_family_tweaks_bsp__orangepirv2_wifi() from above is exactly what's in there. If you run Zitat ./compile.sh CPUTHREADS=$(nproc) BOARD=orangepirv2 BRANCH=edge RELEASE=trixie KERNEL_CONFIGURE=no KERNEL_GIT=shallow BUILD_MINIMAL=yes SKIP_ARMBIAN_REPO=yes you should get on the board Zitat root@orangepirv2:~# dkms status bcmdhd-spacemit-sdio/101.10.591.84.37-4, 6.18.8-edge-spacemit, riscv64: installed Can you please elaborate on the "got it"? TIA // Sven-Ola 0 Quote
sven-ola Posted 2 hours ago Author Posted 2 hours ago Hello @Malay! Same for you: cannot reproduce. Can you rebuild with SKIP_ARMBIAN_REPO=yes? This builds a little longer but skips cached stuff. Alternatively, rm -r ./cache from the build dir. To help with this, I will start the following commands on my PC and upload the results later to https://privat-in.de/ (Download section). Zitat sudo rm -r cache/ output/ -f ./compile.sh CPUTHREADS=$(nproc) BOARD=orangepirv2 BRANCH=edge RELEASE=trixie KERNEL_CONFIGURE=no KERNEL_GIT=shallow BUILD_DESKTOP=yes DESKTOP_ENVIRONMENT=xfce DESKTOP_APPGROUPS_SELECTED="chat desktop_tools editors email internet multimedia office programming remote_desktop" DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base EXPERT=yes LG // Sven-Ola 0 Quote
sven-ola Posted 1 hour ago Author Posted 1 hour ago Compiled, flashed, uploaded. I got a running XFCE desktop and a working wifi applet. If you still have different results, I may provide a VPN endpoint and an SSH pubkey to log in to your machine. Here's my upload dir: Zitat 1,2G Armbian-unofficial_26.02.0-trunk_Orangepir2s_trixie_edge_6.18.8_minimal.img 1,3G Armbian-unofficial_26.02.0-trunk_Orangepirv2_trixie_current_6.6.99_minimal.img 6,1G Armbian-unofficial_26.02.0-trunk_Orangepirv2_trixie_edge_6.18.8_mate_desktop.img 1,9G Armbian-unofficial_26.02.0-trunk_Orangepirv2_trixie_edge_6.18.8_minimal.img 5,8G Armbian-unofficial_26.02.0-trunk_Orangepirv2_trixie_edge_6.18.9_xfce_desktop.img HTH // Sven-Ola 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.