From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id AC875E00C1B; Tue, 6 Nov 2018 07:22:13 -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.250.6 listed in list.dnswl.org] Received: from mail1.bemta24.messagelabs.com (mail1.bemta24.messagelabs.com [67.219.250.6]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2CD98E00C37 for ; Tue, 6 Nov 2018 07:22:10 -0800 (PST) Received: from [67.219.250.101] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-6.bemta.az-a.us-west-2.aws.symcld.net id FE/99-05264-A8EA1EB5; Tue, 06 Nov 2018 15:08:58 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrLIsWRWlGSWpSXmKPExsXi5LtOQLdr3cN ogz1/WS32Ps9yYPRoP9HHFsAYxZqZl5RfkcCaMbPxLlPBFuGKX8fPszUw/hDoYuTiEBJYxShx YvMVZghnC6PE5nP9TF2MnBxsAjoSU/YfZgGxRQRUJa5ffsgOYjMLyEicvj+LEcQWFsiVWH/hP pjNIqAisfVgF1gvr4CbxK63H8DiEgJyEjfPdQIt4ODgFHCXWH3aFSQsBFTS9fQpM0S5oMTJmU 9YIMZLSBx88YIZokZZYsuKC1BjFCTWHjjPNIGRfxaSlllIWhYwMq1itEgqykzPKMlNzMzRNTQ w0DU0NNI1NLLUNTIx1kus0k3UKy3WLU8tLtE10kssL9YrrsxNzknRy0st2cQIDMaUgsbPOxhP dqUfYpTkYFIS5U1f9jBaiC8pP6UyI7E4I76oNCe1+BCjDAeHkgTvnLVAOcGi1PTUirTMHGBcw KQlOHiURHj3gqR5iwsSc4sz0yFSpxgVpcR5F4IkBEASGaV5cG2wWLzEKCslzMvIwMAgxFOQWp SbWYIq/4pRnINRSZj3CMgUnsy8Erjpr4AWMwEtvif7AGRxSSJCSqqBcYWWyC0nI27LA/4LJnT 8fXO22flkwgZ+zzdlb6V0PzpPfc58xFD616Fil06/Pr3196ocJvzTs7bYnBEqx5N85drVALuV nFofs42lLG8fP+K7l2HmofqziVMTL5vynwxc/9ryXNGbGyU7U8RlVrzb9by4bYb1Eu/fnxk/m XKL6W7O8vqdPe3HISWW4oxEQy3mouJEADt80pPAAgAA X-Env-Sender: Alex.Gonzalez@digi.com X-Msg-Ref: server-13.tower-325.messagelabs.com!1541516936!2185419!2 X-Originating-IP: [66.77.174.16] X-SYMC-ESS-Client-Auth: outbound-route-from=pass X-StarScan-Received: X-StarScan-Version: 9.14.24; banners=-,-,- X-VirusChecked: Checked Received: (qmail 5517 invoked from network); 6 Nov 2018 15:08:57 -0000 Received: from owa.digi.com (HELO MCL-VMS-XCH01.digi.com) (66.77.174.16) by server-13.tower-325.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 6 Nov 2018 15:08:57 -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; Tue, 6 Nov 2018 09:08:56 -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; Tue, 6 Nov 2018 09:08:55 -0600 From: Alex Gonzalez To: Date: Tue, 6 Nov 2018 16:08:39 +0100 Message-ID: <1541516922-22117-3-git-send-email-alex.gonzalez@digi.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1541516922-22117-1-git-send-email-alex.gonzalez@digi.com> References: <1541516922-22117-1-git-send-email-alex.gonzalez@digi.com> MIME-Version: 1.0 X-Originating-IP: [10.101.2.214] Subject: [3rdparty][PATCH 2/5] u-boot-digi: Add Digi U-Boot for ConnectCore System-On-Modules 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: Tue, 06 Nov 2018 15:22:13 -0000 Content-Type: text/plain This vendor U-Boot is based on v2017.03 and currently supports two ConnectCore 6UL memory variants, 256MB and 1GB. To program this U-Boot from a running TFTP server type the following at the U-Boot prompt: env set ipaddr env set serverip update linux tftp Where filename is: * u-boot.imx-ccimx6ulstarter - for 256MB variants * u-boot.imx-ccimx6ulstarter1GB - for 1GB variants Signed-off-by: Alex Gonzalez --- .../u-boot/u-boot-digi/ccimx6ul/bootscript.txt | 7 ++++ recipes-bsp/u-boot/u-boot-digi_2017.03.bb | 40 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 recipes-bsp/u-boot/u-boot-digi/ccimx6ul/bootscript.txt create mode 100644 recipes-bsp/u-boot/u-boot-digi_2017.03.bb diff --git a/recipes-bsp/u-boot/u-boot-digi/ccimx6ul/bootscript.txt b/recipes-bsp/u-boot/u-boot-digi/ccimx6ul/bootscript.txt new file mode 100644 index 000000000000..06b42bedcf9a --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-digi/ccimx6ul/bootscript.txt @@ -0,0 +1,7 @@ +# +# U-Boot bootscript for NAND images created by Yocto. +# + +setenv fdt_file imx6ul-ccimx6ulsbcexpress.dtb +setenv zimage zImage-ccimx6ulsbcexpress.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 new file mode 100644 index 000000000000..f73c2e306721 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-digi_2017.03.bb @@ -0,0 +1,40 @@ +# Copyright (C) 2018 Digi International +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "Bootloader for Digi platforms" +SECTION = "bootloaders" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" + +require recipes-bsp/u-boot/u-boot.inc + +DEPENDS = "u-boot-mkimage-native" + +PROVIDES += "u-boot" + +SRCBRANCH = "v2017.03/maint" +SRCREV = "${AUTOREV}" + +SRC_URI = "\ + git://github.com/digi-embedded/u-boot.git;protocol=git;branch=${SRCBRANCH} \ + file://bootscript.txt \ +" + +LOCALVERSION ?= "-${SRCBRANCH}" + +S = "${WORKDIR}/git" + +inherit dtc-145 fsl-u-boot-localversion + +UBOOT_ENV = "boot" +UBOOT_ENV_SUFFIX = "scr" + +do_compile_append () { + 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} +} + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +COMPATIBLE_MACHINE = "(ccimx6ul)"