Jump to content

All Activity

This stream auto-updates

  1. Today
  2. Hello. I'm building an armbian image and want to add some partitions to the result disk. I use the post_create_partitions hook to do that. The documentation doesn't show how to use it, so I looked at the armbian's sources: https://github.com/armbian/build/blob/99815c0a8880d4e04fc64742412632e1d41c1334/lib/functions/image/partitioning.sh#L206 Here they create a string and pass it to sfdisk. In my hook I do a similar row to add two partitions: echo -ne "label:dos\nsize=1G\nsize=1G\n+\n" | sfdisk -a "${SDCARD}".raw --no-reread || exit_with_error "Partition fail." But building of the image fails with message: No free sectors available. Failed to add #3 partition: No space left on device. How to add partitions?
  3. Yeah cpufrequtils is deprecated. The way to go today seem to use linux-cpupower. No idea though how well this works on SBCs.
  4. I will use it to help a project that I am running https://beacons.ai/electrodanceworldradio/ as a project server and to enable 24/7 video/audio broadcasts on different platforms spreading the culture and electronic music that few know that there are more than 300 styles, if I win I will put Armbian and Radxa in the project as partners on the website of this 😄
  5. Updating some HDMi Audio fix K510 V7, Found this HDMI fix for Roc PC "same board as H96-max" sudo systemctl status ap6335-bluetooth gpioinfo rfkill Full dmesg journalctl -b | grep Bluetooth
  6. @Alex ThreeD actually it is in the wild and it looks to work right to me, also executes boot.scr script. boot.scr is essential to read armbianEnv.txt and apply dtb overlays as well. Did you notice something wrong?
  7. Yesterday
  8. As of the 24.05 release Armbian no longer uses the package cpufrequtils. It now uses that configuration file directly, and replaces the basic functionality that the package cpufrequtils formerly provided. So the Armbian hardware optimization service reads this file and applies the values to the system, and armbian-config is responsible to modify it.
  9. Thank you! Well, it is not obvious who actually made this, in the box there is a reference to "Shenzhen Chensen Technology Co., Ltd" but that seems a led lamp manufacturer, and a phone and mail that look like the importer. I asked an aliexpress seller that is selling these but don't have much hope. In a thread here someone came with a different box having exactly the same chips and said that multiboot worked. To me it is starting to look like a hardware problem, maybe some bad solder ball on the BGA chips, as a last resort I may try a reflow.
  10. Some questions here: Isn't cpurequtils deprecated? So any other edit to other file is just ignored on reboot? Could you suggest the appropriate values to apply for min/max? Just as a test I set it to false again, so not using cpurequtils and armbian-config says I'm between 2000 and 2000 Mhz. So, I suppose I'm using the values I applied before.
  11. On boot the system will apply the values from /etc/default/cpufrequtils to the running system (it is done by the armbian hardware optimization service)
  12. Thank you! Was looking there just now. I already did: echo 1400000 | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_max_freq echo 200000 | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_min_freq that resulted in steakhutzeee@dk:/sys/devices/system/cpu$ grep . /sys/devices/system/cpu/cpu0/cpufreq/* /sys/devices/system/cpu/cpu0/cpufreq/affected_cpus:0 1 2 3 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq:1400000 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq:1400000 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq:200000 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_transition_latency:155000 /sys/devices/system/cpu/cpu0/cpufreq/related_cpus:0 1 2 3 /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies:200000 300000 400000 500000 600000 700000 800000 900000 1000000 1100000 1200000 1300000 1400000 /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors:userspace powersave conservative ondemand performance schedutil /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq:1400000 /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver:cpufreq-dt /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor:ondemand /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq:1400000 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq:200000 /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed:<unsupported> grep: /sys/devices/system/cpu/cpu0/cpufreq/stats: Is a directory But I see a different value in: steakhutzeee@dk:/sys/devices/system/cpu$ cat /etc/default/cpufrequtils ENABLE=true GOVERNOR=ondemand MAX_SPEED=2000000 MIN_SPEED=2000000 So which values should I set here? And how can I manage the edits I made before? Maybe this is true only when using DBT instead of using CPU under armbian-config? Thank you!
  13. Hi @jock. Main branch with new uboot 2024.1 is not ready to boot yet, right? (It seems new uboot doesn't even look for /boot/boot.scr) Nice HDMI output in uboot, btw, thanks!
  14. I sent them a message, even sent an email and a whatsapp to the manufacture ( junuo ? hehe) , will see if I get a reply, google sadly doesn't help as seems it's the latest version of the board (v3.0), I really want to make this wifi work 😂 The thing about SBC is that I already have one, the thing is that I spent some good time searching for a chip that would have multiple usb hosts instead of just one, and that's not easy to find, specially not below 50 euros, I came across the rk3228, that somehow is available at those tv boxes :(.
  15. Updating some bluetooth fix K610 V12, doesn't work, but it was there on HCi Line talking.... sudo systemctl status ap6335-bluetooth gpioinfo rfkill Full dmesg journalctl -b | grep Bluetooth
  16. Hi, I'm running OMV on Odroid HC2. I updated to OMV 7.7.1. Armbian to 24.5.1 with Linux kernel 6.6.31-current-odroid-xu4. After reboot the server started to act very slow. I tried to reapply the DBT for HC1/2 via armbian-config but this did not help. armbian-config says I'm on ondemand governor between 200-200 MHz. What could be the issue? Actually my system says I should run dpkg --configure -a but this command hang here and the system reboots after few seconds... steakhutzeee@dk:~$ sudo dpkg --configure -a [sudo] password for steakhutzeee: Setting up containerd.io (1.6.33-1) ... EDIT: From armbian-config -> CPU (deprecated) I applied the max I could find. Now armbian-config states I'm running 1800-1800 MHz. I was able to successfully run the dpkg command and update my system. steakhutzeee@dk:~$ grep . /sys/devices/system/cpu/cpu0/cpufreq/* /sys/devices/system/cpu/cpu0/cpufreq/affected_cpus:0 1 2 3 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq:1400000 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq:1400000 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq:200000 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_transition_latency:155000 /sys/devices/system/cpu/cpu0/cpufreq/related_cpus:0 1 2 3 /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies:200000 300000 400000 500000 600000 700000 800000 900000 1000000 1100000 1200000 1300000 1400000 /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors:userspace powersave conservative ondemand performance schedutil /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq:1400000 /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver:cpufreq-dt /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor:ondemand /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq:1400000 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq:1400000 /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed:<unsupported> grep: /sys/devices/system/cpu/cpu0/cpufreq/stats: Is a directory I did: echo 1400000 | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_max_freq echo 200000 | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_min_freq If this issue with frequencies has to be fixed with an update, how can I set a correct frequency manually now? I'm afraid this high freq could cause damage actually. Thank you!
  17. The default /. bashrc over rides any title or name setting set on the command line for all xterm and urxvt terms. This is very ugly and irresponsible behavior. I'm not sure where the source is kept but those lines of code need to be removed. Setting the prompt is one thing, smashing the title and name is something else.
  18. @Blyato this is the other coin side of cheap tvboxes : devilish behaviour is just around the corner. If someone wants reasonable functions one must buy sbc well supported. That said unfortunately without original stock firmware, device tree or better the whole board in hands is quite impossible to guess what is going on Try to search on google or ask vendor for the stock firmware
  19. I guess it's not really possible for me to get this device tree? I tried to backup the stock image but couldn't get multitool to read and I totally forgot to try doing with the rk tool...
  20. @Blyato From dmesg I see the wifi chip is just turned off: [ 1.716294] mmc1: Failed to initialize a non-removable card I'm pretty confident that the issue is related to the GPIO power pin of the wifi chip being incorrectly set. You mentioned you are using led-conf7, which is the right device tree for R29 boards, but it seems that your board is a different version/revision and requires some adjustment. To do such adjustment, I definitely need the device tree or the backup of the stock android. A possibility is to try other led-conf options and see if the wifi chip is at least recognized, but I don't suggest to do so because led-conf7 is vital for the stability of the R29 boards: without it, your board will probably be unable to boot at all.
  21. Here it is, when it comes to linux, I only know how to use it, those things are too advanced for me, I only noticed in red that "/cpus/cpu@f03 missing clock-frequency property" , a part from that haven't seen anything related to network, thanks for checking it out ❤️ I bought this from the aliexpress most sold listing for MXQ 5G Pro 4k, so maybe will help others as well.
  22. This is incredible news, so glad to hear this! I won't be able to test this out for a while but will give any useful feedback once I do, hope to hear reports from others as well. Thanks to all who keep working on improving support for this board.
  23. Description Per Igor comment helios64 required work to sync with upstream changes. I took the liberty to keep more of upstream than in Armbian 6.8, namely: I kept nodes at their upstream location to remove unnecessary work when syncing to the upstream keep "ethernet0 = &gmac;" in aliases, to let the ethernet MAC retrieved from OTP in u-boot apply. This will restore this feature (the u-boot was still functional). U-boot retried ethernet MACs are in u-boot printenv output "ethaddr" and "eth1addr". Seems for a few years I had the Linux kernel autogenerated one but my config still had the correct one commented (I did not find why it broke back then). I removed the overclock disabling code as the overclock is not included in the dts so no need to disable it (will lower the sync to upstream burden) kept upstream fix 93b36e1d3748c352a70c69aa378715e6572e51d1 "arm64: dts: rockchip: Fix USB interface compatible string on kobol-helios64" from upstream in vcc3v0_sd node I kept "enable-active-high;" and "gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>;" sync to upstream from helios64::status to helios64:green:status for system_leds : status_led kept startup-delay-us = <2000000> on hdd nodes from upstream (I believe they should not be the same value for rail a and b of the HDD, one should do as in the helios64 u-boot code where one is started after the other to lower the current load) I also did not sync with upstream the differences of gpio pull config for "power > sdmmc0_pwr_h" and "pinctrl > pmic > pmic_int_l" I kept the upstream DTS model "Kobol Helios64" instead of the armbian "Helios64". Ethernet rename from armbian-hardware-optimization works. Documentation summary for feature / change [ ] short restore ethernet MACs for eth0 read from OTP via u-boot [ ] This will restore the original intent which is to have the eth0 mAC be defined from the mainboard. This might affect MAC-based DHCP definitions [ ] ip l to get the Linux-defined eth0/end0 MAC, printenv in u-boot to see ethaddr and eth1addr for eth0/end0 and eth1 How Has This Been Tested? [ ] Compile, installed, and reboot, checked assigned IP was from the dnsmasq dhcp-host definition for this ethernet MAC. Did a few other reboots. Checklist: [ x ] My code follows the style guidelines of this project [ x ] I have performed a self-review of my own code [ x ] My changes generate no new warnings View the full article
  24. Ok, I did not erase spi. I do have the old krescue. I will try again after erasing spi. It's good to know it's working. Thank you, Erica
  25. Updating here some bluetooth fix K610 V11, doesn't work, but it was there.... gpioinfo Full dmesg rfkill journalctl -b | grep Bluetooth sudo systemctl status ap6335-bluetooth Found some answer in other forums: Could be Pull down or Pull Up pins on UART
  26. Hi, I developed this app just while having a look at django + angular -> https://github.com/vijaygill/wg-ui-plus I thought of sharing it with open-source communiity which has given me a lot! It allows me to have finer control over what a given VPN client can access (using IP Tables rules - managed by the code itself) I hope somebody finds it useful. It is comes as docker image (published on every push to dev / master) so updates are quite frequent for now due to tweaks / fixes. I developed it on an Orange Pi 5+ running on Armbian . The LIVE instance is running on a Raspberry Pi. Thanks V
  1. Load more activity
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines