RTL8822CE pci detected , but wifi not worked on TX2NX

I have a RTL8822CE wifi/bt pci m.2 module .
PCI can be detected and wifi/bt use properly on Xavier NX (running 4.5.1).

But wifi is not probed in kernel on TX2NX (running 4.6).
PCI can be detected and bt is activated in kernel.

attached files are dmesg log and lspci from NX and TX2NX and data sheet of RTL module.
Is there any modify need to verified on TX2NX?
WNFT-237ACN(BT)_datasheet ver.1.4_20200415.pdf (532.9 KB)

log_tx2nx_dmesg.txt (66.4 KB)
log_tx2nx_lspci.txt (4.9 KB)
log_nx_dmesg.txt (72.3 KB)
log_nx_lspci.txt (3.8 KB)

it seems the roofs built from l4t doesn’t put rtl8822ce.ko in to "/lib/modules/kernel/driver ".
If i use sdkmanger to flash image ,rtl8822ce.ko is existed.
Maybe it is the problem in my build script.

JETPACK=$(pwd)
CROSS_COMPILE=/home/l4t-gcc/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-
KERNEL_DIR=kernel-4.9
export LOCALVERSION=-tegra
KERNEL_OUT=${JETPACK}/sources/kernel/${KERNEL_DIR}/build
KERNEL_MODULES_OUT=${JETPACK}/rootfs

echo $JETPACK
cd ${JETPACK}/sources/kernel/${KERNEL_DIR}
mkdir -p $KERNEL_OUT

# Create the .config filekernel-4.9
make ARCH=arm64 O=$KERNEL_OUT tegra_defconfig

# Build the kernel and DTBs
make ARCH=arm64 O=$KERNEL_OUT CROSS_COMPILE=${CROSS_COMPILE} -j8 
 

echo '===========Deploy binaries in their required locations============'
# Deploy binaries in their required locations
cd $KERNEL_OUT/
cp -v ./arch/arm64/boot/Image ${JETPACK}/kernel/
cp -v ./arch/arm64/boot/dts/* ${JETPACK}/kernel/dtb/

# Install modules in temporal location
echo '===========Install modules in rootfs============'
make ARCH=arm64 O=$KERNEL_OUT modules_install INSTALL_MOD_PATH=${JETPACK}/rootfs

echo '===========Regenerate kernel modules supplement file============'
# Regenerate kernel modules supplement file
cd $KERNEL_MODULES_OUT/
tar --owner root --group root -cvjf ${JETPACK}/kernel/kernel_supplements.tbz2 lib/modules


1 Like

Hope the issue is resolved for you now.