From patchwork Tue Apr 6 03:58:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 415864 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp4195991jai; Mon, 5 Apr 2021 20:28:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSnMa/vZutB1eyn5uxiPl07JPfpX4fFchRVi2fIO6M6LchdDwX5G6IRSGolfSESqq553jn X-Received: by 2002:a05:6402:4386:: with SMTP id o6mr37010201edc.307.1617679709445; Mon, 05 Apr 2021 20:28:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1617679709; cv=pass; d=google.com; s=arc-20160816; b=ZOc0uWy9iTpGS5mIfXJKfKrh1/NhEhRxMEC93zNHJLg092Oz/nBuhNq8eouC2QAkPJ znDgcJekstposu3d60lcbwAfYY20hujQPZSRT04PLz8V7egXEsBXl3K6Y+oULQYse8i7 rov1cp/wsR3wUYcPBwY0MRdnYTnICEJvAxbFRy001iMtOJbUuXNAO6DzYXUhOl130C9X 0ZY7mxqwoEI3/6OkAreaZngV49FU0BYSOeCZP18NN1M6FP4pd5qJiYSQmXRfEFRh16aV 2A2mywajoZkITKc/pHC36yTx27OyS9ZwXV1H0C24sHEutqgjzxFqOsWC3vmgwgc2rx/l FQrA== 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=PQFL1ANlLGyq0uV/ZncsnRo/Z8DgF8G7/S+WIt78IbU=; b=TOAuaI3hagy6HrCY1lcqU9G/n/+VnXhPAsBBjy7wZoDFWIIyF4jVes11KdWvEtqHSd XdEcY4I9JhDgK54wIz7sBIJ0yU7Y1R0uw7H9AhduciLcwydX6ONFA733egLHZfC0EYz9 D4n+YBw9epGdUmKU9Ky5NlUzVI96UnAOMmjgTljdFRVEUAyr/bopeFCLUYpC3zOYv/0M OinxckTa3Ehhthnizj6LG7Nu90+bk0iX1DB3NKGKyNmx7Ti8ffRiZjcOSNjJ+DEs2Vqb VUbxSH8q1K5g/a7grUn12YqENlsncBOUeVZpnWo7Vtv/jJZuipTAvnot/LwKiW5J0axH vaAg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=DUWad0gT; 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: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id du4si14936010ejc.94.2021.04.05.20.28.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Apr 2021 20:28:29 -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=DUWad0gT; 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 0BFD3819D2; Tue, 6 Apr 2021 05:28:08 +0200 (CEST) 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="DUWad0gT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C8FD481CC5; Tue, 6 Apr 2021 05:27:49 +0200 (CEST) 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-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on0629.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::629]) (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 97264817A1 for ; Tue, 6 Apr 2021 05:27:44 +0200 (CEST) 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=epsKsR3WbeRyTubAAX2AJP3qyWyUI0cDx3g3Mf8IaiSmKYj9oF8HUOcOg53IpgSexLQR+oUcEON8oUbP+/CjB1j4G3PMKVBH3m8QgjMwo9U5wTAlEG12G1sDMZYyfWurP+NqlXfs3MqsQYorT2Fg+0+ogqM5hylRJS5BQCGsNZcyHM//iktAp74yAQ/0LiSrYZ+/6YlWlSlKEFAPJMzkqSzfDNgwWDK9ovPxeOcxxunmZFKKoFt5hDpwJrF47kL2QWcNoYybzaCvzEmM4OibPuR+8+xerrFR5cmKOOfl9TiEk8WwyBiwms2e78cjjSViYMH1AWiOWqhTLqPEHmf+zA== 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=PQFL1ANlLGyq0uV/ZncsnRo/Z8DgF8G7/S+WIt78IbU=; b=dqYzicvBiQcM17vn03hSrWBUWOVHww3wRQM87STpKTGS496+ZWOJf3TVkM8OWKszcRESlknbns08sUJMZhibpoT/V8lyvtRQnmOnECFI01ALjz2uZP/OcAd+2zkXHzJyaBImF/SOlkFtKQka/pprsZY3SGaETBEBW7DIpU0PKMgzmuw70o48SJz7iZMXCocVPMj7cDl+7HwpE5EwU/Rz+4NEWHHRK7hs78MxOLOdQMVgR8n/kD0wluU8tkZZVKo3W2IpCTmwWY2UOFt0YSVBG5YS93CfFN2oOz+awHDz6a4Ak95IOXDZJ243qzvXlyzwthCH83pOQcnDz3kVOa2zcg== 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=PQFL1ANlLGyq0uV/ZncsnRo/Z8DgF8G7/S+WIt78IbU=; b=DUWad0gTVWiHZvGzl8TVtI6QYdxxe3OsNcY5Dmn1vVMZtcKvHWT7NuSqlEsltCzIg4jPQBfIP/Lt+ICS1nc6sU7K86kyHYilQZDhStflA88twj8va+HpHUK1azTaxksbNnqsJHT4FOcSRJIbk/xHxQGgsjuGi5pTemiwJp7YTZU= 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 DB8PR04MB6715.eurprd04.prod.outlook.com (2603:10a6:10:10d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.32; Tue, 6 Apr 2021 03:27:38 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf%11]) with mapi id 15.20.3999.032; Tue, 6 Apr 2021 03:27:38 +0000 From: "Peng Fan (OSS)" To: sbabic@denx.de, festevam@gmail.com Cc: uboot-imx@nxp.com, u-boot@lists.denx.de, Peng Fan Subject: [PATCH 3/7] imx8mn-ddr4-evk: switch to use binman Date: Tue, 6 Apr 2021 11:58:59 +0800 Message-Id: <20210406035904.26598-3-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210406035904.26598-1-peng.fan@oss.nxp.com> References: <20210406035904.26598-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: HK2PR02CA0176.apcprd02.prod.outlook.com (2603:1096:201:21::12) 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 HK2PR02CA0176.apcprd02.prod.outlook.com (2603:1096:201:21::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.26 via Frontend Transport; Tue, 6 Apr 2021 03:27:36 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ca75d237-3c87-4f48-506f-08d8f8abed62 X-MS-TrafficTypeDiagnostic: DB8PR04MB6715: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:57; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nBDggkw6iaGhGXUsqArPwxcOOf+C1K+ylrwB/S6jIQmovGtDOnm39TPsgwsh2kL8wSk3EaWo/OfY0Q0VbIgK0H+G12zhFvdupR1SoyF88WVc9/0ni7tfoZmCMOGaPyE1tUHFq2Y83PYliiZA7v/F6bBFhJ0EEvhwN9/kPPPy1qDTciEzdHh/H4UIxwKKKkpklbUDminAnpkw4RTf+rDicDeuUenOMI+YZjPGNCDCCf9rzl9EKihwYVxbmXP43bGAfrD3D7J1zlRCwlw2uH+ik+vbnxn9rLvwxeG/SqtmrcXRQ08hqOL2vy2gAdAeReXzxNTYuAmHyoJdMcyjtisW2krxL8z9Dix4o9QCH8Vt3e7a0ooM5Bd48w16VU8+gz3RCDOablFrcQyIKgYCimIhnYfaGw4vtTLBjGEfA5pD62OPKm3ish2b1WVIohyNRnHf4uvKXuE6MUJ6+gc8yKjt7xX9fotMamTmvi8HS7JgoRJ7JHOqp0NLXvuQTm8Bq/YWnx6aksJO3+k33w9FdrxFNv44k4U1A2c6YNopHZpWSc9Of71R4Q9/ntWOLYkxyLPTfQvNnn6Ww4+hla653D25kN44qWHNlgQ216o5HbUpJMNZtXSGkOFDR7VY4r6MfiXYHrefJX2GtfpI/o/RFOiuDfrXHJN8t7ZeYJuspril+ZsHqVZjsYLZ0xGmFAeXlwEKkMeidkE45rMUiGMx4e3y3A== 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)(396003)(346002)(366004)(376002)(39860400002)(136003)(26005)(38100700001)(6666004)(6506007)(2906002)(66946007)(66556008)(66476007)(1076003)(38350700001)(83380400001)(6512007)(16526019)(478600001)(956004)(8676002)(2616005)(6486002)(4326008)(86362001)(5660300002)(52116002)(186003)(8936002)(316002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: kepr0ntRirNCy+wfjYDsTlC4UMx4axQCow9SkcuJ5E4HZh29T+0Oz0gubQnDgLpj+9oFfzlm2g42TfJ45bclhp8IiKczrWvqiyS/iVeEjVUvPEVpnxnAYU+vFALZj7qFndd6v/PFm7ni/DgZKcy9Jo72SNOJiy/98228/9bv3qIkfbdq94Xmrzn4SeCPTSAloxtSvXycU910QCoCe85H33CtXbgskxDeG3sULHmxm38YEBU8aBiK2X8bKtWrv1qibILebOkgC1028nmLUq7PPNh+L69Ow6NwfjLgXurZ6l5rhcKy0CUQksPZUdmFPk899HVVady7gosnSY7K9tQAh5ZNH9k8iNouhVdUFcXYc/gySEmxv8KOcBXZBZnGt03jR0imTTcUuxhtPC9NCv+sHO2hJBTUgALmKrd/U/TphSQLdZY07g+h4W1+qJzWvxx7yFoZvixpNB8/IvwPe61ARbz3L+7zheDHVUPl0fDvyKp7JL/MKn/q9s5q9R1NqGI17bbuRmWNlGbu4LzUS08St+lEXI5rPr+I9+sx0SeEATc49RdqaIoojL+i8eS/H+XznU0hY00NdtKhiXqdVAxRYGGPcHh4bZWscdtngOx0fM5HQhUrupnTTpSQcSzsC5O6KHaPHbmasA/FK7i0UY4jmfxPby6lcrUdVIpBQWwsVUS4/mFUAa1h0/A0GbiOIRUlBCBS9t6ySRxBF3xPMb1+t3GJ2aI0V5+4YKK2RD3FWm3VcgGCxaX7AgWXtjf+WbFZ0jDLb9R38tRyODcY/V9dcgw05+udUPikmarJukjS+IV0A9m/Tx2JTjLDVdJsoDt1lZbZGkTpFD9juP1G6wlaxFCIsWutFVRlIyudZQF94xTAnnKlsMp8ZgKpHIvEoHmkiBW3Rd0TkICKYpkiuBym7y+P9Ew8WHxpYPxgfiI8ssnqSV1L5wl9CTPvJfanGuQQlXlZ7eKNNkhWk9cMqL4xQ3XjBeSqJR7Got+HHfsGsluBGEbj38l+0z2J6T6/5CZZCS0Prg+TpvU8smg6zjUGFbTVxChbp1IS3qNzePJcDaQWh/VB60tZ+s9Tu4vFNyFPD6FrsPs9vn8ZA1apkU0h8Pu1TSo1WrKLAUHi+RvLDk37IscvuaRmO6B9DSo1KUYIao/ReScPUd624VOJB+DtjeeUxJyXssiO8XAXFHBPMel/zdWZro2WjTgu2TvUDDk5aB2n8QDHtNX7gUb+rKhv0GZHJ7E+vJObBcqc9TYQY/osTVsKhb9/B2kI9a2gyc5KO+sjFtD38JrVne6KPTH07OQV4xNTYRTqt67VuhN3/OlSy0cd26IdF2G6yPjzRjem X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ca75d237-3c87-4f48-506f-08d8f8abed62 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2021 03:27:38.0323 (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: MntHvA8dd9x0XkXlFdUYwZZjtK0NGnwe1TKUKMRbqMgWGQmV9rH5HE/7FN7oTjUvRmzbTem9Y8RXMxvOE5XW3g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6715 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean From: Peng Fan Use binman to pack images Signed-off-by: Peng Fan --- arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi | 106 ++++++++++++++++++ arch/arm/mach-imx/imx8m/Kconfig | 1 + .../imx8mn_evk/imximage-8mn-ddr4.cfg | 10 ++ configs/imx8mn_ddr4_evk_defconfig | 4 +- 4 files changed, 119 insertions(+), 2 deletions(-) create mode 100644 board/freescale/imx8mn_evk/imximage-8mn-ddr4.cfg -- 2.30.0 diff --git a/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi b/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi index a0fd2a3098..1d3844437d 100644 --- a/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi +++ b/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi @@ -4,6 +4,10 @@ */ / { + binman: binman { + multiple-images; + }; + wdt-reboot { compatible = "wdt-reboot"; wdt = <&wdog1>; @@ -119,3 +123,105 @@ &wdog1 { u-boot,dm-spl; }; + +&binman { + u-boot-spl-ddr { + filename = "u-boot-spl-ddr.bin"; + pad-byte = <0xff>; + align-size = <4>; + align = <4>; + + u-boot-spl { + align-end = <4>; + }; + + blob_1: blob-ext@1 { + filename = "ddr4_imem_1d_201810.bin"; + size = <0x8000>; + }; + + blob_2: blob-ext@2 { + filename = "ddr4_dmem_1d_201810.bin"; + size = <0x4000>; + }; + + blob_3: blob-ext@3 { + filename = "ddr4_imem_2d_201810.bin"; + size = <0x8000>; + }; + + blob_4: blob-ext@4 { + filename = "ddr4_dmem_2d_201810.bin"; + size = <0x4000>; + }; + }; + + + flash { + mkimage { + args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000"; + + blob { + filename = "u-boot-spl-ddr.bin"; + }; + }; + }; + + itb { + filename = "u-boot.itb"; + + fit { + description = "Configuration to load ATF before U-Boot"; + #address-cells = <1>; + fit,external-offset = ; + + images { + uboot { + description = "U-Boot (64-bit)"; + type = "standalone"; + arch = "arm64"; + compression = "none"; + load = ; + + uboot_blob: blob-ext { + filename = "u-boot-nodtb.bin"; + }; + }; + + atf { + description = "ARM Trusted Firmware"; + type = "firmware"; + arch = "arm64"; + compression = "none"; + load = <0x960000>; + entry = <0x960000>; + + atf_blob: blob-ext { + filename = "bl31.bin"; + }; + }; + + fdt { + description = "NAME"; + type = "flat_dt"; + compression = "none"; + + uboot_fdt_blob: blob-ext { + filename = "u-boot.dtb"; + }; + }; + }; + + configurations { + default = "conf"; + + conf { + description = "NAME"; + firmware = "uboot"; + loadables = "atf"; + fdt = "fdt"; + }; + }; + }; + }; +}; diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig index d9a99e9ccb..be697bddfa 100644 --- a/arch/arm/mach-imx/imx8m/Kconfig +++ b/arch/arm/mach-imx/imx8m/Kconfig @@ -59,6 +59,7 @@ config TARGET_IMX8MN_EVK config TARGET_IMX8MN_DDR4_EVK bool "imx8mn DDR4 EVK board" + select BINMAN select IMX8MN select SUPPORT_SPL select IMX8M_DDR4 diff --git a/board/freescale/imx8mn_evk/imximage-8mn-ddr4.cfg b/board/freescale/imx8mn_evk/imximage-8mn-ddr4.cfg new file mode 100644 index 0000000000..22aec26da7 --- /dev/null +++ b/board/freescale/imx8mn_evk/imximage-8mn-ddr4.cfg @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2021 NXP + */ + +#define __ASSEMBLY__ + +ROM_VERSION v2 +BOOT_FROM sd +LOADER mkimage.flash.mkimage 0x912000 diff --git a/configs/imx8mn_ddr4_evk_defconfig b/configs/imx8mn_ddr4_evk_defconfig index f7ea65886d..7f020c9a7a 100644 --- a/configs/imx8mn_ddr4_evk_defconfig +++ b/configs/imx8mn_ddr4_evk_defconfig @@ -22,9 +22,9 @@ CONFIG_DEFAULT_DEVICE_TREE="imx8mn-ddr4-evk" CONFIG_FIT=y CONFIG_FIT_EXTERNAL_OFFSET=0x3000 CONFIG_SPL_LOAD_FIT=y -CONFIG_SPL_FIT_GENERATOR="arch/arm/mach-imx/mkimage_fit_atf.sh" +# CONFIG_USE_SPL_FIT_GENERATOR is not set CONFIG_OF_SYSTEM_SETUP=y -CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/imx8m/imximage-8mn-ddr4.cfg" +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/imx8mn_evk/imximage-8mn-ddr4.cfg" CONFIG_DEFAULT_FDT_FILE="imx8mn-ddr4-evk.dtb" CONFIG_BOARD_LATE_INIT=y CONFIG_SPL_BOARD_INIT=y