You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The common Android documentation (located at source/android) has a bunch of
conditionals that test if device is either AM62X or AM62PX.
Since the Android SDK only supports these 2 SoCs, there is no need to
have these conditionals.
Remove them to simplify the .rst files.
Signed-off-by: Mattijs Korpershoek <[email protected]>
Kernel builds hangs when using the ``btrfs`` file system.
58
-
This is a known issue according to the `kleaf documentation <https://android.googlesource.com/kernel/build/+/refs/heads/main/kleaf/docs/errors.md#build-hangs-on-btrfs>`_
59
-
Make sure to pass the ``--workaround_btrfs_b292212788`` flag to bazel when using ``btrfs``.
53
+
Kernel builds hangs when using the ``btrfs`` file system.
54
+
This is a known issue according to the `kleaf documentation <https://android.googlesource.com/kernel/build/+/refs/heads/main/kleaf/docs/errors.md#build-hangs-on-btrfs>`_
55
+
Make sure to pass the ``--workaround_btrfs_b292212788`` flag to bazel when using ``btrfs``.
60
56
61
57
62
58
Defconfig/menuconfig changes
63
59
============================
64
60
65
61
The usual (``make menuconfig``) is done via ``bazel`` command :
66
62
67
-
.. ifconfig:: CONFIG_part_variant in ('AM62X', 'AM62PX')
68
-
69
-
.. code-block:: console
70
-
71
-
$ cd ${YOUR_PATH}/ti-kernel-aosp/
72
-
$ tools/bazel run //common:ti_config -- menuconfig
63
+
.. code-block:: console
73
64
74
-
.. ifconfig:: CONFIG_part_variant in ('AM62X', 'AM62PX')
65
+
$ cd ${YOUR_PATH}/ti-kernel-aosp/
66
+
$ tools/bazel run //common:ti_config -- menuconfig
75
67
76
-
.. note::
68
+
.. note::
77
69
78
-
Users must have built the android kernel image prior to building the Android file system.
79
-
Otherwise pre-built kernel images present in :file:`device/ti/am62x-kernel`
80
-
will be used to create :file:`boot.img`
70
+
Users must have built the android kernel image prior to building the Android file system.
71
+
Otherwise pre-built kernel images present in :file:`device/ti/am62x-kernel`
72
+
will be used to create :file:`boot.img`
81
73
82
74
83
75
Rebuild Android images
84
76
======================
85
77
86
-
.. ifconfig:: CONFIG_part_variant in ('AM62X', 'AM62PX')
87
-
88
-
We should re-generate the Android images to include the newly build kernel.
89
-
Follow the Android :ref:`android-build-aosp` to do so.
78
+
We should re-generate the Android images to include the newly build kernel.
79
+
Follow the Android :ref:`android-build-aosp` to do so.
90
80
91
81
*********************
92
82
Flashing instructions
93
83
*********************
94
84
95
-
.. ifconfig:: CONFIG_part_variant in ('AM62X', 'AM62PX')
85
+
In order to flash a new kernel, several images should be flashed:
96
86
97
-
In order to flash a new kernel, several images should be flashed:
0 commit comments