From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f176.google.com (mail-pd0-f176.google.com [209.85.192.176]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 34309E00803 for ; Wed, 19 Feb 2014 16:58:28 -0800 (PST) Received: by mail-pd0-f176.google.com with SMTP id w10so1090255pde.35 for ; Wed, 19 Feb 2014 16:58: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 :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=RRCLj/FgobA/GJkjEAVh0tOdafQhEsgaPQIbUAncwEo=; b=MnGFiI6dJoDuSOIdWMFsHpGE7UxwsTqHZx36d2UbfAYKIx7LQ/YzsnVAXgmZPyRBUc WInqRVC2puEoF6TqvwHao7BJ7ArBQeGU61SiBAOvas6pULhtFVCQu6+Hk6k7i+HCieYI T7RJGHbIxQpZwpqan5lY3ilUTwnSfRREGEQo7hdpcCKVAP+iRyzbj/7uy6REZL1iRBm0 tZogZGiLGT5DTkG4eFANQuW9DVTi205bNoacLwRks10mYaH2Og1er1xuDQullzt7XJ8u HeS4i5wUdtikm47DamDyeMESykTOTkODvDI3sJbEbIss8Jvff65ZY8wcKVCZtp+LmhT6 EvKg== X-Gm-Message-State: ALoCoQl+Cn5CsFHzhB2sSJGKzKaz4EGRh8lT27CMb34xfKJduocRt89/PGuapPQa87qDFPHoVqlv X-Received: by 10.66.138.40 with SMTP id qn8mr5661831pab.154.1392857908612; Wed, 19 Feb 2014 16:58:28 -0800 (PST) Received: from [192.168.0.53] ([63.226.49.26]) by mx.google.com with ESMTPSA id x5sm4756965pbw.26.2014.02.19.16.58.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Feb 2014 16:58:27 -0800 (PST) Message-ID: <53055330.9010807@boundarydevices.com> Date: Wed, 19 Feb 2014 17:58: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 , "meta-freescale@yoctoproject.org" References: In-Reply-To: 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 00:58:30 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Baodong, On 02/19/2014 05:36 PM, Baodong Chen wrote: > Hi guys: > I am using dora branch and MACHINE = "nitrogen6x" for my my SabreLite > board, the build is ok. after that, i follow this link: > https://wiki.linaro.org/Boards/MX6QSabreLite > to write the SD loader to NOR flash. > > and i "dd if=fsl-image-gui-nitrogen6x.sdcard of=/dev/sdb" to write the > image to sdcard and insert the sdcard to SD Slot(not micro SD slot), but > can not boot. > nothing output from debug serial. > > if i "dd if=u-boot.imx of=/dev/sdb bs=512 seek=2" and i can see the > u-boot message from debug serial, but the kernel can not loaded. > > does fsl-image-gui-nitrogen6x.sdcard contains u-boot.imx in it? > Since SABRE Lite and Nitrogen6x boot to SPI-NOR, you don't need to do anything weird here. You can just dd the fsl-image-gui-nitrogen6x.sdcard image to the entire SD card. It should absolutely come up with a partition table, although the size of partition 2 may be a bit small (it's very conservative). You can double-check using fdisk immediately after running the dd command if you use "partprobe" to force a re-read of the partition table: ~/$ sudo dd if=fsl-image-gui-nitrogen6x.sdcard ... ~/$ sync && sudo partprobe ~/$ sudo fdisk /dev/sdx The u-boot.imx file is installed as a part of the build process, but it's placed into a FAT filesystem in partition 1, along with an upgrade script named 6x_upgrade that you can use to copy it to SPI-NOR if you feel the need. In general, we suggest that customers only upgrade U-Boot when there's some new feature (like upcoming USB OTG support). Regards, Eric