Skip to content

Commit 7a939da

Browse files
author
Mattijs Korpershoek
committed
feat(android): ota: Check slot from bootconfig instead of commandline
With the bootconfig support in U-Boot, we can no longer inspect the kernel commandline to get the slot. We need to look at /proc/bootconfig instead. Update the OTA guide accordingly. Signed-off-by: Mattijs Korpershoek <[email protected]>
1 parent 74c270c commit 7a939da

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

source/devices/AM62PX/android/Application_Notes_OTA.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ OTA via Update Engine
135135
.. code-block:: console
136136
137137
$ adb root
138-
$ adb shell grep -o 'androidboot.slot_suffix=[_ab]*' /proc/cmdline
139-
androidboot.slot_suffix=_b
138+
$ adb shell grep 'androidboot.slot_suffix' /proc/bootconfig
139+
androidboot.slot_suffix = "_b"
140140
141141
142142
Troubleshooting

source/devices/AM62X/android/Application_Notes_OTA.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ OTA via Update Engine
135135
.. code-block:: console
136136
137137
$ adb root
138-
$ adb shell grep -o 'androidboot.slot_suffix=[_ab]*' /proc/cmdline
139-
androidboot.slot_suffix=_b
138+
$ adb shell grep 'androidboot.slot_suffix' /proc/bootconfig
139+
androidboot.slot_suffix = "_b"
140140
141141
142142
Troubleshooting

0 commit comments

Comments
 (0)