Il giorno mar 19 nov 2024 alle ore 10:03 Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> ha scritto: > > I am surprised it works for you in Linux. To get it working with barebox: > > 1) run iomem and note where your malloc area begins. Set CONFIG_MALLOC_SIZE, > so it starts after 0x90000000 > > 2) Add the following to your DT: > > &{/reserved-memory} { > rproc_reserved: rproc@80000000 { > reg = <0 0x80000000 0 0x10000000>; > }; > }; > > &remoteproc_cm7 { > memory-region = <&rproc_reserved>; > }; > > Do you not have an equivalent memory-region definition in your kernel DT? Yes, I have. Adding rproc_reserved to barebox as in kernel DT it fixes the issue. > > 3) I found some issues that I just Cc'd you on the fixes for. They may not be > necessary for the simple hello-ddr.elf example though. Do you need that I test them? Thank you. Best, Stefano