diff mbox

[2/2] rpi-firmware: modify settings for Pi 2

Message ID 1430579415-22802-2-git-send-email-bos@je-eigen-domein.nl
State Accepted
Headers show

Commit Message

Floris Bos May 2, 2015, 3:10 p.m. UTC
Remove low-level settings from config.txt like arm_freq and sdram_freq.
The defaults should be good for most and differ by Pi model.
E.g. the Pi 2 runs at 900 Mhz by default, setting arm_freq=700
like we had previously would underclock it.

Add short description in comments to options.
Mention initramfs option.

Remove obsolete options from cmdline.txt

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
---
 package/rpi-firmware/cmdline.txt |  2 +-
 package/rpi-firmware/config.txt  | 14 ++++++++++----
 2 files changed, 11 insertions(+), 5 deletions(-)

Comments

Yann E. MORIN May 2, 2015, 3:56 p.m. UTC | #1
Floris, All,

On 2015-05-02 17:10 +0200, Floris Bos spake thusly:
> Remove low-level settings from config.txt like arm_freq and sdram_freq.
> The defaults should be good for most and differ by Pi model.
> E.g. the Pi 2 runs at 900 Mhz by default, setting arm_freq=700
> like we had previously would underclock it.
> 
> Add short description in comments to options.
> Mention initramfs option.
> 
> Remove obsolete options from cmdline.txt
> 
> Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/rpi-firmware/cmdline.txt |  2 +-
>  package/rpi-firmware/config.txt  | 14 ++++++++++----
>  2 files changed, 11 insertions(+), 5 deletions(-)
> 
> diff --git a/package/rpi-firmware/cmdline.txt b/package/rpi-firmware/cmdline.txt
> index 061e54b..38aa378 100644
> --- a/package/rpi-firmware/cmdline.txt
> +++ b/package/rpi-firmware/cmdline.txt
> @@ -1 +1 @@
> -dwc_otg.fiq_fix_enable=1 sdhci-bcm2708.sync_after_dma=0 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootwait
> +root=/dev/mmcblk0p2 rootwait
> diff --git a/package/rpi-firmware/config.txt b/package/rpi-firmware/config.txt
> index 994972b..aa8d2ab 100644
> --- a/package/rpi-firmware/config.txt
> +++ b/package/rpi-firmware/config.txt
> @@ -4,11 +4,17 @@
>  # See http://buildroot.org/downloads/manual/manual.html#rootfs-custom
>  # and http://elinux.org/RPiconfig for a description of config.txt syntax
>  
> -arm_freq=700
> -core_freq=250
>  kernel=zImage
> +
> +# To use an external initramfs file
> +#initramfs rootfs.cpio.gz
> +
> +# Disable overscan assuming the display supports displaying the full resolution
> +# If the text shown on the screen disappears off the edge, comment this out
>  disable_overscan=1
> +
> +# How much memory in MB to assign to the GPU on Pi models having
> +# 256, 512 or 1024 MB total memory
>  gpu_mem_256=100
>  gpu_mem_512=100
> -sdram_freq=400
> -over_voltage=0
> +gpu_mem_1024=100
> -- 
> 2.1.4
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
Thomas Petazzoni May 2, 2015, 5:17 p.m. UTC | #2
Dear Floris Bos,

On Sat,  2 May 2015 17:10:14 +0200, Floris Bos wrote:
> Remove low-level settings from config.txt like arm_freq and sdram_freq.
> The defaults should be good for most and differ by Pi model.
> E.g. the Pi 2 runs at 900 Mhz by default, setting arm_freq=700
> like we had previously would underclock it.
> 
> Add short description in comments to options.
> Mention initramfs option.
> 
> Remove obsolete options from cmdline.txt
> 
> Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
> ---
>  package/rpi-firmware/cmdline.txt |  2 +-
>  package/rpi-firmware/config.txt  | 14 ++++++++++----
>  2 files changed, 11 insertions(+), 5 deletions(-)

Applied, thanks.

Thomas
diff mbox

Patch

diff --git a/package/rpi-firmware/cmdline.txt b/package/rpi-firmware/cmdline.txt
index 061e54b..38aa378 100644
--- a/package/rpi-firmware/cmdline.txt
+++ b/package/rpi-firmware/cmdline.txt
@@ -1 +1 @@ 
-dwc_otg.fiq_fix_enable=1 sdhci-bcm2708.sync_after_dma=0 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootwait
+root=/dev/mmcblk0p2 rootwait
diff --git a/package/rpi-firmware/config.txt b/package/rpi-firmware/config.txt
index 994972b..aa8d2ab 100644
--- a/package/rpi-firmware/config.txt
+++ b/package/rpi-firmware/config.txt
@@ -4,11 +4,17 @@ 
 # See http://buildroot.org/downloads/manual/manual.html#rootfs-custom
 # and http://elinux.org/RPiconfig for a description of config.txt syntax
 
-arm_freq=700
-core_freq=250
 kernel=zImage
+
+# To use an external initramfs file
+#initramfs rootfs.cpio.gz
+
+# Disable overscan assuming the display supports displaying the full resolution
+# If the text shown on the screen disappears off the edge, comment this out
 disable_overscan=1
+
+# How much memory in MB to assign to the GPU on Pi models having
+# 256, 512 or 1024 MB total memory
 gpu_mem_256=100
 gpu_mem_512=100
-sdram_freq=400
-over_voltage=0
+gpu_mem_1024=100