Skip to content

Commit 9f1b6d5

Browse files
committed
style: normalize Android RST indentation
Signed-off-by: Julio <juliosuas@gmail.com>
1 parent 1ba9317 commit 9f1b6d5

6 files changed

Lines changed: 68 additions & 69 deletions

source/android/Application_Notes_Android_Secure_Build.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The process is an example, feel free to adapt following your needs.
1212

1313
This process is only supported with Android user images
1414

15-
Fetching Bootloader, Kernel, and Android
15+
Fetching boot loader, Kernel, and Android
1616
----------------------------------------
1717

1818
- Bootloaders:
@@ -131,22 +131,22 @@ Build and copy secure images to Android:
131131

132132
.. note::
133133

134-
**RPMB corruptions**:
134+
**RPMB corruptions**:
135135

136-
If we do several flashes with different builds, we may be faced with RPMB corruptions.
137-
Indeed some metadata are stored in the RPMB and by default if there is a mismatch OP-TEE fails to load Trusted Applications.
138-
Thus the OP-TEE keymaster service fails and the device doesn't boot.
139-
To avoid this situation we can add the flag ``CFG_REE_FS_ALLOW_RESET=y`` in `build_optee.sh`:
136+
If we do several flashes with different builds, we may be faced with RPMB corruptions.
137+
Indeed some metadata are stored in the RPMB and by default if there is a mismatch OP-TEE fails to load Trusted Applications.
138+
Thus the OP-TEE keymaster service fails and the device doesn't boot.
139+
To avoid this situation we can add the flag ``CFG_REE_FS_ALLOW_RESET=y`` in `build_optee.sh`:
140140

141-
Allow secure storage in the REE FS to be entirely deleted without causing anti-rollback errors.
142-
This is used to reset the secure storage to a clean, empty state.
141+
Allow secure storage in the REE FS to be entirely deleted without causing anti-rollback errors.
142+
This is used to reset the secure storage to a clean, empty state.
143143

144-
**Testing Case**:
144+
**Testing Case**:
145145

146-
If you want to test and be sure to reuse RPMB partition you can set ``CFG_RPMB_TESTKEY=y`` in `build_optee.sh`:
146+
If you want to test and be sure to reuse RPMB partition you can set ``CFG_RPMB_TESTKEY=y`` in `build_optee.sh`:
147147

148-
OP-TEE can either embed a built-in RPMB key or derive it from platform specific secrets.
149-
The former case might be useful during development while the later is recommended for production devices.
148+
OP-TEE can either embed a built-in RPMB key or derive it from platform specific secrets.
149+
The former case might be useful during development while the later is recommended for production devices.
150150

151151
Copy ``avb.key`` in Android:
152152

source/android/Application_Notes_Camera.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ The following hardware is required to use the CSI-2 camera:
2323

2424
- ALINX ov5640 sensor module (AN5641)
2525

26-
.. image:: /images/alinx_ov5640.jpg
27-
:width: 300
28-
:alt: alinx_ov5640
26+
.. image:: /images/alinx_ov5640.jpg
27+
:width: 300
28+
:alt: alinx_ov5640
2929

3030
.. ifconfig:: CONFIG_part_variant in ('AM62X')
3131

source/android/Application_Notes_Sample_Maps_App.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ Launching the app
2929

3030
.. ifconfig:: CONFIG_part_variant in ('AM62X')
3131

32-
* Boot the EVM with binaries built using ``am62x_car-bp2a-userdebug`` lunch target
32+
* Boot the EVM with binaries built using ``am62x_car-bp2a-userdebug`` lunch target
3333

3434
.. ifconfig:: CONFIG_part_variant in ('AM62PX')
3535

36-
* Boot the EVM with binaries built using ``am62p_car-bp2a-userdebug`` lunch target
36+
* Boot the EVM with binaries built using ``am62p_car-bp2a-userdebug`` lunch target
3737

3838
.. ifconfig:: CONFIG_part_variant in ('AM67A')
3939

40-
* Boot the EVM with binaries built using ``am67a_car-bp2a-userdebug`` lunch target
40+
* Boot the EVM with binaries built using ``am67a_car-bp2a-userdebug`` lunch target
4141

4242
* The SnappMaps application should be visible by default on the home screen
4343

source/android/Overview_Building_the_SDK.rst

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -81,49 +81,49 @@ Where ``<BUILD_TARGET>`` is listed in the table below :
8181

