From patchwork Thu Jul 19 10:31:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 946177 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=boundarydevices.com 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="caVxplus"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41WVg61NXqz9s4Z for ; Thu, 19 Jul 2018 20:31:30 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id A20EC88FC2; Thu, 19 Jul 2018 10:31:26 +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 4c512GXKpvkO; Thu, 19 Jul 2018 10:31:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id DCFE688FBF; Thu, 19 Jul 2018 10:31:23 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 64D651CF047 for ; Thu, 19 Jul 2018 10:31:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6263088FCA for ; Thu, 19 Jul 2018 10:31:23 +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 S678Ejee60rU for ; Thu, 19 Jul 2018 10:31:22 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 2946A88FC7 for ; Thu, 19 Jul 2018 10:31:22 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id s11-v6so7512151wra.13 for ; Thu, 19 Jul 2018 03:31:22 -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; bh=MZzbXgCt4e9hLjmdge04c3MdEp5yDHKn9t5KdnjJAt0=; b=caVxpluse5oC27Js24elIJGibbOYw3132Vuqw5op16N51QDdMeLi95++uQrCnDvu0s 9hrKUEqZNGtjHBcx2qr/KxM+48bs0YSqpgKwd+nlWIEAFt3KbDMRSuKTRNBE3AdYlL09 2id3ZD7u333nFDvm7shg9s8dc0SFTRoCvQndfS2w95QLe64CvosPPu/ByeVsR8s8XHcQ kjUJWHCDja13shhZKIYJR2WsgFO2njUqfw4VbiqqvjbmwnWO7T/IZJC3+s8c9mTTh9+7 9xQdAO3Im1/YZa9WK9e32J8XQlVM0wKjYc2v+B1HoG14Gc+Iq1Gl0AuJgX3IcYaaJRi7 iWwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=MZzbXgCt4e9hLjmdge04c3MdEp5yDHKn9t5KdnjJAt0=; b=mVDFVfYm0x/QLRf1EJ8Uu/JMPagBuSuSAfSXd+1Urqdzy7i8gfNS9kN9G5QzFhItQr 3Bq4T3No74IfrQOD/kQ+F6E4w7e1Ch3Ncey2sFg+4mVScb0c5+MYFjM9ccDIqhw6qGCF 8Y6jKLMSo/iQbVOLDDP/rBuJbOCBlW3YFyXmbyBRnIwAcD3Zq9j5xwbpCnXP28+DOjvA 6gj30/C1i3aQxsTZHxvl0r2Kezyc7MEFPAWvSsTfc3Rsd3+50pu9excNNFyYJ7vYuN8z lm8ev4xD+TmBfro7lHzrIQ6jT3hua1gepRYnFLyLwYFmMD/E4Gv8ztgEQ9idsI+0jmJB okmg== X-Gm-Message-State: AOUpUlFQEfurOn50L5b0vAmHxCFhb1OBcXR9515EJ4P/d7S4NMd9osd3 m+gFXbAzT4YvEguyBKD4+oyZ6aEmlDI= X-Google-Smtp-Source: AAOMgpcG4FWu0e/fJ3L+pI9MUdDasOwaJnxZ3JhcdTZaEraZeiHuPt+64wjxQlT6tLja7HXhJz4xZA== X-Received: by 2002:adf:97d5:: with SMTP id t21-v6mr7375485wrb.28.1531996280650; Thu, 19 Jul 2018 03:31:20 -0700 (PDT) Received: from g751.home (2a01cb040a78e30028cbd66b90cf39f4.ipv6.abo.wanadoo.fr. [2a01:cb04:a78:e300:28cb:d66b:90cf:39f4]) by smtp.googlemail.com with ESMTPSA id u4-v6sm11003723wrt.31.2018.07.19.03.31.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jul 2018 03:31:19 -0700 (PDT) From: Gary Bisson To: buildroot@buildroot.org Date: Thu, 19 Jul 2018 12:31:02 +0200 Message-Id: <20180719103109.19887-1-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.18.0 Subject: [Buildroot] [PATCH v2 0/7] Add Boundary Devices Nitrogen8M support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thomas.petazzoni@bootlin.com MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Hi all, This series adds support for our i.MX8MQ based Nitrogen8M platform. Since this is our first ARM64 design, our boot scripts and post-build script needed to be updated. Doing so, it became clear that it was time to remove obsolete boot scripts so it is part of the series as well. Also, the freescale imx8-bootloader-prepare script hardcoded the evk device tree which means it could only be used for 1 board. Therefore it was also modified to accept any device tree as a script argument (using BR2_ROOTFS_POST_SCRIPT_ARGS). Changes in v2: - Add script parameter to evk defconfig to specify dtb - Remove fallback to evk dtb in imx8-bootloader-prepare - Split post-build.sh patch - Add missing .gitlab-ci.yml reference to nitrogen8m_defconfig Regards, Gary Gary Bisson (7): configs/freescale_imx8mqevk: add script arg to specify U-Boot dtb board/freescale/common/imx: make imx8-bootloader-prepare more generic board/boundarydevices/common/post-build.sh: fix U-Boot naming board/boundarydevices: remove obsolete u-boot scripts board/boundarydevices: add i.MX8MQ support to post-build.sh board/boundarydevices: add i.MX8MQ support to u-boot scripts configs/nitrogen8m: Add new defconfig .gitlab-ci.yml | 1 + .../boundarydevices/common/6x_bootscript.txt | 131 ------------------ board/boundarydevices/common/6x_upgrade.txt | 69 --------- board/boundarydevices/common/boot.cmd | 40 +++--- board/boundarydevices/common/post-build.sh | 28 ++-- board/boundarydevices/common/upgrade.cmd | 69 ++++++++- .../common/imx/imx8-bootloader-prepare.sh | 8 +- configs/freescale_imx8mqevk_defconfig | 1 + configs/nitrogen8m_defconfig | 54 ++++++++ 9 files changed, 159 insertions(+), 242 deletions(-) delete mode 100644 board/boundarydevices/common/6x_bootscript.txt delete mode 100644 board/boundarydevices/common/6x_upgrade.txt create mode 100644 configs/nitrogen8m_defconfig