• Content Count

  • Joined

  • Last visited

About jagmn

  • Rank

Recent Profile Visitors

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

  1. I've recently been having the same issues, a segfault during git clone, when building focal on Ubuntu 18.04. I tried a few different versions of QEMU; QEMU 5.1.0 ended up solving my issue (when installed locally and then do a build with ROOT_FS_CREATE_ONLY=force to generate a local rootfs).
  2. Done, I think… I've not done this before :-) https://github.com/armbian/build/pull/1981
  3. I've just pinged one of the original authors about getting my patch upstreamed. If you want to build it for yourself, you can use the instructions here: https://docs.armbian.com/Developer-Guide_Build-Preparation/ The patch lives in <build_checkout>/userpatches/kernel/sunxi-current/ and assumes that you'll be building with that kernel. I've attached the latest version to this post. Note: I haven't tested this myself on the NanoPi neo air but Cooldaddy says that it does the trick. 0002-spdif-clk-fix.patch
  4. If anyone else needs this patch, I've cleaned it up a little after re-reading the driver. It should only get applied to H3 (and related) devices with this: diff --git a/sound/soc/sunxi/sun4i-spdif.c b/sound/soc/sunxi/sun4i-spdif.c index b4af4aabe..195775605 100644 --- a/sound/soc/sunxi/sun4i-spdif.c +++ b/sound/soc/sunxi/sun4i-spdif.c @@ -169,6 +169,7 @@ struct sun4i_spdif_dev { struct snd_soc_dai_driver cpu_dai_drv; struct regmap *regmap; struct snd_dmaengine_dai_dma_data dma_params_tx; + unsigned int spdif_clk_mult; }; static void sun4i_spdif_configure(struct sun4i_spdif_dev *
  5. I've had some success here with the Orange Pi Zero (Allwinner H2+/H3 - same as the Nano Pi Air). I found that the SPDIF output (via optical/TOSLINK or Phono connector) was 'nearly' reaching sync at 44.1khz, almost never at 48khz and nothing beyond that. Digging into the H2+ & H3 datasheets I encountered an important clue on table s_clk needs to be 4x24.576 MHz or 4x22.5782 Mhz. Probably due to how SPDIF is a huge oversample of the audio frequency. I knocked up a quick patch to sun4i-spdif.c and voila; I get solid sync-locks on all supported frequencies