Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I increase my RAM memory for milk-v duo 64MB? #469

Open
Markus250 opened this issue Apr 16, 2024 · 1 comment
Open

How can I increase my RAM memory for milk-v duo 64MB? #469

Markus250 opened this issue Apr 16, 2024 · 1 comment

Comments

@Markus250
Copy link

I have Milk-V Duo 64MB, in Linux I see only ~22MB (free and even less).
I find posts like this and this, , but that's all for buildroot (i am using yocto).
How can I use your layer to increase the memory for the Linux kernel to the maximum (well, or somehow divide it differently, in one project I use the RTOS kernel, in another only the camera, and in others I do not use either the RTOS or the camera, but only the network interface, I need all the memory).
I hope I expressed my thoughts correctly, thanks in advance!

@kraj
Copy link
Collaborator

kraj commented Jun 14, 2024

@Markus250 I think there is an external logic in the BR sdk to generate some header file (cvi_board_memmap.h) and conf file (cvi_board_memmap.conf) and linker script (cvi_board_memmap.ld) via a python script memmap.py, I think this step s completely missing here in yocto setup. So it needs to be done for yocto. Perhaps they can be directly patched into u-boot/kernel/freestos builds, look into the logic in memmap.py perhaps as a starting point

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants