From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 5C4FDE005B9; Wed, 20 May 2015 08:04:11 -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.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (picmaster[at]mail.bg) * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [193.201.172.118 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mx2.mail.bg (mx2.mail.bg [193.201.172.118]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 0005AE0027F for ; Wed, 20 May 2015 08:04:08 -0700 (PDT) Received: from [192.168.0.62] (unknown [93.152.143.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx2.mail.bg (Postfix) with ESMTPSA id 487186000FD5; Wed, 20 May 2015 18:04:06 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mail.bg; s=default; t=1432134246; bh=TksM5h8DKC+NvlujAXj0kzE1nMWs3Z+4bMtfT8RN2Uo=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=jz0JNd1S2wT44n7QPKRwivRMboCP/Mytw3aog9RCYD1/cYOY4MWeSzUfDVOjNdLRU PIR4TvUw2joV5oduCg0IMD14FiclTBL26MePBRmCFBoUA4JQ/qW6megoK2ShH8ek/q i+wp9tpOjysEbHrJqBwIaxhwxkWU5ICKP6SA5u7o= Message-ID: <555CA265.8070803@mail.bg> Date: Wed, 20 May 2015 18:04:05 +0300 From: Nikolay Dimitrov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 MIME-Version: 1.0 To: Leon Woestenberg References: <43F0718C449F6A46B393DA2BEC8E01280C8179AD@post> <43F0718C449F6A46B393DA2BEC8E01280C818643@post> In-Reply-To: <43F0718C449F6A46B393DA2BEC8E01280C818643@post> Cc: "meta-freescale@yoctoproject.org" Subject: Re: linux-congatec (fido) silent after Starting kernel ... 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: Wed, 20 May 2015 15:04:11 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Hi Leon, On 05/20/2015 05:43 PM, Peter Bergin wrote: > Hi Leon, > > On 05/20/2015 04:28 PM, Leon Woestenberg wrote: >> Hi Peter, Nikolay. >> >> On Tue, May 19, 2015 at 9:44 PM, Peter Bergin >> > wrote: >> >> Hi Leon, >> >> Could you check the version of your u-boot on the target? Probably >> you have 2009.x or something that doesn't have support for DTB. In >> that case you must upgrade your u-boot to 2013.xx in order to boot >> kernel with device-tree. >> >> Regards, /Peter >> >> >> Peter, indeed: U-Boot 2009.08-00671-g5e573f0 QMX6Rx07 pn016103 >> (Jan 15 2014 - 14:19:05) >> >> Wow. It would have taken me ages to consider the boot loader >> didn't support device tree yet. >> >> Thanks Nikolay for confirming a DTB is needed. In fact my boot log >> in my email did copy the DTB, but it's hidden at the top just >> before loading the kernel. >> >> I have put the .sdcard image on a uSD card for the module SD slot >> (not the carrier board SD slot). I think the Congatec always loads >> from SPI NOR first (where the old u-boot lives). >> >> Peter, what did you do to boot the u-boot from uSD card? >> >> Regards, >> >> Leon. >> >> >> >> Thanks, -- Leon > > > correct that i.Mx6 boot from SPI NOR flash where u-boot is located. > > On my board I am using u-boot-congatec 2013.04. I prepared a uSD > card for the module slot with one partition including both kernel > and rootfs. Make sure that your image have kernel and dtb files > installed or you have to add them manually. > > If I remember correct Congatec u-boot parameters assumes that you > have one partition with kernel and rootfs. I don't know if the > .sdcard image is prepared that way, it could be two partitions one > for kernel and one for rootfs, like other reference targets like > Nitrogen6. Either you have to change u-boot environment or prepare a > sd card from the tar-file instead. > > Another thing to verify in the u-boot console is that the u-boot > parameters fdt_file and uImage is pointing to the correct location > for those files. If the board boots from SPI NOR, this means that the chip OTP FUSES are already programmed to do so. Your options to change the boot loader are: 1. Check whether your u-boot version has the "bmode" command and try to use it to boot from sd-card (not sure how well this worked on earlier u-boot versions though); 2. You can upload the newer u-boot in board's RAM via network, usb-storage, or even serial console, and then you can erase the SPI flash and program the newer u-boot. 3. If you have boot-mode micro switches on your board, you can change boot mode to USB OTG, build newer u-boot and force the board to boot from USB, by using this Linux tool (https://github.com/boundarydevices/imx_usb_loader), or Freescale's Windows MFGtool. If #3 is not available and this is a development board, you should change your development board... :D. Regards, Nikolay PS: When writing u-boot.imx on a new sd-card or on-board SPI NOR, don't forget to use 1k offset from the memory start, otherwise the imx6 won't boot.