Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 7A83EE00B81; Thu, 21 Feb 2019 07:37:48 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [67.219.246.214 listed in list.dnswl.org] X-Greylist: delayed 793 seconds by postgrey-1.32 at yocto-www; Thu, 21 Feb 2019 07:37:47 PST Received: from mail1.bemta23.messagelabs.com (mail1.bemta23.messagelabs.com [67.219.246.214]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 37534E00994 for ; Thu, 21 Feb 2019 07:37:46 -0800 (PST) Received: from [67.219.246.197] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-2.bemta.az-c.us-east-1.aws.symcld.net id A9/55-27891-CB2CE6C5; Thu, 21 Feb 2019 15:24:44 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrFIsWRWlGSWpSXmKPExsXi5LtOQHfPobw YgxkfxC32Ps9yYPRoP9HHFsAYxZqZl5RfkcCase7THNaCo9wVR09FNTB2c3UxcnEICaxmlDg+ 4wILhLOVUWLe/oWsXYycHGwCOhJT9h9mAbFFBFQlrl9+yA5iMwvISJy+P4uxi5GDQ1ggSGLms wKQMAtQyacNm5hBbF4BN4kdN76A2RICchI3z3WC2ZwC7hIr161nBLGFgGo+989ihKgXlDg58w kLxHgJiYMvXjBD1ChLbFlxgRFijoLE2gPnmSYw8s9C0jILScsCRqZVjGZJRZnpGSW5iZk5uoY GBrqGhka65kCWpV5ilW6yXmmxbmpicYmuoV5iebFecWVuck6KXl5qySZGYBimFLDn7mA8tTT9 EKMkB5OSKO/rg3kxQnxJ+SmVGYnFGfFFpTmpxYcYZTg4lCR4pYBhLSRYlJqeWpGWmQOMCJi0B AePkgivKEiat7ggMbc4Mx0idYpRUUqctxBkpgBIIqM0D64NFoWXGGWlhHkZGRgYhHgKUotyM0 tQ5V8xinMwKgnzSoOM58nMK4Gb/gpoMRPQ4ln/s0EWlyQipKQaGKd7Jb//csT/ymbnCw1RJau yGiWrvxoJr4lbLWDGrq0Xo/owWPsUp1P+0amX+rzZdQQWSwqkTL4R5BZ2uHSix6mO8NPcq57L H/IU53KUFpf9XOSbdcL901bLPb/W5f/oY177d42jYXIke058t0Nn60d7m58cLEfOxJZ83/x9+ ozV7/l446NuKLEUZyQaajEXFScCAJDJwxK9AgAA X-Env-Sender: Alex.Gonzalez@digi.com X-Msg-Ref: server-18.tower-405.messagelabs.com!1550762683!2836100!1 X-Originating-IP: [66.77.174.16] X-SYMC-ESS-Client-Auth: outbound-route-from=pass X-StarScan-Received: X-StarScan-Version: 9.31.5; banners=-,-,- X-VirusChecked: Checked Received: (qmail 11547 invoked from network); 21 Feb 2019 15:24:44 -0000 Received: from owa.digi.com (HELO MCL-VMS-XCH01.digi.com) (66.77.174.16) by server-18.tower-405.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 21 Feb 2019 15:24:44 -0000 Received: from MTK-SMS-XCH01.digi.com (10.10.8.195) by MCL-VMS-XCH01.digi.com (10.5.8.49) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 21 Feb 2019 09:24:43 -0600 Received: from log-linux-hp-agonzal.digi.com (10.101.2.214) by MTK-SMS-XCH01.digi.com (10.10.8.195) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 21 Feb 2019 09:24:42 -0600 From: Alex Gonzalez To: Date: Thu, 21 Feb 2019 16:24:23 +0100 Message-ID: <1550762666-17995-4-git-send-email-alex.gonzalez@digi.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1550762666-17995-1-git-send-email-alex.gonzalez@digi.com> References: <1550762666-17995-1-git-send-email-alex.gonzalez@digi.com> MIME-Version: 1.0 X-Originating-IP: [10.101.2.214] Subject: [3rdparty][PATCH 3/6] u-boot-digi: Generalize boot script X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2019 15:37:48 -0000 Content-Type: text/plain Generalize the boot script used to boot Linux so that it can be shared by multiple ConnectCore 6UL SOM based boards. Signed-off-by: Alex Gonzalez --- recipes-bsp/u-boot/u-boot-digi/ccimx6ul/bootscript.txt | 4 ++-- recipes-bsp/u-boot/u-boot-digi_2017.03.bb | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/u-boot/u-boot-digi/ccimx6ul/bootscript.txt b/recipes-bsp/u-boot/u-boot-digi/ccimx6ul/bootscript.txt index 06b42bedcf9a..8f2614d9ed7c 100644 --- a/recipes-bsp/u-boot/u-boot-digi/ccimx6ul/bootscript.txt +++ b/recipes-bsp/u-boot/u-boot-digi/ccimx6ul/bootscript.txt @@ -2,6 +2,6 @@ # U-Boot bootscript for NAND images created by Yocto. # -setenv fdt_file imx6ul-ccimx6ulsbcexpress.dtb -setenv zimage zImage-ccimx6ulsbcexpress.bin +setenv fdt_file imx6ul-${platform}.dtb +setenv zimage zImage-${platform}.bin dboot linux nand ${mtdbootpart} diff --git a/recipes-bsp/u-boot/u-boot-digi_2017.03.bb b/recipes-bsp/u-boot/u-boot-digi_2017.03.bb index aa7757276fdd..e5f9b9fdb4b6 100644 --- a/recipes-bsp/u-boot/u-boot-digi_2017.03.bb +++ b/recipes-bsp/u-boot/u-boot-digi_2017.03.bb @@ -30,6 +30,7 @@ UBOOT_ENV = "boot" UBOOT_ENV_SUFFIX = "scr" do_compile_append () { + sed -i -e 's/\${platform}/${MACHINE}/g' ${WORKDIR}/bootscript.txt uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ -n "boot script" -d ${WORKDIR}/bootscript.txt \ ${WORKDIR}/${UBOOT_ENV_BINARY}