From patchwork Sun Apr 21 09:53:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3079 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 36DB03FAEE for ; Sun, 21 Apr 2024 11:53:59 +0200 (CEST) Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-5705ef0b425sf1621447a12.1 for ; Sun, 21 Apr 2024 02:53:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713693239; cv=pass; d=google.com; s=arc-20160816; b=ZEMQL/THgVp47Y/2ann7e5A7MWC8VtObE9xpUvW/JlqvGRD6cQp4Q5eU97bCwW4g9u PtYpE+CghwcWhpuC/jMW3BdiQUyDxpe7epnmaysrOJdULSzH/6osA7BvEvErpgxZlCKS aTA3AeKrlL7cNCa3WgAtJakf+e+UAZ+riNflg5bMTI3xYu5qF3jlisXDaRMxendKNNp6 ldJcppvQXZzlCcUtt7r10Z+RXQf0e+5aBQhRKiIZzqiFJ54JD1UqSEAdtObWytnR1rwb /AK9JIpM5dxPROR8hsVnbllU5h+/sbrsQB+Kngli5sMuaswlvbHVsQtLQ3yNtrD/ORUm qeLw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=robLOeamOgLb5LHBdqawVxwvAyRcP7flKnJdcr1Pc9E=; fh=gYVN1AOwTFn0aF6/AVrpWYNItx3Un1JMe4ep0kJUc6A=; b=qo294B1PPNlj+PB/6yOT1e//joLcx/ItW4f14/Uo9bxXYtOfeOspPd5PGTqEpDPI62 8EBktWfFqkzHCpIKH8qS+KDWtNC2htVJ+mWouLCZqu4HqnMVXdxhiQF6APKxWRZ7siYv +RUdE8QG50YVLYQOF0ad7v4EaSwLtUrqwh4aITqe9xlv8MSZ0XLonE0WpC39iqxyinuC 10D1qz85sc4GvoyFb4PdI+RtOfYkWjqTdjOE3ZmY7Vs7brRlgfRYq6QgxTlmE4uvHjqB WRlNsYcAw4opxwoo3x9QnvIldilJECeWWoKpoLNlz+Mv1lCbFy2ht2SJfhAi0Ykf83vf 827Q==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nlzL+Zh7; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1713693239; x=1714298039; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=robLOeamOgLb5LHBdqawVxwvAyRcP7flKnJdcr1Pc9E=; b=AzbiY/deQVVaYgyh0hxcy0lMOOVIcAf51/NlH332X39cxLToBm/hreTsZGaWeVKOEP YbYYPP9FtoQtVr1vqHhQZx04hMRHPRePAtN5ZIOvUa3u4QCmM6gpjMwvEOW1QyEuQtPV aAPoc8u8328cwyBM4rhejy+eWaWBqBXdbCwWw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713693239; x=1714298039; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=robLOeamOgLb5LHBdqawVxwvAyRcP7flKnJdcr1Pc9E=; b=aX03ZJ0Vgw3pT5Syfap2A3cdkRvuPm11qRwCbNnuUjZpvab+AQo1TxaAJRlnUsHLjN EnZg3tgFox1zQ0vkFzeWyveXxmAQo7qScuFGuY/n/MIX5V9yE5lQGh4wPhA4FDWC2Wl2 GD8Kj6mSyMwE8bmGBIm3vqV1doS2nllvqmMDbDRUEs1i+ojjX8nAvsk/5uv1kvd2IA0i Ne7HWQ21j11nYOdYOKAe1Chb7BaCjK3k9E5CCoVtj81OfsoCwN8QbRJ1FVTpZIfqOQVL bVeda5XMAQJ3drr4xuc/n4QKsvMm6cJ8qgFRz0XYENq7QDsiWeRpllUyrQFmvZIvnPW9 M29g== X-Forwarded-Encrypted: i=2; AJvYcCWHgBv6UcjAbr6xIrai1wdkuwcgdolGkVTql+mfC5sG3hFNaLK/9sfMFJtz832xF0SB4HVEuh4Ug5ZuvWQzfuCQJjO6rQRqnu2p4KJVMiaGnrJYGTyMtWno2nc/Ww== X-Gm-Message-State: AOJu0YzGTyoBsCF39sgMDkRz+5Upx//yPm7ZbSX816ttT5ghUMRFZqEf 3UVmMrEAfStYBxYNVHHkRKhH1KiEr162x5hfc+GPjXTb2W1/qRTWd7DkMLH+rwLxzFydeRbU3Q= = X-Google-Smtp-Source: AGHT+IEQNt0aTipHMBLYDAK63lN18mcE3aXk6Z3eNZ1FbQCodsfhPNAoOf72QgWU3CXm+uaE4GJHSw== X-Received: by 2002:a50:d781:0:b0:56e:22b6:d924 with SMTP id w1-20020a50d781000000b0056e22b6d924mr4557282edi.13.1713693238589; Sun, 21 Apr 2024 02:53:58 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:f0a:b0:571:ff82:3cb0 with SMTP id 4fb4d7f45d1cf-571ff823d92ls139792a12.0.-pod-prod-06-eu; Sun, 21 Apr 2024 02:53:57 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVKj0CXvRvktnClbNBsajMZ7ORWUoE0LukkNu43GwxMyfxcELkGiP+724KFWWIfSehZfroUBsMmQElzk+91aPl9F71M4Q4fCULuAQrRxfpGc8Ct X-Received: by 2002:a17:906:39db:b0:a51:d7f3:324b with SMTP id i27-20020a17090639db00b00a51d7f3324bmr4533353eje.66.1713693236940; Sun, 21 Apr 2024 02:53:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713693236; cv=none; d=google.com; s=arc-20160816; b=V+Auj7CMAfJONxbcZmJrB6/hVmtgoiXcyTcgvoxQnZrm2pdB2SM/vvM8rRMKRn9w5A PJ6kFrHzuw8YXJ24vj8/uHrbAbX3cm8fBc4Ck1e23efZM6+eM2fk2ULWxddOFIiT3s5Y sV+DFUHPxuslKqSmDNedIPgEvZLRIz8RoCCRrObNBAsYE+HucTdlcXHZKNt6vVQW/JWZ 4s1Sk8hfvct/Ql5nOJmWSD5E7B/abPC0gY/aeuXWPYtLNBju8E+PhOY2qF5JxLahH7+1 aNsvMMMShy327m48TTUPDFBHGwKoVELvL3fA5tU99wgE2Jfgvxt2oUsxWPzCRCkzLLiZ QbHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=87NP9pKXcWvqv56vTD5gLflMEajm8HDOfoRzFDdoe28=; fh=F7tIKPcCes2AqiroeOLDe4pyuMzWDVXeGOJQexWxxCE=; b=sFv552jqPnNU0SWby+z34N2xGEucEYZBxEgpcATMEmGvGN4GaUeVbdwGiOr7ggyTrA Pb7kbvbkQef4NqOBugPkshR0rpGHfnsoe+Z5hiIEKihEpswqJlmLVV3zU2cbNSm6/CTY snjIC//Oh8UjWATnSU4oCA/SvYE5Qvgc4zdphX2xhMT88Y8naehXa7fI2yENnB8oyzNr rg3wbmwl/27XXnyyZvLXTLdSjskpTFl1Mt+s+EbYyTClzo09AuDHIqI4Khy8EztYmkXX C2hWcPXeHN0qe3zg+SGniey2xoxh1I3pcQ2WgtrX5IPK2JQZalFMyYLqp7jFvtErs0W2 ZozQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nlzL+Zh7; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id i21-20020a17090639d500b00a553b9c0978sor1646309eje.1.2024.04.21.02.53.56 for (Google Transport Security); Sun, 21 Apr 2024 02:53:56 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCU8WTjfXrvWVXc2fKcLC+7/im9VlbC5ts7pANua1bjHEZVQKr7KgEsvjdSoCQ8oKFklyXoo16jtcOLxc3N9cIW9O500yfTUWhUMUifyKDmlmmUD X-Received: by 2002:a50:bb62:0:b0:570:1ddc:5e4f with SMTP id y89-20020a50bb62000000b005701ddc5e4fmr4137355ede.8.1713693236432; Sun, 21 Apr 2024 02:53:56 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-8-99-67.retail.telecomitalia.it. [87.8.99.67]) by smtp.gmail.com with ESMTPSA id f15-20020aa7d84f000000b00571db231915sm2318427eds.78.2024.04.21.02.53.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Apr 2024 02:53:56 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: Xuanhao Shi , Anand Gadiyar , michael@amarulasolutions.com, linux-amarula@amarulasolutions.com, Dario Binacchi Subject: [RFC PATCH 0/2] Add support to genimage.sh for creating a bmap image Date: Sun, 21 Apr 2024 11:53:51 +0200 Message-ID: <20240421095353.208034-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nlzL+Zh7; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The series adds to the `genimage.sh` script an option for creating a bmap image, which significantly reduces the time required to write an image to an SD card. It also includes a use case applied to the `ti_am62x_sk_defconfig` configuration to demonstrate how to use the new option. Dario Binacchi (2): support/scripts/genimage.sh: support creating a bmap image configs/ti_am62x_sk_defconfig: create the bmap image configs/ti_am62x_sk_defconfig | 3 ++- support/scripts/genimage.sh | 21 +++++++++++++++++++-- 2 files changed, 21 insertions(+), 3 deletions(-)