Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi Wentao,
I went back and started from scratch on this, and I got the kernel to use SDRAM as GFP_DMA. I can allocate a buffer using 'kmalloc' in SDRAM. However, I have since encountered a couple new problems: 1) I can't seem to kmalloc more than 4MB -- not sure if this is normal behavior or not. 2) I get Perror: Bad Address when I try to send an SDRAM buffer over a TCP socket, regardless of the size of the buffer. Googling for this perror I see that it's caused by an 'invalid address'. Thanks again, I think I'm getting close, Ryan