Is it necessary for the reserved memory of remoteproc to be at start?

30 views
Skip to first unread message

waqar rashid

unread,
Sep 9, 2019, 11:17:36 AM9/9/19
to open-amp
Hello everyone,

I don't remember where I read this but it said that Xilinx baremetal applications or freertos applications uses the low memory regions (ddr start address 0x0010000) and that is why the reserved memory region for remoteproc that we define has to be in the start and due to that reason we also make sure that linux kernel doesn't take that place and we have to move it up in the memory region as shown below:

	make -C $< ARCH=arm CFLAGS=$(LINUX_CFLAGS) -j $(shell grep -c ^processor /proc/cpuinfo) UIMAGE_LOADADDR=0x10000000 uImage

Now the work I am doing, this is the only reason I can't use a pre compiled kernel because I have to change the kernels load address. Is there a way to reserve higher
memories for remoteproc and leave the kernel where it is by default.

Thanks.
Waqar Rashid

Ed Mooring

unread,
Sep 18, 2019, 9:17:39 PM9/18/19
to open...@googlegroups.com

Hi,

If you look at the linker scripts in apps/system/generic/machine/zynq7/, you can see that the applications can start at much higher addresses. The default in the Cmake files sets it to 0x3e000000.

Regards,

Ed M

--
You received this message because you are subscribed to the Google Groups "open-amp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-amp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/open-amp/9b728e4f-f1a2-43b3-8e50-2fe20ad1b57a%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages