On LinkIt Smart 7688 running OpenWRT.
2 minutes, not playing sound, watching using ssh
# ./cyclictest -t5 -p 80 -n -i 1000
# /dev/cpu_dma_latency set to 0us
policy: fifo: loadavg: 0.23 0.30 0.18 1/46 2363
| /** | |
| * Copyright (c) 2017 Enzien Audio, Ltd. | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), | |
| * to deal in the Software without restriction, including without limitation | |
| * the rights to use, copy, modify, merge, publish, distribute, and/or | |
| * sublicense copies of the Software, strictly on a non-commercial basis, | |
| * and to permit persons to whom the Software is furnished to do so, | |
| * subject to the following conditions: |
| [product] | |
| version = "100" | |
| machine = "FriendlyARM NanoPi NEO Air" | |
| [platform] | |
| debug_mode = 1 | |
| eraseflag = 1 | |
| next_work = 2 | |
| [target] |
| # | |
| # Automatically generated file; DO NOT EDIT. | |
| # Linux/arm 3.4.113 Kernel Configuration | |
| # | |
| CONFIG_ARM=y | |
| CONFIG_ARM_HAS_SG_CHAIN=y | |
| CONFIG_SYS_SUPPORTS_APM_EMULATION=y | |
| CONFIG_GENERIC_GPIO=y | |
| # CONFIG_ARCH_USES_GETTIMEOFFSET is not set | |
| CONFIG_GENERIC_CLOCKEVENTS=y |
| diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig | |
| index 7a974e5..3176ced 100755 | |
| --- a/sound/soc/codecs/Kconfig | |
| +++ b/sound/soc/codecs/Kconfig | |
| @@ -474,3 +474,10 @@ config SND_SOC_TAS5731_CODEC | |
| default n | |
| help | |
| Say Y or M if you want to add support for tas5731. | |
| + | |
| +config SND_SOC_PCM5102A |
| main.Release{ID:1059919, GID:"6a52e0ec-80c3-4d76-85c2-a759ccf6e9ce", Name:"3D", ArtistID:384446, ReleaseGroup:1083136} |
| void ICACHE_FLASH_ATTR | |
| spi_mast_2bytes_write(uint8 spi_no,uint16 data) | |
| { | |
| uint32 regvalue; | |
| if(spi_no>1) return; //handle invalid input number | |
| while(READ_PERI_REG(SPI_CMD(spi_no))&SPI_USR); | |
| CLEAR_PERI_REG_MASK(SPI_USER(spi_no), SPI_USR_MOSI|SPI_USR_MISO); |
| function displayView($view, $id = 0) | |
| ... | |
| case 'save': | |
| $tpl_vars = array(); | |
| if (isset($_GET['url'])){ | |
| $tpl_vars['url'] = $_GET['url']; | |
| } | |
| if (isset($_GET['encoded_url'])){ | |
| $tpl_vars['encoded_url'] = $_GET['encoded_url']; | |
| } |
| *void _physicalTransfer (&objectID cellphone, &obj destHand, gl_vec3 &vector){}; |
| #include "ch.h" | |
| #include "hal.h" | |
| #include "leds.h" | |
| #include "hsv2rgb.h" | |
| int main(void) { | |
| halInit(); | |
| chSysInit(); |