[U-Boot] [PATCH v3 0/3] Add 'bcb' command to read/modify/write Android BCB

Eugeniu Rosca erosca at de.adit-jv.com
Thu May 23 15:32:20 UTC 2019


The motivation behind the 'bcb' command is explained in the
second ("cmd: Add 'bcb' command *") patch.

The first patch does the necessary fixing and polishing of
include/android_bootloader_message.h and is a hard prerequisite
for this series.

The third patch relocates the Android README to doc/android and creates
a brand new doc/android/bcb.txt covering the purpose/usage of 'bcb'.

v3:
 - [Simon Glass] Lots of review comments handled in cmd/bcb.c.
 - [Simon Glass, Sam Protsenko] Renamed and enriched android docs.
 - Placed detailed stats in each patch.

v2:
 - [Heinrich Schuchardt] Implement sub-commands via U_BOOT_CMD_MKENT.
 - Polished the code. Ensured no warnings returned by sparse, smatch,
   `cppcheck --force --enable=all --inconclusive`, make W=1.
 - Tested on R-Car-H3-ES20 ULCB-KF.

v1:
 - https://patchwork.ozlabs.org/cover/1080393/

Eugeniu Rosca (3):
  include: android_bootloader_message.h: Minimize the diff to AOSP
  cmd: Add 'bcb' command to read/modify/write BCB fields
  doc: relocate/rename Android README and add BCB overview

 cmd/Kconfig                                   |  17 +
 cmd/Makefile                                  |   1 +
 cmd/bcb.c                                     | 340 ++++++++++++++++++
 doc/{README.avb2 => android/avb2.txt}         |   0
 doc/android/bcb.txt                           |  89 +++++
 .../fastboot.txt}                             |   0
 include/android_bootloader_message.h          | 126 ++++---
 7 files changed, 515 insertions(+), 58 deletions(-)
 create mode 100644 cmd/bcb.c
 rename doc/{README.avb2 => android/avb2.txt} (100%)
 create mode 100644 doc/android/bcb.txt
 rename doc/{README.android-fastboot => android/fastboot.txt} (100%)

-- 
2.21.0



More information about the U-Boot mailing list