Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id CBB50E00B05; Mon, 27 Mar 2017 06:42:48 -0700 (PDT) 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.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [209.85.216.196 listed in list.dnswl.org] * 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source * [209.85.216.196 listed in dnsbl.sorbs.net] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-qt0-f196.google.com (mail-qt0-f196.google.com [209.85.216.196]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id DD176E00867 for ; Mon, 27 Mar 2017 06:42:47 -0700 (PDT) Received: by mail-qt0-f196.google.com with SMTP id r45so7579978qte.0 for ; Mon, 27 Mar 2017 06:42:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:organization; bh=j+nkhW4cpU1vQyclaHTTVElKIjKmycerxgLGxyZAQPw=; b=ij4UJ0VCUOIUZiYEWxvp1dZuJ1VtklKBU99UE6XX7RdWoD1udbQBAkob6+kWctE4Bb xmHXV9ECs6GGDBdD53EyeeE5EOpo++lNnMnKXjCKwyperk8NOGD0Ko9CcnIyUNoEiqdK T8FYw7kaOPWRvO84Yj3m0lJrqDJhQQZKYcYzcRflozK+ky6pZMrqPMjhVFEU0V8HFEVS BfLQ/DIebmYq0Qk1y3c5CSoRr0xPM6Q2ELkd3lru5zpMgf82VFoPyHQQoRkiZKrRglVV 4EmaTV+tSjQQAgjXxEmBsn25qiGx02TKDbhG5ieSFlgO1HsXeMsZ9qjGFOw/3igsFpKt EHWA== X-Gm-Message-State: AFeK/H25lJ/6QClWIoDTsTS1r5ftQLJDGPInYvvmfaFXlTjIXIe1n/fe3NjCDTRoT1ARcA== X-Received: by 10.200.50.231 with SMTP id a36mr22661990qtb.156.1490622167143; Mon, 27 Mar 2017 06:42:47 -0700 (PDT) Received: from localhost ([189.114.111.135]) by smtp.gmail.com with ESMTPSA id d23sm376609qta.32.2017.03.27.06.42.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Mar 2017 06:42:46 -0700 (PDT) Received: by localhost (sSMTP sendmail emulation); Mon, 27 Mar 2017 10:42:41 -0300 From: Otavio Salvador To: meta-freescale Mailing List Date: Mon, 27 Mar 2017 10:42:13 -0300 Message-Id: <20170327134213.11830-5-otavio@ossystems.com.br> X-Mailer: git-send-email 2.12.1 In-Reply-To: <20170327134213.11830-1-otavio@ossystems.com.br> References: <20170327134213.11830-1-otavio@ossystems.com.br> Organization: O.S. Systems Software LTDA. Cc: Otavio Salvador Subject: [3rdparty PATCH v2 4/4] u-boot-script-boundary: Minor change for Linux mainline use 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: Mon, 27 Mar 2017 13:42:48 -0000 To allow an out of box experience, the bootscript of Linux mainline requires minor changes. Those were done as a patch so can be easily removed when Boundary Devices updates it. Signed-off-by: Otavio Salvador --- Changes in v2: None ...e-Allow-out-of-box-use-with-Yocto-Project.patch | 38 ++++++++++++++++++++++ recipes-bsp/u-boot/u-boot-script-boundary_git.bb | 3 +- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 recipes-bsp/u-boot/u-boot-script-boundary/mainline-Allow-out-of-box-use-with-Yocto-Project.patch diff --git a/recipes-bsp/u-boot/u-boot-script-boundary/mainline-Allow-out-of-box-use-with-Yocto-Project.patch b/recipes-bsp/u-boot/u-boot-script-boundary/mainline-Allow-out-of-box-use-with-Yocto-Project.patch new file mode 100644 index 0000000..8c9709c --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-script-boundary/mainline-Allow-out-of-box-use-with-Yocto-Project.patch @@ -0,0 +1,38 @@ +From 248f84cbdb5b9ffd0f0f2f91f11edb458ef6948d Mon Sep 17 00:00:00 2001 +From: Otavio Salvador +Date: Sat, 25 Mar 2017 10:25:00 -0300 +Subject: [PATCH] mainline: Allow out of box use with Yocto Project +Organization: O.S. Systems Software LTDA. + +Signed-off-by: Otavio Salvador +--- + board/boundary/nitrogen6x/6x_bootscript-mainline.txt | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/board/boundary/nitrogen6x/6x_bootscript-mainline.txt b/board/boundary/nitrogen6x/6x_bootscript-mainline.txt +index 35cb4cdbcd4..6ff523056a3 100644 +--- a/board/boundary/nitrogen6x/6x_bootscript-mainline.txt ++++ b/board/boundary/nitrogen6x/6x_bootscript-mainline.txt +@@ -47,8 +47,8 @@ if load ${dtype} ${disk}:1 ${a_script} uEnv.txt ; then + env import -t ${a_script} ${filesize} + fi + +-if itest.s x == x${bootdir} ; then +- bootdir=/boot/ ++if itest.s x == "x${bootdir}" ; then ++ bootdir=/ + fi + + if load ${dtype} ${disk}:${bootpart} ${a_fdt} ${bootdir}${dtbname} ; then +@@ -108,7 +108,7 @@ if itest.s "x" == "x${root}"; then + if test "sata" = "${dtype}" || test "usb" = "${dtype}" ; then + root=/dev/sda${bootpart} + else +- root=/dev/mmcblk${disk}p${bootpart} ++ root=/dev/mmcblk1p2 + fi + fi + +-- +2.12.1 + diff --git a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb index d3ba7a8..5de4c71 100644 --- a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb +++ b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb @@ -6,7 +6,8 @@ PV = "v2016.03+git${SRCPV}" SRCREV = "d4aa4cce1f7fbd5df8e2cac72996826a8a096dac" SRCBRANCH = "boundary-v2016.03" -SRC_URI = "git://github.com/boundarydevices/u-boot-imx6.git;branch=${SRCBRANCH}" +SRC_URI = "git://github.com/boundarydevices/u-boot-imx6.git;branch=${SRCBRANCH} \ + file://mainline-Allow-out-of-box-use-with-Yocto-Project.patch" S = "${WORKDIR}/git" -- 2.12.1