Edited by Bananian at 2014-10-18 01:23 |
the following sunxi kernel parameters are set in Bananian:
sunxi_ve_mem_reserve=0 -- This eliminates the reserved memory for the video acceleration engine, saving 80MB. You can use this if you don't run accelerated video with programs such as VLC or XBMC or libvdpau-sunxi.
sunxi_g2d_mem_reserve=0 -- This eliminates the reserved memory for the 2D acceleration engine. You can use this if you don't have the G2D accelerated driver enabled in your xorg.conf.
To get even more memory you might want to set the following options in uEnv.txt:
sunxi_no_mali_mem_reserve -- This eliminates the reserved memory for the Mali400 3D GPU.
sunxi_fb_mem_reserve=16 -- This sets the amount of total reserved memory for the framebuffer to 16MB. The default is 32MB. Because of double buffering Mali may require more than 16MB of framebuffer, so generally only enable this if you don't have Mali installed.
Those two settings are not set in Bananian to achieve the best compatibility (mali driver).
Edit: For details see http://linux-sunxi.org/Kernel_arguments