SDRAM initialization for Mfgtools

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

SDRAM initialization for Mfgtools

Jump to solution
936 Views
hengyewlim
Contributor III

How does the Mfgtools initializes the SDRAM on the IMX6 Sabre board?

I have a IMX6SX SabreSD board and was able to bootup using Mfgtools as I can see debug messages from the USB-Serial port but do not see any debug message when using my own prototype board. The only difference between the 2 board is the SDRAM memory size. 1G in 32- bit vs 512MB in -16bit

Is there a way to pass in an SDRAM initialization script similar to the old Freescale ATK tool?

Labels (1)
0 Kudos
Reply
1 Solution
777 Views
Yuri
NXP Employee
NXP Employee

Hello,

> I read on some threads from the community that it will not work unless kobs-ng is being used.

yes, please refer to the following

IMX6SX NAND Boot

Regards,

Yuri.

View solution in original post

0 Kudos
Reply
3 Replies
777 Views
Yuri
NXP Employee
NXP Employee

Hello,

  DRAM initialization in provided in U-boot, say, via DCD table.

Please change U-boot in the same manner as for target Linux,

using recommendations of Chapter 1 (Porting U-Boot from an i.MX 6/7
Reference Board to an i.MX 6/7 Custom Board) in "i.MX_BSP_Porting_Guide.pdf",

and build the mfg configuration.

  To build a manufacturing image do the following -

$ bitbake fsl-image-mfgtool-initramfs

 

A manufacturing tool kernel is built using the imx_v7_mfg_defconfig while the default
kernel is built by using the imx_v7_defconfig.

Have a great day,
Yuri

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

777 Views
hengyewlim
Contributor III

Hi Yuri,

Thanks. I managed to change the DCD and it is working. :smileyhappy:

But having a problem trying to bootup through NAND on my board after flashing u-boot using u-boot nand command.

Is it possible to use the uboot nand command to flash u-boot and bootup?

I read on some threads from the community that it will not work unless kobs-ng is being used.

Regards,

HengYew

0 Kudos
Reply
778 Views
Yuri
NXP Employee
NXP Employee

Hello,

> I read on some threads from the community that it will not work unless kobs-ng is being used.

yes, please refer to the following

IMX6SX NAND Boot

Regards,

Yuri.

0 Kudos
Reply