The patch to support DDR3L in LS1043A

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

The patch to support DDR3L in LS1043A

The patch to support DDR3L in LS1043A

The attached patch is to support DDR3L in LS1043A.

The SDK version is Linux-LS1043A-SDK-V0.5-SOURCE-20151223-yocto.iso. Not SDK2.0.

The DDR3L part number is two Winbond W632GU6KB(16M x 8 banks x 16 bits DDR3L SDRAM).

Labels (1)
Tags (2)
Attachments
Comments

It looks like that part of your patch code is not needed. NXP SDK 2.0 include/configs/ls1043ardb.h file contains the following:

#include "ls1043a_common.h"

This file contains the following:

#ifndef CONFIG_SYS_FSL_DDR4

#define CONFIG_SYS_FSL_DDR3                              /* Use DDR3 memory */

#endif

#define CONFIG_VERY_BIG_RAM

#define CONFIG_SYS_DDR_SDRAM_BASE          0x80000000

#define CONFIG_SYS_FSL_DDR_SDRAM_BASE_PHY      0

#define CONFIG_SYS_SDRAM_BASE                      CONFIG_SYS_DDR_SDRAM_BASE

#define CONFIG_SYS_DDR_BLOCK2_BASE 0x880000000ULL


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

You still need to add DDR3 raw timing parameters and DDR3 ODT definition in u-boot.

SDK2.0 doesn't has these code.

Thanks,

Wes

Hi All,

hi im new to this platform QorIQ LS1043a so please send me the SDK link and how to install it.

Thanks,

Raghavendra

%3CLINGO-SUB%20id%3D%22lingo-sub-1122028%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThe%20patch%20to%20support%20DDR3L%20in%20LS1043A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1122028%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThe%20attached%20patch%20is%20to%20support%20DDR3L%20in%20LS1043A.%3C%2FP%3E%3CP%3EThe%20SDK%20version%20is%20Linux-LS1043A-SDK-V0.5-SOURCE-20151223-yocto.iso.%20Not%20SDK2.0.%3C%2FP%3E%3CP%3EThe%20DDR3L%20part%20number%20is%20two%20Winbond%20W632GU6KB(16M%20x%208%20banks%20x%2016%20bits%20DDR3L%20SDRAM).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1122028%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThe%20attached%20patch%20is%20to%20support%20DDR3L%20in%20LS1043A.%3C%2FP%3E%3CP%3EThe%20SDK%20version%20is%20Linux-LS1043A-SDK-V0.5-SOURCE-20151223-yocto.iso.%20Not%20SDK2.0.%3C%2FP%3E%3CP%3EThe%20DDR3L%20part%20number%20is%20two%20Winbond%20W632GU6KB(16M%20x%208%20banks%20x%2016%20bits%20DDR3L%20SDRAM).%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1122028%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EQorIQ%20LS1%20Devices%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1122031%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20The%20patch%20to%20support%20DDR3L%20in%20LS1043A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1122031%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3Ehi%20im%20new%20to%20this%20platform%20QorIQ%20LS1043a%20so%20please%20send%20me%20the%20SDK%20link%20and%20how%20to%20install%20it.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3ERaghavendra%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1122030%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20The%20patch%20to%20support%20DDR3L%20in%20LS1043A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1122030%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EYou%20still%20need%20to%20add%20DDR3%20raw%20timing%20parameters%20and%20DDR3%20ODT%20definition%20in%20u-boot.%3C%2FP%3E%3CP%3ESDK2.0%20doesn't%20has%20these%20code.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EWes%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1122029%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20The%20patch%20to%20support%20DDR3L%20in%20LS1043A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1122029%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%20class%3D%22xmsonormal%22%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22font-size%3A%2010.0pt%3B%22%3EIt%20looks%20like%20that%20part%20of%20your%20patch%20code%20is%20not%20needed.%20NXP%20SDK%202.0%20include%2Fconfigs%2Fls1043ardb.h%20file%20contains%20the%20following%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22xmsonormal%22%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%23include%20%22ls1043a_common.h%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22xmsonormal%22%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3C%2FP%3E%3CP%20class%3D%22xmsonormal%22%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22font-size%3A%2010.0pt%3B%22%3EThis%20file%20contains%20the%20following%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22xmsonormal%22%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%23ifndef%20CONFIG_SYS_FSL_DDR4%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22xmsonormal%22%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%23define%20CONFIG_SYS_FSL_DDR3%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2F*%20Use%20DDR3%20memory%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22xmsonormal%22%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%23endif%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22xmsonormal%22%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3C%2FP%3E%3CP%20class%3D%22xmsonormal%22%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%23define%20CONFIG_VERY_BIG_RAM%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22xmsonormal%22%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%23define%20CONFIG_SYS_DDR_SDRAM_BASE%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%200x80000000%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22xmsonormal%22%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%23define%20CONFIG_SYS_FSL_DDR_SDRAM_BASE_PHY%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%200%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22xmsonormal%22%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%23define%20CONFIG_SYS_SDRAM_BASE%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20CONFIG_SYS_DDR_SDRAM_BASE%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22xmsonormal%22%20style%3D%22margin-bottom%3A%20.0001pt%3B%20background%3A%20white%3B%22%3E%3CSPAN%20lang%3D%22EN-US%22%20style%3D%22font-size%3A%2010.0pt%3B%22%3E%23define%20CONFIG_SYS_DDR_BLOCK2_BASE%200x880000000ULL%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EHave%20a%20great%20day%2C%3CBR%20%2F%3EPavel%20Chubakov%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E-----------------------------------------------------------------------------------------------------------------------%3CBR%20%2F%3ENote%3A%20If%20this%20post%20answers%20your%20question%2C%20please%20click%20the%20Correct%20Answer%20button.%20Thank%20you!%3CBR%20%2F%3E-----------------------------------------------------------------------------------------------------------------------%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎07-10-2016 09:45 PM
Updated by: