From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id AEB8FE00748; Wed, 28 Oct 2015 15:02:18 -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.9 required=5.0 tests=BAYES_00 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] Received: from mail.chez-thomas.org (mail.mlbassoc.com [65.100.170.105]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 83F78E0059B for ; Wed, 28 Oct 2015 15:02:15 -0700 (PDT) Received: by mail.chez-thomas.org (Postfix, from userid 1998) id 11C9DF811DE; Wed, 28 Oct 2015 16:02:13 -0600 (MDT) Received: from [192.168.1.114] (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id 87253F811DE; Wed, 28 Oct 2015 16:02:13 -0600 (MDT) To: meta-freescale@yoctoproject.org References: From: Gary Thomas Message-ID: <56314626.2090805@mlbassoc.com> Date: Wed, 28 Oct 2015 16:03:18 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Subject: Re: Booting fido on sabrelite through u-boot 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, 28 Oct 2015 22:02:18 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit On 2015-10-28 14:51, Maciej Tucholski wrote: > Hi > > I’m using a sabrelite board (https://boundarydevices.com/product/sabre-lite-imx6-sbc/) > > I used it in the past for QNX and linux, this time I am trying to get yocto 1.8 (aka fido) running on it. > > I was able to get fido to build on an Ubuntu machine, and I have the images, rootfs .dtb etc etc, however > > I am not able to boot the kernel on the board. > > I made several different attempts via SD card, and TFTP > > What I was able to find out is that in order to boot using an SD card, the u-boot stored in SPI needs to be tweaked like so: > > mw.l 0x020d8040 0x3040 && mw.l 0x020d8044 0x10000000 > > reset > > or replaced with SPI to SD loader (https://wiki.linaro.org/Boards/MX6QSabreLite) > > However no luck with either approach. > > Currently I am xfering the fido zImage via tftp, and I am trying to get the bootz command to load it, but it hangs up on “Starting kernel ...” > > I am not sure if I didn’t build this right, or what exactly is going on, but I’m stuck and can’t figure this out. > > If I could get the kernel to build, then perhaps I can use the SD card, or nfs for the rootfs. > > Apologizes for any missing information, I’m new to this scene, but I worked with the board and u-boot quite a bit Most likely, the reason it hangs is because of missing bits. Did you load the appropriate DTB image? Did you set the boot params? Both of these are normally set via a script loaded from the SD card and executed as part of the boot process. It's not clear to me why you can't just boot from the SD card? -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------