Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 281EEE006D8; Wed, 19 Oct 2016 10:04:18 -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=-1.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [209.85.213.67 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 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 * 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source * [209.85.213.67 listed in dnsbl.sorbs.net] Received: from mail-vk0-f67.google.com (mail-vk0-f67.google.com [209.85.213.67]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D1F8EE002AC for ; Wed, 19 Oct 2016 10:04:15 -0700 (PDT) Received: by mail-vk0-f67.google.com with SMTP id 130so1419163vkg.2 for ; Wed, 19 Oct 2016 10:04:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ossystems-com-br.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization; bh=QrS32NvMM2MV1AxRFIeTfnEbJviUu6pME2Lhu53Swow=; b=DND5J0mYg/KS3QNFMDM2tQuD9Ir4aHfawl2+PCkZTCXrR21DL/yyo7+gAhOTU76tUF EvSt/LKyQvfTBVd9NhHwAAC96ARGQb8QrIB2ZVtAyuTVSJaRQV7rAN6arQ3Xuuim2teX Hil//+5LSAdWzP6KA1VSdU60gq4XwZxwUbofhXh9+CHa5RW4ToA1b/IqGJbzPkRJZYck OyA0/xKfrJ3rjJcoNrkSiVIIflkNTUPsH4EqjH1g3zwY4ezi0nLB9pyZvm0ZfpubjsyI Glri7qVzEzuF3rUBg/iDdVQfTaRpVqQtovDWqB7z//lcLPzYnHqJl9XgJPoiAoj+JWar SHfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization; bh=QrS32NvMM2MV1AxRFIeTfnEbJviUu6pME2Lhu53Swow=; b=atgaCZ2Mgsg38hrzon7ud3yEi64xbW1nbpnq1yjeDdbHOCge+EPmAUdkyA/L7dNv+n 3CJ9Z06DSX0eAI9+rzgpMg4U6MV7dRI3vQwES3iWNT1bZds0vey+FyAr8cbu9WMDf6gK OvCqO8XlKE4+054MmdDOkJFMOLBupzDqz7FsTqP3oS2yOv/SmGFlMz6W4M7cJts7bFXJ cpFXe1l9hW8lIyONi+gUJ6IiPS0myxQ0XJQzJRo9j9RpybieJlWTOIpR8BZ5Fba9Mxk0 rKUlHI6SSwMs3mVmm9d+GF6udpA+TLm6vtu9yyS8BQmgAsV2GC+fgb+JIE3yMp2liLMx C4gg== X-Gm-Message-State: AA6/9RkXvKGcpjWu80ZVNOYK1VijEyW00BwnANbiFwc52ySEEH3cE8jSoKITvqgwjGkZzw== X-Received: by 10.31.96.6 with SMTP id u6mr5985485vkb.53.1476896654145; Wed, 19 Oct 2016 10:04:14 -0700 (PDT) Received: from monster.lab.ossystems.com.br ([187.23.155.148]) by smtp.gmail.com with ESMTPSA id h23sm1714570vkh.16.2016.10.19.10.04.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 19 Oct 2016 10:04:13 -0700 (PDT) From: Fabio Berton To: meta-freescale@yoctoproject.org Date: Wed, 19 Oct 2016 15:03:33 -0200 Message-Id: <1476896616-16367-1-git-send-email-fabio.berton@ossystems.com.br> X-Mailer: git-send-email 2.1.4 Organization: O.S. Systems Software LTDA. Cc: Otavio Salvador Subject: [PATCH 1/4] wic: Change reference wks files to avoid /boot partition use 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: Wed, 19 Oct 2016 17:04:18 -0000 From: Otavio Salvador For the sake of user-friendness we will avoid the use of /boot partition. The use of wic images, using this layout, is simpler as it does not require manual setting of IMAGE_BOOT_FILES and thus allow for generic use across different machines. Signed-off-by: Otavio Salvador --- scripts/lib/image/canned-wks/imx-barebox.wks | 13 ++++++------- scripts/lib/image/canned-wks/imx-uboot-spl.wks | 13 ++++++------- scripts/lib/image/canned-wks/imx-uboot.wks | 13 ++++++------- 3 files changed, 18 insertions(+), 21 deletions(-) diff --git a/scripts/lib/image/canned-wks/imx-barebox.wks b/scripts/lib/image/canned-wks/imx-barebox.wks index 77b5554..0672cbb 100644 --- a/scripts/lib/image/canned-wks/imx-barebox.wks +++ b/scripts/lib/image/canned-wks/imx-barebox.wks @@ -5,14 +5,13 @@ # It uses barebox # # The disk layout used is: -# - --------- ------------ --------- -------------- -# | | barebox | bareboxenv | /boot | rootfs | -# - --------- ------------ --------- -------------- -# ^ ^ ^ ^ ^ ^ -# | | | | | | -# 0 512B 512kiB 4MiB 4MiB + 8MiB 4MiB + 8Mib + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) +# - --------- ------------ -------------- +# | | barebox | bareboxenv | rootfs | +# - --------- ------------ -------------- +# ^ ^ ^ ^ ^ +# | | | | | +# 0 512B 512kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) # part barebox --source rawcopy --sourceparams="file=barebox.bin,skip=512" --ondisk mmcblk --no-table part bareboxenv --source rawcopy --sourceparams="file=bareboxenv.bin" --ondisk mmcblk --no-table --align 512 -part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 8M --extra-space 0 part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 diff --git a/scripts/lib/image/canned-wks/imx-uboot-spl.wks b/scripts/lib/image/canned-wks/imx-uboot-spl.wks index e2bdc14..dfe5077 100644 --- a/scripts/lib/image/canned-wks/imx-uboot-spl.wks +++ b/scripts/lib/image/canned-wks/imx-uboot-spl.wks @@ -5,14 +5,13 @@ # It uses SPL and u-boot # # The disk layout used is: -# - ----- --------- --------- -------------- -# | | SPL | u-boot | /boot | rootfs | -# - ----- --------- --------- -------------- -# ^ ^ ^ ^ ^ ^ -# | | | | | | -# 0 1kiB 69kiB 4MiB 4MiB + 8MiB 4MiB + 8Mib + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) +# - ----- --------- -------------- +# | | SPL | u-boot | rootfs | +# - ----- --------- -------------- +# ^ ^ ^ ^ ^ +# | | | | | +# 0 1kiB 69kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) # part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk --no-table --align 1 part u-boot --source rawcopy --sourceparams="file=u-boot.imx" --ondisk mmcblk --no-table --align 69 -part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 8M --extra-space 0 part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 diff --git a/scripts/lib/image/canned-wks/imx-uboot.wks b/scripts/lib/image/canned-wks/imx-uboot.wks index 0865210..d360977 100644 --- a/scripts/lib/image/canned-wks/imx-uboot.wks +++ b/scripts/lib/image/canned-wks/imx-uboot.wks @@ -5,13 +5,12 @@ # It uses u-boot # # The disk layout used is: -# - --------- --------- -------------- -# | | u-boot | /boot | rootfs | -# - --------- --------- -------------- -# ^ ^ ^ ^ ^ -# | | | | | -# 0 1kiB 4MiB 4MiB + 8MiB 4MiB + 8Mib + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) +# - --------- -------------- +# | | u-boot | rootfs | +# - --------- -------------- +# ^ ^ ^ ^ +# | | | | +# 0 1kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) # part u-boot --source rawcopy --sourceparams="file=u-boot.imx" --ondisk mmcblk --no-table --align 1 -part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 8M --extra-space 0 part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 -- 2.1.4