From b1331fce45b1368398761b9a7a8806928a14cba9 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Sun, 16 Sep 2012 13:33:45 +0300 Subject: README: Move RPI_GPU_FIRMWARE instructions to README Signed-off-by: Andrei Gherzan --- README | 9 +++++++++ classes/sdcard_image-rpi.bbclass | 5 ----- conf/machine/raspberrypi.conf | 5 +---- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README b/README index 1a5259b..90ad382 100644 --- a/README +++ b/README @@ -78,5 +78,14 @@ Optional - compressed deployed files: SDIMG_ROOTFS_TYPE = "ext3.xz" *Accommodate the values above to your own needs (ex: ext3 / ext4). +Optional - GPU firmware: + +By default the GPU firmware shipped is arm192. You can overwrite this using the +variable RPI_GPU_FIRMWARE with one of the values below. +# arm128 : 128M ARM, 128M GPU split +# arm192 : 192M ARM, 64M GPU split +# arm224 : 224M ARM, 32M GPU split +# arm240 : 240M ARM, 16M GPU split + Layer maintainer: John Willis Andrei Gherzan diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass index aceac27..eaa42f9 100644 --- a/classes/sdcard_image-rpi.bbclass +++ b/classes/sdcard_image-rpi.bbclass @@ -37,11 +37,6 @@ IMAGE_ROOTFS_ALIGNMENT = "4096" SDIMG_ROOTFS_TYPE ?= "ext3" SDIMG_ROOTFS = "${IMAGE_NAME}.rootfs.${SDIMG_ROOTFS_TYPE}" -# Set GPU firmware image to be used -# arm128 : 128M ARM, 128M GPU split -# arm192 : 192M ARM, 64M GPU split -# arm224 : 224M ARM, 32M GPU split -# arm240 : 240M ARM, 16M GPU split RPI_GPU_FIRMWARE ?= "arm192" IMAGE_DEPENDS_rpi-sdimg = " \ diff --git a/conf/machine/raspberrypi.conf b/conf/machine/raspberrypi.conf index db47ee2..4fd5c8c 100755 --- a/conf/machine/raspberrypi.conf +++ b/conf/machine/raspberrypi.conf @@ -38,8 +38,5 @@ MACHINE_EXTRA_RRECOMMENDS += " \ kernel-modules \ " -# Set GPU firmware image to be used -# arm128 : 128M ARM, 128M GPU split -# arm192 : 192M ARM, 64M GPU split -# arm224 : 224M ARM, 32M GPU split +# Set default GPU firmware image to be shipped RPI_GPU_FIRMWARE ?= "arm192" -- cgit v1.2.3-54-g00ecf