djjerdog

Members
  • Content Count

    20
  • Joined

  • Last visited

  1. I'm trying to build an image that includes armbian-firmware-full by specifying it in lib.config but it fails, I believe it is due to armbian-firmware being installed by default. What is the proper way to build an image with armbian-firmware-full instead of armbian-firmware?
  2. Board: m4v2 Unable to install the latest armbian-firmware-full package root@nanopim4v2:~# apt install armbian-firmware-full Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: armbian-firmware-full 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/532 B of archives. After this operation, 1,024 B of additional disk space will be used. E: This is not a valid DEB archive, missing 'data.tar' member E: Prior errors apply to /var/cache/apt/archives/armbian-firmware-full_20.02.3_all.deb debconf: apt-extracttemplates failed: No such file or directory (Reading database ... 77608 files and directories currently installed.) Preparing to unpack .../armbian-firmware-full_20.02.3_all.deb ... Unpacking armbian-firmware-full (20.02.3) ... dpkg-deb: error: unexpected end of file in archive member header in /var/cache/apt/archives/armbian-firmware-full_20.02.3_all.deb dpkg: error processing archive /var/cache/apt/archives/armbian-firmware-full_20.02.3_all.deb (--unpack): dpkg-deb --fsys-tarfile subprocess returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/armbian-firmware-full_20.02.3_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) However if I specify the previous version (20.02.2) then it does install fine. root@nanopim4v2:~# apt install armbian-firmware-full=20.02.2 Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: armbian-firmware-full 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 104 MB of archives. After this operation, 1,024 B of additional disk space will be used. Get:1 https://apt.armbian.com bionic/main arm64 armbian-firmware-full all 20.02.2 [104 MB] Fetched 104 MB in 16s (6,468 kB/s) (Reading database ... 77608 files and directories currently installed.) Preparing to unpack .../armbian-firmware-full_20.02.2_all.deb ... Unpacking armbian-firmware-full (20.02.2) ... Replacing files in old package armbian-firmware (20.05.0-trunk) ... Setting up armbian-firmware-full (20.02.2) ...
  3. Ok, I narrowed it down a bit, it appears this is specific to the NEO2 Black Armbian image, works fine if I use the NEO2 Armbian image (even on a NEO2 Black board). Using Armbian_20.02.1_Nanopineo2_buster_current_5.4.20 g_ether loads just fine [ 190.883225] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008 [ 190.883234] g_ether gadget: g_ether ready [ 191.258813] g_ether gadget: high-speed config #1: CDC Ethernet (EEM) However, using Armbian_20.02.1_Nanopineo2black_buster_current_5.4.20 I see the following when I try to modprobe g_ether [ 490.490582] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers Any ideas why g_ether works fine when using the Nanopineo2 image but not when using the Nanopineo2black image?
  4. Using Armbian_20.02.1 with 5.4 kernel on NEO2 board, I'm running into an issue trying to get the USB OTG working with the g_ether module. When I run modprobe g_ether I see the following in dmesg: [ 490.490582] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers I've also tried compiling my own img using the Armbian builder but it looks like all the correct OTG options are already selected by default. Any ideas what I'm doing wrong?
  5. I've been seeing the same issue happening randomly on the NEO2 with kernel 4.19, when I've analyzed the corrupt armbianEnv.txt it was full of what appeared to be output from an apache log. The workaround that @zdroyer provided seems to be working, but would be nice to get to the bottom of this.
  6. No backup needed on my part (but thank you!), my issue was that I was trying to use the eMMC card, once I moved to using the microSD card things started working.
  7. Woohoo, I have a blinky green light I'm booting the RockPi4 dev 5.3 image using a microSD card, I modified armbianEnv.txt adding: fdtfile=rockchip/rk3399-nanopi-m4.dtb rebooted and the green hearbeat status LED started blinking Here is the output from# cat /sys/class/leds/status_led/trigger root@rockpi:~# cat /sys/class/leds/status_led/trigger none kbd-scrolllock kbd-numlock kbd-capslock kbd-kanalock kbd-shiftlock kbd-altgrlock kbd-ctrllock kbd-altlock kbd-shiftllock kbd-shiftrlock kbd-ctrlllock kbd-ctrlrlock mmc0 mmc1 mmc2 timer oneshot disk-activity disk-read disk-write ide-disk [heartbeat] backlight gpio cpu cpu0 cpu1 cpu2 cpu3 cpu4 cpu5 activity default-on rfkill-any rfkill-none tcpm-source-psy-4-0022-online
  8. I edited my post. I re-burned the image and it is now booting with 5.3 and I am able to ssh into it.
  9. My apologies, I just realized I still had my microSD card (with 4.4) inserted but was trying to boot the 5.3 image using the eMMC slot. I removed the microSD card and re-burned the 5.3 image and it is now booting and I am able to ssh into it.
  10. I'm unable to ssh into the M4v2 board when running the latest RockPi4 dev 5.3 image. I can ping it and I get a reply, but for some reason I can't SSH into it. I get no response with ssh on port 22. Any ideas?
  11. Ah ok, yes I am using 4.4 kernel. I'll try the dev image with the 5.3 kernel.
  12. It looks like rk3399-nanopi-m4.dtb doesn't exist ?
  13. wlanpi@rockpi:~$ cat /sys/class/leds/status_led/trigger cat: /sys/class/leds/status_led/trigger: No such file or directory
  14. I was hoping that was it, but I just added that line to the bottom of armbianEnv.txt, rebooted but still no blinky green light :/
  15. I don't get a flashing green light, but it is up, I used an IP scanner and found it on my network and was able to SSH into it. I'm using the Armbian Ubuntu Bionic image for the RockPi4B https://dl.armbian.com/rockpi-4b/Ubuntu_bionic_default_desktop.7z