From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f48.google.com (mail-pb0-f48.google.com [209.85.160.48]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 202E4E011DB for ; Tue, 11 Dec 2012 06:29:38 -0800 (PST) Received: by mail-pb0-f48.google.com with SMTP id rq13so2706457pbb.35 for ; Tue, 11 Dec 2012 06:29:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=jde6g8XJ8Rs+27j7hyW/Zmr0qu+LjHaTPyD1J+FhLdg=; b=TBi8RJR8wRymJ9MDOfameSUJUYILuIaFEx0JzUnc1hQ89o1jU8mtPM3UN1IOySA4fS vxykXEnXYWXv9O+sC/1NFt+hr8xLx1444dp9OSO/EsXhN/g52wKuGyj8HOU0xTW6hfR6 7uG3qk/13ifGEeRogGr4ZWQS+YnjASsSkutM/HWaLVwtub5FYMjxbpLGf2Rg8gUylTNn T64kpRm7FGq1aWNsWjErthH1OkUm+Fik99Qf2GbbQA1FpUjGiZG41IlxlcRGcZO1XhcZ 73WQOVNIx//Zo0FiZ+qGnTzDuWJOY8yOnZPiuKni76UvjsoFJMMzaderflnE13c5a1AQ MGtw== Received: by 10.69.0.101 with SMTP id ax5mr2499055pbd.105.1355236177917; Tue, 11 Dec 2012 06:29:37 -0800 (PST) Received: from [192.168.0.27] (ip68-110-100-114.ph.ph.cox.net. [68.110.100.114]) by mx.google.com with ESMTPS id oi3sm13855864pbb.1.2012.12.11.06.29.36 (version=SSLv3 cipher=OTHER); Tue, 11 Dec 2012 06:29:37 -0800 (PST) Message-ID: <50C7434E.2050505@boundarydevices.com> Date: Tue, 11 Dec 2012 07:29:34 -0700 From: Eric Nelson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Otavio Salvador References: <1355155599-11150-1-git-send-email-otavio@ossystems.com.br> <50C63C5D.2010403@boundarydevices.com> <50C6AF5E.4080302@boundarydevices.com> <20121211092317.0851432b@eb-e6520> <50C73E94.2010005@boundarydevices.com> In-Reply-To: X-Gm-Message-State: ALoCoQlKZGPf+3sntxkljqD9CC3bjBfp58Sy+MFHvOjeGDg1VF1OoBDDARsOVGyes5sKUz5ZGG7T Cc: "meta-freescale@yoctoproject.org" , Troy Kisky Subject: Re: [meta-fsl-arm-extra][PATCH 0/3] Initial support for Nitrogen6X 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: Tue, 11 Dec 2012 14:29:38 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit On 12/11/2012 07:15 AM, Otavio Salvador wrote: > On Tue, Dec 11, 2012 at 12:09 PM, Eric Nelson < > eric.nelson@boundarydevices.com> wrote: > >> On 12/11/2012 01:23 AM, Eric Bénard wrote: >> >> >> It trivially easy to create a boot script specifically for Yocto >> images, but this should probably be discussed. >> > > We can apply a patch in the script for it. Can you please generate a patch > to adapt the script for our environment? > Can do. There's another issue though. The boot scripts need to be wrapped by 'mkimage' so that U-Boot will 'source' them properly. e.g. mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ -n "boot script" -d 6x_bootscript.txt 6x_bootscript I just copied the SD card image and found that the .txt files were copied, but not compiled. >> Why should we use two partitions? It seems that unless we're loading >> a RAM disk, there's no benefit in having multiple partitions. >> >> I suspect that there's a way to create a RAM disk in Yocto, but >> I'm not sure where to start besides Googling the MLs and grepping >> the sources. >> > > The real benefit here is to avoid too much complexity in sdcard class. For > accomplish it in a single partition we'd need to flexibilize the class even > more and I am not sure it is worth the effort. > > >> If we decide to use a single partition, it also seems that the >> .sdcard target is a bit of overkill, and a tar-ball of the RFS >> is sufficient. >> > > The idea to provide a sdcard image is to allow for easier test and use of > the build images. It is a matter of dd the fine, directly in the sdcard and > be done with that. > Okay with me for now. At least this will get us up and bootable. Regards, Eric