Hello everyone,
I'm sorry if this is not the 100% right place for my problem, but all other ways haven't lead to a solution.
 
I'm working with an "Altera Cyclone V FPGA" which has a hardprocessor system with (poky-) linux running on it.
There is also a 1GB DDR3 RAM connected to the system.
 
My target is to devide the available 1GB into 3 partitions:
Partition 1: used only by Linux
Partition 2: used only by the FPGA
Partition 3: "swap" partition for exchanging data between the FPGA and Linux
 
For this purpose there is a controller on the FPGA called "SDRAM controller subsystem" in which registers
you can define up to 20 rules for memory access protection - I think this is exactly what I need... but I can't get it running.
 
My first problem is that I don't know __when__ to set this registers. Someone recommended setting this registers in linux,
but this doesn't work and has no effect (after setting the registers, linux everytime has full access to the whole RAM and after rebooting all registers are set back.)
I think that setting the registers must be done __before__ the linux boots, e.g. in the preloader or the bootloader (U-Boot)?!
 
I'm searching for 2 weeks for a solution - no example projects are provided by Altera, and the documentation is very rare.
Please, does anyone has a hint for me?!
Slowly I'm going nuts on this topic.
Many thanks in advance!!!
 
Cheers
Stefan Kostial
 
P.S.:  If wished, I can provide more detailed info - at this moment I'm just searching for someone who has some experience...
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to