From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f49.google.com (mail-pb0-f49.google.com [209.85.160.49]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 71708E0083B for ; Thu, 20 Feb 2014 06:22:28 -0800 (PST) Received: by mail-pb0-f49.google.com with SMTP id up15so1948620pbc.8 for ; Thu, 20 Feb 2014 06:22:28 -0800 (PST) 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:references:in-reply-to:content-type :content-transfer-encoding; bh=laf6OyAp7rKqhrBnSk3/4Na0xy1qnTS0Txk1vE8Nt24=; b=C9sAr7Ej4t8IAD/3I3ptExTlqXl61LvrpOdcjrsQkLN1nGt2wWo05n/LCJ92O4VsbK B5dvh0JqCo7q/ChDeP9OwoE3sdZXT2iPyNFQg/EeOYBC6n+18OCf8OQY5SeE88bjo1UN 8eWhuGZC9ciQ8Ioh7dUK2UZ/S9CTf0yiBRKJcNOKeQXI7vZwZCUHrsHB9SA4esFAWUPG N7KEPZSpZwuAvwFdFRgJ4T6pZ8Hn/T1nzTkpYNQH0RMQT6AtBQjSX4IeTBF51PS5VOEY 2muCFWNHykRX7jgD4cXZ4vOThHFcjnAShT9klDpjIPrMxb4iGidWPk3k/zxsYc7DIB0X AEZA== X-Gm-Message-State: ALoCoQlDx7D2fs+DA/XEv/2MlU5mz+PBTMZGjL8fwMsTs2RddqDf9sNoQIfdNT+9bU9tY6ECifiC X-Received: by 10.66.4.130 with SMTP id k2mr2228179pak.97.1392906148206; Thu, 20 Feb 2014 06:22:28 -0800 (PST) Received: from [192.168.1.8] (ip98-167-230-131.ph.ph.cox.net. [98.167.230.131]) by mx.google.com with ESMTPSA id vn10sm11692979pbc.21.2014.02.20.06.22.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Feb 2014 06:22:27 -0800 (PST) Message-ID: <53060FA0.1070705@boundarydevices.com> Date: Thu, 20 Feb 2014 07:22:24 -0700 From: Eric Nelson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Baodong Chen References: <53055330.9010807@boundarydevices.com> In-Reply-To: Cc: "meta-freescale@yoctoproject.org" Subject: Re: SabreLite can not boot from SD card 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, 20 Feb 2014 14:22:29 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Baodong, On 02/19/2014 09:41 PM, Baodong Chen wrote: > Hi Eric: > Thanks for your reply. Please don't top-post! > All i want is to have a sdcard image which contains u-boot, kernel and > rootfs all in it. And you get that with the stock image produced by Dora. > I have written SD loader to NOR flash already. > > So after bitbake, using the following two commands seems work for me, > the u-boot is loaded by SD loader from NOR flash and kernel is loaded by > u-boot. > dd if=fsl-image-gui-nitrogen6x.sdcard of=/dev/sdb > dd if=u-boot.imx of=/dev/sdb bs=512 seek=2 > > Am i right? or am i misunderstaning something? > Okay, here's where I drop out. The SABRE Lite and all Boundary Devices boards boot to SPI-NOR. If you're re-programming them with the SPI-to-SD-Loader, you're explicitly stating that you know what you're doing. If you're over-riding that, you're probably either testing or preparing for a custom design, and you **will** need to understand how the image creation step in Yocto works. All of the Freescale boards are already configured to do this, so I'd recommend that you look at how that's done. Perhaps others on this list can offer guidance. If you get lost in the details, you can also just write a post-installation script to create your SD card using the parts provided in tmp/deploy/images/ instead of simply using dd. Regards, Eric