From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 0351BE00BA0; Fri, 29 Jan 2016 02:45:10 -0800 (PST) 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.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (oliver.graute[at]gmail.com) * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [74.125.82.42 listed in list.dnswl.org] * -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 mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 97F7DE00A92 for ; Fri, 29 Jan 2016 02:45:06 -0800 (PST) Received: by mail-wm0-f42.google.com with SMTP id p63so62622261wmp.1 for ; Fri, 29 Jan 2016 02:45:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=5XEEmR2x2ObUAOQ5gHcFlHTEqG46+MGA56I+hl2S7nU=; b=jHvhEGibmB0DI0RC0d1prOjQqyKaBWIgrY4nhKFQpn3CYMXHqaklf5e9zhHgzsilDD JeT0KKyFHzne8AwCEu4se3HuTEWBrw83oLnLmZ8VBu7TEq376iwlcb2FmO80qacPq5Yf O5GwrtvTeZjwF8512WKDOIUREd5KN9/u+SdTqVjbgzuncBKIDhpvDLI/TkXj45CmJ6wL 0vIABRTKl3aSw/DOrE4CEUws/70g666p4oqsw9q1veLzQL33vwL5TM3vdtwPUV2+XZiU HtVS3DlYPvex5tO09w0P+gx29QxHjTlJmMymahLcporU5Rxn7Kf34QZF9HSUHK9/5n2Q kRWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=5XEEmR2x2ObUAOQ5gHcFlHTEqG46+MGA56I+hl2S7nU=; b=My26+qqvP8qUNfiWLRlh4tI8a4fg3EgAwMQ5SfSoCPQ7AdXlEwHzoIiE068n/aX8La 4x6fr4aO3JhI//SFfSx8/+O5Hmjj4L8Fe/rj9sbT6Hjw1MlKwaTICVRzPVmrIOjwB9Ah qfPqSIItdykd6gCokIwZtHesuiVczczoZ9KNJr+ig31DYCOn63bot6xSKquOz6aSZAM+ f5kCaEwsfyI1N0CaBM4mUI1GndP1qlqcvas1N71muMSEX57PGUYenLPx38EWelMy4g3m vZpS+AsNWdsQC1a6CF0BCacMyZ6AKt6riYJQHipOks8mOjkqrZJxfSkaXF8UMFC4n8V5 gQDA== X-Gm-Message-State: AG10YOQpp6Mkw92EC1UIfl6E0WQktLWTLHaeQcjf2I4UiKOcJ8ir+4ZwUGMGw+KNtL+1Pw== X-Received: by 10.194.93.102 with SMTP id ct6mr9429896wjb.157.1454064305648; Fri, 29 Jan 2016 02:45:05 -0800 (PST) Received: from localhost (x55b1e45f.dyn.telefonica.de. [85.177.228.95]) by smtp.gmail.com with ESMTPSA id b127sm6856921wmh.9.2016.01.29.02.45.04 for (version=TLS1_2 cipher=AES128-SHA bits=128/128); Fri, 29 Jan 2016 02:45:05 -0800 (PST) Date: Fri, 29 Jan 2016 11:40:56 +0100 From: Oliver Graute To: meta-freescale@yoctoproject.org Message-ID: <20160129104056.GC21464@graute-opti> Mail-Followup-To: meta-freescale@yoctoproject.org References: <20160128113740.GA21464@graute-opti> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: adjust image partitions for imx6ulevk 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: Fri, 29 Jan 2016 10:45:10 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On 28/01/16, Christian Ege wrote: > Hello Oliver, > > 2016-01-28 12:37 GMT+01:00 Oliver Graute : > > Hello, > > > > whats is the right way to adjust the flash partitions for my imx6ulevk? > There are several possibilities I think. > > - Either by defining an own image class like this: > https://github.com/Freescale/meta-fsl-arm/blob/master/classes/image_types_fsl.bbclass > I never tried but I guess you can inherit this class and overload the > functions you wish to extend. > - Create a script which adds those partitions during the first boot. I > did something similar to resize the rootfs: > https://github.com/graugans/meta-udoo/blob/jethro/recipes-core/resize-rootfs/resize-rootfs.bb > - Use swupdate by stefano babic and create the partiion during > installation of the image. This is how we do it in the office. > https://github.com/sbabic/meta-swupdate > https://github.com/sbabic/swupdate > > > I need a bootstream partition, two rootfs partitions with 125 MB each > > and a data partitions with 730 MB. > > > during some code investigation I found image_types_fsl.bbclass where > > some partitioning seems to happen. Is this the point to start? > You have to provide your own. I can not see any hooks to change the > layout. For me your request is very specific and could be hardly > handled by a generic approach. > > You can check how they did it in the RPI > http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/classes/sdcard_image-rpi.bbclass > > > Can you give me some instructions, how to do that the right way in yocto. > I would prefer to use swupdate. But I am unsure about dual bootimage support thx for the links, I come back to this if its not working with wic best regards, Oliver