Forum Discussion
Altera_Forum
Honored Contributor
21 years agoIf you want to leave a hole between the two zones, there is more work to do. You can no longer use the function free_area_init, you have to call free_area_init_node, in paging_init.
If you want to stick to the simpler free_area_init, you have to tell it the actual size of your SDRAM. The flip side is you will waste a lof of memory on the paging structures (there are two many pages). My advice is, right now stick to free_area_init and give all 1G sdram to Linux, make sure it works. In the future you can use free_area_init_node.