From patchwork Wed Apr 13 20:03:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezequiel Garcia X-Patchwork-Id: 610238 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 3qlZWx2L6Rz9s9W for ; Thu, 14 Apr 2016 06:04:29 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=vanguardiasur-com-ar.20150623.gappssmtp.com header.i=@vanguardiasur-com-ar.20150623.gappssmtp.com header.b=RHCFJy2w; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2C6DC88D66; Wed, 13 Apr 2016 20:04:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QJJ5QVSeA4_i; Wed, 13 Apr 2016 20:04:24 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9AEAF882AB; Wed, 13 Apr 2016 20:04:23 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 0E5621C2BCD for ; Wed, 13 Apr 2016 20:04:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0A0CF897E3 for ; Wed, 13 Apr 2016 20:04:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lA2twiucXx1B for ; Wed, 13 Apr 2016 20:04:21 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qk0-f170.google.com (mail-qk0-f170.google.com [209.85.220.170]) by whitealder.osuosl.org (Postfix) with ESMTPS id 5C349888DD for ; Wed, 13 Apr 2016 20:04:21 +0000 (UTC) Received: by mail-qk0-f170.google.com with SMTP id o6so23519789qkc.2 for ; Wed, 13 Apr 2016 13:04:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vanguardiasur-com-ar.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ywhqLrvpkfI1R+eLT1FvneC5KQk+/cMELThuP1ytVYs=; b=RHCFJy2w6tiK+isAfGFfn/BKyhgRbGToFGjDjnX5hIjgME6U1Y4I0Kmv/kRFAlV3Um 0LDORoygzV3uDqWAjhNkVQoC2W9tOTNhVugYbYB3Etu1rmEoRuSGUFuQ98bySvonQ2HQ Qa0Dc0wLrG68Xa6KPAxrBzojOMeNrpFMC5Tl/PCr1QjxZ01nPPQBP0/Q7a/WtC6qp4h/ 8ukyOnv6ZbCz0JUcXDUUSHVonz+HYlqaRmonYR3PDNeWUAxk+E81yGbv7sencwT5bk44 pr6z9/yqQptYX+K/Pb2qCX4/yxPsqGRZzPXdJri/J21TVN/AiDSi2V/jW9z6Eodg3RBE ZzXw== 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:in-reply-to :references; bh=ywhqLrvpkfI1R+eLT1FvneC5KQk+/cMELThuP1ytVYs=; b=FZiaCCNW97GguzjZCnliPk/V1Qmb9Qwy0cqjOeFYp96rB+18Yjb0ZmFXGg/61io1IB rf6muy8xfK3T+IcCxNJ7jBqBD5xaVuSrayUE0WmgWRWPCpIiW9vlYIdOd/4gt3IV7mZn DcVLev4yUsNuCR+6lV/39DkKd7/iY6RyDVAmBcoCO839NxMQ8zX2amxO0f01k/6L5e5Z GqiR+5RasTobSvJs0zcnRwOvl24/jhq53LW5wgdawkAuZecBl8sPaj3bdzDnX2L/E6ys EXnAho5Muq03Rp5mN4kk9shE+0zd2HNWAUPpvxVL6grMhV9UEFci0jTc1sqV8qDTHZXv R7CA== X-Gm-Message-State: AOPr4FXmSG64+GjmR0oCqF3WLZBXNDO/q7t1WHZ0s2mVU/ivMVs9ttCtFPQnojEferWWBA== X-Received: by 10.55.82.6 with SMTP id g6mr13845575qkb.40.1460577859104; Wed, 13 Apr 2016 13:04:19 -0700 (PDT) Received: from localhost.localdomain ([190.2.108.156]) by smtp.gmail.com with ESMTPSA id 76sm16453856qhs.21.2016.04.13.13.04.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Apr 2016 13:04:18 -0700 (PDT) From: Ezequiel Garcia To: Date: Wed, 13 Apr 2016 17:03:29 -0300 Message-Id: <1460577820-32164-5-git-send-email-ezequiel@vanguardiasur.com.ar> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1460577820-32164-1-git-send-email-ezequiel@vanguardiasur.com.ar> References: <1460577820-32164-1-git-send-email-ezequiel@vanguardiasur.com.ar> Cc: Thomas Petazzoni , "Yann E . MORIN" Subject: [Buildroot] [PATCH 04/15] board/wandboard: Leverage the new genimage infra X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Let's rework the board and config files to use the recently added genimage infra, which generates the SD card image directly. Signed-off-by: Ezequiel Garcia --- board/wandboard/post-image.sh | 16 ---------------- configs/wandboard_defconfig | 5 +++-- 2 files changed, 3 insertions(+), 18 deletions(-) delete mode 100755 board/wandboard/post-image.sh diff --git a/board/wandboard/post-image.sh b/board/wandboard/post-image.sh deleted file mode 100755 index 95cbfa489705..000000000000 --- a/board/wandboard/post-image.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash - -GENIMAGE_CFG="board/wandboard/genimage.cfg" -GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" - -rm -rf "${GENIMAGE_TMP}" - -genimage \ - --rootpath "${TARGET_DIR}" \ - --tmppath "${GENIMAGE_TMP}" \ - --inputpath "${BINARIES_DIR}" \ - --outputpath "${BINARIES_DIR}" \ - --config "${GENIMAGE_CFG}" - -RET=${?} -exit ${RET} diff --git a/configs/wandboard_defconfig b/configs/wandboard_defconfig index cf71eb2d689b..c76bef0d41a4 100644 --- a/configs/wandboard_defconfig +++ b/configs/wandboard_defconfig @@ -3,10 +3,11 @@ BR2_cortex_a9=y # Linux headers same as kernel, a 3.14 series BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14=y BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/wandboard/post-image.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT= BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_GENIMAGE=y +BR2_TARGET_ROOTFS_GENIMAGE_CFG="board/wandboard/genimage.cfg" BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_USE_DEFCONFIG=y