From 1fb1ee7c2df09675b2a9d259725f41d5ca88986b Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Jan 10 2019 07:38:06 +0000 Subject: add a note for gpu_mem about the amount needed for the camera --- diff --git a/config-64.txt b/config-64.txt index c8515f2..1be98c3 100644 --- a/config-64.txt +++ b/config-64.txt @@ -10,6 +10,11 @@ arm_control=0x200 # Early boot delay in the hope monitors are initialised enough to provide EDID bootcode_delay=1 +# We need this to be 32Mb to support VCHI services and drivers which use them +# but this isn't used by mainline VC4 driver so reduce to lowest supported value +# You need to set this to at least 128 for using the camera +gpu_mem=32 + # Use eXtended firmware by default start_x=1 @@ -28,10 +33,6 @@ audio_pwm_mode=0 # Speed details: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=141195 # enable_uart=1 -# We need this to be 32Mb to support VCHI services and drivers which use them -# but this isn't used by mainline VC4 driver so reduce to lowest supported value -gpu_mem=32 - # Allow OS rather than firmware control CEC mask_gpu_interrupt1=0x100 diff --git a/config.txt b/config.txt index f8b78a5..467a9dd 100644 --- a/config.txt +++ b/config.txt @@ -11,6 +11,11 @@ kernel=rpi3-u-boot.bin # Early boot delay in the hope monitors are initialised enough to provide EDID bootcode_delay=1 +# We need this to be 32Mb to support VCHI services and drivers which use them +# but this isn't used by mainline VC4 driver so reduce to lowest supported value +# You need to set this to at least 128 for using the camera +gpu_mem=32 + # Use eXtended firmware by default start_x=1 @@ -29,10 +34,6 @@ audio_pwm_mode=0 # Speed details: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=141195 # enable_uart=1 -# We need this to be 32Mb to support VCHI services and drivers which use them -# but this isn't used by mainline VC4 driver so reduce to lowest supported value -gpu_mem=32 - # Allow OS rather than firmware control CEC mask_gpu_interrupt1=0x100