About i.MX6SL DDR3 support for Android 5.1.1.

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

About i.MX6SL DDR3 support for Android 5.1.1.

1,740 Views
keitanagashima
Senior Contributor I

Dear All,

Refer to below link. The patch was provided for i.MX6SL

i.MX6SL DDR3 support for L3.0.35_2.1.0

Does NXP support the DDR3 for i.MX6SL in Android 5.1.1 (L3.14.52 GA)?

(If it isn't support, could you give me a patch for Android5.1.1 (Kernel & u-boot)?)

Best Regards,

Keita

Labels (2)
0 Kudos
9 Replies

777 Views
davidrobinson
Contributor I

Hi Keita,

Did you manage to integrate the DDR3 support patch into the L3.14.52 GA release?

Best regards

Dave

0 Kudos

777 Views
keitanagashima
Senior Contributor I

Hi David,

After all, my customer gave up to use the DDR3 with i.MX6SL.

Best Regards,

Keita

0 Kudos

777 Views
keitanagashima
Senior Contributor I

Dear Guanqiong Xie,

NXP had already released the i.MX6SL DDR3 support patch for L3.0.35_2.1.0.

But, the patch cannot apply to Android 5.1.1 (L3.14.52 GA), because a lot of difference between L3.0.35_2.1.0 and L3.14.52...

And, the Linux BSP(L3.14.52GA) is same code with Android 5.1.1.

So, I requested you the DDR3 patch for Android 5.1.1 (L3.14.52 GA)...

Best Regards,

Keita

0 Kudos

777 Views
joanxie
NXP TechSupport
NXP TechSupport

As I known, I don't think android team has such plan, but since you have the patch for linux, customer can change the android kernel refer to the linux patch.

0 Kudos

777 Views
keitanagashima
Senior Contributor I

Dear Guanqiong Xie,

Thank you for your reply.

OK. I got it.

But, could you confirm the release plan for DDR3 patch continuously?

Best Regards,

Keita

0 Kudos

777 Views
joanxie
NXP TechSupport
NXP TechSupport

for mx6sl , normally we use lpddr2, for ddr3, I don't get any feedback from android team or AE team that we have such patch, and android bsp team told me that they don’t have ddr3 board for mx6sl now.

for this, I think you should change the driver as linux does, this is not android issue, is linux.

0 Kudos

777 Views
joanxie
NXP TechSupport
NXP TechSupport

I double checked this from android  team, android 5.1.1 should support it, but they havn't tested it yet.

0 Kudos

777 Views
keitanagashima
Senior Contributor I

Dear Guanqiong Xie,

Do you have any update?

Keita

0 Kudos

777 Views
keitanagashima
Senior Contributor I

Dear Guanqiong Xie,

Thank you for your reply.

Please check again about supporting DDR3.

We think that i.MX6SL doesn't support DDR3 by below codes.

1. Refer to [kernel_imx/arch/arm/mach-imx/Makefile].

i.MX 6SX and i.MX 6UL looks linking to the "ddr3_freq_imx6*.S" and "lpddr2_freq_imx6*.S".

But, the i.MX6SL looks linking only to the "lpddr2_freq_imx6.S".

---------------

AFLAGS_imx6sl_lpm_wfi.o :=-Wa,-march=armv7-a

AFLAGS_lpddr2_freq_imx6.o :=-Wa,-march=armv7-a

obj-$(CONFIG_SOC_IMX6SL) += imx6sl_lpm_wfi.o lpddr2_freq_imx6.o

AFLAGS_imx6sx_low_power_idle.o :=-Wa,-march=armv7-a

AFLAGS_ddr3_freq_imx6sx.o :=-Wa,-march=armv7-a

AFLAGS_lpddr2_freq_imx6sx.o :=-Wa,-march=armv7-a

obj-$(CONFIG_SOC_IMX6SX) += imx6sx_low_power_idle.o ddr3_freq_imx6sx.o lpddr2_freq_imx6sx.o

AFLAGS_imx6ul_low_power_idle.o :=-Wa,-march=armv7-a

obj-$(CONFIG_SOC_IMX6UL) += imx6ul_low_power_idle.o ddr3_freq_imx6sx.o lpddr2_freq_imx6sx.o

---------------

2. Refer to busfreq_probe() function in [kernel_imx/arch/arm/mach-imx/busfewq-imx.c].

i.MX6SL looks setting only to the "lpddr2_freq_imx6.S".

---------------

if (cpu_is_imx7d()) {

     err = init_ddrc_ddr_settings(pdev);

} else if (cpu_is_imx6sl()) {

     err = init_mmdc_lpddr2_settings(pdev);

} else if (cpu_is_imx6sx() || cpu_is_imx6ul()) {

     ddr_type = imx_mmdc_get_ddr_type();

     /* check whether it is a DDR3 or LPDDR2 board */

     if (ddr_type == MMDC_MDMISC_DDR_TYPE_DDR3)

          err = init_mmdc_ddr3_settings_imx6_up(pdev);

     else if (ddr_type == MMDC_MDMISC_DDR_TYPE_LPDDR2)

          err = init_mmdc_lpddr2_settings(pdev);

} else {

     err = init_mmdc_ddr3_settings_imx6q(pdev);

}

---------------

The below patch for L3.0.35_2.1.0 included many modifications.

But, the patch cannot apply to Android 5.1.1.

i.MX6SL DDR3 support for L3.0.35_2.1.0

And, firmware for i.MX6SL DDR3 didn't include in MFG tool.

It is very important thing for i.MX6SL system developers.

So, please check again.

Best Regards,

Keita

0 Kudos