Jump to content

Dennboy

Members
  • Posts

    63
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    The Netherlands
  • Interests
    high speed sensing, ADC, SPI, DMA, GPIO, hardware interrupts

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi Amir, It has been a while since your post, but anyway here are some pointers: The SPI master bus is enabled by default on the nanopi neo3, see e.g.: ls /sys/firmware/devicetree/base/spi@ff190000 You can use the bus by attaching an SPI device to the bus and use it either via userland using the general purpose spidev kernel driver or load/write the appropriate driver kernel module and/or trigger driver loading via a device tree overlay. We use our own driver and device tree overlay for SPI with an ADC on the neo3, we see sporadic loss of SPI interrupts at 4KHz sampling and more at higher sampling rates, especially when there is high CPU load on the neo3. Kind regards, Dennis
  2. I created a pull request to exclude /var/log/journal from rsync in nand-sata-install / armbian-install and create empty ${TempDir}/rootfs//var/log/journal folder when /var/log.hdd/journal exists during the installation: https://github.com/armbian/build/pull/4371
  3. Since volatile journald logging is done in-memory in /run/log/journal, and made persistent in /var/log.hdd/journal, the rsync of /var/log/journal in nand-sata-install no longer works because it is a symlink to /var/log.hdd/journal in the live system, and will create a circular symlink when booting from NAND. On the target image /var/log is the folder that is directory-mounted to /var/log.hdd during boot. I propose to exclude /var/log from the rsync, and rsync /var/log.hdd to /var/log on the target image. Another solution could be to exclude only /var/log/journal from the rsync, and create an empty /var/log/journal in the target image. Kind regards, Dennis
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines