Odroid C2 - 300MB gone (RAM)

Suggestions for features and software you would like to see in DietPi, goes here.
Post Reply
filemoon
Posts: 10
Joined: Thu Feb 25, 2016 5:18 pm

Odroid C2 - 300MB gone (RAM)

Post by filemoon »

Hi.

Around 300MB is missing when I'm starting my C2.
I'm using Odroid C2 as headless device - we I'm starting it around 300MB is taken away from RAM (1719MB is available) Can we arrange other memory split/kernel config for headless option (is sad that 300MB is gone).


Regards Chris
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Re: Odroid C2 - 300MB gone (RAM)

Post by k-plan »

Hi filemoon,
Can we arrange other memory split/kernel config for headless option (is sad that 300MB is gone).
DietPi for Odroid C2 is currently based on Meveric's excellent Debian Jessie (arm64) image and he said no (at the moment).

http://forum.odroid.com/viewtopic.php?f ... 79#p136484


But you can give it a try to edit your C2 boot.ini like the one in C1 :

https://github.com/Fourdee/DietPi/blob/ ... oot_c1.ini

Code: Select all

# Disable VPU (Video decoding engine, Saves RAM!!!)
# 0 = disabled
# 1 = enabled
setenv vpu "0"

# Disable HDMI Output (Again, saves ram!)
# 0 = disabled
# 1 = enabled
setenv hdmioutput "0"
....
#########################################

....

fdt addr 21800000

if test "${vpu}" = "0"; then fdt rm /mesonstream; fdt rm /vdec; fdt rm /ppmgr; fi

if test "${hdmioutput}" = "0"; then fdt rm /mesonfb; fi

If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Odroid C2 - 300MB gone (RAM)

Post by Fourdee »

filemoon wrote:Hi.

Around 300MB is missing when I'm starting my C2.
I'm using Odroid C2 as headless device - we I'm starting it around 300MB is taken away from RAM (1719MB is available) Can we arrange other memory split/kernel config for headless option (is sad that 300MB is gone).


Regards Chris
Looks like the GPU/VPU is using 256MB memory split. Actual RAM used after boot is 100MB.

As there are no options available in boot.ini to change this (like the C1), you'd probably need to compile a kernel with GPU/VPU features disabled to try and recover the memory.
As C2 kernel devolpment is nearly daily, it wouldnt be feasible for us to maintain a custom kernel at this time.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply