From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-da0-f48.google.com (mail-da0-f48.google.com [209.85.210.48]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 564B1E00777 for ; Tue, 11 Dec 2012 06:09:29 -0800 (PST) Received: by mail-da0-f48.google.com with SMTP id k18so1684059dae.35 for ; Tue, 11 Dec 2012 06:09:29 -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=/zT6LSAsJ4AuPHULBMfFNZSWj0DXbGiLyCwpNmzcUAs=; b=AFwHDN6MxN66aI9xpxHG6qnUbRwJay3raPmHPdrPL2MZpj32oQ860sKeYWwWe7uXEo egMSZYvHPx6tk0xfWSoQ9Cft+3bbMa3/BtWfa6oEDAdxXP87Lugai/xpuTR9znVfYcwU 4uoPRvGanAzvZfhUdYp3xGU25ffl9n/E4vuJiUzi6kIX/o5D8XN2hAsdDUnoZiVKRQRh B4TW/R2XLZshdQDqdczXjtRtQea1uPyOi/5m7CvPaVbjmpJIYsJIV8jvF/GYMAWaIqJq xiSwKmaiJHa/pH0vE8xQITYJaeubU06DR2yp0+tp2+x9rYu3A2f60lY7HUa9PjhtDPNm xIIw== Received: by 10.68.237.6 with SMTP id uy6mr48245480pbc.147.1355234969126; Tue, 11 Dec 2012 06:09:29 -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 i1sm13929822pav.35.2012.12.11.06.09.26 (version=SSLv3 cipher=OTHER); Tue, 11 Dec 2012 06:09:28 -0800 (PST) Message-ID: <50C73E94.2010005@boundarydevices.com> Date: Tue, 11 Dec 2012 07:09:24 -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: =?ISO-8859-1?Q?Eric_B=E9nard?= References: <1355155599-11150-1-git-send-email-otavio@ossystems.com.br> <50C63C5D.2010403@boundarydevices.com> <50C6AF5E.4080302@boundarydevices.com> <20121211092317.0851432b@eb-e6520> In-Reply-To: <20121211092317.0851432b@eb-e6520> X-Gm-Message-State: ALoCoQlOslsBv62uPa6bsuJzG3nZLryzEA0SOprZ2uerXxWOYTTLVzVqeKe626oP+Q7ckzCg9dUo Cc: "meta-freescale@yoctoproject.org" , Otavio Salvador , 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:09:29 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit On 12/11/2012 01:23 AM, Eric Bénard wrote: > Hi Eric, > > Le Mon, 10 Dec 2012 20:58:22 -0700, > Eric Nelson a écrit : >> | 6x_bootscript-nitrogen6x.txt: No such file or directory > > Does that work if you do bibake u-boot-script-boundary before building > the image ? > Thanks Eric, That allows things to work, so it seems we have a missing dependency. We still have an issue though. The generic boot script in our git repository has a couple of references that presume a single partition: https://github.com/boundarydevices/u-boot-imx6/blob/production/board/boundary/nitrogen6x/6x_bootscript.txt#L56 In particular, the 'root=/dev/mmcblk0p1' clause and the 1 in the command: ${fs}load mmc ${disk}:1 The SD card created by bitbake is configured for two: ~/yocto/build$ fdisk -l tmp/deploy/images/fsl-image-test-nitrogen6x-20121211024022.rootfs.sdcard ... Device Boot Start End Blocks Id System ...sdcard1 8192 24575 8192 83 Linux ...sdcard2 24576 753663 364544 83 Linux It trivially easy to create a boot script specifically for Yocto images, but this should probably be discussed. 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. 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. Regards, Eric