Hello,
I’m using Jetpack 4.4 with r32.4.3 and Linux is 18.04
I have an interface TLV320ALC3204 with TX2i.
Enabled driver using make menuconfig
Device Drivers > Sound card support > Advanced Linux Sound Architecture > ALSA for SoC audio support > CODEC drivers
<*> Build all ASoC CODEC drivers
The reason is for selecting all asoc driver i need to enable **SND_SOC_TLV320AIC32X4_I2C [=n] Type : tristate **
Defined at sound/soc/codecs/Kconfig:855 **
** Depends on: SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && I2C [=y] **
** Selects: SND_SOC_TLV320AIC32X4 [=n] **
** Selected by: SND_SOC_ALL_CODECS [=n] && SOUND [=y] && !M68K && !UML && SND [=y] && SND_SOC [=y] && COMPILE_TEST [=y] && I2C [=y]
So for this need to enable all the sound soc driver.
export ARCH=arm64
export CROSS_COMPILE=/home/parashuram/l4t-gcc/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-
make ARCH=arm64 O=out -j32
Then getting the errors like this
…/drivers/dma/hsu/hsu.c:163:20: error: passing argument 1 of ‘spinlock_check’ from incompatible pointer type [-Werror=incompatible-pointer-types]
** spin_lock_irqsave(&hsuc->vchan.lock, flags);**
End of the build this error
LD drivers/gpu/built-in.o
/home/parashuram/Linux_for_Tegra/sources/kernel/kernel-4.9/Makefile:1104: recipe for target ‘drivers’ failed
make[1]: *** [drivers] Error 2
make[1]: Leaving directory ‘/home/parashuram/Linux_for_Tegra/sources/kernel/kernel-4.9/out’
Makefile:171: recipe for target ‘sub-make’ failed
make: *** [sub-make] Error 2
Please help me out this
Regards,
Parashuram