Jump to content

pkfox

Members
  • Posts

    190
  • Joined

  • Last visited

Posts posted by pkfox

  1. Hi all, I have several NanopiM4 SBC's, some are Nanopim4 and others Nanopim4v2. I use the Nanopim4v2 image on all of them and it works beautifully. When I ssh into the boxes I see

     

    Quote

    | \ | |  _ \(_) |  \/  | || \ \   / /___ \
    |  \| | |_) | | | |\/| | || |\ \ / /  __) |
    | |\  |  __/| | | |  | |__   _\ V /  / __/
    |_| \_|_|   |_| |_|  |_|  |_|  \_/  |_____|

    which doesn't look great on here but it's basically NPIM4V2, I would like to change it to NPIM4

    Quote

    | \ | |  _ \(_) |  \/  | || |
    |  \| | |_) | | | |\/| | || |\
    | |\  |  __/| | | |  | |__   _\
    |_| \_|_|   |_| |_|  |_|  |_|

    for the non M4V2 boards - anyone know how this is generated ? I don't even know what to call it ! Splash screen ? Logo ? Hope this  makes sense

  2. @Werner the same as you would be asked for normally, choose your board , choose kernel etc etc... I though if you supplied the values on the command line you wouldn't be asked for them by the script

  3. Hi All, in an attempt speed up my Armbian image build process I put the last build choices in a bash script

     

    ./compile.sh BOARD=nanopim4v2 BRANCH=current BUILD_DESKTOP=yes BUILD_MINIMAL=no\
    DESKTOP_APPGROUPS_SELECTED='browsers editors'\
    DESKTOP_ENVIRONMENT=gnome\
    DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base\
    KERNEL_CONFIGURE=no RELEASE=jammy

    but I still get prompted for input when I run the script - what am I doing wrong ?

  4. I've worked out a very inelegant way of achieving what I want, once the compile.sh script has done its thing, I dd the image to an sdcard I have ready in a reader, mount the card, then copy a pre crafted NetWorkManager system connection file to the mounted card. Horrible I know but it works ( well it's worked once ).

  5. Having successfuly built and installed an Armbian image I would like to configure the WiFi connection as part of the process. Currently on first boot I have to connect a network cable to the SBC and run armbian-config to configure the WiFi manually which is a bit of a drag when I'm updating 5 boards. Is this doable ?

  6. Hi all, I'm following a tutorial by @NicoD on building an Armbian image, the problem I have, is, my board ( NanoPiM4V2 ) isn't shown in the picklist - I 've tried one of the many RK3399 offerings ( Rockchip64 ) but whilst it built ok it didn't boot, anyone here know which board I should use ?

     

    Edit

    I found if you pass EXPERT=yes as a parameter to the install script the board is listed - I'm building it now and will post back the result

    End edit

     

  7. Goodo - what is the latest image that will run on my board ? I tried Armbian_24.2.1_Nanopi-r4s_jammy_current_6.6.16_minimal.img earlier on and whilst it booted there was no wifi which is a must for me. I'm sure the Nanopi4 used to have its own image on here , but as it's no longer manufactured I guess it's not worth the effort, Thanks for all your effort on here

  8. @going the card is now back in the NanoPi and still reports that it is full up - thank you for your time and patience

     

    When I ssh into m4v203 I see this

    Quote

    Welcome to Ubuntu 18.04.6 LTS with Linux 5.10.63-rockchip64

    System load:   0.26 0.53 0.54   Up time:        3:48
    Memory usage:  5 % of 3863MB    IP:            10.10.1.16
    CPU temp:      35°C
    Usage of /:    100% of 29G

    [ General system configuration (beta): armbian-config ]

     

     

  9. Hi @going I ran fsck

    fsck.ext4 -fcy /dev/sdb1
    e2fsck 1.44.5 (15-Dec-2018)
    Checking for bad blocks (read-only test): done
    /dev/sdb1: Updating bad block inode.
    Pass 1: Checking inodes, blocks, and sizes
    Pass 2: Checking directory structure
    Pass 3: Checking directory connectivity
    Pass 4: Checking reference counts
    Pass 5: Checking group summary information

    /dev/sdb1: ***** FILE SYSTEM WAS MODIFIED *****
    /dev/sdb1: 87173/1869120 files (0.8% non-contiguous), 7650362/7709728 blocks

    so I mounted it

    mount /dev/sdb1 /mnt/m4v203

    and checked disk space

     df -h /mnt/m4v203/
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/sdb1        29G   29G     0 100% /mnt/m4v20

     

     

     

  10. Hi all, I've just booted my NanoPi M4 V2 after not using it for a year or so and when I log in via ssh I'm told the / usage is at 100% - I've deleted all logs  and the usual suspects but to no avail

    uname gives

    Linux M4V203 5.10.63-rockchip64 #21.08.2 SMP PREEMPT Wed Sep 8 10:57:23 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux

    I'm using a 32gb SD card

    df -h gives

    Filesystem      Size  Used Avail Use% Mounted on
    udev            1.9G     0  1.9G   0% /dev
    tmpfs           387M   41M  346M  11% /run
    /dev/mmcblk1p1   29G   29G     0 100% /
    tmpfs           1.9G     0  1.9G   0% /dev/shm
    tmpfs           5.0M  4.0K  5.0M   1% /run/lock
    tmpfs           1.9G     0  1.9G   0% /sys/fs/cgroup
    tmpfs           1.9G  4.0K  1.9G   1% /tmp
    /dev/nvme0n1p1  458G   73M  434G   1% /mnt/Docker
    /dev/nvme0n1p2  458G  280G  155G  65% /mnt/music
    /dev/zram0       49M   20M   26M  44% /var/log
    tmpfs           387M     0  387M   0% /run/user/0

     

    any ideas ?

  11. 5 hours ago, NicoD said:

    You could make a small hat for it with a usb-c connector that goes on the voltage pins.. Or with a full size USB A port for easier soldering, or a barrel jack.
    I also would advice to check voltages on the M4V2 its usb ports. Max out the cpu and see if it doesn't go much under 5V. The M4V2 can stay stable at low voltages. But for the storage device it could be bad.

    Thanks for the info Nico but I can't visualise what you're suggesting

  12. 4 minutes ago, Werner said:

    correct.

    no.

     

    What he meant to say is that it might be necessary to feed the board with 2x 5V and 2x GND in order to compensate voltage drop across connectors and wire. Boards start to behave weird and malfunction due to under-voltage.

    I understood what he meant but how can that be done ?

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines