Jump to content

trohn_javolta

Members
  • Posts

    72
  • Joined

  • Last visited

Posts posted by trohn_javolta

  1. Hello, my Odroid HC2 was working flawlessly for years but since 1-2 weeks it keeps crashing/freezing and I don't know why.

    If I cut power and repower it, it works fine for a while but then trying to reach it via ssh, or accessing the harddrive via smb share, or opening a webinterface fails.

    I checked the microsd card with 

    armbianmonitor -c "$HOME"

    and it showed it's fine. I can only provide the logs: https://paste.armbian.com/cibowaquyi and hope someone can check them and reply 🙏.

    I don't know what to look for in the logs that could be wrong...

    One last thing I noticed, after I ssh to it amongst other things I'm greeted with this: RX today: Error: Unable to read database "/var/lib/vnstat/veth1251466": No such file or directory. I never noticed that all the time before.

  2. I just cannot access spi on my Rock64. I read a couple posts of it but none works out for me :( 

     

    I'm running Armbian 22.05.3 Focal with Linux 5.15.52-rockchip64 on it.

    Tried enabling spi-jedec-nor and spi-spidev overlay, but with none of them I get output when executing ls /dev/spi*.

    Is it maybe a hardware issue, reading this post suggests that to me: https://forum.pine64.org/showthread.php?tid=5473&pid=34616#pid34616

    But I cannot make much sense out of it.

    Can anyone help me get spi working?

  3. On 1/21/2020 at 1:42 PM, ldiaz said:

    Well, If you don't use fancy plugins and slice your models in the PC, octoprint just streams/monitor data to/from the serial port and uses a websocket to send status to the web browser. This typically loads one core with 10%-15% while printing. OpiZero has 4 cores and with armbian the frequency is scaled automatically controlling the heat and giving extra juice when needed. Even with a super cheap USB camera (no 1080p) without mjpeg chip the OPI is capable to stream video using 50% of other core. I even run a mini samba server on the OPI for editing files on the PI form the PC. I use builtin 100mb ethernet and networking is not a problem, I did not test using octoprint via WIFI.

    Other advantage of using SBC vs TVBox is that you can easyly prower the board from GPIO header, using a small DC-DC stepdown module($0.5) you can power the board from the printer PSU directly and avoid using a charger.

     

    If you need extra power you can find 1G RAM with better processors 64bit processor such H5/H6 with plenty of GPIOs for sensors, leds.... at good prices that are supported by armbian.

     

    If you want to give it a try please let me know

     

    Cheers,

     

     

    I have 2 printers, do you think I could connect both to one sbc? For now I plan on using filament runout plugin and that bed level visualizer plugin.

    I found 2 sbc's in the orange pi line that could fit: Orange Pi One plus which has 64bit processor but only one..or 2? usb ports 

    and Orange Pi Pc which has 3 usb ports but no 64bit processor.

    However both "only" have 1gb ram... I'm unsure if I'll just abandon the filament sensor and stay with amlogic tv boxes. Imo they have a much better price/performance ratio.

  4. On 1/15/2020 at 11:30 AM, ldiaz said:

    The software you are referencing is for RPI will not work on other devices without major ports. On the other hand the TV boxes typically do not have GPIOS exposed so is a poor choice for custom octoprint controller. I think it will be better off if you use a cheap SBC with armbian. I run my octo print in a $15-OpiZero 512MB with out problems. I made a mini distribution with octo print just plug an play.

     

    cheers.

     

     

     

    Too bad :(

    I only tried octoprint directly on the pi zero and I found it to be too weak for it. The orange pi zero doesn't seem to be that much more powerful. 

  5. Hi, I plan on running octoprint on my Amlogic S912 china android box.

    Now I need to connect a filament runout sensor via gpio, in a octoprint plugin one specifies the used pins.

     

    Unfortunately my device has no dedicated gpio header built in, so I want to ask:

    Is there a way (that maybe works easily with armbian) to have gpio somehow? Like some usb stick with gpio on it that can forward gpio in and output?

    I have a pi zero lying around and found this https://github.com/raspberrypi/gpioexpander/wiki where some pigpio library is mentioned.

    But no idea if or how this could work on an Amlogic box.

    Any ideas?

  6. 56 minutes ago, balbes150 said:

    If you do not care about the problem of incorrect color at startup, then you can use the installation in eMMC.

    I have another problem now, suddenly armbian won't boot anymore :( I already have booted armbian before and have another amlogic box running it.

    Now I tried toothpick method on new Tanix TX5 Pro (S905x2 4GB, 64GB) and it worked initially! I then tried the other legacy image and different device trees (noticed that built in wifi doesn't work on S905x2) but now I can't boot from sd card or usb stick anymore...idk why, there's no serial console output via hdmi anymore :( 

    I burned image to sd with etcher, changed uenv.txt, tried toothpick method, tried via update app, then tried in linux "dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=8" also tried with win32diskimager....nothing.

    But I see Tanix logo then nothing, without usb stick or sd card it boots into android. So I think multiboot works but can't boot armbian.

    Any ideas? I'm out of ideas.. 

     

    Edit: Nevermind, it works via ssh. I just don't get hdmi output anymore..

     

    PS: Can you recommend a certain device tree for my box? Is there any description of the different dtbs?

    I just noticed that the meson-g12a-tanix-tx5-max.dtb has no ethernet and no wifi working.

    With u200 dtb, ethernet works.

  7. Hi, any way we can get wifi working with these images on S905x2? I just bought a Tanix TX5 pro box (S905x2 4GB ram, 64GB emmc variant) and used this image, first with the meson-g12a-tx5-max.dtb and couldn't get any ethernet connection and then with meson-g12a-u200.dtb and got ethernet now but wifi isn't working. Sb stated we need bcmdhd module which seems isn't included in these images.

  8. On 9/4/2019 at 4:50 PM, Igor said:


    Wireguard is supported everywhere where noted (at the download pages). I am thinking to add tools to the image by default (+328kb unpacked), otherwise just: 

    
    apt install wireguard-tools

    is enough since they were added to our main repository: https://github.com/armbian/upload/commit/4b218f5862fb0725c5426f679c1b5d6ef336ada5

     

    I just tried wg-quick to set up wireguard and get :

    RTNETLINK answers: Operation not supported
    Unable to access interface: Protocol not supported

    modprobe wireguard gets me:

    modprobe: FATAL: Module wireguard not found in directory /lib/modules/4.14.133-odroidxu4

     

    running stretch on odroid hc2, did update & upgrade and rebooted.

     

    Any ideas how I can get wireguard to work?

  9. On 8/14/2019 at 1:12 AM, jshc1 said:

    HC2 doesn't have AES-NI so I don't know what HA you mean. First, just start using. What transfers do you currently have?

    Meh, dl speed is only at 7 mb/s. With my router I get at least 10 mb/s....Any idea if I could up that somehow?

    I now changed governor to performance but that doesn't seem to do much.

    Strange thing I noticed is, that running htop, it only shows 8 little cpu cores not 4 big and 4 little....Also cpu frequency never exceeds 1.5 ghz on any core....Is there sth. wrong?

     

    This is cat cat /etc/default/cpufrequtils output:


    # WARNING: this file will be replaced on board support package (linux-root-...) upgrade
    ENABLE=true
    MIN_SPEED=600000
    MAX_SPEED=2000000
    GOVERNOR=performance

  10. Hi, I want to try out my Odroid HC2 as an openvpn client. I don't expect great performance but I want to make sure I set it up correctly.

    This is why I want to ask if anyone can give any recommendations or tweaks for using it as an openvpn client.

     

    Idk much about openvpn, I know it uses openssl for de and encryption. Is there a way to use hardware de and encryption so I can speed things up and have a better download speed via openvpn? Or is hw de/encryption maybe already used by default if I just install openvpn package?

    Any recommendations on how to correctly set this up are appreciated.

  11. Ok, I found more info myself, just want a short confirmation:

     

    This is the Image I want to use: Armbian_5.67_Aml-s805_Debian_stretch_next_4.20.0-rc3-next-20181123.img.xz

    So just flash it on sd card using etcher for example.

    Then edit uEnv.ini and replace the name of the dtb file to meson8b_ec100.dtb. 

    Insert the sd card, power on and done?

    Or do I still have to boot android, install some update&backup app and choose one of there update files?

     

    Edit: Ok that did not work. For the vero2 it is possible to run android on sd card and boot from it. Osmc is on internal nand.

    In ssh if I enter sudo reboot androidv2, the box boots android from sd card. 

    Now I  tried the command if there is no sd card plugged in and I get this:

    IMG_20190108_203825.thumb.jpg.718f78e63127644068ea20ae6240e352.jpg

     

    So I assume on the internal storage there is also an android recovery :)

    I now plugged in the sd card with armbian on it.

    I can navigate to aml_autoscript.zip :O

     

    I could install it... do you think this will most likely brick my device, or is there a good chance it will work and I would be able to boot armbian from sd card?

     

    Edit: ok, I got it booting armbian from sd card :)

    Just insert the sd card, take a toothpick, poke it into the audio connector next to the hdmi port. There is a button inside you need to press. Then connect the power. Don't hold it for too long. Then wait a bit and ssh into armbian. done.

  12. On 1/3/2019 at 7:02 PM, Igor said:


    :)

    A quick note: I get 100MB/s reading, while writing goes sometimes down to 70-80MB/s.

    Stupid question: With reading you mean copying from hc2 to local machine, right?

    That's what I keep testing.

    I could lower ram usage a lot, sth. is messed up with my jackett (mono) container.

    But even disabling the container I cannot get more than like 60mb/s max....

    I now check with htop, I think it's nice to check processes.

    During copy via smb I see that all the big cores are pretty maxed out..at least htop shows that.

    Still cpu temp isn't as high as it ways some months back when I used to get my 100mb/s. :(

     

    I'm thinking about overclocking the hc2 xD Idk if that may help..what do you think.

    Since I used to get these "high temps" like up to 85 °C I had the plan to add better cooling some time ago. I mainly was worried about the hdd temp being too high for my taste, I think like 50 °C.

    So now I finally added active cooling and with that I think I could overclock the hc2 :D

     

    It's not very professional :D

    IMG_20190107_210909.thumb.jpg.aeeb06f260a2ce1e39c9d20b9ae50293.jpg

     

    But it works. Took this fan kit, cut off a bit from the metal frame and added feet.

  13. Hello, I like to see that armbian runs on S805 boxes :)

    I have a vero 2 lying around that I want to use as an octoprint server. It has also has an Amlogic S805 SoC with 1GB Ram and 8GB nand storage.

    I think osmc (the os for it) will be too bloated, so I want to run armbian on it.

    Now my knowledge is a bit limited on this....I found the github page where it explains how to build an image or a kernel....which I've never done before.

    Is there a fairly up to date image I can just flash on a micro sdcard via etcher, pop that in an get going?

    If so, can/should I install the image to the nand? I heard nand should be faster than class 10 micro sdcard. But also read on vero2/osmc forum that the nand has special partitioning, maybe that might be an issue, idk.

    Well I'd appreciate any help on getting armbian to work on my currently useless vero 2.

  14. 18 hours ago, Igor said:


    At this point I can only confirm that Armbian + Samba (with NanoPC T4 and Samsung PRO NvME SSD drive http://ix.io/1xgI) with install from Softy works 100Mb/s OOB. One core goes to 50% ... like nothing is happening.

     

    :beer:

    Nice, that's good :thumbup:

     

    By chance now I saw following in ssh welcome screen: Memory usage:  90 % of 1996MB :o

    Could this be the problem?

    I never checked this, I thought I have plenty ram left. Comparing to older setup all I added to the mix is docker + some small containers based on alpine linux.

     

    And wow.. that one mono app needs lots of ram:

    Unbenannt.thumb.JPG.b9c2fcd1cfc849ed421507d49c01ff27.JPG

     

    Edit: Ok, now I disabled mono app and also saw that a python app uses quite a bit of cpu, also disabled that and get around 70 mb/s.

    Can't I somehow tell samba to "overrule" all other apps, so I get my 100 mb/s when I need them? I don't copy stuff back and forth all the time, but when I do, full gigabit speed would be nice.

  15. Ok, so after PHP issues I started off with a fresh armbian install and via armbian-config I installed OMV 4.

    Install finished without any problems but if I copy stuff via smb the tranfer speed is really bad and I don't know why. :(

    On an old install with OMV 3 I used to get nice 100 mb/s. The cpu temp also used to be at like 80 °C during copy, now it looks like this:

    Unbenannt.thumb.JPG.47388a0d1d706b76554b37165af263bc.JPG

    Following extra options are set in smb.conf:

    min receivefile size = 16384
    write cache size = 524288
    getwd cache = yes
    socket options = TCP_NODELAY IPTOS_LOWDELAY

    I also checked smbd app, it's running on a big core.... I get the feeling that not all the avaiable resources of my HC2 are used anymore.

     

    Can anyone help me here? The reason number 1 for choosing armbian + OMV were the introduced tweaks that got me NAS-like tranfer speeds... Other os' I tried all have equally bad tranfer speeds.

     

    I wish everyone reading this a Happy New Year 2019! :beer:

     

  16. On 11/22/2018 at 2:22 PM, Igor said:


    Talk to OMV people to develop OMV cleaner. We will certainly not. :) This has nothing to do with Armbian/Debian. Use some sort of virtualization for the future to avoid such troubles.

    Removed omv and installed samba. As expected, now I get like 60 mb/s transfer speed. What tweaks are made to omv's samba installed via armbian-config?

    I copied and pasted the old smb conf, I guess there are important settings I have also set:

    write cache size = 524288 
    
    getwd cache = yes 
    
    use sendfile = yes 
    
    min receivefile size = 16384

    Also I made sure samba process is running on big cores. Still only 60 mb/s.

  17. 26 minutes ago, Igor said:


    Talk to OMV people to develop OMV cleaner. We will certainly not. :) This has nothing to do with Armbian/Debian. Use some sort of virtualization for the future to avoid such troubles.

     

    For me it's overkill anyways. The reason I used it is because with other distros via smb I "only" got 60 mb/s transfer speed. I read the omv installed via armbian-config comes with enhancements, also in smb settings. And indeed with that I got 100 mb/s.

    I'd happily ditch omv if I'd know what I have to change in smb settings to get that speed. Does the samba install from armbian-config come with same enhancements?..tbh I didn't try that yet.

  18. Ok, it is settled, I'm gonna reinstall omv...but I don't know how to do it :(

    Maybe someone could help me?

    I tried to purge omv packages and reinstall it via armbian-config, which led to errors: https://github.com/armbian/config/issues/37#issuecomment-440919087 

    Got the info that omv install via armbian-config is only supposed to work on a clean debian install.

     

    However I don't plan on reinstalling armbian and start over again.

    So, how would I reinstall omv and have all the specific armbian improvements?

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines