From patchwork Fri Mar 27 17:12:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 1262890 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.138; helo=whitealder.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=ZWOJMPXB; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48ppLx4bDYz9sSM for ; Sat, 28 Mar 2020 04:12:25 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2BD5D88AB8; Fri, 27 Mar 2020 17:12:23 +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 8egkaT0YbcE8; Fri, 27 Mar 2020 17:12:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id AF18188A78; Fri, 27 Mar 2020 17:12:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 7D0681BF283 for ; Fri, 27 Mar 2020 17:12:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 7A01689063 for ; Fri, 27 Mar 2020 17:12:17 +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 cAYtiCnOtGKQ for ; Fri, 27 Mar 2020 17:12:17 +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 hemlock.osuosl.org (Postfix) with ESMTPS id BFAD88929F for ; Fri, 27 Mar 2020 17:12:16 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id d5so12365024wrn.2 for ; Fri, 27 Mar 2020 10:12:16 -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=PhjhrN1EjT0u/47YL9V8BqhQEIbv5nzGzXoT4JKDPRc=; b=ZWOJMPXB/QIV2uskGVTKoNZSvqK9L7cLg2CfBV+uixXoDPpMxHfoQFliRbUQTXRvYh vKin1h3Be6lBcT5UJfypXfRgRqDHrHUxDXr1+eLgdtsyI+qSkLyWOBItgHRJ5POY5VRi UZS+9NNFtLyd2BzCADIHUZFTpAt504GE9hzl+FY0C/Et7k44yEb6MRW0LHSDx/Bqo1iz 4l5cVMhXVhAm06ysTov8qrcJX+fNk/s8KdYCCxStA9m7+5At4KicKVOjFRXSJuqvYQDS sM2aEMY0JU+xaGt5BYHMRK4okcrmvIqfOXoOVgf4Qjy1KymoKzAriu/Pd2pWlbDI4wM6 93Fg== 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=PhjhrN1EjT0u/47YL9V8BqhQEIbv5nzGzXoT4JKDPRc=; b=koyC7LuRrHEqPwFnUNiFH2o5C7w0yud+Ub+/Xe/7SpqndO2VvQ103XCJFtaCNkN7A+ 7AwGDHUjhRIsaDwjAn+6tmt78y9kWeK049xudLZ1liT3mfPOP74TM0aRLSeA4n3T7XhN BjUhP3d8Os1kM4MgqNkz9MZ/jxzZCu1ZPn8XQdlst+Ey3SMPnS8ClBDikU5ZFjHcLpcM TY+nW1cAYjhnVOTHT/PlNxe/fqsbOwYycg5P0UVIykkBaqXkk1jz3/tHV/702ZxStpY7 cB6+nc0FJxoX8z4QtUWM69mhatKm0ULZXTuX1Ri6Bphr1nf2V9oqjOQWeseGCupvg8hW uUnQ== X-Gm-Message-State: ANhLgQ3Jbg6Qbha+c8RY0w1RteoLmpkdkw9xFvXimYtjzTKCEzOqNVtD JMONB96+rvojWd0PhJqNpXE8aZ2cHnA= X-Google-Smtp-Source: ADFU+vuJ30BVR/nth8v2npW4QRA816penTurJCt9JOsfW7yv8bid2G0WO8WN6ROj6bxB228XS2kyJQ== X-Received: by 2002:a5d:694a:: with SMTP id r10mr413721wrw.234.1585329134611; Fri, 27 Mar 2020 10:12:14 -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 z16sm9183752wrr.56.2020.03.27.10.12.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Mar 2020 10:12:13 -0700 (PDT) From: Gary Bisson To: buildroot@buildroot.org Date: Fri, 27 Mar 2020 18:12:03 +0100 Message-Id: <20200327171203.619849-4-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200327171203.619849-1-gary.bisson@boundarydevices.com> References: <20200327171203.619849-1-gary.bisson@boundarydevices.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 3/3] configs/nitrogen8mm: Add 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.MX8MMini based SBC with 2GB of LPDDR4 and 8GB eMMC. More details on the platform here: https://boundarydevices.com/product/nitrogen8m-mini Signed-off-by: Gary Bisson --- board/boundarydevices/common/readme.txt | 4 ++ configs/nitrogen8mm_defconfig | 56 +++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 configs/nitrogen8mm_defconfig diff --git a/board/boundarydevices/common/readme.txt b/board/boundarydevices/common/readme.txt index 2c9a073d2f..0022628d82 100644 --- a/board/boundarydevices/common/readme.txt +++ b/board/boundarydevices/common/readme.txt @@ -23,6 +23,10 @@ Here is the list of targeted platforms per defconfig: - Nitrogen8M - Nitrogen8M_SOM +- nitrogen8mm_defconfig + - Nitrogen8MMini + - Nitrogen8MMini_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/nitrogen8mm_defconfig b/configs/nitrogen8mm_defconfig new file mode 100644 index 0000000000..a7aa55c527 --- /dev/null +++ b/configs/nitrogen8mm_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/imx8mm-nitrogen8mm.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_IMX8MM=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="imx8mm" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen8mm_2g" +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/26bfd1de.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/208127fd.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/imx8mm-nitrogen8mm freescale/imx8mm-nitrogen8mm-m4 freescale/imx8mm-nitrogen8mm_rev2 freescale/imx8mm-nitrogen8mm_rev2-m4 freescale/imx8mm-nitrogen8mm_som freescale/imx8mm-nitrogen8mm_som-m4"