[U-Boot] RAM memory verification on boot

Hi all,
I am currently using u-boot version 1.1.6 on a powerpc embedded device which have increased from 64Mbyte RAM memory to 128Mbye size length. The problem is that my device does not recognize the 128Mbyte keeping the original 64Mbyte length. Does anyone know how to let u-boot and the linux bsp to recognize the new memory length?
Thanks in advance and best regards
Ethan

Dear ethan paddloch,
In message 949874.43970.qm@web120217.mail.ne1.yahoo.com you wrote:
I am currently using u-boot version 1.1.6 on a powerpc embedded device whic h have increased from 64Mbyte RAM memory to 128Mbye size length. The problem is that my device does not recognize the 128Mbyte keeping the o riginal 64Mbyte length. Does anyone know how to let u-boot and the linux bsp to recognize the new m emory length?
It seems your port does not initialize the RAM correctly. The recommended approach is to use get_ram_size() to automatically adjust to the actual RAM memory size on the system.
Note that U-Boot 1.1.6 is more than 4.5 years old. An update to the recent version is *strongly* recommended.
Best regards,
Wolfgang Denk

Hi Wolfgang,
Thanks for your reply.
Actually I am using a Freescale bsp that uses the u-boot-1.1.6 with some patches that modifies the bootloader for the freescale mpc8323erdb platform. This platform uses the mpc8323erdb.c source which has the int fixed_sdram(void) function on it to set the fixed ram to 64Mbytes. I was thinking to include the get_ram_size() function on that source to recognize automatticaly the ram size. Do you know if it is possible? I am affraid to change the bootloader version to the latest one and get the patches missed so I could not have my system working anymore.
Thanks and best regards
Ethan
________________________________ De: Wolfgang Denk wd@denx.de Para: ethan paddloch ethanpaddloch@yahoo.com.br Cc: u-boot@lists.denx.de Enviadas: Quarta-feira, 15 de Setembro de 2010 10:17:31 Assunto: Re: [U-Boot] RAM memory verification on boot
Dear ethan paddloch,
In message 949874.43970.qm@web120217.mail.ne1.yahoo.com you wrote:
I am currently using u-boot version 1.1.6 on a powerpc embedded device whic h have increased from 64Mbyte RAM memory to 128Mbye size length. The problem is that my device does not recognize the 128Mbyte keeping the o riginal 64Mbyte length. Does anyone know how to let u-boot and the linux bsp to recognize the new m emory length?
It seems your port does not initialize the RAM correctly. The recommended approach is to use get_ram_size() to automatically adjust to the actual RAM memory size on the system.
Note that U-Boot 1.1.6 is more than 4.5 years old. An update to the recent version is *strongly* recommended.
Best regards,
Wolfgang Denk

Dear ethan paddloch,
Please STOP posting HTML!!
In message 852022.55120.qm@web120203.mail.ne1.yahoo.com you wrote:
Actually I am using a Freescale bsp that uses the u-boot-1.1.6 with some patches that modifies the bootloader for the freescale mpc8323erdb platform. This platform uses the mpc8323erdb.c source which has the int fixed_sdram(void) function on it to set the fixed ram to 64Mbytes.
That's a pretty much obsolete out-of-tree port then. We don't really support these here.
Are you sure it's based on version 1.1.6?
I was thinking to include the get_ram_size() function on that source to recognize automatticaly the ram size. Do you know if it is possible?
Everything is possible in software if you put enough effort and resources on it. The question is if this makes any sense.
Spending efforts on U-Boot 1.1.6 based code does not make any sense any more.
I am affraid to change the bootloader version to the latest one and get the patches missed so I could not have my system working anymore.
Changing the memory controller init code will need thorough debugging and testing in any case. This is not a task for the unexperienced.
Best regards,
Wolfgang Denk
participants (2)
-
ethan paddloch
-
Wolfgang Denk