Forum Discussion
Altera_Forum
Honored Contributor
20 years agoI occured to me that your problem might be caused by the address you gaven to SDRAM. It is not a good idea to give address 0 to anyone. It will be intepreted as NULL. When you want to allocated a DAM buffer through kmalloc, the slab allocator will try to grab pages, and the first page (with address 0) will be returned, making the slab think there is no memory available...
<div class='quotetop'>QUOTE </div> --- Quote Start --- 0x0-0x07ffffff -- 128MB of SDRAM 0x08000000-0x09000000 -- 16 MB of SRAM[/b] --- Quote End ---