PCIe and GPU issues on iMX8MM when using 4GB RAM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PCIe and GPU issues on iMX8MM when using 4GB RAM

1,965 Views
rodrigo_travess
Contributor I

Hello,

We're testing the NXP ANDROID Q10.0.0_2.3.0 release on our own board, which has an iMX8MM and 4GB of LPDDR4 memory, and we're observing both display and PCIe issues whenever we configure U-Boot to use all 4GB (using the imx8mm_evk_4g_android_defconfig).

The display issue happens after Android is initialized and consists of some parts of the display showing the expected content and other parts flickering with contents of old frames.

As for the PCIe, we have a WiFi module connected to it, and although the PCIe driver itself doesn't show any errors, the Wifi module driver fails during initialization.

Both problems only happen when 4G is enabled on U-boot, by setting the following lines in the file include/configs/imx8mm_evk_android.h.

#define PHYS_SDRAM_2 0x100000000
#define PHYS_SDRAM_2_SIZE 0x40000000 /* 1GB */
 

If we restrict to only 3GB of memory, none of the issues happen.

I read on the i.MX 8M Mini Reference Manual that only 3GB of RAM memory is available to all modules, and the rest can only be used by the ARM Cores, so I wonder if there might be some memory allocation issue on the GPU and PCIe drivers.

 

 

0 Kudos
5 Replies

1,729 Views
matt_frandsen
Contributor II

@rodrigo_travess  Any solution to this? I am seeing similar issues with the flickering. @igorpadykov 

0 Kudos

1,949 Views
igorpadykov
NXP Employee
NXP Employee

Hi rodrigo_travess

 

one can try attached patch.

 

Best regards
igor

0 Kudos

1,940 Views
rodrigo_travess
Contributor I

Hi Igor,

 

Unfortunately, the suggested patch didn't solve either of the issues. Also, I should note that the patch was probably targeted on a much older kernel version, as our device tree didn't have a linux'cma entry, and I added one myself to be consistent with the patch.

 

Any other suggestion we could try?

 

Best regards

Rodrigo

0 Kudos

1,936 Views
igorpadykov
NXP Employee
NXP Employee

I also sent you patches via mail, had you tried them.

 

Best regards
igor

0 Kudos

1,925 Views
rodrigo_travess
Contributor I

Hi Igor Padykov,

Thank you for your support so far.

I tried the patches you sent by email with no luck. The two issues are still there. The release we are using (android-10.0.0_2.3.0) already included most of the changes from the patches.

Best regards,
Rodrigo

0 Kudos