This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

patch to x-load board.c function config_3430sdram_ddr()

I am new user of the omap 3530 and of the openembedded (bitbake tool)

I am trying to change the SDRAM configuration from 2 banks 128 MB to 1 bank 256 MB

The following are the modification that I made:

copied the board.c to board1.c

modified the file board.c as desribed below

   from 
       __raw_writel(0x1, SDRC_CS_CFG); /* 128MB/bank */

        __raw_write(SDP_SDRC_MDCFG_0_DDR, SDRC_MCFG_0);

      __raw_write(SDP_SDRC_MDCFG_0_DDR, SDRC_MCFG_1);

to __raw_writel(0x2, SDRC_CS_CFG); /* 256MB/bank */

__raw_write(SDP_SDRC_MDCFG_0_DDR_NICRON_XM, SDRC_MCFG_0);
__raw_write(SDP_SDRC_MDCFG_0_DDR_NICRON_XM, SDRC_MCFG_1);

 

then I created a patch file difference.patch and modified the recipe file .bb to include the patch file

then I ran bitbake -c clean x-load

than I ran bitbake -c clean x-load    to create the new (x-load bin)  MLO,  I saw on the screen that the patch was apllied.

I verified that the MLO file had a different checksum than my original file

next I copied the MLO file to my SDcard

then I ran my original script  to make  a SDcard

It prompted that the creation of the card was good.

Next I inserted the SDcrad to the SDcard slot on my board, powered up t board and the display on the screen did not change from when I used my original MLO file

Can somebody help me and tell me what I did wrong ???

 

thank you

arie