From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 03CFBE009BE; Thu, 23 Apr 2015 07:43:47 -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.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [193.201.172.118 listed in list.dnswl.org] * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (picmaster[at]mail.bg) * -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 4715EE009B8 for ; Thu, 23 Apr 2015 07:43:41 -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 C9AB460005BD; Thu, 23 Apr 2015 17:43:39 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mail.bg; s=default; t=1429800219; bh=rsbDQ78nUluMTKcxPCYLD3kXGxMkiE8aKrU9qw6pmlA=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=hYtU3xuC2IhaIyC6SlcKDB3WMy8grPk9XLUW+OB7tfLI7rln1frieHvgJNW2+pK+Q naIPx6NGlnwm8crqATZ8mbTstCsnLitW+O1WaJEQCSr9sV+C+anQmXVmTpxJ371ZL/ YcbPEgANumlJGnkAmUqkVXezvalEfxoKrzrZq+lg= Message-ID: <5539051B.3030605@mail.bg> Date: Thu, 23 Apr 2015 17:43:39 +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: Otavio Salvador , Daiane Angolini References: <553814A4.5070000@mlbassoc.com> <55383A59.805@mail.bg> <55383B42.3010800@mail.bg> <5538E651.4030702@mail.bg> In-Reply-To: Cc: "meta-freescale@yoctoproject.org" Subject: Re: [meta-fsl-arm-extra] Booting RIoTboard 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, 23 Apr 2015 14:43:47 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi Daiane, Otavio, On 04/23/2015 03:50 PM, Otavio Salvador wrote: > On Thu, Apr 23, 2015 at 9:44 AM, Daiane Angolini wrote: >> On Thu, Apr 23, 2015 at 9:32 AM, Nikolay Dimitrov wrote: >>> Hi Otavio, >>> >>> >>> On 04/23/2015 03:21 PM, Otavio Salvador wrote: >>>> >>>> On Thu, Apr 23, 2015 at 9:19 AM, Daiane Angolini >>>> wrote: >>>>> >>>>> On Wed, Apr 22, 2015 at 10:28 PM, Otavio Salvador >>>>> wrote: >>>>>> >>>>>> Hello Nikolay and Gary, >>>>>> >>>>>> On Wed, Apr 22, 2015 at 9:22 PM, Nikolay Dimitrov >>>>>> wrote: >>>>>>> >>>>>>> On 04/23/2015 03:18 AM, Nikolay Dimitrov wrote: >>>>>>>> >>>>>>>> On 04/23/2015 12:37 AM, Gary Thomas wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>> I've just built an image for the i.MX6DL/RIoTboard using the latest >>>>>>>>> master (fido). I had to add this line to local.conf: >>>>>>>>> MACHINE_EXTRA_RRECOMMENDS_remove_imx6dl-riotboard = >>>>>>>>> "fsl-alsa-plugins" as the fsl-alsa-plugins won't currently build with >>>>>>>>> Linux-4.0 >>>>>>>>> >>>>>>>>> Now I'm trying to boot the image. I've copied it to my SD card and >>>>>>>>> set the switches appropriately (I found two web pages about this and >>>>>>>>> they have conflicting information! The answer seems to be >>>>>>>>> SW1-SW8=On/Off/On/Off/Off/On/Off/On) >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> I have 2 riotboards both booting from sdcards, here are their >>>>>>>> configurations: >>>>>>>> - slot J6 (USDHC2), SW1-8 = On/Off/On/Off/Off/On/On/Off >>>>>>>> - slot J7 (USDHC3), SW1-8 = On/Off/On/Off/Off/On/Off/On >>>>>>>> >>>>>>>>> I get the U-Boot prompt from the image I built (it has today's date), >>>>>>>>> but the SD card doesn't boot from there. The default boot commands >>>>>>>>> seem to be looking for boot scripts, etc, but there are none on the >>>>>>>>> SD card, only a zImage and DTB file. >>>>>>>>> >>>>>>>>> Is there some documentation, perhaps in meta-fsl-arm-extra, that >>>>>>>>> helps (and I've missed)?? >>>>>>>>> >>>>>>>>> Any help on how to boot this board would be appreciated. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Fido uses U-Boot v2015.04. Assuming that you haven't modifed the >>>>>>>> upstream version, v2015.04 uses extlinux boot mechanism, which >>>>>>>> requires >>>>>>>> the following files to be available on your boot partition: >>>>>>>> >>>>>>>> /boot/extlinux/extlinux.conf >>>>>>>> /boot/imx6dl-riotboard.dtb >>>>>>>> /boot/uImage >>>>>>>> >>>>>>>> Extlinux.conf should have the following content: >>>>>>>> >>>>>>>> default yocto >>>>>>>> label yocto >>>>>>>> kernel /boot/uImage >>>>>>>> devicetree /boot/imx6dl-riotboard.dtb >>>>>>>> append console=ttymxc1,115200 root=/dev/mmcblk0p1 rw >>>>>>> >>>>>>> >>>>>>> >>>>>>> Of course, change root= to suit your configuration. >>>>>> >>>>>> >>>>>> I have reverted the conversion of the board for now. This should make >>>>>> it work out of box until we add support for the generic script. >>>>>> >>>>>> I will be sending those patches in some minutes and include them in >>>>>> master-next for testing. >>>>> >>>>> >>>>> Otavio, unfortunately I don't have access to this board anymore, so >>>>> I'm not going to be able to test it >>>>> >>>>> I would appreciate if someone else could become the RioT board mantainer. >>>> >>>> >>>> Thanks for letting us know. Gary, Nikolay? Anyone? >>> >>> >>> I can volunteer. >> >> Thanks a lot. >> >> Please, send a patch replacing my name by yours ;) >> >> Otavio, can this change be included in fido as well? > > Sure. Btw, what about dizzy? Riotboard is also supported there. Regards, Nikolay