
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