From patchwork Tue Sep 3 15:30:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3394 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id DD66F4174F for ; Tue, 3 Sep 2024 17:31:24 +0200 (CEST) Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-42bbff6a0aesf35707935e9.3 for ; Tue, 03 Sep 2024 08:31:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1725377484; cv=pass; d=google.com; s=arc-20240605; b=V1+aUtI++V3vwO830hYwk/i21irOKDBSt2ZKmaqAYE+A8HEzNGsFpjuBxY5Vxj8xPd YuDdxgEyh3wflwuFyDAUNzy8KqGu/jOp9OOgPSoHikviUDSQj9nrbsdHFmEKaUdVG06e pjArNnNNbBwT45ve/vb8auuruPaBWFk61Xw3b4ZfKQ41J/ob2KJCCAnm6qoOYyQfeN/+ VyCpnAAI3umUFXWH026XUXo7Hoq+9Ptp1fWy8iPABqiA9nSg2haPudPR/gjjW59diny+ mfPQsRM0LZ1HKB0u1rZPOAoAkUU0xG8sUs6JmoyF2QyL0MTmTqeOsxnLT1TJLFcF/oc3 0XFA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=Qf8AeJxhbqMvZBPYSCy1lA70PMaWfMGg1u1pxISbVlQ=; fh=jIgZ3oH0NBAsSDPEK4XFFQwzAfraEX2cpKRb0kVaQlg=; b=OSaAwVzUuu8VClhYRUvKGPIb8EF5ezMyX+EmL7LV4dMdGMSlj9XQZtFTb5nGFKrcaP 1FZfDVTvlkMNFyZF8t+DhH6et+jRh5bFT8Wi0lypQTPmhwOlq0FQp6PLBoXrr3CXiJ5b 2ImB43BSb39GMTWpSYfuaXmoYj54y9JrWi0YI1NiKw5WuCvHdw2BIlBRWlaqax//Z7lx q25L4L3p7t0CZVe+DBzlNSjo/hayVEi4pLxVKin21qR5Kwijx3HLYVxULavHUgduVYkx SDDMij23dXonlOfmjT+z8UfzEt7wdMdnv/EekvIQmsir8pXHNP2WYph06XETJ08yeS41 u8AQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gdBBhnpm; 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; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1725377484; x=1725982284; 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:references:in-reply-to:message-id :date:subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Qf8AeJxhbqMvZBPYSCy1lA70PMaWfMGg1u1pxISbVlQ=; b=Oxh3l+k2Vrpdacdv33UHGY+f3swgMO3sjds0Th8Slq6EEYyYzbi1XviCXPWOWfDjqh oq/IsuPovrCKbObZro2FBnKAHE1gzxwNtiSXUAfvRDTVdWzSB5NTzRTKkiMJccnOONaf cQVYUh5sQddoGxsHlj3UpTlar2m2raBAPx3fM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725377484; x=1725982284; 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 :references:in-reply-to:message-id:date:subject:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Qf8AeJxhbqMvZBPYSCy1lA70PMaWfMGg1u1pxISbVlQ=; b=NlBP5TAgA89GhkWfqF5z8nouJXmrtwwGIQYJzgdVXDqUmqhxd9CO4yIvQL8gzKimSB 0dBJxHbDvUdLs7jJnuM0R8eXyUP0aIEIJQkEh4ANbZdjX9xvKaX46QuVltkbUkYoQUvu yx1zCzUwyNwnlD9KRl4wO6fnbX8f7m34Ylo6o8ut6oK0/e85sc1o7a/jtxtu4RnnUvt9 XWfU6aCHzCIQOKatIxw5fxFXnPlBUT9AzZFgMpPIJ+k2v40wUsn/SGUNRB9FjcjX3jnM 2GXn61KAdh1KTHzmWgS4IFo/uU2pR+Tip+su8iElybwJYPlb+1+xmH6oj2BCXZNUJT00 fwNQ== X-Forwarded-Encrypted: i=2; AJvYcCV5CLF+hCZS69vgFU9BGj6HqgCV3GVbpVxcsIW25onFmeJ8wcddCCJNIDb2xyuk0SGVgq4UnoI7uGIVNPnp@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Yzp7kmcY5YUINbzrypvVNntjPmCUO1hsCStilUOYREnzJt7CtCh S3IFrp3Hg6NtYTCNrzXWI47p2ffkSBeQ1AlSSxStwdgSyuwFfWnZ/C4OezDcm74A7A== X-Google-Smtp-Source: AGHT+IG4zVZf614D3HflAHsOmDUVy6noy56+PbY6qf/gkxzP4aQkUqfbWuOm/PhCs+7R1fAPgyqplg== X-Received: by 2002:a05:600c:4687:b0:426:68dd:bc92 with SMTP id 5b1f17b1804b1-42c8de5f5demr10015055e9.5.1725377484463; Tue, 03 Sep 2024 08:31:24 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:600c:3c9e:b0:426:6eea:e7ea with SMTP id 5b1f17b1804b1-42bb2a06893ls25149565e9.1.-pod-prod-09-eu; Tue, 03 Sep 2024 08:31:23 -0700 (PDT) X-Received: by 2002:a05:600c:1d19:b0:427:ab29:30cf with SMTP id 5b1f17b1804b1-42c8de5f599mr10203265e9.4.1725377482707; Tue, 03 Sep 2024 08:31:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725377482; cv=none; d=google.com; s=arc-20160816; b=ioOjk6MudwNJcINGya40eWzOQRm8Xf+P5/5bNC14GFG7ams0+DFRyyNvnPqge/LiCM VIPEtEMNbX8+54Jv1JtbGtkdZgs9MstHpBXk+xIcMUjp/zKArog/BTOr/77wjzvMlnTF 2IP+8hcjfHPl+2vLUpTfI4AKqZqZj2Kd4M+zXrnd+HZvck80jJJYdMmUrP3Qr7qUZjrL twD+VtxYnxd45h+hPzSQEsQXYiFgjUXQaBLyTpRRO008x4p2qDFRMp5pZKkycE9gpV/4 bz7rfwFg+9lq5cdYsjBjHZ0GrGISLefQACdhWIDeQsjfOWMXYvKowg2kuP6YY2NT6wng AovQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=3F/m0WrqREzorM4iF2HC0olxLWFILAFdpvU8VWHdIXU=; fh=FtQepR0uNoeKT2PVdKfTKOkvEYfwbRmoVE9BmlYw3tk=; b=DPoeYl4O0cSVQS1JFw2mldj3Fm2kBV7CpkIy4TnaE+oLcosuYj436FeSvD8Xuno1is qWiDgSISWJ1b+RUmm0zb56xUaZS88n+PNJa9Gw2iQfBikOxvrnK93p5Ki0AV8zh9/YsS SAeVvgB2KkhkK/0a6Mr5+F1ZsW0IUCZzqOeo+sW6nX1eINqAYYqhq2y/jmkQdgAjhOoa Q21udj5NIQblH7C3MO6q9MMVGpcDkgpLJaH/wziy2oVtxKXu+x6hgz3UYyjpepQ9/on2 0x20e2jKptFj7++lbWqkR6ZhqqcFIn07TTz166Ask4X8frVOV+AgdLfuGZTz3W3sJ8dr VgeQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gdBBhnpm; 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; dara=pass header.i=@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 5b1f17b1804b1-42bb7077744sor4240875e9.7.2024.09.03.08.31.22 for (Google Transport Security); Tue, 03 Sep 2024 08:31:22 -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-Received: by 2002:a05:600c:358b:b0:426:5416:67de with SMTP id 5b1f17b1804b1-42c8de9de13mr9846595e9.30.1725377482095; Tue, 03 Sep 2024 08:31:22 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.42.65]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42bb6e273e3sm174168685e9.30.2024.09.03.08.31.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2024 08:31:21 -0700 (PDT) From: Dario Binacchi To: linux-amarula@amarulasolutions.com Subject: [PATCH 22/29] bootm: adjust the print format Date: Tue, 3 Sep 2024 17:30:53 +0200 Message-ID: <20240903153100.918077-22-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240903153100.918077-1-dario.binacchi@amarulasolutions.com> References: <20240903153100.918077-1-dario.binacchi@amarulasolutions.com> 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=gdBBhnpm; 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; dara=pass header.i=@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: , All three addresses printed are in hexadecimal format, but only the first two have the "0x" prefix. The patch aligns the format of the "end" address with the other two by adding the "0x" prefix. Signed-off-by: Dario Binacchi --- boot/bootm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/bootm.c b/boot/bootm.c index 376d63aafc95..a6e1c6d46bd5 100644 --- a/boot/bootm.c +++ b/boot/bootm.c @@ -703,7 +703,7 @@ static int bootm_load_os(struct bootm_headers *images, int boot_progress) /* Handle BOOTM_STATE_LOADOS */ if (relocated_addr != load) { - printf("Moving Image from 0x%lx to 0x%lx, end=%lx\n", + printf("Moving Image from 0x%lx to 0x%lx, end=0x%lx\n", load, relocated_addr, relocated_addr + image_size); memmove((void *)relocated_addr, load_buf, image_size);