diff options
-rw-r--r-- | recipes-bcm/bootfiles/rpi-config_0.1.bb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-bcm/bootfiles/rpi-config_0.1.bb b/recipes-bcm/bootfiles/rpi-config_0.1.bb index 28b6f19..f0ae412 100644 --- a/recipes-bcm/bootfiles/rpi-config_0.1.bb +++ b/recipes-bcm/bootfiles/rpi-config_0.1.bb | |||
@@ -29,6 +29,18 @@ do_deploy() { | |||
29 | if [ -n "${DISABLE_OVERSCAN}" ]; then | 29 | if [ -n "${DISABLE_OVERSCAN}" ]; then |
30 | sed -i '/#disable_overscan/ c\disable_overscan=${DISABLE_OVERSCAN}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt | 30 | sed -i '/#disable_overscan/ c\disable_overscan=${DISABLE_OVERSCAN}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt |
31 | fi | 31 | fi |
32 | if [ -n "${ARM_FREQ}" ]; then | ||
33 | sed -i '/#arm_freq/ c\arm_freq=${ARM_FREQ}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt | ||
34 | fi | ||
35 | if [ -n "${CORE_FREQ}" ]; then | ||
36 | sed -i '/#core_freq/ c\core_freq=${CORE_FREQ}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt | ||
37 | fi | ||
38 | if [ -n "${SDRAM_FREQ}" ]; then | ||
39 | sed -i '/#sdram_freq/ c\sdram_freq=${SDRAM_FREQ}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt | ||
40 | fi | ||
41 | if [ -n "${OVER_VOLTAGE}" ]; then | ||
42 | sed -i '/#over_voltage/ c\over_voltage=${OVER_VOLTAGE}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt | ||
43 | fi | ||
32 | } | 44 | } |
33 | 45 | ||
34 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 46 | PACKAGE_ARCH = "${MACHINE_ARCH}" |