September 20, 2019, 04:38:37 pm

News:

Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/


Get the full 2 GB ram ?

Started by cubieboard_user12123, March 24, 2015, 08:32:02 am

Previous topic - Next topic

cubieboard_user12123

with the command "top" i get only ~1,7 GB of total available memory. is there a way to get the full 2 GB of memory on bootup ?

actkk2000

I don't own an A80 board but I believe there should be some memory reserved for video...

cubieboard_user12123

no.... it says "total available mem 1666020"

I read about other cubie A10 and A20 and truck that there are the same problems. And there is a way to modify the env.text to get the full mem space. but A80 has no env.text.

Does anyone know how to get the full mem available on startup ??

__AlexL__

you can recompile kernel with less ion memory. But in this case: no 3d, slow 2d, no cedarx.

cubieboard_user12123

i don´t need a fast gui. I use it only to see different terminals at one time. so gui speed isnt important for me.

you can recompile kernel with less ion memory. But in this case: no 3d, slow 2d, no cedarx.
Only recompile ? I thought it could be managed on boottime. like uEnv.txt


__AlexL__

kernel parameters can be hardcoded only for uboot from allwinner. I was not able to find another way.

allen

change to  "CONFIG_ION_SUNXI_CARVEOUT_SIZE=128"  in the kernel_deconfig ,recompile kernel  ,the ram will be release.

cubieboard_user12123

March 26, 2015, 02:36:08 am #7 Last Edit: March 26, 2015, 02:37:47 am by cubieboard_user12123
So , I have a fully working Image. I would need a lot of Time to Start again. I dont want to start again from scratch. There is no other way? Only Start from beginning to get the full ram ?. Is there any other way to get that working?

__AlexL__

I usually spent 5 minutes to recompile the kernel. The problem is far-fetched.

allen

Quote from: cubieboard_user12123 on March 26, 2015, 02:36:08 am
So , I have a fully working Image. I would need a lot of Time to Start again. I dont want to start again from scratch. There is no other way? Only Start from beginning to get the full ram ?. Is there any other way to get that working?

i can sent  a uboot that release the RAM ,because cubieboard4 has no uEnv.txt ,all bootcmd  should be write in the source code of uboot , What is your email address ?

i am interesting  in your idea  booting from different systems. i think i can help you .

cubieboard_user12123

I have sent you an Email.

Im a newbie to cubieboard. But i want to implement this idea.

Thx for your Support.

What do i have to do to get this working with your uboot?

mr.dom

Quote from: __AlexL__ on March 26, 2015, 03:21:28 am
I usually spent 5 minutes to recompile the kernel. The problem is far-fetched.


Can you describe how you do that?

mr.dom

How the heck extend the RAM? I already got tired searching on that answer. No one really knows. Saying to recompile the kernel - but how?

sam

Quote from: mr.dom on March 13, 2016, 12:05:50 am
How the heck extend the RAM? I already got tired searching on that answer. No one really knows. Saying to recompile the kernel - but how?


refer the docs build it:
http://dl.cubieboard.org/model/cc-a80/Doc/ubuntu-linaro/Cubieboard4-Linux-Sdk-Guide.pdf

allen

Quote from: mr.dom on March 13, 2016, 12:05:50 am
How the heck extend the RAM? I already got tired searching on that answer. No one really knows. Saying to recompile the kernel - but how?


i can sent the u-boot to you and tell you how to use . i can't upload big attachments.