From patchwork Wed Apr 15 16:18:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 1271308 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.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.a=rsa-sha256 header.s=20150623 header.b=f6WAzxkF; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 492SJJ2PH6z9sSy for ; Thu, 16 Apr 2020 02:19:00 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 0DDC387EDB; Wed, 15 Apr 2020 16:18:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7Im+dokmaCzw; Wed, 15 Apr 2020 16:18:51 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 9B53B87E90; Wed, 15 Apr 2020 16:18:51 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id E00781BF326 for ; Wed, 15 Apr 2020 16:18:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id DA59420362 for ; Wed, 15 Apr 2020 16:18:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OZDHkMdHTi4O for ; Wed, 15 Apr 2020 16:18:41 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by silver.osuosl.org (Postfix) with ESMTPS id 7B3691FEED for ; Wed, 15 Apr 2020 16:18:41 +0000 (UTC) Received: by mail-wm1-f65.google.com with SMTP id y24so234950wma.4 for ; Wed, 15 Apr 2020 09:18:41 -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 :mime-version:content-transfer-encoding; bh=dC0Q+KwZKlCnCuoiluBIdlP7tJMZV4AqSfKDq4Tj2F8=; b=f6WAzxkFIm0mMwqFa0Apv5OikzFLGX7eDUtdV/9dP6FyXF0naz2GXby9Ykip5DUor5 MIg0M+TrAUwuRTm6cxsgedVK5N+b1v5Iu5lJ/aaCasafiznFy3tfbZKSJEMryn6fxiUu IAbaSeCRRVSSZ3KXEEICoVeeJ89N57OUoe7qeaIFdXBGWVFl+Ukx2TsUo6r5qkMqjNUw uutQu13GVSGwYDF5qvkOvyc8nkudvU0KhNmPxJCcXv6nct/esuvg4tmGDANWCDUPgLcE ce7XBc1e2vD0pyMAjENcWXSIfwYNKL0w5UtqnWBqdQCC8EudmnpkPdPMUWNz878+NumY yjEQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=dC0Q+KwZKlCnCuoiluBIdlP7tJMZV4AqSfKDq4Tj2F8=; b=Fc/rNZ7Asq3DE+DpmYX3A5qKdG/y29cygL5TKvgvpfqfupF+aADLBf+cMuh9YC0o4A 9Sa0Fzqy3xG5wPRg/IhptqeJMgixB200tcDwctesZO8oxuSzEOO5AqqEEiwDFnxkPxJ6 EjsHRcIiat22TUWdytFtOlBipSu7DHWtUzOAG7EU3hCUpAnHdnWLClGOkCkliXUYxAa/ WH5je/M/k0sK+VD9vhsep/okP1MSo4ABdReo4c8fZz6ETG3ViYxhieuVqAqHKmYr5RzZ RCBn65voOh35u03BckA01YYD88HGhHyyzgjRS0zX7VtvD1ZP3X53G3i6LYPtV3+S9/GS vr7w== X-Gm-Message-State: AGi0PuaHo51IzA01wRd5LGBn8EqB5wpOh4ZvOTc9Hluk8+NDKLHeanWg O3hOBBmEaGdH/9wsbzm5nVMeaUapIU0= X-Google-Smtp-Source: APiQypKdxTgUCfMR6HtExePuF6T9IHnr+TPfdfzGFCoqAxKjcP28h38Ew28qdd2/TdRO/+PSem4l6g== X-Received: by 2002:a1c:7c18:: with SMTP id x24mr13017wmc.146.1586967519572; Wed, 15 Apr 2020 09:18:39 -0700 (PDT) Received: from p1g2.home (2a01cb000f89b400cc883edd44ec4519.ipv6.abo.wanadoo.fr. [2a01:cb00:f89:b400:cc88:3edd:44ec:4519]) by smtp.gmail.com with ESMTPSA id s14sm60388wme.33.2020.04.15.09.18.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Apr 2020 09:18:38 -0700 (PDT) From: Gary Bisson To: buildroot@buildroot.org Date: Wed, 15 Apr 2020 18:18:31 +0200 Message-Id: <20200415161831.2093348-8-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200415161831.2093348-1-gary.bisson@boundarydevices.com> References: <20200415161831.2093348-1-gary.bisson@boundarydevices.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 7/7] configs/nitrogen8mn: new defconfig X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gary Bisson Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" NXP i.MX8MNano based SBC with 1GB of LPDDR4 and 16GB eMMC. More details on the platform here: https://boundarydevices.com/product/nitrogen8m-nano/ Signed-off-by: Gary Bisson --- .gitlab-ci.yml | 1 + board/boundarydevices/common/readme.txt | 4 ++ configs/nitrogen8mn_defconfig | 56 +++++++++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 configs/nitrogen8mn_defconfig diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3869fa3a5d..2aa53a8df6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -234,6 +234,7 @@ nitrogen6x_defconfig: { extends: .defconfig } nitrogen7_defconfig: { extends: .defconfig } nitrogen8m_defconfig: { extends: .defconfig } nitrogen8mm_defconfig: { extends: .defconfig } +nitrogen8mn_defconfig: { extends: .defconfig } odroidxu4_defconfig: { extends: .defconfig } olimex_a10_olinuxino_lime_defconfig: { extends: .defconfig } olimex_a13_olinuxino_defconfig: { extends: .defconfig } diff --git a/board/boundarydevices/common/readme.txt b/board/boundarydevices/common/readme.txt index 0022628d82..d1bb3fa598 100644 --- a/board/boundarydevices/common/readme.txt +++ b/board/boundarydevices/common/readme.txt @@ -27,6 +27,10 @@ Here is the list of targeted platforms per defconfig: - Nitrogen8MMini - Nitrogen8MMini_SOM +- nitrogen8mn_defconfig + - Nitrogen8MNano + - Nitrogen8MNano_SOM + To install, simply copy the image to your storage (SD, eMMC, USB): $ sudo dd if=output/images/sdcard.img of=/dev/sdX diff --git a/configs/nitrogen8mn_defconfig b/configs/nitrogen8mn_defconfig new file mode 100644 index 0000000000..b78eba1422 --- /dev/null +++ b/configs/nitrogen8mn_defconfig @@ -0,0 +1,56 @@ +# Architecture +BR2_aarch64=y +BR2_cortex_a53=y + +# System +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/boundarydevices/common/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/common/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mn-nitrogen8_nano.dtb" +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_IMX_MKIMAGE=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# Linux headers same as kernel, a 4.14 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y + +# DDR training binaries +BR2_PACKAGE_FREESCALE_IMX=y +BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN=y +BR2_PACKAGE_FIRMWARE_IMX=y + +# ARM Trusted Firmware +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_4.14.98_2.3.0 +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/99e07a29.tar.gz" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mn" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen8_nano_8mn1gr0" +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_v2018.07 +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot-imx6/archive/bd4e3154.tar.gz" +BR2_TARGET_UBOOT_FORMAT_CUSTOM=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_SPL=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_4.14.x_2.0.0_ga +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux-imx6/archive/519c6839.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="boundary" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mn-nitrogen8_nano freescale/imx8mn-nitrogen8mn freescale/imx8mn-nitrogen8mn_som"