How do I request more than 400M memory at the user layer?
I tried malloc and mmap, malloc failed to return, mmap application was successful, but the kernel crashed during initialization。
my board is MCIMX7SABRE
thanks!!
解決済! 解決策の投稿を見る。
Hi 益 李
one can try "reserved-memory" parameter
imx7d.dtsi\dts\boot\arm\arch - linux-imx - i.MX Linux kernel
https://www.kernel.org/doc/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi 益 李
one can try "reserved-memory" parameter
imx7d.dtsi\dts\boot\arm\arch - linux-imx - i.MX Linux kernel
https://www.kernel.org/doc/Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
it's usefull ,i malloc 512M memory successfully,thanks。