From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.analogue-micro.com (mail.analogue-micro.com [217.144.149.242]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A8485E014F1 for ; Sat, 15 Jun 2013 03:38:04 -0700 (PDT) Received: by mail.analogue-micro.com (Postfix, from userid 999) id 5925A68A01A; Sat, 15 Jun 2013 11:38:04 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on loki.analogue-micro-ltd.com X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.2 Received: from [192.168.12.145] (unknown [192.168.12.145]) by mail.analogue-micro.com (Postfix) with ESMTP id 43B5B68A019; Sat, 15 Jun 2013 11:38:03 +0100 (BST) Message-ID: <51BC440B.3060000@mlbassoc.com> Date: Sat, 15 Jun 2013 11:38:03 +0100 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org References: <51BA191B.90405@mlbassoc.com> <51BA1B5A.1070102@freescale.com> <51BACBB1.2050309@mlbassoc.com> <51BB0B29.80306@freescale.com> <51BC3FDD.5090706@mlbassoc.com> In-Reply-To: <51BC3FDD.5090706@mlbassoc.com> Subject: Re: Booting Yocto on i.MX35 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: Sat, 15 Jun 2013 10:38:06 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2013-06-15 11:20, Gary Thomas wrote: > On 2013-06-14 13:23, Daiane Angolini wrote: >> On 06/14/2013 04:52 AM, Gary Thomas wrote: >>> On 2013-06-13 20:19, Daiane Angolini wrote: >>>> On 06/13/2013 04:10 PM, Gary Thomas wrote: >>>>> I have an i.MX35 PDK that I'd like to run Yocto on. I've built >>>>> an SD card image using TARGET=imx35pdk. All went well (past the >>>>> small problem of the initial clone of the linux-mainline git >>>>> tree - timed out and I downloaded it by hand). However, when >>>>> I set the jumpers to boot from SD card, I get continuous errors: >>>>> ++NAND: RCSR=b000900 >>>>> Searching for BBT table in the flash ... >>>>> . >>>>> Found version 1 Bbt0 at block 8191 (0x7ffc0000) >>>>> Total bad blocks: 0 >>>>> ... Read from 0x07ec0000-0x07f00000 at 0x00080000: .. >>>>> ... Read from 0x07eb3000-0x07eb4000 at 0x000bf000: . >>>>> PMIC ID: 0x00000010 [Rev: 1.0] >>>>> Board version V2.0 >>>>> Launching POST >>>>> Fail, CMD13 >>>>> Fail, CMD13 >>>>> >>>>> I'll try another SD card when I can get access to one (I'm away >>>>> from my office now), but thought I would ask if I've missed something? >>>>> Can someone tell me _definitively_ how to set the jumpers for this mode >>>>> since the quick start guide and hardware guide don't match?? >>>> >>>> I don't like to rely on my memory. But I remember imx35pdk had a >>>> "different" way to set up the switch for internal boot/nand boot/atk >>>> boot/whatever. >>>> >>>> But, from your log, you're booting from NAND (no need to blame your >>>> sdcard) >>>> >>>> Try this one: >>>> https://community.freescale.com/docs/DOC-1307 >>> >>> Thanks, that's useful information. >>> >>> Sadly, when I follow those instructions, the board just sits there with >>> no sign of life. >>> >>> Any ideas what else I might try? >> >> The main problem is that the setup depends on your board version AND your debug board version. > > I got a bit farther along. The U-Boot that gets built by the Yocto setup is > configured to run from NOR FLASH. Once I got that programmed using the ATK tools, > I was able to get into U-Boot. > > I then tried to boot Linux over the network, using my SD card as the file system. > Sadly, this only got as far as uncompressing the kernel. I'll keep trying. Looking at the kernel that was built, it's no surprise that it doesn't boot! There is no i.MX35 PDK support in there at all, unless I've missed it. Too bad this didn't work "off the shelf". Maybe that target should be marked incomplete somehow so the next guy isn't bitten as badly as I have been. > >> >> I'm going to dig into my old documents. In case I find something useful I let you know. >> >> >>> >>>> >>>>> >>>>> Thanks for any pointers. >>>>> >>>>> n.b. I'm also interested if anyone out there has had success with >>>>> this setup :-) >>>> >>> >> >> > -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------