8282
.. ifconfig:: CONFIG_part_variant in ('AM62X')
8383

84-
============================= ============================
85-
Android Build type Build target
86-
============================= ============================
87-
AM62X-SK Tablet userdebug ``am62x-bp2a-userdebug``
88-
AM62X-SK Tablet user ``am62x-bp2a-user``
89-
AM62X-SK Car userdebug ``am62x_car-bp2a-userdebug``
90-
AM62X-SK Car user ``am62x_car-bp2a-user``
91-
============================= ============================
84+
============================= ============================
85+
Android Build type Build target
86+
============================= ============================
87+
AM62X-SK Tablet userdebug ``am62x-bp2a-userdebug``
88+
AM62X-SK Tablet user ``am62x-bp2a-user``
89+
AM62X-SK Car userdebug ``am62x_car-bp2a-userdebug``
90+
AM62X-SK Car user ``am62x_car-bp2a-user``
91+
============================= ============================
9292

93-
The recommended ``<BUILD_TARGET>`` is ``am62x-bp2a-userdebug``.
93+
The recommended ``<BUILD_TARGET>`` is ``am62x-bp2a-userdebug``.
9494

9595
.. ifconfig:: CONFIG_part_variant in ('AM62PX')
9696

97-
============================= ============================
98-
Android Build type Build target
99-
============================= ============================
100-
AM62PX-SK Tablet userdebug ``am62p-bp2a-userdebug``
101-
AM62PX-SK Tablet user ``am62p-bp2a-user``
102-
AM62PX-SK Car userdebug ``am62p_car-bp2a-userdebug``
103-
AM62PX-SK Car user ``am62p_car-bp2a-user``
104-
============================= ============================
97+
============================= ============================
98+
Android Build type Build target
99+
============================= ============================
100+
AM62PX-SK Tablet userdebug ``am62p-bp2a-userdebug``
101+
AM62PX-SK Tablet user ``am62p-bp2a-user``
102+
AM62PX-SK Car userdebug ``am62p_car-bp2a-userdebug``
103+
AM62PX-SK Car user ``am62p_car-bp2a-user``
104+
============================= ============================
105105

106-
The recommended ``<BUILD_TARGET>`` is ``am62p-bp2a-userdebug``.
106+
The recommended ``<BUILD_TARGET>`` is ``am62p-bp2a-userdebug``.
107107

108108
.. ifconfig:: CONFIG_part_variant in ('AM67A')
109109

110-
============================= ============================
111-
Android Build type Build target
112-
============================= ============================
113-
AM67A-EVM Tablet userdebug ``am67a-bp2a-userdebug``
114-
AM67A-EVM Tablet user ``am67a-bp2a-user``
115-
AM67A-EVM Car userdebug ``am67a_car-bp2a-userdebug``
116-
AM67A-EVM Car user ``am67a_car-bp2a-user``
117-
============================= ============================
110+
============================= ============================
111+
Android Build type Build target
112+
============================= ============================
113+
AM67A-EVM Tablet userdebug ``am67a-bp2a-userdebug``
114+
AM67A-EVM Tablet user ``am67a-bp2a-user``
115+
AM67A-EVM Car userdebug ``am67a_car-bp2a-userdebug``
116+
AM67A-EVM Car user ``am67a_car-bp2a-user``
117+
============================= ============================
118118

119-
The recommended ``<BUILD_TARGET>`` is ``am67a-bp2a-userdebug``.
119+
The recommended ``<BUILD_TARGET>`` is ``am67a-bp2a-userdebug``.
120120

121121
It's possible to customize the standard build (``m``), by passing build flags.
122122
For example, the following enables ADB on user builds:
123123

124124
.. code-block:: console
125125
126-
$ TARGET_ADB_USER_ENABLE=true m
126+
$ TARGET_ADB_USER_ENABLE=true m
127127
128128
The following build flags are available. **Default** values are **highlighted**.
129129

@@ -160,5 +160,5 @@ To proceed to flash Android, see :ref:`android-flashing`.
160160

161161
.. ifconfig:: CONFIG_part_variant in ('AM62X')
162162

163-
The android images generated for the AM62X-SK EVM are compatible with the Beagle Play board.
164-
For flashing the Beagle Play, see the :ref:`beagleplay-app-note`.
163+
The android images generated for the AM62X-SK EVM are compatible with the Beagle Play board.
164+
For flashing the Beagle Play, see the :ref:`beagleplay-app-note`.

