[meta-freescale] Booting Yocto on i.MX35

Otavio Salvador otavio at ossystems.com.br
Sat Jun 15 06:24:26 PDT 2013


On Sat, Jun 15, 2013 at 7:38 AM, Gary Thomas <gary at mlbassoc.com> wrote:

> 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<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.


Agreed; or we can work together and fix it ;-)

Maybe you could prepare a patch for fix it?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20130615/c9362bf3/attachment.html>


More information about the meta-freescale mailing list