RTL8822CE wifi don't work on jeston Nana

HI nvidia,
I used the rtl8822ce WiFi module on the Jeston nano,

the Image is jetson-nx-jp46-sd-card-image

kernel log as follows file:
[ 6.665285] rtl88x2ce 0000:01:00.0: enabling device (0000 → 0003)
[ 6.692471] mc-err: (0) csr_afir: EMEM address decode error
[ 6.698203] mc-err: status = 0x2000000e; addr = 0x63d18000
[ 6.703933] mc-err: secure: no, access-type: read, SMMU fault: none

8822ce_err.txt (67.6 KB)

It seems similar with Jetson Nano custom motherboard Wifi doesn't work - #3 by Manikanta

Hi I’ve seen this post
I have two question:

  1. As you say, I’ll revome the whole three line? or I’ll remove the prefixion(/delete-property/).
  2. How does DTB take effect on boards, I try to move the dtb to /boot/, But it didn’t effect on the jeston-nano Development board.
  1. Just take out those 3 lines.

  2. This question could be easy to reply or even more complicated depending on your situation.
    First, did you ever flash your jetson with sdkmanager before?

yes, I used these shell script to flash the version
sudo ./flash.sh jetson-nano-qspi-sd.conf mmcblk0p1

Ok, then put modified dtb to kernel/dtb (make sure you know which file is in use).

And run command to flash DTB only.

sudo ./flash.sh -r -k DTB jetson-nano-qspi-sd.conf mmcblk0p1

1.I took out the DTB file which running on the board and compiled it into DTS, but I didn’t find SMMU configured about pcie, The generated DTS file is as follows;

kernel_tegra210-p3448-0000-p3449-0000-a02.dts (306.6 KB)

2.I think /delete-property/ means annotation the dts property, is as same as delete the three lines;

If “/delete-property/” is removed, it means the original iommus, iommu-map and iommu-map-mask shall appear.

These 3 lines were originally from hardware/nvidia/soc/t210/kernel-dts/tegra210-soc/tegra210-soc-base.dtsi.

Make sure you really do the correct work to your dts to let these 3 lines back.

now I have modify the dts(tegra210-p3448-0000-p3449-0000-a02.dts),how can I compile the dts to dtb.
The file path is as follows:

make ARCH=arm64 O=$TEGRA_KERNEL_OUT -j4 dtbs

reference page:

I have modify the dtsi as you send but through the log, the error is the same as before.
this is the file of pcie dts

this is the flash log, uploading and flashing ok
nvida_flash_dtb_ok.txt (15.2 KB)

this is the rtl8822ce error dmesg log
rtc8822ce_dmesg.txt (63.2 KB)

What is your exact method to add these 3 lines back…???

These 3 lines all have their own field but not just some keyword style properties…

Open hardware/nvidia/soc/t210/kernel-dts/tegra210-soc/tegra210-soc-base.dtsi and search them under pcie and you will understand what I am talking about…

thank you! the Problem has been solved

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.