source/android/Overview_Flashing.rst

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ Make sure to install the udev rules as documented:
3939
4040
.. tip::
4141

42-
If Snagboot cannot be installed, it's possible to boot the initial bootloaders from an SD card.
43-
Follow :ref:`android-bootloader-sdcard` if you encounter issues with Snagboot.
42+
If Snagboot cannot be installed, it's possible to boot the initial bootloaders from an SD card.
43+
Follow :ref:`android-bootloader-sdcard` if you encounter issues with Snagboot.
4444

4545

4646
eMMC flashing
@@ -153,7 +153,7 @@ Once the build is complete, follow the steps below to flash the images to eMMC.
153153
154154
.. ifconfig:: CONFIG_part_variant in ('AM62PX')
155155

156-
.. code-block:: console
156+
.. code-block:: console
157157
158158
# If you are using binaries built locally
159159
$ cd out/target/product/am62p
@@ -167,7 +167,7 @@ Once the build is complete, follow the steps below to flash the images to eMMC.
167167
168168
.. ifconfig:: CONFIG_part_variant in ('AM67A')
169169

170-
.. code-block:: console
170+
.. code-block:: console
171171
172172
# If you are using binaries built locally
173173
$ cd out/target/product/am67a
@@ -369,25 +369,25 @@ Once the build is complete, follow the steps below to flash the images to eMMC.
369369

370370
.. tip::
371371

372-
If you get ``mcopy`` command not found error on Linux PC, install the ``mtools`` package:
372+
If you get ``mcopy`` command not found error on Linux PC, install the ``mtools`` package:
373373

374-
.. code-block:: console
374+
.. code-block:: console
375375
376376
$ apt-get install mtools
377377
378378
.. warning::
379379

380-
It's possible that the in-memory partition layout is still from an older system.
380+
It's possible that the in-memory partition layout is still from an older system.
381381

382-
In that case, we can observe flashing errors similar to::
382+
In that case, we can observe flashing errors similar to::
383383

384384
writing 'tiboot3'...
385385
FAILED (remote: invalid partition or device)
386386

387-
When that happens:
387+
When that happens:
388388

389-
1. Reboot into the newly flashed bootloader with ``$ fastboot reboot bootloader``
390-
2. Restart the flashing from :ref:`U-Boot environment <step_5_flashing_instructions>`.
389+
1. Reboot into the newly flashed boot loader with ``$ fastboot reboot bootloader``
390+
2. Restart the flashing from :ref:`U-Boot environment <step_5_flashing_instructions>`.
391391

392392

393393
5. Once the flashing is complete, power off the board
@@ -438,4 +438,3 @@ Once the build is complete, follow the steps below to flash the images to eMMC.
438438

439439

440440
7. Board should boot the Android images now.
441-

source/boards/beagle/BeagleY-AI/android/Application_Notes_BeagleY_AI.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ Building the image
4343
To build the image you need to build the image for the am67a-evm.
4444
The kernel includes the appropriate device tree and the proper bootloaders are deployed.
4545

46-
.. code-block:: console
46+
.. code-block:: console
4747
48-
$ source build/envsetup.sh
49-
$ lunch am67a-bp2a-user/userdebug
50-
$ m TARGET_SDCARD_BOOT=true
51-
$ sudo flashall --board am67a-beagley-ai --sdcard=/dev/sdX
48+
$ source build/envsetup.sh
49+
$ lunch am67a-bp2a-user/userdebug
50+
$ m TARGET_SDCARD_BOOT=true
51+
$ sudo flashall --board am67a-beagley-ai --sdcard=/dev/sdX
5252
53-
TARGET_SDCARD_BOOT=true is required since the beagley-ai does not have an eMMC.
53+
TARGET_SDCARD_BOOT=true is required since the beagley-ai does not have an eMMC.
5454

5555
**************************
5656
Initial flashing procedure
@@ -125,8 +125,8 @@ Flashing Android requires to use the sdcard.
125125

126126
.. code-block:: console
127127
128-
Finished. Total time: 112.819s
129-
-------------------------------
130-
flashing done, you can issue the 'fastboot reboot' command
128+
Finished. Total time: 112.819s
129+
-------------------------------
130+
flashing done, you can issue the 'fastboot reboot' command
131131
132132
At which point the board is flash and can reboot. It will boot to Android.

0 commit comments

Comments
 (0)