Message ID | 20210319075718.14181-2-peng.fan@oss.nxp.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1139723jai; Fri, 19 Mar 2021 00:26:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwbIyDOaqyFvW8MEloW6Gg8DwlYDmLaHmQY9IxRvpPy86akPvIGoNO+2a+2wcOJlraqPq/I X-Received: by 2002:a17:906:8a65:: with SMTP id hy5mr2862924ejc.250.1616138798426; Fri, 19 Mar 2021 00:26:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1616138798; cv=pass; d=google.com; s=arc-20160816; b=BBD2/Rsjtaz7n6U7fgMhfJNYqGRSjSsnE4JuwzyQYcgdYeMBltAFZg27P22guAC8BB 9TSSghNGYqjvGIBsKO9MoCkCZCIiALv+6EKwmgPYoWYg+XsSFDALPDNHuxw63nLDneCm RZ0HpnLS0lFHBkURdCZG1S+gAZjQoEvV2RvyDz5Pq7KoJ70mx1vRss1IgMCLCQdhSwn8 80ESnQwaqDq/D7Vt3/Xp5uoT1RVNHVOQaE/zlRqQnCZulDz7pd9gKJpbNoH/a5enqT34 cw/oqAOmjLWk8npSJlIHzOurJEIgFKEDhin9b58/SgYwTCY7e9gybUzMGREjbLqe8Osd H10g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=rQ/pIblsqQk2So2ZvxRl8rQJA12c7jIh0dzhCgVMQec=; b=0lM6qX7jPfFEYjSU490b4sUhha9qlkxDWP32iqSQhAF8wVGdkSd4lP1nlY3596N5Q8 SCNUwNJ36eiSiNAW/z1nDFPuZUYMpIxMsdhCVtsqcoE0NrLZv/HKLYwidO8OJCER7aB8 LZM/m6+0YU2buifWy1V/xdt0dPV67+ZjeZaT1P7myazCwOZFQ4qOmXtlvDog6c/5F8Iz v3yt0KWjSFM/tHk1bCIyrbQD1h7eSPUt99EFOBP17IWfBqV7Mfcm5fsVB43V+W6ntvoT wKMCk27pqmzIe0PoMi318J5vGNefAAJ+EMfwslKsa9+kipiyh4UwKCgzjQjjtpGt3fpD Hbbw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=H7MNanTy; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id e6si3614725edz.505.2021.03.19.00.26.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Mar 2021 00:26:38 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=H7MNanTy; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 559C0828A1; Fri, 19 Mar 2021 08:26:36 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="H7MNanTy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EC7C28289B; Fri, 19 Mar 2021 08:26:31 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FORGED_SPF_HELO,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on0619.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0c::619]) (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 47B4B82887 for <u-boot@lists.denx.de>; Fri, 19 Mar 2021 08:26:27 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=peng.fan@oss.nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=brYxcPUbZpc1RT7vHemIEGLGGeTqb170bbo/PVvZyEI5Me1JjuCNuYdiAbqqrcFPXtXVqhKDIR/twwkW7bXhAa8xOotoEKHR4SAAWDC0Y4PUKbJgQLvVWyc/vWhTSnCTSRL0NtteKPcxaRgMBbNCZBD+ZtSmdjXVr7TH7bokoPDhTC8toRr8J5oTO1ON0HBBM8VCYNrkBKsbuBpEjum7vTcR/MiyBJHxtC1G2BUsPB/Jkm08GEUb/QonxtiYN+vNELqqZdPuYDBKMYMyG8AJJtv1tW+8ibHqVRyFbbqeLFU0hhTBldkn8EX02KQEtU7IWWtHjPFPeBdrDk6Y0yJbfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rQ/pIblsqQk2So2ZvxRl8rQJA12c7jIh0dzhCgVMQec=; b=GfA+Q4nPRxPNswKhWqtnKO3L5Al3x5RHSIZwfo+tvJjfTHZTo1zQqO3izWh6RTdRsKaJEOfJeuqbIHomFmibg+tVGRXYlFPfYDco2k0JtQS0BfSz9H35s6bSZq0+O1tcIndGbhz3G3ZYNy0iYEpgvGYKmNcSR4fSfETxI1ATiU7BRsyOzP3FwURsh8yJp2+SBKQZx/3P/K8Oru2tYB6TfOF83gicurRDA9z8SUT5zQ6dwMw6pTvUdgPAQT/pwFSxQ/9fiEzmmWfe/wiCHNk0tXyzm5KpVto4hoILWZmek29iCFCH2IiDLil9uXoDhsdmT0MGw7p9zTyuNqF1i4wBdw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rQ/pIblsqQk2So2ZvxRl8rQJA12c7jIh0dzhCgVMQec=; b=H7MNanTyfsDfb8HCC5sl7lNPbeAvRniKna6ZdtlbO5VaoVkhyNXBtEU44EbIIwrZ7PTfuB4som4V8CUdPLjyHv5zo47xF6nngEOz9mner0US+x9QeZVrNTBun46uKQrXsFs7bFgdo5E8A5Ca0/xDA/ttKIYCVm8ESrg5lQOVZzA= Authentication-Results: denx.de; dkim=none (message not signed) header.d=none; denx.de; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DBAPR04MB7223.eurprd04.prod.outlook.com (2603:10a6:10:1b0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.18; Fri, 19 Mar 2021 07:26:26 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d58c:d479:d094:43d0]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d58c:d479:d094:43d0%9]) with mapi id 15.20.3933.032; Fri, 19 Mar 2021 07:26:25 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> To: sbabic@denx.de, festevam@gmail.com Cc: u-boot@lists.denx.de, uboot-imx@nxp.com, Peng Fan <peng.fan@nxp.com> Subject: [PATCH 01/26] tools: imx image: fix write warning Date: Fri, 19 Mar 2021 15:56:53 +0800 Message-Id: <20210319075718.14181-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210319075718.14181-1-peng.fan@oss.nxp.com> References: <20210319075718.14181-1-peng.fan@oss.nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: MA1PR01CA0170.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a01:d::20) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from linux-1xn6.ap.freescale.net (119.31.174.71) by MA1PR01CA0170.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a01:d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.18 via Frontend Transport; Fri, 19 Mar 2021 07:26:23 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: c0d20488-6723-4ba0-6776-08d8eaa84de1 X-MS-TrafficTypeDiagnostic: DBAPR04MB7223: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <DBAPR04MB7223B5B4C1AF08D629531F0BC9689@DBAPR04MB7223.eurprd04.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:1468; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tKJY6lLCAkteJBvkwNRSGH41FVvYMtV8N0qVm4uSXBCtdY0Q4vxmfvt4qqgse8VADVHidx+giu93DRDi3Smpso5s6fuXgE4PZjU3lxzSZnwHOTMDNa9XUHA7bkTinFqAJtAKfDxjko53yVZpHiT5qH+YL6keGmBx0ew3ow2Q4t9oBnz8MtaL20yVXidfYHCacYzX829/uxzidcQIOMEl7q8CTy+DJ4XPrstNbmacWk5eviW2dC9n1ed5U2TcOTTQ79d/ph2a3aqjSaDyR5mjznLKwFOtKfofFsZuPm8omU07rrE1xm1/scUNZ6cvpG1Evzevn7nWiJqxXAWQI/9gVDEnBYCH9Udy7ylrullxshfKUGbUZo54vgOZRlDbQ8tGGsluC9JlrA3r/MEZRoeGHhF9c3S4aBFbBhl11p0VZP5gZu1D76nLiSLpxbc0LWT7PndxUQhyYfw8wsLgzOrbpZ7iKcrt93b6XKE4TeyehI6uzMewXNSEBgAkZukWc6hb6g/+8I4E1GU8yhBmcJMey8V2U38jJ7l0i3u/9ZUXXtZqOvhV4B2jRXFvdaaN07gl3y/g5lSz7phP/zAvd0GLLGWTvcHTakzPn2cOVkAsL2v3V8bVv0TG0uW73SFD+wwxpWe4CtUa3DdOR7HKGBr5VVkggaW2AlMpqfv/V+PFuP8= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(346002)(396003)(136003)(366004)(39860400002)(2906002)(6512007)(6486002)(26005)(4326008)(52116002)(6506007)(5660300002)(86362001)(1076003)(83380400001)(6666004)(66476007)(66556008)(16526019)(186003)(8936002)(316002)(8676002)(478600001)(2616005)(66946007)(38100700001)(956004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?q?BC/k4X6CFDzAc8DKhOgcpZqQ8Bv?= =?utf-8?q?P5hTf34ybjj7JN4EBmVDzI1GHGyiJnwKhUxgl6LnVXaRYch+6GA9dBxG?= =?utf-8?q?PkrWCd7+iAjimnh1CTiDC1HlSsyczfcos6kbKFjvpj83wPgz9byJjp+r?= =?utf-8?q?oY+MO/ZrDuKPMZuCO1OsYTHQS16Gx6eK5Q/AE3EW4VgasKCpengeb23O?= =?utf-8?q?WAgZl8oeeVvlUXg89JG2qZiOpztxNtdpwfAn5TY69Cx3HCu2eBbDulVQ?= =?utf-8?q?a3UvEV2o/u9oPZdeqxQjS0W72BWxBRdpCCcw5mddVwJsDriYhgVyptWK?= =?utf-8?q?Uq1PILMaRBKvwJ2OqMeKZQ4c+nc7TbgUK+6Ilj/ey57uuT59SdS4NLv2?= =?utf-8?q?0UzjhkIXB0KA1eRqAxwA4maQjPwua1cfTqz86AfwkFDRpi11pUfGlTJ7?= =?utf-8?q?DGUI7wrPM1dy/9gTIYJgnUOe7YjiXqgL16ZVYNCLugcPdv1oF0/BNHus?= =?utf-8?q?4VvI2UmIe0lGKeRNxz7cA3Tn4nZ37uUNvCnzcS6rgi0WOP5xj3lHNJWZ?= =?utf-8?q?SnknhdTMGS9HbMsn+7VdUDIA/HEigAqqu02bF2nkT6m/4DGbKSDGYb1M?= =?utf-8?q?VkJE/hUMiNfI81Wt6RCjvwlurYGSCnL3929olthywi2xRTwgZMPDNAYR?= =?utf-8?q?3+r5gJCvgTCTHRAkNrMznajBebKHztLzIPIlRZ81EUaIbvS9gvqv/Knm?= =?utf-8?q?P4qBUnMaQcvWPCTP2gJUEl0gfquqV9925r4g+KD9+62uffni5LTQ/N6L?= =?utf-8?q?T/g6ngmO+mIxnXSwCWVxBe21kqW1S7G+7trhcrP1IKN0b4MrHpJc6Ppq?= =?utf-8?q?B4XOGQSVBK1Pd0yIWWp9YkdOB7+SVduuv1R9234RxgICkm67aQK7sSG1?= =?utf-8?q?429oOZDXF9Rozf9IHkU+ghUVMD2Li5mbEpgVE9wi3iP4aWeq4TKhmAbH?= =?utf-8?q?hrbMXOJM+mVE+ePSn76s5J+DviABUCS3CJ8ij5ZXvaLsvAT0QmKvhCHN?= =?utf-8?q?3J22JzQmc0ux3lupQFX9BMMfffuWmx8H76kfVYGCsFIN//m1sNLktdLa?= =?utf-8?q?WaSGldvIyWxRf23neW2j3UfAwbTEI33CU2XGEe5lwkMDkmQ30TRBXDVW?= =?utf-8?q?LSL2eCgW2nmJL3ayrTxMp03AmYj/OQJNx4ZKUjrH0+1TD/gWNjQB/+OS?= =?utf-8?q?aE12gX8DPdbnWCx/JwjG5jXuqvmru8pK0/lepzF81JBlu5VvXK2Jsatc?= =?utf-8?q?vk9Qoat3d4GLBc+ef62PGWc3AJcjgV2IPeqpf7cNTId7XgJCFRA9boBO?= =?utf-8?q?Cn4Ng4sW1zk9Gcm5bckKIqg6kdcxGODoFd3ZEjE7kHq0TZfAppjtPDfN?= =?utf-8?q?X07pVovL0XfaZNcPj9hLyDnp9X574?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c0d20488-6723-4ba0-6776-08d8eaa84de1 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Mar 2021 07:26:25.8686 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Mj395rcFlflDX23F3+L5dMykcRHvCl0clQKntfo4kNHUXNR8C8FNNHeWwESI8vSsz6g4k0Ds9c+JUlICtN+q/Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7223 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <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>, <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.102.4 at phobos.denx.de X-Virus-Status: Clean |
Series |
imx: update for i.MX8M
|
expand
|
diff --git a/tools/imx8image.c b/tools/imx8image.c index 133780f5ea..fa8f227487 100644 --- a/tools/imx8image.c +++ b/tools/imx8image.c @@ -365,7 +365,7 @@ static void copy_file (int ifd, const char *datafile, int pad, int offset) struct stat sbuf; unsigned char *ptr; int tail; - int zero = 0; + uint64_t zero = 0; uint8_t zeros[4096]; int size, ret; diff --git a/tools/imx8mimage.c b/tools/imx8mimage.c index 9985b95a98..11e40ccd94 100644 --- a/tools/imx8mimage.c +++ b/tools/imx8mimage.c @@ -248,7 +248,7 @@ static void copy_file(int ifd, const char *datafile, int pad, int offset, struct stat sbuf; unsigned char *ptr; int tail; - int zero = 0; + uint64_t zero = 0; uint8_t zeros[4096]; int size, ret;