From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id C6649E009AE; Wed, 22 Apr 2015 17:22:29 -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 AB930E00994 for ; Wed, 22 Apr 2015 17:22:27 -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 A724E60026FE; Thu, 23 Apr 2015 03:22:26 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mail.bg; s=default; t=1429748546; bh=9OFeAH6EmpbAVDHjVGqb5YsW4LEZWRdWICTCeDM1Vic=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=oYvuyylEhWFYT4dvZB1ssEIHS2gRxTcWHjwZWysT3LRN1WTw4FwfV2xw2VaauiuRk HIucZYicnVERX1cpO3H37EpZD11gF8KpmxJGGYS7DbpfwTEdjw+EsvxT7OCoJ57REq TiXbL3myS0G0ZXBu6yllpKwwL7c+WS76uytjf1B8= Message-ID: <55383B42.3010800@mail.bg> Date: Thu, 23 Apr 2015 03:22:26 +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: Gary Thomas References: <553814A4.5070000@mlbassoc.com> <55383A59.805@mail.bg> In-Reply-To: <55383A59.805@mail.bg> 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 00:22:29 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Hi Gary, On 04/23/2015 03:18 AM, Nikolay Dimitrov wrote: > Hi Gary, > > 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. > Technically speaking, recent versions of U-Boot for riotboard are quite > plug-and-play - as long as you have properly placed your extlinux > files, the bootloader will automatically find them on any attached > storage and boot as piece of cake (works also with rootfs on usb-disk). > > If you have partitioned the sdcard with a modern version of fdisk, the > 1st partition will be properly located at 1MiB offset, thus leaving > more than enough space for U-Boot. > > Hope this helps. Regards, > Nikolay Regards, Nikolay