Jump to content

teknoid

Members
  • Posts

    33
  • Joined

  • Last visited

Everything posted by teknoid

  1. Cron always sends the stdout messages from any scipt via mail. Nothing wrong with that.
  2. I've just installed latest minimal image (https://dl.armbian.com/bananapipro/Buster_current_minimal) and found some issues: Doing apt-get update results in: 30 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/49.8 MB of archives. After this operation, 618 kB disk space will be freed. Do you want to continue? [Y/n] Preconfiguring packages ... dpkg-deb: error while loading shared libraries: dpkg-deb: unsupported version 0 of Verneed record dpkg: error processing archive /var/cache/apt/archives/base-files_10.3+deb10u3_armhf.deb (--unpack): dpkg-deb --control subprocess returned error exit status 127 I fixed this by using an old dpkg-deb that i copied over /usr/bin/dpkg-deb. After doing that upgrade went fine. At each login I get message Warning: a reboot is needed to finish resizing the filesystem Please reboot the system as soon as possible So it looks like armbian-firstrun did not properly work. I check system log and found: May 3 13:52:36 localhost armbian-firstrun[1029]: /usr/lib/armbian/armbian-firstrun: line 39: iozone: command not found I installed iozone3 and manually run "/usr/lib/armbian/armbian-firstrun start". Reboot, but message still there. So I deleted rm /var/run/resize2fs-reboot. Reboot, still there. Hmmm. I deleted /etc/systemd/system/multi-user.target.wants/armbian-firstrun-config.service. Still there. It was finally gone after doing systemctl disable armbian-resize-filesystem.service Greetings Heiko
  3. I successfully tested rotary encoder device overlay with armbian-add-overlay. Source is here https://github.com/teknoid/dac/blob/master/misc/gpio-rotary.dts @zador.blood.stained you may add this to the example directory on github.
  4. I know... Odroid C2... it's a nightmare. Thats why I moved to Nanopi and I was very surprised that I got a recent 4.x kernel up and running with all board features working that I need. As long as I can simply replace the kernel by myself everything is fine...
  5. Hi @Igor I just tested the nightly neo2 image on my second plus2 device - It works. But I _strongly_ recommend using the official friendlyarm's 4.11.2 kernel. The linux-sunxi kernel included in your armbian image does not really fit at the moment. If you replace the kernel I think you can release an official armbian for NanoPi NEO2 / Plus2 devices - coming hopefully in ~35 days ;-) root@192.168.1.166's password: _ _ ____ _ _ _ ____ | \ | | __ _ _ __ ___ | _ \(_) | \ | | ___ ___ |___ \ | \| |/ _` | '_ \ / _ \| |_) | | | \| |/ _ \/ _ \ __) | | |\ | (_| | | | | (_) | __/| | | |\ | __/ (_) | / __/ |_| \_|\__,_|_| |_|\___/|_| |_| |_| \_|\___|\___/ |_____| Welcome to ARMBIAN 5.33.171006 nightly Debian GNU/Linux 9 (stretch) 4.11.2 System load: 0.30 0.08 0.03 Up time: 10 min Memory usage: 5 % of 994MB IP: 192.168.1.166 CPU temp: 41°C Usage of /: 16% of 7.2G
  6. btw. I use both internal USB ports: one is conneted to a harddisk /dev/sda and the other fires my ES9018 DAC via USB XMOS interface. hje@sabre:~$ dmesg |grep sda [ 3.656921] sd 0:0:0:0: [sda] 781422768 512-byte logical blocks: (400 GB/373 GiB) [ 3.657914] sd 0:0:0:0: [sda] Write Protect is off [ 3.657918] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00 [ 3.661772] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 5.881354] sda: sda1 [ 5.887091] sd 0:0:0:0: [sda] Attached SCSI disk hje@sabre:~$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: sndsun8ii2sdac [snd-sun8i-i2s-dac], device 0: sun8i-i2s-dac pcm5102a-hifi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: x20 [xCORE USB Audio 2.0], device 0: USB Audio [USB Audio] Subdevices: 0/1 Subdevice #0: subdevice #0
  7. @Igor, could you please provide a debian based installation for the neo plus2? I only found the ubuntu xenial image for the moment. In the mean time I manually installed stretch to my neo plus2 device: preparations: - cross compile uboot and kernel from friendlyarm's git - install ubuntu image (or dietpi or something else) on external sdcard drive installation: - boot system from sdcard - dd the nanopineo2 image to internal emmc drive - still boot kernel from sdcard but set root to emmc (setenv bootargs "console=ttyS0,115200 earlyprintk root=/dev/mmcblk3p1 ro") - update uboot on /dev/mmcblk3 - install kernel - create boot.scr from following boot.cmd: # Recompile with: # mkimage -C none -A arm64 -T script -d /boot/boot.cmd /boot/boot.scr setenv bootargs "console=ttyS0,115200 earlyprintk root=/dev/mmcblk3p1 ro" ext2load mmc 0 0x43000000 boot/dtb/allwinner/sun50i-h5-nanopi-neo-plus2.dtb ext2load mmc 0 0x46000000 boot/Image booti 0x46000000 - 0x43000000 - run apt-get dist-upgrade to move up to stretch Works perfectly: | \ | | __ _ _ __ ___ | _ \(_) | \ | | ___ ___ |___ \ | \| |/ _` | '_ \ / _ \| |_) | | | \| |/ _ \/ _ \ __) | | |\ | (_| | | | | (_) | __/| | | |\ | __/ (_) | / __/ |_| \_|\__,_|_| |_|\___/|_| |_| |_| \_|\___|\___/ |_____| Welcome to ARMBIAN 5.31 stable Debian GNU/Linux 9 (stretch) 4.11.2 Linux sabre 4.11.2 #1 SMP Sun Oct 1 16:01:05 CEST 2017 aarch64 System load: 0.13 0.05 0.01 Up time: 1 day Local users: 2 Memory usage: 11 % of 994MB Swap usage: 13 % of 127Mb IP: 192.168.1.245 CPU temp: 29°C Usage of /: 29% of 7.2G storage/: 1% of 367G [ General system configuration: armbian-config ]
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines