Forum Discussion
Altera_Forum
Honored Contributor
21 years agoHi Goon,
I noticed that your screen output showing the total memory: <div class='quotetop'>QUOTE </div> --- Quote Start ---Memory available: 1048k/512k RAM, 0k/0k ROM (813k kernel code, 122k data)[/b] --- Quote End --- was not correct. It should be, Memory available: 1048k/2048k RAM, 0k/0k ROM (813k kernel code, 122k data) There is no harm from this bug, since it is only for printing out on the console. But if you want to fix it, you can go to modify the file linux/arch-nios2nommu/mm/init.c. Change the code: void mem_init(void)
{
...
extern unsigned int _ramend, _rambase;
... to: void mem_init(void)
{
...
extern unsigned char _ramend, _rambase;
... Regards,