Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E43AEC3DA5D for ; Thu, 25 Jul 2024 20:55:19 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D0D1788385; Thu, 25 Jul 2024 22:55:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=salutedevices.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=salutedevices.com header.i=@salutedevices.com header.b="b+1mGUY+"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0769888373; Thu, 25 Jul 2024 21:47:30 +0200 (CEST) Received: from mx1.sberdevices.ru (mx2.sberdevices.ru [45.89.224.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C48348692C for ; Thu, 25 Jul 2024 21:47:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=salutedevices.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ddrokosov@salutedevices.com Received: from p-infra-ksmg-sc-msk02.sberdevices.ru (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id E783B120008; Thu, 25 Jul 2024 22:47:23 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru E783B120008 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1721936843; bh=8P2/bZqSGpX9RZGw7tZZuzEocNKZj9VfZ90QxZMPNO0=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=b+1mGUY+5gfLGlxkgBlwPZrPPpPRAp2+8s4vXSheALyxhZhevSnxnUKGkm1NEizWF ByV99KlT0FGb0mhkfKQcHT3W+E4BzH6mHxUYq2ZKL1LrZwXHNzK9dsiexRUShNT4Hk rQ0OBCaCasSlAEjU7NdhmOFUiNxRaVAA/r+2ved12l6aG6FdcjTM+9zBM0SGdTYA9Q pzVTxw/WSWuv/00ff+hiVATOfV7UyGcukyHpsE6C3vf+YKg5Ju/2LlewUBHPq20Jc5 8a+P4NdEi/9Pb68aHcsIAw3M0sIkaRBYQe76/3ZI0FX1P6QSzo+MhgsQTyLDEqgCLQ k4iH2VCuDfM2A== Received: from smtp.sberdevices.ru (p-i-exch-sc-m02.sberdevices.ru [172.16.192.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sberdevices.ru (Postfix) with ESMTPS; Thu, 25 Jul 2024 22:47:23 +0300 (MSK) Received: from CAB-WSD-L081021.sberdevices.ru (100.64.160.123) by p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 25 Jul 2024 22:47:23 +0300 From: Dmitry Rokosov To: , , , , , <4.shket@gmail.com>, CC: , , , Dmitry Rokosov Subject: [PATCH v1 0/4] android_ab: fix slot_suffix issue and introduce ab_dump command Date: Thu, 25 Jul 2024 22:47:00 +0300 Message-ID: <20240725194716.32232-1-ddrokosov@salutedevices.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [100.64.160.123] X-ClientProxiedBy: p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) To p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) X-KSMG-Rule-ID: 10 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Lua-Profiles: 186723 [Jul 25 2024] X-KSMG-AntiSpam-Version: 6.1.0.4 X-KSMG-AntiSpam-Envelope-From: ddrokosov@salutedevices.com X-KSMG-AntiSpam-Rate: 0 X-KSMG-AntiSpam-Status: not_detected X-KSMG-AntiSpam-Method: none X-KSMG-AntiSpam-Auth: dkim=none X-KSMG-AntiSpam-Info: LuaCore: 24 0.3.24 186c4d603b899ccfd4883d230c53f273b80e467f, {Tracking_from_domain_doesnt_match_to}, smtp.sberdevices.ru:5.0.1,7.1.1; 127.0.0.199:7.1.2; salutedevices.com:7.1.1; d41d8cd98f00b204e9800998ecf8427e.com:7.1.1; 100.64.160.123:7.1.2, FromAlignment: s, ApMailHostAddress: 100.64.160.123 X-MS-Exchange-Organization-SCL: -1 X-KSMG-AntiSpam-Interceptor-Info: scan successful X-KSMG-AntiPhishing: Clean X-KSMG-LinksScanning: Clean X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.0.1.6960, bases: 2024/07/25 17:13:00 #26148857 X-KSMG-AntiVirus-Status: Clean, skipped X-Mailman-Approved-At: Thu, 25 Jul 2024 22:55:09 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean The patch series include changes: - fix indentation problems for --no-dec parameter in the ab_select command - introduce the ab_dump command to print the content of the BCB block; it's seful for debugging A/B logic on supported boards - add a test for the ab_dump command to verify the accuracy of each field within the ABC data displayed. - fix the slot suffix format in the ABC block to align with official Android BCB specifications Dmitry Rokosov (4): cmd: ab_select: fix indentation problems for --no-dec parameter cmd: ab: introduce 'ab_dump' command to print BCB block content test/py: introduce test for ab_dump command common: android_ab: fix slot suffix for abc block boot/android_ab.c | 73 ++++++++++++++++++++++++++- cmd/ab_select.c | 34 ++++++++++++- include/android_ab.h | 9 ++++ test/py/tests/test_android/test_ab.py | 23 +++++++++ 4 files changed, 135 insertions(+), 4 deletions(-) -- 2.43.0