{"id":2175514,"url":"http://patchwork.ozlabs.org/api/1.0/covers/2175514/?format=json","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.0/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<20251218-bootconfig-v4-0-5bbbdb0be1dc@baylibre.com>","date":"2025-12-18T11:16:55","name":"[v4,0/5] android: add bootconfig support","submitter":{"id":76253,"url":"http://patchwork.ozlabs.org/api/1.0/people/76253/?format=json","name":"Guillaume La Roque","email":"glaroque@baylibre.com"},"series":[{"id":485825,"url":"http://patchwork.ozlabs.org/api/1.0/series/485825/?format=json","date":"2025-12-18T11:16:55","name":"android: add bootconfig support","version":4,"mbox":"http://patchwork.ozlabs.org/series/485825/mbox/"}],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=baylibre-com.20230601.gappssmtp.com\n header.i=@baylibre-com.20230601.gappssmtp.com header.a=rsa-sha256\n header.s=20230601 header.b=EvQOUnct;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=baylibre.com","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=baylibre-com.20230601.gappssmtp.com\n header.i=@baylibre-com.20230601.gappssmtp.com header.b=\"EvQOUnct\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=baylibre.com","phobos.denx.de;\n spf=pass smtp.mailfrom=glaroque@baylibre.com"],"Received":["from phobos.denx.de (phobos.denx.de [85.214.62.61])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4dX7Rb1Pmzz1y2F\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 18 Dec 2025 22:17:15 +1100 (AEDT)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id D2D7C83D8A;\n\tThu, 18 Dec 2025 12:17:11 +0100 (CET)","by phobos.denx.de (Postfix, from userid 109)\n id DC85E83D7D; Thu, 18 Dec 2025 12:17:09 +0100 (CET)","from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com\n [IPv6:2a00:1450:4864:20::32e])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 7BA9D83C54\n for <u-boot@lists.denx.de>; Thu, 18 Dec 2025 12:17:07 +0100 (CET)","by mail-wm1-x32e.google.com with SMTP id\n 5b1f17b1804b1-4779adb38d3so3574145e9.2\n for <u-boot@lists.denx.de>; Thu, 18 Dec 2025 03:17:07 -0800 (PST)","from [127.0.1.1] ([2a01:e0a:e50:3860:3734:1277:36b8:3f57])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-47be273f147sm38070965e9.7.2025.12.18.03.17.05\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 18 Dec 2025 03:17:06 -0800 (PST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1766056627;\n x=1766661427;\n darn=lists.denx.de;\n h=cc:to:content-transfer-encoding:mime-version:message-id:date\n :subject:from:from:to:cc:subject:date:message-id:reply-to;\n bh=cBqgKJ9GGlWp2mqVHeKAXW1L6ZF7A7vn2VkOgfNCT6w=;\n b=EvQOUnctBRICR1mInpV9yqbTnlQ15ViM2HlIo7INyZfsG45Yo/sa2kg/CmET/JcNa2\n 9NIta7+pkEflZwT+2BWwESh2AsuaKUI8IettG+ytqjiGQNZtMvSeMIO32RDHbUmY2Vu5\n FeUPvnP1XSf05yPMvbArj+groIN2v76F5R5IF6pQbLd938uprEkFHei/duMPP6GhRKWa\n bLNpsDvEHsnGSrZBSORAdVOxtK6wdQOv5pFh3d3OEvNuURy6j01gXaOglylI7aWkyzjx\n r154S+aIJhI32q40SZwpKSkikWFfj4h/FXotG/5c21XyoVK/Utz4EHKIJNsaL+2U6uoO\n TmgQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1766056627; x=1766661427;\n h=cc:to:content-transfer-encoding:mime-version:message-id:date\n :subject:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=cBqgKJ9GGlWp2mqVHeKAXW1L6ZF7A7vn2VkOgfNCT6w=;\n b=IgFsrzAMPaLSlC+mAkbz9XgIQSV/1LYeJomBoUherQiPG5RLk/2i7XMj06sJyM2BOc\n wbkntEs0cMOorqMD1NKvCkkjCRQBNDjioVBiwgmC5+mbqWpUwPrL4a8Y41hZPwtZ9o5B\n Dh32LuMAeAq44ypM5Rqw9Heia7NwTWCFX2B//+JY8B9qjSj5is1ShbUdROMcW8kn4EKr\n skPB+pACbyFJmDEWI90euw3UEz+h/8RUVSgiXGzcsu0fZavtk9gJweyxceecpQrURBTV\n xVCnVqBENvwPmeUK/ELZssvW7ObZRFVB2p7Fa+4YlvTuMXzIYA3ThDtjPZU2RLDU98wQ\n BZCw==","X-Forwarded-Encrypted":"i=1;\n AJvYcCUMqEzATLuOWJF8WSMbxk9pkuNBonbKZW2U1emqa7jHSidIJlAUqzLU2TVcXABTFIxno+3cC74=@lists.denx.de","X-Gm-Message-State":"AOJu0YwqmXrCpOw8B4eooiTgjgs4DDp0j3QFpM9KvMzba9yBbEcmII1R\n cY+QpNjGecyOns3q7EdVMyDKFLc5TTFSbzLSEbm5TdtnkqhYdIPBCe+OuZAXFN+iPck=","X-Gm-Gg":"AY/fxX7tvKOaZdcZhggMuwZwzLUlPiOwweYr9MqGPIb+HP5CO8FoXT9Yiu9PS52IzV8\n VUyAri+dHtz5ssNIjhmbNSH+z9cyxPzIiYGqtUDBuu4NiI9ipP6oX8QziAPpkCNcxvZFs2d0fhj\n C2eGP6zAei5pgZHyqzFe6KxUnhe+3kaxKGTgt9F3DTwzQjheOkr0Mv+8EeNL2aRz8QjOgF7+4EI\n 6/acKWr3gwPaDkCrl4SiRFwoAD/doRPpgzz4fqPewfh76I1Kct5WfPNUqT2/PcOYM2L5PJg+pzd\n iKJQQfNuoRRqsWvLx5c3LEL1/Kefeb3X/C/xZuYFMyTKiHvK8vnCXMGUA2ZJgQGhfTYCUVwQ76G\n lBWbc4kqKTbMbp9oRQskDj8NwFRccmVa9Iy+TbuqZetXYjEXKwMBWWLDHwFRsXWMgY+30V8p9+T\n iiPAapK5NwYJaFYw==","X-Google-Smtp-Source":"\n AGHT+IHw82YltqfFSAad5awFyQzJi/6mftWpIqQ3UgjEJUQSpnZXPgdRKBtBjFPHYETgKC0/wJ1FeQ==","X-Received":"by 2002:a05:600c:c4b7:b0:45d:e28c:875a with SMTP id\n 5b1f17b1804b1-47a97193f3amr169110575e9.31.1766056626783;\n Thu, 18 Dec 2025 03:17:06 -0800 (PST)","From":"\"Guillaume La Roque (TI.com)\" <glaroque@baylibre.com>","Subject":"[PATCH v4 0/5] android: add bootconfig support","Date":"Thu, 18 Dec 2025 12:16:55 +0100","Message-Id":"<20251218-bootconfig-v4-0-5bbbdb0be1dc@baylibre.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"7bit","X-B4-Tracking":"v=1; b=H4sIAKfiQ2kC/13MSw6DIBSF4a0YxqWBKxbtqPtoOgC86k1aacCQG\n uPei076GJ6T/N/CIgbCyM7FwgImiuTHPNShYG4wY4+c2rwZCFBSQs2t95PzY0c9B31CUNpi0wD\n LwTNgR68du97yHihOPsy7nWB7N6aSQupvJgEXvHbaQQdYKa0u1sx3sgGPzj/YJqXyU0upfuoy1\n wZqW8uytaYRf/W6rm8VWtDx5QAAAA==","X-Change-ID":"20241128-bootconfig-276e247be992","To":"Tom Rini <trini@konsulko.com>,\n Mattijs Korpershoek <mkorpershoek@kernel.org>","Cc":"Julien Masson <jmasson@baylibre.com>,\n Guillaume La Roque <glaroque@baylibre.com>, u-boot@lists.denx.de,\n Simon Glass <sjg@chromium.org>, Nicolas Belin <nbelin@baylibre.com>,\n Neil Armstrong <neil.armstrong@linaro.org>,\n Andrew Goodbody <andrew.goodbody@linaro.org>,\n Aaron Kling <webgeek1234@gmail.com>, George Chan <gchan9527@gmail.com>,\n Sam Day <me@samcday.com>, Jerome Forissier <jerome.forissier@linaro.org>,\n Maxime Fournier <mfournier@baylibre.com>, Eddie Kovsky <ekovsky@redhat.com>,\n Casey Connolly <casey.connolly@linaro.org>,\n Guillaume Ranquet <ranquet.guillaume@gmail.com>","X-Mailer":"b4 0.14.3","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"},"content":"This patchset add support of android bootconfig partition[1] in u-boot.\nWith Android boot image v4, all androidboot.* arguments must be\npassed via bootconfig instead of using the kernel commandline.\n\n[1] https://source.android.com/docs/core/architecture/bootloader/implementing-bootconfig\n\nSigned-off-by: Guillaume La Roque (TI.com) <glaroque@baylibre.com>\n---\nChanges in v4:\n- Create some subfunction.\n- Update some variable name.\n- Link to v3: https://lore.kernel.org/r/20251114-bootconfig-v3-0-a28b813dba90@baylibre.com\n\nChanges in v3:\n- fix test check\n- reate subfunction for bootconfig append\n- Link to v2: https://lore.kernel.org/r/20251017-bootconfig-v2-0-8c7c2f2e5474@baylibre.com\n\nChanges in v2:\n- Add test\n- Add new command to be able to load and read bootconfig before booting\n- Somes fixes to works with sandbox test\n- Link to v1: https://lore.kernel.org/all/20241128-bootconfig-v1-0-0e63a5dae82c@baylibre.com/\n\n---\nGuillaume La Roque (TI.com) (4):\n      boot: android: Add sandbox memory mapping support\n      boot: android: Add bootconfig support\n      cmd: abootimg: Add 'get ramdisk' command\n      test: abootimg: Add test for bootconfig handling\n\nMattijs Korpershoek (TI.com) (1):\n      boot: android: import addBootConfigParameters() from AOSP\n\n boot/image-android.c                        | 255 +++++++++++++++++++++++++---\n cmd/abootimg.c                              |  35 +++-\n test/py/tests/test_android/test_abootimg.py | 108 +++++++++++-\n 3 files changed, 364 insertions(+), 34 deletions(-)\n---\nbase-commit: 5d4c94181c1ca835039cb27563f1a2d51e0a99db\nchange-id: 20241128-bootconfig-276e247be992\n\nBest regards,"}