From patchwork Wed Mar 16 14:56:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 598459 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 3qQF375HSmz9t3V for ; Thu, 17 Mar 2016 01:57:55 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=boundarydevices-com.20150623.gappssmtp.com header.i=@boundarydevices-com.20150623.gappssmtp.com header.b=dkVwSLea; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 07FDAA6060; Wed, 16 Mar 2016 14:57:54 +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 tsIZoJ2Gwvh9; Wed, 16 Mar 2016 14:57:52 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id B7E7FA6021; Wed, 16 Mar 2016 14:57:37 +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 02BA51C2A17 for ; Wed, 16 Mar 2016 14:57:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id F06AB91E3A for ; Wed, 16 Mar 2016 14:57:20 +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 MRST2iYoOQ-w for ; Wed, 16 Mar 2016 14:57:20 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by whitealder.osuosl.org (Postfix) with ESMTPS id 345048BE99 for ; Wed, 16 Mar 2016 14:57:20 +0000 (UTC) Received: by mail-wm0-f42.google.com with SMTP id l68so194165562wml.0 for ; Wed, 16 Mar 2016 07:57:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boundarydevices-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=i5mbMOQsZvudf9boHE9qFOUmXukbUo8REE5QZV1oc/c=; b=dkVwSLeaHg8uL6HZaIHhOIJcTjvXyypYE0VTXzaGYABpuTQR4E3KT/rhK2Aosu7K49 0tk8BIu9UqSk3rGBUW65yBgH4RDTfAsxdHhszKrixIWB38i66+MtXmBl3UzTVM4v4gXp lmR028rlIzfXskjKtkisaxsQif1PvMhRQBrhkE6ghsnOr2B31JBSfLYdPL+iZrux5f14 Dc5wB5FYSsV/xMPQQnDkqr7XZitdiZut6k45XLvN0yY0yVTebfYlOhJQtYn9UjkSVd5Z 9g+KDzU/YKYdKgrNHLcnJr+z81d0KFzso3tZYFyF/fhaEWIdp4d4tD44ajaktXLg87Oo 1xsw== 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=i5mbMOQsZvudf9boHE9qFOUmXukbUo8REE5QZV1oc/c=; b=KRjZTKT/403Yhh2fYN340vN/nm3ku6jHFm0us3qxn/u+qUgUfRBM9OuXTvkduwAUpC ilZ9Uz+1T5dNcAttIa/lxvIbifr0yFds9Na+jjJrifpvKRonCX/9/Qsl6Dlc3c6tSvRK ZIzlpaS19dK3KNgjcFr697866hiYGIFai+i8EYfnJbEp7Ol06/bcWW7j9QtDJDO3IDYL 8djjmM26tgcSTSJIuzoktEFC/TYVWLwxIRkp0FktbmjtWidE/8FfVR/I4MLP6tUJXHgq e5WY1wPLxTolrUWcE+gAZDCbYab4AULpZFnYPhR13L3URUWPPuD74OGPpX+HPLL9bX5J JL4A== X-Gm-Message-State: AD7BkJIJZHI2ZFVMxWS0TGVqfdTFXNDWNUJ4XdfUROS4ZEgCWiZ/G1g2eY1n2tLJnGZfGg== X-Received: by 10.194.114.133 with SMTP id jg5mr4010558wjb.99.1458140238892; Wed, 16 Mar 2016 07:57:18 -0700 (PDT) Received: from t450s.lan (89-92-156-188.hfc.dyn.abo.bbox.fr. [89.92.156.188]) by smtp.googlemail.com with ESMTPSA id et11sm3414266wjc.30.2016.03.16.07.57.18 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 16 Mar 2016 07:57:18 -0700 (PDT) From: Gary Bisson To: buildroot@busybox.net Date: Wed, 16 Mar 2016 15:56:51 +0100 Message-Id: <1458140214-22303-12-git-send-email-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1458140214-22303-1-git-send-email-gary.bisson@boundarydevices.com> References: <1458140214-22303-1-git-send-email-gary.bisson@boundarydevices.com> Cc: thomas.petazzoni@free-electrons.com Subject: [Buildroot] [PATCH 11/14] imx-uuc: add new package 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" This package provides the Universal Adapter user-space utility that is used to receive commands from the Manufacturing Tool by the Freescale UTP Protocol. It only works on Freescale/NXP kernels whose configuration contains the CONFIG_FSL_UTP option. In order to use it, the best is to make a ramdisk image whose init points to /linuxrc. Otherwise you can simply invoke the tool once booted: $ uuc Signed-off-by: Gary Bisson --- package/freescale-imx/Config.in | 1 + package/freescale-imx/imx-uuc/Config.in | 11 +++++++++++ package/freescale-imx/imx-uuc/imx-uuc.hash | 1 + package/freescale-imx/imx-uuc/imx-uuc.mk | 20 ++++++++++++++++++++ 4 files changed, 33 insertions(+) create mode 100644 package/freescale-imx/imx-uuc/Config.in create mode 100644 package/freescale-imx/imx-uuc/imx-uuc.hash create mode 100644 package/freescale-imx/imx-uuc/imx-uuc.mk diff --git a/package/freescale-imx/Config.in b/package/freescale-imx/Config.in index dfb6cc4..bc3ddd6 100644 --- a/package/freescale-imx/Config.in +++ b/package/freescale-imx/Config.in @@ -44,6 +44,7 @@ config BR2_PACKAGE_FREESCALE_IMX_PLATFORM source "package/freescale-imx/imx-kobs/Config.in" source "package/freescale-imx/imx-lib/Config.in" +source "package/freescale-imx/imx-uuc/Config.in" source "package/freescale-imx/imx-vpu/Config.in" source "package/freescale-imx/firmware-imx/Config.in" if (BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 || BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53) diff --git a/package/freescale-imx/imx-uuc/Config.in b/package/freescale-imx/imx-uuc/Config.in new file mode 100644 index 0000000..2cd8299 --- /dev/null +++ b/package/freescale-imx/imx-uuc/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_IMX_UUC + bool "imx-uuc" + depends on BR2_arm # Only relevant for i.MX + help + This package provides the Universal Adapter user-space utility + that is used to receive commands from the Manufacturing Tool + by the Freescale UTP Protocol. + + This package is provided by Freescale/NXP as-is and doesn't have + an upstream. + diff --git a/package/freescale-imx/imx-uuc/imx-uuc.hash b/package/freescale-imx/imx-uuc/imx-uuc.hash new file mode 100644 index 0000000..aab9ea8 --- /dev/null +++ b/package/freescale-imx/imx-uuc/imx-uuc.hash @@ -0,0 +1 @@ +sha256 95d7f7b075f58fedc07602fbc0e5bf5212d28deea3d09cdbcbd80992dcd18482 imx-uuc-0.5.1.tar.gz diff --git a/package/freescale-imx/imx-uuc/imx-uuc.mk b/package/freescale-imx/imx-uuc/imx-uuc.mk new file mode 100644 index 0000000..1bd419e --- /dev/null +++ b/package/freescale-imx/imx-uuc/imx-uuc.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# imx-uuc +# +################################################################################ + +IMX_UUC_VERSION = 0.5.1 +IMX_UUC_SITE = $(FREESCALE_IMX_SITE) +IMX_UUC_LICENSE = GPLv2+ +IMX_UUC_LICENSE_FILES = COPYING + +define IMX_UUC_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) CC=$(TARGET_CC) +endef + +define IMX_UUC_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install +endef + +$(eval $(generic-package))