diff options
Diffstat (limited to 'meta-raspberrypi/docs')
-rw-r--r-- | meta-raspberrypi/docs/contributing.md | 4 | ||||
-rw-r--r-- | meta-raspberrypi/docs/extra-apps.md | 2 | ||||
-rw-r--r-- | meta-raspberrypi/docs/extra-build-config.md | 18 |
3 files changed, 23 insertions, 1 deletions
diff --git a/meta-raspberrypi/docs/contributing.md b/meta-raspberrypi/docs/contributing.md index 5b712ae08e..9ecb6cb896 100644 --- a/meta-raspberrypi/docs/contributing.md +++ b/meta-raspberrypi/docs/contributing.md @@ -86,6 +86,10 @@ Then, for sending patches to the mailing list, you may use this command: git send-email --to yocto@lists.yoctoproject.org <generated patch> +When patches are sent through the mailing list, the maintainer will include +them in a GitHub pull request that will take the patches through the CI +workflows. This process happens periodically. + ## GitHub issues In order to manage and track the layer issues more efficiently, the diff --git a/meta-raspberrypi/docs/extra-apps.md b/meta-raspberrypi/docs/extra-apps.md index 53007dc1f0..dbbfb8ddb1 100644 --- a/meta-raspberrypi/docs/extra-apps.md +++ b/meta-raspberrypi/docs/extra-apps.md @@ -6,4 +6,4 @@ omxplayer depends on libav which has a commercial license. So in order to be able to compile omxplayer you will need to whiteflag the commercial license in your local.conf: - LICENSE_FLAGS_WHITELIST = "commercial" + LICENSE_FLAGS_ACCEPTED = "commercial" diff --git a/meta-raspberrypi/docs/extra-build-config.md b/meta-raspberrypi/docs/extra-build-config.md index 82ec3c0f16..81eff0742c 100644 --- a/meta-raspberrypi/docs/extra-build-config.md +++ b/meta-raspberrypi/docs/extra-build-config.md @@ -320,6 +320,24 @@ Appropriate kernel modules will be also included in the image. By default the GPIO pin for gpio-ir is set to 18 and the pin for gpio-ir-tx is 17. Both pins can be easily changed by modifying variables `GPIO_IR` and `GPIO_IR_TX`. +## Enable gpio-shutdown + +When using device tree kernels, set this variable to enable gpio-shutdown: + + ENABLE_GPIO_SHUTDOWN = "1" + +This will add the corresponding device tree overlay to config.txt and include +the gpio-keys kernel module in the image. If System V init is used, additional +mapping is applied to bind the button event to shutdown command. Systemd init +should handle the event out of the box. + +By default the feature uses gpio pin 3 (except RPi 1 Model B rev 1 enumerates +the pin as gpio 1). This conflicts with the I2C bus. If you set `ENABLE_I2C` +to `1` or enabled `PiTFT` support, or otherwise want to use another pin, use +`GPIO_SHUTDOWN_PIN` to assign another pin. Example using gpio pin 25: + + GPIO_SHUTDOWN_PIN = "25" + ## Manual additions to config.txt The `RPI_EXTRA_CONFIG` variable can be used to manually add additional lines to |