From patchwork Mon Mar 11 08:08:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 1054203 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="YDIHt/zK"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44HrMj1Cqdz9s4Y for ; Mon, 11 Mar 2019 19:08:33 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id C0D13C21E76; Mon, 11 Mar 2019 08:08:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAD_ENC_HEADER, KHOP_BIG_TO_CC, SPF_HELO_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id C647AC21DF9; Mon, 11 Mar 2019 08:08:25 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id DAB8BC21C8B; Mon, 11 Mar 2019 08:08:23 +0000 (UTC) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80058.outbound.protection.outlook.com [40.107.8.58]) by lists.denx.de (Postfix) with ESMTPS id 6955BC21C3F for ; Mon, 11 Mar 2019 08:08:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LR1nuTKUDjRa7CjJ3Fu/r0ViuoQ5jxWV54VSYWJjGuY=; b=YDIHt/zKarhzuxKvWODcH3SSnL1W22ONxaYqTwDcHLO5FNm/WSgyYe2VPjzX2844c1PuCo3xk9EjxeBBYyacVS7iq0kGgZP89YFQWCNxEURCZpJfjd0mLeAPr8kUeIrL+0XDBlOfXtVZqtzSswvmgMCx68IUJ7dQICCSo3Khodg= Received: from AM0PR04MB5779.eurprd04.prod.outlook.com (20.178.202.151) by AM0PR04MB5538.eurprd04.prod.outlook.com (20.178.113.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.20; Mon, 11 Mar 2019 08:08:22 +0000 Received: from AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::9579:32ab:898e:6769]) by AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::9579:32ab:898e:6769%2]) with mapi id 15.20.1686.021; Mon, 11 Mar 2019 08:08:22 +0000 From: Abel Vesa To: Michal Simek , Marek Vasut , Jun Nie , Peng Fan , Luis Araneda , Ye Li , =Ben Whitten , Fabio Estevam , Simon Glass , Alex Kiernan Thread-Topic: [PATCH 1/2] common: spl_fit: Default to IH_OS_U_BOOT if FIT_IMAGE_TINY enabled Thread-Index: AQHU1+GY7m4+0X61pU6brO5ad3gt3w== Date: Mon, 11 Mar 2019 08:08:22 +0000 Message-ID: <1552291694-20407-1-git-send-email-abel.vesa@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM6P192CA0063.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:82::40) To AM0PR04MB5779.eurprd04.prod.outlook.com (2603:10a6:208:131::23) x-originating-ip: [95.76.156.53] authentication-results: spf=none (sender IP is ) smtp.mailfrom=abel.vesa@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.7.4 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 39eabee7-2f82-4245-80ce-08d6a5f8ba89 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB5538; x-ms-traffictypediagnostic: AM0PR04MB5538: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; AM0PR04MB5538; 23:bVoWyreP0jfryKSCHXasAvC6kfc0x9XpxJLBLc7?= =?iso-8859-1?q?pHwxHJeeAkE6aCHuIUG+biyLU?= =?iso-8859-1?q?oxjadKLwnnn9p783RG2U4Tk5FD0CAxDF1eszilYjzv5VlkioRPR?= =?iso-8859-1?q?0D3DhGcp9toY5WB8HZwBn6n5y0P1MK4UCd0PlmZZuRpOjWmKI+a?= =?iso-8859-1?q?CCWMa2RZyyimFKrDSFNmleFvGBTUe0G+nN4UfzZpuPrJ4dQEJf/?= =?iso-8859-1?q?Tmf47OAWs0x1MbjWeveUgNxcq6Nzb5OHCgEHW5zmSSwc1gD1Hn7?= =?iso-8859-1?q?XlvJ4yTOVOEg0yaoD4LnB0SAIGzi6ai6VwQd5z/ivUrU8PKaKby?= =?iso-8859-1?q?3QdwLmE3B3B27nL+p3ab/mhxlDj9IiNt7JA9xDtdXPD14uAoNzh?= =?iso-8859-1?q?4ajYDGX7hjSq9UGycdMm4Dq3lCFbIPQodpqyMENzTaX21QfUVdu?= =?iso-8859-1?q?e7poQOq2sJcYMq1j8ahapV18f0LIBUko7b636WAMTXHoN9YfMCS?= =?iso-8859-1?q?Rpr/h9mQNbykJs7tPu8PJs6RO0aUylB9EZohXmnSWKzeFxd2xOZ?= =?iso-8859-1?q?8dkm2Lgz24b19L6p2VE9efcnrU1xr6tFcU608x2PXxvSyAWUjPY?= =?iso-8859-1?q?g9dquJqTrIZ0JS9FeHsSEpt2Ce8LZL9jRaQQyFebrSRQ8u8u443?= =?iso-8859-1?q?kOdVijwfEGMAvJYyVi5htDRqbsmJcKH+3PIjQKUzygcNu+JXqtA?= =?iso-8859-1?q?CdQWq4oBZio7IV29FCUO5nPpPbJuI0fKQheC5pBRuqMhb6Q6K1z?= =?iso-8859-1?q?dAO17zDNIkJ1+bgSmMry332IwYNw+4+j3elhbmQMQPV5Y2ITcL+?= =?iso-8859-1?q?fINu1s5zlLa5CVlGJ3L9C66mM6H/eO7qZuSeZ5ji0WDs4n9JbcF?= =?iso-8859-1?q?41MCjXx/1s6a5VMMIL/ZNivh1KmSNMaZDLgxOePqls5bN1YYv7H?= =?iso-8859-1?q?eyM9cXJCSTUCcNj5oCyZdlFWYmYJ+/9JhscvwxyE+76TW4Yo4ew?= =?iso-8859-1?q?Uv1lyWcrQJ/1mrGgthzyfWmFu8qZcb3l5bFSpTfH0exyQko24iW?= =?iso-8859-1?q?NARJzXck7vZzqK2lV1f5SOw1bEPs9dtj5kxqSRtQcrO9MhgJHsY?= =?iso-8859-1?q?DVjnGtbCpIeFgRephwYQPCrZs/pAYEQ8GBribUEzcvSO0hABZQF?= =?iso-8859-1?q?ErDFo77FNB8vNeykmzg4RErluw2MutfJ552ckH8/ynoR7pumFbl?= =?iso-8859-1?q?XHZ5gEil5snq5hhvC3+5Epncz/DgksFdOepQp1VFxzB+MQrTE8x?= =?iso-8859-1?q?NvT2rG23EDPycBmluXXgXKzULpITcG?= x-microsoft-antispam-prvs: x-forefront-prvs: 09730BD177 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(376002)(346002)(366004)(39860400002)(396003)(199004)(189003)(8936002)(99286004)(97736004)(66066001)(8676002)(478600001)(5660300002)(316002)(2616005)(186003)(476003)(2906002)(14454004)(52116002)(36756003)(86362001)(110136005)(53936002)(7736002)(50226002)(54906003)(256004)(486006)(305945005)(4744005)(102836004)(71200400001)(6512007)(105586002)(386003)(6506007)(71190400001)(44832011)(68736007)(25786009)(6436002)(6116002)(106356001)(26005)(6486002)(81156014)(81166006)(3846002)(4326008)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB5538; H:AM0PR04MB5779.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: LKL/6qDrzh/LgeVphU6DowwEFtjTizvkykljIxV3IIerX6HR35PkuoObZcsOBD+oFwfY4EYHNo3fiEdfHaekSe3tF6x0fS7olASVFPQ0o9bAcrkdZCd7NFoeILrMNdFSVmUR64Y1xrqW4yRnnaFbp2ohmRcFkYl2jpYIvOfRHdZRwDZEsqhSMy0+n98LJC1QhabG46+J5K9Zqp8pzyuFxdnIYVeMjEohZ63uwmMIdPSfTCb6JGRw9/el7INoPY9rYglSJXe8EncBE10ERtHVvkWfFi1uKA6bXv/F1iV7CBk+WYsr56YOY/5z0m9cE90xW9xdthUw11MY1sHlGRHcgz/ClJ7xtc0ii7ZC4xAH2PypuIGgD1Oh6K610Uo8uFQuF789idDh912qC6ZsuYlqyxCLFDd+ynGxj8x76OFOHGI= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 39eabee7-2f82-4245-80ce-08d6a5f8ba89 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2019 08:08:22.2041 (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-Transport-CrossTenantHeadersStamped: AM0PR04MB5538 Cc: "u-boot@lists.denx.de" , dl-uboot-imx Subject: [U-Boot] [PATCH 1/2] common: spl_fit: Default to IH_OS_U_BOOT if FIT_IMAGE_TINY enabled X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" If FIT_IMAGE_TINY is enabled, spl_fit_image_get_os returns -ENOTSUPP. In this case, we should default to IH_OS_U_BOOT not to IH_OS_INVALID. Signed-off-by: Abel Vesa --- common/spl/spl_fit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c index db43626..b190612 100644 --- a/common/spl/spl_fit.c +++ b/common/spl/spl_fit.c @@ -491,6 +491,8 @@ int spl_load_simple_fit(struct spl_image_info *spl_image, if (!spl_fit_image_get_os(fit, node, &os_type)) debug("Loadable is %s\n", genimg_get_os_name(os_type)); + else + os_type = IH_OS_U_BOOT; if (os_type == IH_OS_U_BOOT) { spl_fit_append_fdt(&image_info, info, sector, From patchwork Mon Mar 11 08:08:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 1054204 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="auqDtvUY"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44HrN61FZpz9s4V for ; Mon, 11 Mar 2019 19:08:54 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id DC21CC21E76; Mon, 11 Mar 2019 08:08:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAD_ENC_HEADER, KHOP_BIG_TO_CC, SPF_HELO_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 4DE7CC21C8B; Mon, 11 Mar 2019 08:08:26 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 045B9C21DF9; Mon, 11 Mar 2019 08:08:24 +0000 (UTC) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80043.outbound.protection.outlook.com [40.107.8.43]) by lists.denx.de (Postfix) with ESMTPS id 9C0E6C21D74 for ; Mon, 11 Mar 2019 08:08:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8aFV0OI38LQ5lIeREQ651Oy+Wi+QNYQM9P3YdHWGEKM=; b=auqDtvUY94qDzr7OOWpafI0UDK3QTiTY9cZ+E6hWwixW0UNNG/lIcnIeM+vdCyLY9Au9Y/k36SWWrDP3su1HVbLh/OnIfNlJDHNrXsDPaqqxW4Y8Tg3EsDnW80qIG4nQVwFOvh2jH3VaOV5L2cvXioPdZ2oKg+DDwllFBavp3Xw= Received: from AM0PR04MB5779.eurprd04.prod.outlook.com (20.178.202.151) by AM0PR04MB5538.eurprd04.prod.outlook.com (20.178.113.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.20; Mon, 11 Mar 2019 08:08:23 +0000 Received: from AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::9579:32ab:898e:6769]) by AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::9579:32ab:898e:6769%2]) with mapi id 15.20.1686.021; Mon, 11 Mar 2019 08:08:23 +0000 From: Abel Vesa To: Michal Simek , Marek Vasut , Jun Nie , Peng Fan , Luis Araneda , Ye Li , =Ben Whitten , Fabio Estevam , Simon Glass , Alex Kiernan Thread-Topic: [PATCH 2/2] tools: fit_image: Add the loadable property to configs Thread-Index: AQHU1+GY6354h0JqNkeimgig1S/dzg== Date: Mon, 11 Mar 2019 08:08:23 +0000 Message-ID: <1552291694-20407-2-git-send-email-abel.vesa@nxp.com> References: <1552291694-20407-1-git-send-email-abel.vesa@nxp.com> In-Reply-To: <1552291694-20407-1-git-send-email-abel.vesa@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM6P192CA0063.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:82::40) To AM0PR04MB5779.eurprd04.prod.outlook.com (2603:10a6:208:131::23) x-originating-ip: [95.76.156.53] authentication-results: spf=none (sender IP is ) smtp.mailfrom=abel.vesa@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.7.4 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 74c1b9a7-3662-41ab-f7de-08d6a5f8bb17 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB5538; x-ms-traffictypediagnostic: AM0PR04MB5538: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; AM0PR04MB5538; 23:q/XKYkr6CYWw++lPgc7OWwwu8p/hPwHaCFwiwcj?= =?iso-8859-1?q?Pmedhzr+xBCAPQ3erTMiqDuQ6?= =?iso-8859-1?q?B7JaIteadSeEbktbP0/GJZm62NyehfhrSwDu0Hw4PFhEkD3vnEW?= =?iso-8859-1?q?hjhXIetUrgF/0tmt4mi/dQgcpyTq4PlSELEIud5JY1GiWDAXy2/?= =?iso-8859-1?q?dwxW+xIbDXMbHUtFw+UyqojP/SQMH7SfdK5MN8zB5hmmzPRtWRa?= =?iso-8859-1?q?7YLg1Pz/dRU1V204bIbUoJXaq71A8T+V2DHi0W1lAobacdn3aQX?= =?iso-8859-1?q?ZF51wU7mXr9+r+cFO9nSOMmAnTTzchLw1paa8uM6JHTMM0HWFxx?= =?iso-8859-1?q?kQdSrrpkOjoqF9adtCahRcFqwj5w++rW9GOT1f290aN3oD2+//H?= =?iso-8859-1?q?hgrUDRvKEO7/x2MzYCnutz30fo2aBDoYXHKOMrCHXBS++LY/+SA?= =?iso-8859-1?q?Zbz1UBG+cVTryF0h4Wks9P7JpOgvgY2BpymdfjT0fU6x/Nr3eDg?= =?iso-8859-1?q?MYfMR0uxL9O1RPqT/AkkZLPw27ycuipyxCfrxkiTb+odh5gUd68?= =?iso-8859-1?q?AB78PBcKyPcWYopMK4bH9sNae/u94OElqJ06KIGAb4zzwCvTBkA?= =?iso-8859-1?q?eP5CvQ1xeTfjKuF/GBL2JoWDXbgTjw/WC8dE2rS2DaFWtJ9dE3G?= =?iso-8859-1?q?wMZ/8k8S457TjldNOQi6NuF380iH9KsIk2s1qkqXlEGpxmLH6CV?= =?iso-8859-1?q?y7MbRDFFdRPAjC+53mnT5af7yQ8V9VnObc1Lr+44Ub1mJ81j8su?= =?iso-8859-1?q?VBCdQFk9k8j66MX8w2Va/mklrDOKSg3LudjnDhzx3YfO2iZovOE?= =?iso-8859-1?q?z665Ucwu37v15WgA/7uumnoWLE3pF8K5F6qZTsW246MtmKT4+YA?= =?iso-8859-1?q?f5aM/O52DRrhtpd0MtMINEBFB8WH1PB56OvtBiWNBvB6uYQ1JrP?= =?iso-8859-1?q?VKDhAi1kSytwtNo6K0ZSjgtZM5Hu3YJRWz3O0r/6BplM0j74QnK?= =?iso-8859-1?q?F+oF7oA93kDQF5lH2SGjKPZCvdWLfsiiS4ev77BmCUQ05YKsx/B?= =?iso-8859-1?q?Pp+8AT/SRwqhx5kePTrijVsz4DFk19wIKeLrqDm8T9C19FRT1fu?= =?iso-8859-1?q?urOJRHI2dDjB+N1drMNMx/WnVJpCiyY1U715MWh4P5YQxdTuZNw?= =?iso-8859-1?q?wqgN1b6wKcP2KTnKaD8HgH/q4NMSt58RduuoBF1IFwe4c5etU6N?= =?iso-8859-1?q?VAbK+sINGBjJeKKSK4xJT4JkbHjX07DG0hz8V8Qa5FAvppj6E1H?= =?iso-8859-1?q?LCBL3J7znnJf5Hrkt0NumXMaVA+xjJLbMveDvL5rB5VWU84Dv9h?= =?iso-8859-1?q?iUataUV1StN9Jg43SHGJVFa1y5qTpixBskcVP2bZsqWoYVbMoZJ?= =?iso-8859-1?q?ObzOahTfkELgOA=3D=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 09730BD177 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(376002)(346002)(366004)(39860400002)(396003)(199004)(189003)(8936002)(99286004)(97736004)(446003)(66066001)(8676002)(478600001)(5660300002)(316002)(2616005)(186003)(476003)(2906002)(11346002)(76176011)(14454004)(52116002)(36756003)(86362001)(110136005)(53936002)(7736002)(50226002)(54906003)(256004)(14444005)(486006)(305945005)(4744005)(102836004)(71200400001)(6512007)(105586002)(386003)(6506007)(71190400001)(44832011)(68736007)(25786009)(6436002)(6116002)(106356001)(26005)(6486002)(81156014)(81166006)(3846002)(4326008)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB5538; H:AM0PR04MB5779.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: HjIVQ2esAkiPvbT9OASjku+WQv3bEpfW+0k+KRh24QQ1bFXdOdGrgw6FppHFTsZo/WkkLlSIDJc3N1fexvnDjGCm5ewhcC2TI20k+rmjl8HZFT02R/8VtO+WMKml+SECbVnB30PusAvvYsg2aN0brvV0I7Vg/MvMVOYgGGfy3NaTynSstLtqOkhqD4REI3kA38lM4m55G2v23XBnqyFr7f/3XG2qDPo6iD5jYumqo1fjPbTu58wuaIFpH/pUytEzwifujEhYKDsUoVQ9/3MslppTpIfRWOWituguCNya3IY9BTBXUbsJ6DDdnVv2gCwhVNsf1cB+b2KradmufbUhtUOtILrndqU8FZLvN7MWR11EkuvufBQ1sG2aOUlK5Ym6cCbFGYNWN9uuIENIv+gr4g0AEpio4qI+/J2aHBhsWmk= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 74c1b9a7-3662-41ab-f7de-08d6a5f8bb17 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2019 08:08:23.1038 (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-Transport-CrossTenantHeadersStamped: AM0PR04MB5538 Cc: "u-boot@lists.denx.de" , dl-uboot-imx Subject: [U-Boot] [PATCH 2/2] tools: fit_image: Add the loadable property to configs X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" When running mkimage with "-f auto", the loadable property needs to be set in order to allow SPL FIT support to boot. Signed-off-by: Abel Vesa Reviewed-by: Simon Glass --- tools/fit_image.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/fit_image.c b/tools/fit_image.c index 4b62635..3b867e0 100644 --- a/tools/fit_image.c +++ b/tools/fit_image.c @@ -298,6 +298,7 @@ static void fit_write_configs(struct image_tool_params *params, char *fdt) typename = genimg_get_type_short_name(params->fit_image_type); snprintf(str, sizeof(str), "%s-1", typename); fdt_property_string(fdt, typename, str); + fdt_property_string(fdt, FIT_LOADABLE_PROP, str); if (params->fit_ramdisk) fdt_property_string(fdt, FIT_RAMDISK_PROP,