Jump to content

pkfox

Members
  • Posts

    192
  • Joined

  • Last visited

Everything posted by pkfox

  1. Hi all, first off, I love my NanoPiM4V2 boards, the big drawback with them for me is backing them up, if you are running them from an eMMC and you have the board in a case, you have to remove the cover of the case, if you have a hat ( which I do ) you also have to remove that , then you can remove the eMMC module and clone or do whatever with it. What would be good for me, is, if I could temporarily boot from an sdcard , unmount the eMMC, and clone it for backup purposes. Before I ruin anything I thought I'd ask the experts. Is this doable ?
  2. Hi all, I've been away for a while - is the version shown below the latest for the NanoPi M4 V2 ? Linux M4V202 4.4.213-rk3399 #23 SMP Sat Mar 28 16:58:50 CET 2020 aarch64 aarch64 aarch64 GNU/Linux
  3. Hi all, I had a need to install the latest version of Postgres possible across my various boards ( Nanopi4 v1 and v2 and a raspberry pi ) the only way I could find to do this, is, compile from source, I came across this howto written for the Ras Pi but it works perfectly for the other boards Here is the link https://blog.rustprooflabs.com/2019/07/postgresql-postgis-install-from-source-raspberry-pi
  4. https://www.antratek.com/rock-pi-n10-model-a-rk3399pro-w-4gb-lpddr3-16gb-emmc?utm_source=sendinblue&utm_campaign=Newsletter202003&utm_medium=email
  5. hi all, does anyone have postgresql running on a Nanopi M4 v2 under bionic beaver ? I have it working on buster but can't get it to install on bionic
  6. HI all, having finally got my Nanopi m4 v2s setup as I want them ( bionic ) and pretty stable too. I would like to setup a nightly backup , I have Postgres installed so would want that data backed up to . Do any of you have any suggestions as to the best way / strategy to do this ? I have external SSD' and USB drives available
  7. Hi Nico, is this with the M4 version 2 ?
  8. Hi @piter75 I think I might have done :-( thanks - Do you mean select Freeze in armbian-config ?
  9. Hi guys , I installed the Buster WIP image on my M4 V2 and it appeared to be functioning ok wifi,USB etc all working until this morning. It wouldn't boot so I connected a serial cable and saw where it failed ( I think it part of the uboot process) ERROR: Did not find a cmdline Flattened Device Tree Any ideas why this should suddenly happen ? I have two V2's running this build and the other is still working fine
  10. Hi All, here is a quick howto for flashing a Nanopi M4 V2 I did this using a Linux box and a USB TTL serial cable) 1) Download an image from https://www.armbian.com/nanopi-m4-v2/ 2) Start a terminal 3) cd to the folder containing your download 4) Unzip your download to extract the *.img file 5) Connect an sdcard or eMMC to your pc ( I used a transcend adapter ) 6) Run lsblk to identify your device, in my case it returned /dev/sdc 7) Run mount to ensure it is not mounted and unmount it if necessary ( umount /dev/sdc or umount /dev/sdc1 ) 8) Run dd if =NameOfYourImage.img of=/dev/sdc status=progress 9) When completed ( it takes a while ) make a directory to enable you to mount your device ( mkdir /mnt/MyDevice) 10) Run mount /dev/sdc1 /mnt/MyDevice 11) nano /mnt/MyDevice/etc/NetworkManager/NetworkManager.conf 12) Add these two lines and save the file [device] wifi.scan-rand-mac-address=no 13) Unmount the device (umount /mnt/MyDevice) 14) Put the device( sdcard or eMMC ) in the M4 - DO NOT APPLY POWER YET ! 15) Connect a serial cable to the UART pins on the board and attach the other end to a USB port on your PC 16) Issue this command picocom -b 1500000 /dev/ttyUSB0 ( I'm typing this at work but I think this is correct ) this should connect you to the M4 17) Apply power to the M4 and you should see the boot output 18) Login as root with password 1234 ( you'll be prompted to change the password ) 19) Run armbian-config to configure wifi 20) Ensure you have an ip address ( ip a ) and look for wlan0 21) Reboot the M4 having removed the serial cable first. In my case It all worked - your case may be different.
  11. I've now redone the whole process from scratch thus ( I did this using a Linux box and a USB TTL serial cable) 1) Download an image from @pask link 2) Start a terminal 3) cd to the folder containing your download 4) Unzip your download to extract the *.img file 5) Connect an sdcard or eMMC to your pc ( I used a transcend adapter ) 6) Run lsblk to identify your device, in my case it returned /dev/sdc 7) Run mount to ensure it is not mounted and unmount it if necessary ( umount /dev/sdc or umount /dev/sdc1 ) 8) Run dd if =NameOfYourImage.img of=/dev/sdc status=progress 9) When completed ( it takes a while ) make a directory to enable you to mount your device ( mkdir /mnt/MyDevice) 10) Run mount /dev/sdc1 /mnt/MyDevice 11) nano /mnt/MyDevice/etc/NetworkManager/NetworkManager.conf 12) Add these two lines and save the file [device] wifi.scan-rand-mac-address=no 13) Unmount the device (umount /mnt/MyDevice) 14) Put the device( sdcard or eMMC ) in the M4 - DO NOT APPLY POWER YET ! 15) Connect a serial cable to the UART pins on the board and attach the other end to a USB port on your PC 16) Issue this command picocom -b 1150000 /dev/ttyUSB0 ( I'm typing this at work but I think this is correct ) this should connect you to the M4 16) Apply power to the M4 and you should see the boot output 15) Login as root with password 1234 ( you'll be prompted to change the password ) 17) Run armbian-config to configure wifi 18) Ensure you have an ip address ( ip a ) and look for wlan0 19) Reboot the M4 having removed the serial cable first. In my case It all worked - your case may be different.
  12. All looking good thanks @pask
  13. Good man WiFi now works - thanks very much - maybe @pask can add those lines to his build - did I need to use the drivers from @pask original build ? or will the ones in the new build work ok
  14. Hey good work @pask - flashed it straight to eMMC and it booted - no WiFi though :-( - I tried copying the broadcom drivers I've been using with your original image but no joy - using armbian-config my network is shown but won't connect ( fails with no reason given ) tried it from cli nmcli but same error message
  15. Hi @pask are you saying I can flash the image you gave a link to and it will boot and wifi will work ? your original images were about 1gb and these are only 300mb ish is this correct ?
  16. Hi Igor, I though I'd start from scratch, so , I flashed the image supplied by @pask , used the wi-fi drivers specified by @martinayotte, and applied the boot loader patch supplied by @pask. All booted fine with wi-fi working , so I attempted to install postgresql. And it worked perfectly, don't know why but I must have screwed something up before - good news is it works, bad news is I don't know why - thanks for your help.
  17. I do appreciate what you people do and if I was more knowledgeable I would contribute but I'm quite limited in my knowledge of Linux
  18. Oh I'm not using it for real just trying to do something useful with it as I am with the M4 V1 , I only bought the V2 because they seem to have discontinued the V1 4gb model which is a pity as Armbian is rock solid on those.
  19. I can't even find the binary - also the install usually creates a /etc/postgresql folder which isn't happening - I've tried removing the install and reinstalling but I receive the message that it's already installed ? WTF ?
  20. Hi all, i've installed Postgresql on my Nanopi M4 V2 board which is running Buster Armbian Linux 4.4.192-rk3399 and it appears to have installed ok but it won't start - there's nothing in the logs and running pg_isready returns no response - any ideas guys
  21. pkfox

    NanoPI 4MV2

    Oh ok WiFi doesn't work on Buster
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines