From eaf743cc3ac471fdc14212cb10bd20f44992bbca Mon Sep 17 00:00:00 2001 From: Mattijs Korpershoek Date: Wed, 4 Dec 2024 14:57:08 +0100 Subject: [PATCH] feat(android): Add a language to each code-block For some U-Boot command listings, are not specifying a language for the code-block. This is checked by rstcheck and is mandatory. Add console to these code-blocks to resolve the rstcheck warnings. Signed-off-by: Mattijs Korpershoek --- source/android/Overview_Flashing.rst | 4 ++-- .../devices/AM62PX/android/Application_Notes_dtbo_support.rst | 2 +- .../devices/AM62X/android/Application_Notes_dtbo_support.rst | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/android/Overview_Flashing.rst b/source/android/Overview_Flashing.rst index 1918fe7c2..780eeac9d 100644 --- a/source/android/Overview_Flashing.rst +++ b/source/android/Overview_Flashing.rst @@ -209,7 +209,7 @@ Once the build is complete, follow the steps below to flash the images to eMMC. Ensure the default U-Boot environment is configured with: - .. code-block:: + .. code-block:: console => env default -f -a; saveenv; ## Resetting to default environment @@ -219,7 +219,7 @@ Once the build is complete, follow the steps below to flash the images to eMMC. If you build with ``TARGET_AVB_ENABLE=true`` or flash user images you need to run this: - .. code-block:: + .. code-block:: console => setenv force_avb "1"; saveenv; Saving Environment to MMC... Writing to MMC(0)... OK diff --git a/source/devices/AM62PX/android/Application_Notes_dtbo_support.rst b/source/devices/AM62PX/android/Application_Notes_dtbo_support.rst index 2233e8497..0c3af1789 100644 --- a/source/devices/AM62PX/android/Application_Notes_dtbo_support.rst +++ b/source/devices/AM62PX/android/Application_Notes_dtbo_support.rst @@ -14,7 +14,7 @@ DTBOs can be enabled from U-Boot when extra peripherals are connected to the boa It's possible to change the ``adtbo_idx`` from the U-Boot shell. For example: -.. code-block:: +.. code-block:: console => env set adtbo_idx 1 => saveenv diff --git a/source/devices/AM62X/android/Application_Notes_dtbo_support.rst b/source/devices/AM62X/android/Application_Notes_dtbo_support.rst index 090723501..de3dc7b43 100644 --- a/source/devices/AM62X/android/Application_Notes_dtbo_support.rst +++ b/source/devices/AM62X/android/Application_Notes_dtbo_support.rst @@ -14,7 +14,7 @@ DTBOs can be enabled from U-Boot when extra peripherals are connected to the boa It's possible to change the ``adtbo_idx`` from the U-Boot shell. For example: -.. code-block:: +.. code-block:: console => env set adtbo_idx 1 => saveenv