From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 3C32DE00790; Thu, 9 Oct 2014 17:08:10 -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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW 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.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.192.178 listed in list.dnswl.org] Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 08943E00769 for ; Thu, 9 Oct 2014 17:08:07 -0700 (PDT) Received: by mail-pd0-f178.google.com with SMTP id y10so594282pdj.37 for ; Thu, 09 Oct 2014 17:08:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:content-type:content-transfer-encoding; bh=rft7ThHGwBKNwo9z+kb9s/kWW4F4ujn5yy7GxsHy+Jo=; b=e8BR7QCZyyY2xK5YVhFhEAEJ7/HmVXKcmretfYRJYv6KL2iJgKH2G6wcMm48jR2HQy R61YOme1ZKXa0z/B1youq3i79OTTxo67zHnbI4dA3ujHT/hC0qu05ji70ws9KxqVBBiQ tqWXWeteAZckNvhzsHABvwas0mdGBEpys2ANtmgulwAn5V2Oe7ttlr2gG2tU9uUC/qiR q9FjBcTWOyiCDPpCY2pbxWnW85O5pNaTOaSYx4al/uXmaKqPEjY3tw5/bi84LJa4XdKG 95aGwOdgr6aSE+HanVHzQ/pmGEJwqUFwgApIfamJLAoGbTBHVVqW1ucnGjby8dM/UvaH uLaA== X-Gm-Message-State: ALoCoQka5zuXiFxQqWkS5c5EOJbQdYNunLJOS5maztnwmvM2s56dU2mODUFAFEFRNtDCMv3OplrG X-Received: by 10.67.29.227 with SMTP id jz3mr1348237pad.62.1412899296859; Thu, 09 Oct 2014 17:01:36 -0700 (PDT) Received: from [29.6.1.8] (75-172-191-34.phnx.qwest.net. [75.172.191.34]) by mx.google.com with ESMTPSA id fk10sm1679859pab.29.2014.10.09.17.01.06 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Oct 2014 17:01:10 -0700 (PDT) Message-ID: <543721BA.9080804@boundarydevices.com> Date: Thu, 09 Oct 2014 17:00:58 -0700 From: Eric Nelson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: "meta-freescale@yoctoproject.org" Cc: Troy Subject: Kernel 3.10.31 and SD card numbering and boot scripts 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: Fri, 10 Oct 2014 00:08:10 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Hi all, The 3.10.31 kernel contains a nifty bit of code from Sascha Hauer that addresses the question of SD card numbering (device naming) quite well: http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/commit/drivers/mmc/card/block.c?h=imx_3.10.31_1.1.0_beta&id=5f9447e5d97060207c4742d5a06e5548de45972d https://www.mail-archive.com/linux-mmc@vger.kernel.org/msg26472.html Unfortunately, it also changes the requirements for the kernel command-line and breaks our boot scripts. This is probably a good time to ask a related question about where we're keeping boot scripts. We have been compiling boot scripts out of our U-Boot tree from a Yocto-specific "6x_bootscript-yocto.txt" that implements the conventions of the Freescale Community BSP (kernel in the root of partition 1 and rootfs in partition 2). Since boot scripts have dependencies on a lot of things, it's not clear to me that they belong in the U-Boot source tree and that a Yocto-specific boot script really belongs directly in the Yocto tree somewhere. Since a Yocto build knows about the PREFERRED_VERSION of the kernel, it would be straightforward to have multiple versions of a boot script. Otherwise, we'd need to place a couple of versions in the U-Boot tree: 6x_bootscript-yocto.txt 6x_bootscript-yocto-after-3.10.17.txt and we'd also need some logic in u-boot-script-boundary.bb to choose between them. Before crafting a patch to do this, I'd like to get some feedback. Regards, Eric