• Content Count

  • Joined

  • Last visited

Reputation Activity

  1. Like
    guidol got a reaction from Ali-leb in M1+ wifi   
    another picture from the Wiki page
    and the pdf:

  2. Like
    guidol got a reaction from Werner in Orange Pi One and Orange Pi PC: stalls at boot with Armbian_5.91_Orangepipc_Debian_buster_next_4.19.59   
    I use the USB-A to Barrel cable for my OPi's - maybe it was a connector problem?

  3. Like
    guidol got a reaction from hello_world.c in Orange Pi Zero H2+ Status LED   
    Well - the LEDs are not statically defined, because you can define their usage by yourself - and the OS can have another default funtion like on a other OS (Orange Pi original Linux <--> armbian)
    Your could find the available LEDs here:
    root@pihole:~# ls -l /sys/class/leds
    total 0
    lrwxrwxrwx 1 root root 0 Jan  1  1970 green_led -> ../../devices/platform/leds-gpio/leds/green_led
    lrwxrwxrwx 1 root root 0 Jan  1  1970 red_led -> ../../devices/platform/leds-gpio/leds/red_led
    and which function is assigned to the LED you could find out while do a "more" an their trigger-file:
    root@pihole:~# more /sys/class/leds/red_led/trigger
    none mmc0 mmc1 timer [heartbeat] backlight default-on
    here you could see I assigned the funtion [heartbeat] to the red LED
    I did this in the /etc/rc.local with the following command (before the line with "exit 0") :
    echo "heartbeat" > /sys/class/leds/red_led/trigger
    heartbeat is this flashing LED - showing the system is running
    mmc0 will be like a HDD-LED for your uSD-Card:
    echo "mmc0" > /sys/class/leds/green_led/trigger
    The names of your LEDs may varies.
  4. Like
    guidol reacted to sfx2000 in [Info] colored bash-prompt   
    And for those who live on the command line - byobu is like screen and tmux on steroids - and it's in the ubuntu repos...
    If one wants to have a fun demo...
    byobu rocks...
  5. Like
    guidol got a reaction from John Outrider Gault in Armbian_Debian_buster_desktop.7z does not work with etcher   
    @John Outrider Gault before this is useable give the command:
    apt install p7zip-full
  6. Like
    guidol reacted to Tido in [Info] colored bash-prompt   
    Hi Guido,
    Thank you. As you mentioned several components I wasn't sure what is really needed and to install was a bit overkill, at first sight.
    I could have gone ahead with try and error, but as you already have the knowledge, I thought it was better to ask.
    Apart from that, others can now also easily benefit from your lesson 😊
  7. Like
    guidol got a reaction from Tido in [Info] colored bash-prompt   
    which of the 2 configs you want to rebuild?
    for the non-chromebox (colored on black) prompt line there is already everything you need to put on the end of your ~/.bashrc in the first source-part box above.
    for the chromebox prompt you need to install the 2 packages fonts-powerline &  powerline via
    apt install fonts-powerline powerline
    copy to your home-directory:
    cp ./ ~/
    and append at the end of your ~/.bashrc the line:
    source ~/
    and change pUTTY to UTF8-translation:
    Change Setting => Window => Translation => Remote character set => UTF-8 => Apply
    or save it directly to your pUTTY session
    then activate the new ~./bashrc while starting a new bash with
    or reboot
    BTW: you have to change the ~/.bashrc for every user where you want to use it - for me these files are
    /home/root/.bashrc    and
    Do you got any other questions?

  8. Like
    guidol got a reaction from Tido in [Info] colored bash-prompt   
    Over a year (or two?) I used a PS1-line in my ~/-bashrc with many cryptic ANSI-Escape-codes which were hard to read and edit
    export PS1='\[\033[1;36m\]\u\[\033[1;37m\]@\[\033[1;33m\]\h\[\033[1;37m\](\[\033[1;32m\]$THEIP\[\033[1;37m\])\[\033[1;31m\]:\[\033[1;36m\]\w\[\033[1;31m\]\$\[\033[0m\] ' Today I did installed Linux Lite 4.6 on a PC (a former Chromebox) and did see the nice Powerline prompt and did try to use that on a nanoPi Neo2.
    I installed the packages fonts-powerline &  powerline and copied the powerline-script /usr/share/powerline/bindings/bash/
    from the pc to the NanoPi Neo2.
    It did work after I used UTF8 translation in pUTTY, but it wasnt very perfomant
    So I decided to cleanup my PS1 line for better reading,
    I had to define some variables and then I did put these in my PS1 export line in ~/.bashrc:
    export THEIP="$(/sbin/ifconfig | grep "inet " | grep -v 127.0.0. | awk '{print $2}')" BRed='\[\033[31;1m\]' BGreen='\[\033[32;1m\]' BYellow='\[\033[33;1m\]' BCyan='\[\033[36;1m\]' BWhite='\[\033[37;1m\]' Reset='\[\033[0m\]' UserPromptPS1='\$' export PS1="${BCyan}\u${BWhite}@${BYellow}\h${BWhite}(${BGreen}${THEIP}${BWhite})${BRed}:${BCyan}\w${BRed}${UserPromptPS1}${Reset} " # \u = User # @ = @ # \h = Host # \w = working directory # \$ = # for root (uid=0) or $ for user That worked well and did give me the same result as my old but bad readable PS1-line
    Now its - for me - much more easy to edit
    As Information some more useable color-definition (B before the color is for Bright and colors starting with On are for the Background):
    Black='\[\033[30m\]' Red='\[\033[31m\]' Green='\[\033[32m\]' Yellow='\[\033[33m\]' Blue='\[\033[34m\]' Magenta='\[\033[35m\]' Cyan='\[\033[36m\]' White='\[\033[37m\]' BBlack='\[\033[30;1m\]' BRed='\[\033[31;1m\]' BGreen='\[\033[32;1m\]' BYellow='\[\033[33;1m\]' BBlue='\[\033[34;1m\]' BMagenta='\[\033[35;1m\]' BCyan='\[\033[36;1m\]' BWhite='\[\033[37;1m\]' OnBlack='\[\033[40m\]' OnRed='\[\033[41m\]' OnGreen='\[\033[42m\]' OnYellow='\[\033[43m\]' OnBlue='\[\033[44m\]' OnMagenta='\[\033[45m\]' OnCyan='\[\033[46m\]' OnWhite='\[\033[47m\]' OnBBlack='\[\033[40;1m\]' OnBRed='\[\033[41;1m\]' OnBGreen='\[\033[42;1m\]' OnBYellow='\[\033[43;1m\]' OnBBlue='\[\033[44;1m\]' OnBMagenta='\[\033[45;1m\]' OnBCyan='\[\033[46;1m\]' OnBWhite='\[\033[47;1m\]' Reset='\[\033[0m\]'  

  9. Like
    guidol reacted to pask in NanoPi M4 V2 - M4 Image not working   
    I finally managed to get the official buster desktop image for the nanopi-m4 fully working on the version 2 of this board too.
    Basically, I extracted the working bootloader from the Armbian_5.99.191102_Rockpi-4b_Debian_buster_dev_5.3.0 image (which boots, but doesn't works well on the nanopi-m4 v2) and I burnt it to the image.
    This morning I did some initial tests and it seems that everything is working well.
    I have prepared a patched image you can try. At the moment, I've tested it only with an SD card, but I guess It'll work on the emmc too.
    Download it from
    You can also apply the patch by yourself:
    1) download buster desktop image for nanoPi M4 (version 1) from Armbian's web site
    2) extract and burn it to an SD card
    3) apply the patch I have shared at the link above using the following command, changing sdX with the correct device:
    sudo dd if=8M_after64ibs_uboot_working_rockpi4image_on_nanopim4v2.dd of=/dev/sdX seek=64  
    Let me know if it works for you too.
  10. Like
    guidol got a reaction from pask in NanoPi M4 V2 - M4 Image not working   
    take a look at

  11. Like
    guidol got a reaction from pask in NanoPi M4 V2 - M4 Image not working   
    also do 
    cp /lib/firmware/brcm/brcmfmac4356-sdio.txt /lib/firmware/brcm/ brcmfmac4356-sdio.friendlyarm,nanopi-m4.txt
    then check if  /lib/firmware/brcm/brcmfmac4356-sdio.bin would be loaded?
  12. Like
    guidol reacted to Werner in What binaries are fetched and used by the Build script?   
    You may want to consider buying an OrangePi One. The 512MB configuration is even a tiny bit cheaper than the 512MB OPi Zero, no (useless anyways) wireless onboard, offering HDMI and H3 instead of balls-cut-off-H2+ SoC. It cannot be powered from microUSB though. Barrel plug has to be used.
  13. Like
    guidol got a reaction from Werner in Orange Pi lite missing first second of the audio output.   
    I dont think its fixed, because I also got this on
    Armbian Linux 5.3.8-sunxi
    package bsp-kernel[5.99.191102] u-boot[5.91] dtb[5.99.191102] firmware[5.98] config[5.98]
    on a OPi Zero.
    Also got this "problem" since over 2 years:
    Since then I use my old workaround from this old thread.

  14. Like
    guidol got a reaction from faustf in banana pi m1 armbian how to start X   
    This does sound that you installed a image without desktop - but thats no problem
    use the command: armbian-config
    In the menu select
    System => Minimal (for installing a minimal desktop)
    System => Default ( to install a desktop with browser & extras)
    If the desktop doesnt start after reboot, then use startx

  15. Like
    guidol reacted to martinayotte in NanoPi M4 V2 - M4 Image not working   
    As mentioned in this thread and in another one, use RockPi image, it should boot ...
    Then, after initial setup, root password and user creation, add this line "fdtfile=rockchip/rk3399-nanopi-m4.dtb" in /boot/armbianEnv.txt to get proper hardware setting.
  16. Like
    guidol reacted to Igor in NanoPi K1 Plus to be released soon   
    I usually get them directly from China. With DHL its virtually the same delivery speed, except it doesn't make sense to pay so much extra and deal with customs for just one board. Try here: but I looks like they are out of stock .... sometimes China store is also out of stock and you need to wait for certain models. 
    Allwinner H5 boards are not latest, but they are just fine and today well supported, but I don't know what that means from a sellers perspective. How long they will make them? Don't know.
    I use this board to run my home automation for months without any troubles.
  17. Like
    guidol reacted to 5kft in Orange PI Zero Plus CPU frequency problem   
    I'm just catching up on this topic...  I don't have access to my Zero Plus at the moment but from the picture on Xunlong's site (and my previous experience) it looks like this board has the same HW limitation as the Plus2 - the missing Q5 MOSFET (see red oval highlight in this picture):

    This problem/limitation is described in this thread:
    @Darkyere, if it in fact is the case that this part is not included on this board, then unfortunately your board will be limited to a maximum of 1008MHz (for reliable operation).  According to the schematic (, page 7), the power circuit does include the switching regulator, so it should be capable of providing 1.3v if this part were installed.  (Again, refer to the thread I mentioned previously for all details about this.)
    Igor's guidance of specifying the 1.3v regulator overlay alone is a workaround that will enable the higher clockrate to 1.0GHz.  However, without the Q5 MOSFET installed, do not specify the 1.3GHz overclock overlay, as then your board will certainly crash (as you noticed) 
  18. Like
    guidol reacted to 5kft in H5 board without voltage-switching only up to 816Mhz?   
    Hi @guidol, I've pushed the change to sunxi-dev:
  19. Like
    guidol got a reaction from gounthar in Odroid N2: HDMI to DVI (1680x1050) - setup ?   
    If you got a Windows PC try to format the cards with the HP USB Format Tool (HPUSBFW_v2.2.3.exe) to gain again the full capacitiy.
    If you did wrote a image to the cards the 32Mb could be a boot-partiton!?
  20. Like
    guidol reacted to 5kft in H5 board without voltage-switching only up to 816Mhz?   
    Makes sense; I'll merge this new overlay patch in with the existing 1.3GHz patch and should be able to push it tonight.  Thanks for testing it!
  21. Like
    guidol reacted to Igor in H5 board without voltage-switching only up to 816Mhz?   
    Will be enabled when development branch "arm64" gets merged to the master:
  22. Like
    guidol reacted to yuanyunlong in Help~ Orange Pi R1 startup error kernel crash!   
    I am using the latest armbian build script version 5.99 to build the debian Stretch kernel version update to 4.19.81

    Burning into the TF card starts normally.
    Debian Stretch with Armbian Linux ttyS0 orangepi login: root Password: You are required to change your password immediately (root enforced) Changing password for root. (current) UNIX password: Enter new UNIX password: Retype new UNIX password: ___ ____ _ ____ _ / _ \| _ \(_) | _ \/ | | | | | |_) | | | |_) | | | |_| | __/| | | _ <| | \___/|_| |_| |_| \_\_| Welcome to Debian Stretch with Armbian Linux 4.19.81-sunxi 1 [ 0.0%] Hostname: orangepi 2 [ 0.0%] Tasks: 22, 10 thr; 1 running 3 [|| 2.0%] Load average: 0.15 0.22 0.10 4 [ 0.0%] Uptime: 00:03:47 Mem[||||||||||||||||||| 57.7M/240M] CpuFreq1: 480 MHz Swp[ 0K/120M] CpuFreq2: 480 MHz Cpu Temp: 24 C CpuFreq3: 480 MHz CpuFreq4: 480 MHz root@orangepi:~# uname -r 4.19.81-sunxi root@orangepi:~# uname -a Linux orangepi 4.19.81-sunxi #5.99 SMP Wed Oct 30 12:39:06 CST 2019 armv7l GNU/Linux root@orangepi:~# dpkg -l | grep 5.9 ii armbian-config 5.99 all Armbian configuration utility ii armbian-firmware 5.99 all Linux firmware ii bc 1.06.95-9+b3 armhf GNU bc arbitrary precision calculator language ii libdigest-sha-perl 5.96-1+b1 armhf Perl extension for SHA-1/224/256/384/512, SHA-512/224 and SHA-512/256 ii libkeyutils1:armhf 1.5.9-9 armhf Linux Key Management Utilities (library) ii libksba8:armhf 1.3.5-2 armhf X.509 and CMS support library ii linux-dtb-next-sunxi 5.99 armhf Linux DTB, version 4.19.81-sunxi ii linux-headers-next-sunxi 5.99 armhf Linux kernel headers for 4.19.81-sunxi on armhf ii linux-image-next-sunxi 5.99 armhf Linux kernel, version 4.19.81-sunxi ii linux-stretch-root-next-orangepi-r1 5.99 armhf Armbian tweaks for stretch on orangepi-r1 (next branch) ii linux-u-boot-orangepi-r1-next 5.99 armhf Uboot loader 2019.04 Then restart the operation. No kernel crash was found.
    Looks like this version fixes the previous problem.
  23. Like
    guidol reacted to yuanyunlong in Help~ Orange Pi R1 startup error kernel crash!   
    I have replaced a better TF card. It runs normally for one day, and during the reboot, it does not find the kernel crash. It feels amazing

    Next I will check the Swp issue again.
    Yes, I remembered it wrong before. The Orange Pi R1 is only 256M of memory.
    For the NanoPi R1, it is not currently considered. Although its configuration is very high. But I see that it does not open up the redundant GPIO interface. Used for my access urat
  24. Like
    guidol got a reaction from Igor in Updated htop   
    Many Thanks!
    htop didnt show anything on the non-LTS Neo2 = upgraded armbian.
    I copied the content of the ~/.config/htop/htoprc from the working to the non-working Neo2 and now htop does show temperature and cpu-speeds also on the other system
    non-working htoprc:
    working htoprc:
  25. Like
    guidol got a reaction from gounthar in Very Small Platforms - Rockchip 3308 and Allwinner V3s   
    for me this sounds like the data of a <$50 DSL-Router in a Pi-factor size.
    I dont think you will sell so much, that you can make profit