> However, this doesn't work for U-Boot because it places its stack
> and heap near the top of RAM, therefore region in the top of RAM
> is not reserved.

Hi Andrei,

Thanks for reporting this, and sorry I missed your reply before
sending v4.

You are right. U-Boot selects its relocation area before LMB
processes the reserved-memory regions. As a result, the top of RAM
may already be occupied by U-Boot when the coprocessor region is
reserved.

In the next revision, I will exclude the reserved region from the 
memory available to U-Boot. The Milk-V Duo 256M has a similar reserved 
region at the top of RAM, so I will address and test both boards.

-- 
Best regards,
Zhuxu Ran

Reply via email to