Jump to content

guidol

Members
  • Posts

    1791
  • Joined

  • Last visited

Reputation Activity

  1. 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)
    or
    System => Default ( to install a desktop with browser & extras)
     
    If the desktop doesnt start after reboot, then use startx

  2. 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.
  3. 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: https://www.antratek.com/boards/sbc/nanopi 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.
  4. 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 (https://linux-sunxi.org/images/6/67/ORANGE_PI-ZERO-PLUS_V1_0_Schematic.pdf, 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) 
     
     
  5. 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:  https://github.com/armbian/build/commit/f1cdca27530ed401ff3f5f301aae46155704c85d
     
    Enjoy!  
  6. 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!?
  7. 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!
  8. 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:
    https://github.com/armbian/build/commit/09341a28e5d962836cbfd79d383cbdccd16a0ae7
  9. 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
    Armbian_5.99_Orangepi-r1_Debian_stretch_next_4.19.81.img

    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.
    armbianmonitor  http://ix.io/20jK
  10. Like
    guidol reacted to yuanyunlong in Help~ Orange Pi R1 startup error kernel crash!   
    awesome!
    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
     
  11. 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:
     
  12. 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
     
  13. Like
    guidol reacted to schwar3kat in Updated htop   
    Thanks @Guidol,  I had the same issue with Orange Pi Zero Plus. 

    One showed Cpu Temp And Cpu Frequency.  Two did not show the options.
    ~/.config/htop/htoprc was blank on the two that did not work.
    Changing settings on htop did not populate the file and settings were lost between sessions.
    File permissions were the same for all three.
    I copied the working htoprc to the other two and this solved the problem.
  14. Like
    guidol reacted to kevinplatt in [Experiment] armbian on NanoPi A64   
    I'll try incorporating the patches into the dev and the next branch of the build to test on my two nanopi-a64.

    I will be rebuilding the images to test it again on my spare time.
    Also if successful i might make a PR request so that we can have a supported image.

    BTW, my use case for this is just having a 7 inch touch screen attached to the nanopi-a64 and it kinda serves as my dashboard for tasks assigned to me and reminders for system administration in the office.
    Also, having spotifyd on the nanopi and have it play spotify to my bluetooth earphones or switching to wired earphones when they die while i am in the office. 

     
     
  15. Like
    guidol reacted to balbes150 in Armbian for Amlogic S9xxx kernel 5.x   
    I checked on old USB 2.0 flash drives, reboot and shutdown work. I notice on different TV box models that rebooting and shutting down work better on slow devices than on fast ones.
  16. Like
    guidol reacted to cyber in Armbian for Amlogic S9xxx kernel 5.x   
    I forgot this box owns a HDMI-Port ;-)
    I was not satisfied with the sound (atmos) capabilities of the android box. So i substituted an old Dockstar with this box as NAS.
     
    I did an update to 5.98 via apt-get upgrade. Suddenly a "shutdown -r now" works. The unit is back within 20 sec. 
  17. Like
    guidol got a reaction from Werner in Orange pi zero alternatives   
    Thats a good choice - does run very stable
  18. Like
    guidol got a reaction from abreyu in Orange pi zero alternatives   
    Thats a good choice - does run very stable
  19. Like
    guidol reacted to 5kft in NanoPi NEO2 Voltage Regulator Update   
    Indeed, I took a quick look at the schematic (http://wiki.friendlyarm.com/wiki/images/5/57/NanoPi-NEO2-Black_1907_Schematic.pdf) and noticed a few things (if the schematic is accurate):
    If the VCC regulator is really a SY8106A (first page notes it is a MP2143DJ, which I'm guessing is a mistake), then the power circuit looks like the same as the NEO Core2, which means that the board may be able to drive the core voltage to 1.4v, meaning it can run up to 1.4GHz (like on the Core2).  This is nice! The board "version" GPIO (PL3) is wired the same as the NEO2 v1.1, so for the NEO2 build target this won't allow full speed of the board as this would load the NEO2 v1.1 default DT which actually uses the far more limited MP2143DJ regulator.   In fact, with the Black they wired PC4, PC6, and PC7 the same as well as the NEO2 v1.1, which means that we can't do runtime board identification.  This likely means that we'll have to do a different board target...
  20. Like
    guidol got a reaction from 5kft in NanoPi NEO2 Voltage Regulator Update   
    @Neko May armbian has support  for 1.3V
     
    Use armbian-config ==> system ==> hardware
    and enable
    cpu-clock-1.3GHz-1.3v
    and
    gpio-regulator-1.3v
     
    save/reboot
     
    and now set cpu-governor and speeds in armbian-config ==> system ==> CPU
    (I think with these new setting you will get all speeds)
     
    PS: I ediited  my DTB for the OPi Zero Plus2 H5 to allow up to 1008Mhz with the 1.1v setting
    (like I had it on older armbian-builds):

  21. Like
    guidol reacted to sfx2000 in Very Small Platforms - Rockchip 3308 and Allwinner V3s   
    Here's something crazy - found this in my goodie/junk box... mad dog linux something or other - from back in 2006 timeframe - well before kickstarter.
     
    PowerPC device implemented on an FPGA - the shiny item is a fingerprint sensor that would log a person in...
     
    Mounted as a mass-storage device, with a lightweight desktop environment that one would run in Windows 98...
     
    The SD Card (or maybe MMC) was for storage for the linux space, booted off the internal flash...
     

  22. Like
    guidol got a reaction from Werner in show armbian-package versions in login motd   
    A while ago I did create  a armbian-package-information for at the motd of the login:
    Now the line for the kernel does show 2 versions because there are "Version:" and "Config -Version:"
     
    root@npi-neo2-24(192.168.6.24):~# dpkg -s linux-image-$BRANCH-$LINUXFAMILY|grep Version Version: 5.96 Config-Version: 5.96 root@npi-neo2-24(192.168.6.24):~# dpkg -s linux-image-$BRANCH-$LINUXFAMILY|grep Version|cut -f 2 -d ' ' 5.96 5.96 So I had to find another way/command to get the information once
    I did go back from "dpkg -s" to "dpkg -l" and greped there the version-info:
    root@npi-neo2-24(192.168.6.24):~# dpkg -l | awk -v env_var="linux-image-$BRANCH-$LINUXFAMILY" '$2==env_var { print $3 }' 5.96 # end-part of /etc/update-motd.d/10-armbian-header # NEW version # =============================================================================================================== ARMBIAN_bsp=$(more /etc/armbian-release|grep VERSION|cut -f 2 -d '=') ARMBIAN_kernel=$(dpkg -l | awk -v env_var="linux-image-$BRANCH-$LINUXFAMILY" '$2==env_var { print $3 }') ARMBIAN_uboot=$(dpkg -l | awk -v env_var="linux-u-boot-$BOARD-$BRANCH" '$2==env_var { print $3 }') ARMBIAN_dtb=$(dpkg -l | awk -v env_var="linux-dtb-$BRANCH-$LINUXFAMILY" '$2==env_var { print $3 }') ARMBIAN_firmware=$(dpkg -l | awk -v env_var="armbian-firmware" '$2==env_var { print $3 }') ARMBIAN_config=$(dpkg -l | awk -v env_var="armbian-config" '$2==env_var { print $3 }') printf 'package bsp-kernel[\e[0;91m%s\x1B[0m] u-boot[\e[0;91m%s\x1B[0m] dtb[\e[0;91m%s\x1B[0m] firmware[\e[0;91m%s\x1B[0m] config[\e[0;91m%s\x1B[0m]\n' "$ARMBIAN_kernel" "$ARMBIAN_uboot" "$ARMBIAN_dtb" "$ARMBIAN_firmware" "$ARMBIAN_config" printf '\n' # ===============================================================================================================  
    After successfully getting the kernel-version only once- I edited the other commands to the "dpkg -l" version - and the result is clear as before
    _ _ ____ _ _ _ ____ | \ | | _ \(_) | \ | | ___ ___ |___ \ | \| | |_) | | | \| |/ _ \/ _ \ __) | | |\ | __/| | | |\ | __/ (_) | / __/ |_| \_|_| |_| |_| \_|\___|\___/ |_____| Welcome to Debian Buster with Armbian Linux 5.3.3-sunxi64 package bsp-kernel[5.98.191003] u-boot[5.96] dtb[5.98.191003] firmware[5.96] config[5.96] The only drawback is, when you use a dev-kernel/-dtb on a next-installation (using other kernel via armbian-config) then $BRANCH is next and your kernel is dev
    root@npi-neo2-24(192.168.6.24):~# dpkg -l|grep image ii linux-image-dev-sunxi64 5.98.191003 arm64 Linux kernel, version 5.3.3-sunxi64 rc linux-image-next-sunxi64 5.96 arm64 Linux kernel, version 4.19.71-sunxi64 root@npi-neo2-24(192.168.6.24):~# dpkg -l|grep dtb ii linux-dtb-dev-sunxi64 5.98.191003 arm64 Linux DTB, version 5.3.3-sunxi64 # ARMBIAN_kernel=$(dpkg -l | awk -v env_var="linux-image-$BRANCH-$LINUXFAMILY" '$2==env_var { print $3 }') ARMBIAN_kernel=$(dpkg -l | awk -v env_var="linux-image-dev-$LINUXFAMILY" '$2==env_var { print $3 }') # ARMBIAN_dtb=$(dpkg -l | awk -v env_var="linux-dtb-$BRANCH-$LINUXFAMILY" '$2==env_var { print $3 }') ARMBIAN_dtb=$(dpkg -l | awk -v env_var="linux-dtb-dev-$LINUXFAMILY" '$2==env_var { print $3 }')  
     
    PS: I also did try - before this - the package apt-show-versions (lists available package versions with distribution)
    but this takes much too long to resolve and needs this additionally package
     
     

  23. Like
    guidol reacted to martinayotte in [Q] bash: cannot set terminal process group at compile.sh   
    If you modified a file and wish to revert to git version, simply do "git checkout -- <filename>" ...
  24. Like
    guidol reacted to sfx2000 in Another 3720 box - GL.Inet MV1000   
    Another edge-router based on the Armada 3700 series...
     
    Specs look decent - 1GB, 16MB SPI-NOR, 8GB eMMC - runs OpenWRT, but they promise ubuntu support - shipping mid-October 2019
     
    https://www.gl-inet.com/products/gl-mv1000/
     

     
    I've done work with other devices in their product lineup - and GL-Inet does a pretty good job on the HW side, and good SW support.
     
    Nice that they have USB gadget support on the USB-C port (which is also power)
     
    Initial vendor docs here -- https://docs.gl-inet.com/en/3/setup/brume/first-time_setup/
     
     
     
     
  25. Like
    guidol reacted to NicoD in My most useful Linux terminal commands for Ubuntu/Debian   
    Hi all. For a new video I've made a list with my most used/useful terminal commands.
    Please let me know what I've missed, or which commands you use most.
     
    Useful Linux commands for Ubuntu/Debian --------------------------------------- Update/Install -------------- sudo apt update Update repolists sudo apt upgrade Upgrade system/programs sudo apt autoremove Remove obsolete programs sudo apt install programName Install program sudo apt remove programName Remove program sudo aptitude install When having issue's with apt, aptitude can help to solve this sudo apt update && sudo apt upgrade Update and upgrade together/You can run multiple commands with && sudo dpkg -i packageName.deb Install .deb file Root user --------- sudo passwd Change root password su Super User/Enter root user Debug/Monitor ------------- dmesg Shows debug messages uname -a Shows basic system information env Shows the environment information htop Hardware monitor Switch terminal --------------- ctrl + ALT + F4 (F1 - F6) Open new terminal 4 ctrl + ALT + F1 Go back to terminal 1 ctrl + ALT + F7 Go back to desktop Reboot/Shutdown --------------- sudo reboot Reboot sudo shutdown now Shutdown CPU Tools --------- cpufreq-set -g performance Set governor to performance cpufreq-set -u 2Ghz Set max frequency for all cores cpufreq-set -c 0-1 -u 1.8Ghz Set max frequency for specific cores lscpu | grep MHz Show cpu frequency taskset -c 3 programName Use a specific core for an application Files/Directories ----------------- nano /home/fileToRemove.txt Create a txt file with Nano. You could use any other texteditor. touch filename Create an empty file, no matter what kind cat /home/fileToRemove.txt Shows the content of a file cp /home/fileToRemove.txt /home/copy.txt Copy file find /home/ -iname "*.txt" Search files that end with .txt comm /home/fileToRemove.txt /home/copy.txt Compare files rm /home/fileToRemove.txt Remove file mv /home/copy.txt ~/Documents/ Move file mkdir /home/directoryToGoTo/ Create directory cd /home/directoryToGoTo/ Go to directory ls List directory ls -l Gives more information about every file/directory ls -l filename.txt Gives file information pwd Show current working directory cd .. Go to the above directory rmdir /home/directoryToGoTo/ Remove directory wget http://www.website.com/file.txt Download file Zip/Tar/GunZip -------------- zip myzip file1 file2 file3 Create zip file unzip myzip.zip Unzip file tar xvf filename.tar gunzip filename_tar.gz Mount drives/USB Devices ------------ lsusb List USB devices lsblb List attached drives mount /mount/mountedDisk /dev/sda2 Mount drive sudo chmod -R 777 /mount/mountedDisk Give user read/write permissions df -a List all filesystems Swap file/ZRam -------------- sudo apt install zram-config Install zram script sudo fallocate -l 8G /swapfile Allocate 8GB for swapfile sudo chmod 600 /swapfile Give the correct rights for the swapfile sudo mkswap /swapfile Make it a swapfile sudo swapon /swapfile Turn on the swapfile sudo nano /etc/fstab Open fstab and add the line ... |_ /swapfile swap swap defaults 0 0 Wifi ---- sudo nano /etc/network/interfaces and write: auto wlan0 iface wlan0 inet dhcp wpa-ssid {ssid} wpa-psk {password} OR nmcli device wifi rescan Scan for available wifi networks nmcli device wifi list Show available wifi networks nmcli device wifi connect SSID-Name password wireless-password Connect wifi ip a Show ip ifconfig iwconfig Change Keyboard Layout ---------------------- sudo dpkg-reconfigure keyboard-configuration Set keyboard layout Add display resolution ---------------------- cvt 2560 1440 60 Select the display resolution you want # 2560x1440 59.96 Hz (CVT 3.69M9) hsync: 89.52 kHz; pclk: 312.25 MHz Modeline "2560x1440_60.00" 312.25 2560 2752 3024 3488 1440 1443 1448 1493 -hsync +vsync xrandr --newmode "2560x1440_60.00" 312.25 2560 2752 3024 3488 1440 1443 1448 1493 -hsync +vsync Add resolution, everything after Modeline from cvt is copied after newmode xrandr --addmode HDMI-1 2560x1440_60.00 Add the new resolution to your display xrandr --newmode "2560x1440_60.00" 312.25 2560 2752 3024 3488 1440 1443 1448 1493 -hsync +vsync && xrandr --addmode HDMI-1 2560x1440_60.00 Others ------ reset Clear terminal shift + page up Scroll up shift + page down Scroll down tab Autocomplete ctrl + c Quit for many programs date Show date/time cal Show calender Funny commands -------------- sl First need to install "sudo apt install sl", then try it out. It's great :) sl -alF cmatrix fortune/fortune-mod cowsay figlet toilet ponysay inxi cat /dev/urandom :(){ :|:& };: Endless loop (useful to test CPU maximized temperatures) Armbian ------- sudo armbianmonitor -m sudo armbian-config change cpu settings sudo nano /etc/default/cpufrequtils Made by NicoD  
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines