From patchwork Fri Mar 27 17:12:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 1262891 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=BUBOhLNw; 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 48ppM349m8z9sSQ for ; Sat, 28 Mar 2020 04:12:31 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 44C0488B01; Fri, 27 Mar 2020 17:12:29 +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 F71evov2K3Od; Fri, 27 Mar 2020 17:12:24 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id A606088ACB; Fri, 27 Mar 2020 17:12:22 +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 2921E1BF283 for ; Fri, 27 Mar 2020 17:12:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2165C26539 for ; Fri, 27 Mar 2020 17:12:18 +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 4XeMxVjWHc3Q for ; Fri, 27 Mar 2020 17:12:17 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by silver.osuosl.org (Postfix) with ESMTPS id 3F62F20372 for ; Fri, 27 Mar 2020 17:12:17 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id a81so13174045wmf.5 for ; Fri, 27 Mar 2020 10:12:17 -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=/B94mwUYVCiPggvCmm6+pS1o1pvo+L9Q8S1CbIdnuGQ=; b=BUBOhLNwjHJdIBc+a/OcTYprWmb34YiuJU6f/uPgMwb4axXvkzHOcIX1qogjQdKR8p MkwGBuDs4lEQ6rPOgU0/oow82zZ2VZHS7Ga7xGSOtmgrXQTJr00k/it1xcoMSzC5o4dZ ld5HYvZkY7HtJWNTQAcZ6c5AQi7lqQyoBuo/xrPJvsbHYG7XEY366jdwxz3u/W9WMxMQ eTpk2AIzOoQQrnh5Ep4ZTqMrvdQt9LiyhFHPAbeorrk1NvVAbh9vP7t73YJCqi0TIFyI LEXOlvwA5z3YY/Gpyd5B3L/4RgMuyDmz2t12SlwhQ2r8s3NsazJxxTVAg0r8myp80YNX DUQw== 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=/B94mwUYVCiPggvCmm6+pS1o1pvo+L9Q8S1CbIdnuGQ=; b=TudbrRKxBcnHdl+kN9ksXjIxDOoya6wKuTxAxGJZVVoxWCZ1vutxQQsVAzHkqOgE9V zspkyOcZgF6Uq1cMTlbH50oELzJ+3DaRduf1zdgl7fb0XoUtNJlBfrzU8ARb9LJStngY fmKtrrrQfQYijiQiIq4JKswiXNZmPQ6+wJiwZuiaij2Cc8aajHoJWtJ1/iprwQrSDXAq gLhTlenp0QTLCU2Qtnbk6djTDrnvPmDcm/CpBBdL1IcaRGgJr5EJAgJgkmUKtKUNvSew eFRJEPHmRkjofn9k+10Ltd+GmhCt4glu0PapGt9UbcHMOqCUsOR2WzExzOI8Rtr5tmf9 N1RQ== X-Gm-Message-State: ANhLgQ1EFaGzz0iRTaW4Ej9XYxsdsFs8ujvEJuvj3hkf0QzRmxI2aryE dz2vgYvcO5vArgEi6jtvsj9Kcl88vnw= X-Google-Smtp-Source: ADFU+vv4XH9Qk6WZoSk1+Sqii2oT0xHpm3pi9lCjqLHFHcDbDzEWzwqeLBiORz0x1W6C0AKqIcQutQ== X-Received: by 2002:a1c:2285:: with SMTP id i127mr6736455wmi.152.1585329132039; Fri, 27 Mar 2020 10:12:12 -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.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Mar 2020 10:12:08 -0700 (PDT) From: Gary Bisson To: buildroot@buildroot.org Date: Fri, 27 Mar 2020 18:12:01 +0100 Message-Id: <20200327171203.619849-2-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 1/3] board/boundarydevices/common/post-image.sh: use genimage.sh 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" - To avoid code duplication and to benefit from support script improvements like empty target dir. - Note that currently genimage.sh can't be set in defconfig directly for i.MX8 targets as the POST_SCRIPT_ARGS is used by imx8-bootloader-prepare.sh Signed-off-by: Gary Bisson --- board/boundarydevices/common/post-image.sh | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/board/boundarydevices/common/post-image.sh b/board/boundarydevices/common/post-image.sh index 9cca1b1789..5c70d98e54 100755 --- a/board/boundarydevices/common/post-image.sh +++ b/board/boundarydevices/common/post-image.sh @@ -1,16 +1,5 @@ #!/bin/sh -BOARD_DIR="$(dirname $0)" -GENIMAGE_CFG="${BOARD_DIR}/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}" +support/scripts/genimage.sh -c $(dirname $0)/genimage.cfg exit $? From patchwork Fri Mar 27 17:12:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 1262889 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=XU+g070M; 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 48ppLr56G7z9sSM for ; Sat, 28 Mar 2020 04:12:20 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 142A089063; Fri, 27 Mar 2020 17:12:19 +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 jZPF5DJO58In; Fri, 27 Mar 2020 17:12:18 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 790AC8929F; Fri, 27 Mar 2020 17:12:18 +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 C5AD31BF283 for ; Fri, 27 Mar 2020 17:12:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C2B0989390 for ; Fri, 27 Mar 2020 17:12:16 +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 akoN6VUfgvJL for ; Fri, 27 Mar 2020 17:12:15 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by hemlock.osuosl.org (Postfix) with ESMTPS id 6B19089063 for ; Fri, 27 Mar 2020 17:12:15 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id a81so13173939wmf.5 for ; Fri, 27 Mar 2020 10:12:15 -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=6pEc//Uop5BhaJEmxJnQebiAGxGuW/oH82RsC+itjGc=; b=XU+g070MbXpDEHEAZ86ptDgztvcr5RT4zGD25vDtgxZsrsjQO7MbIbhc8JcpP+2R1/ xYc9LbQwn3UFhj6y5V1SwfY0NFLSB30QCR7M1bPu1H8YyE6iepwWcGxslNpXCHQ3SZ34 GswtJenYdhrgvnDN52C3F4hhVqzleAT7ReH7VH5nHmcM3kv+zQAwyKwHiRFHzrEmAcoz twO9seLIRaGPAjcomGL5ONz8AWeyVb/UUAMdCFGeqsJwmzRfW1WnvLSFfxRR9ZQSzzos heLUhtzvX35jdjXVY9Z/nPEUut2vmcEzot2jjt5mV16mdKmyjCwHx8dOc1Ylyqtl+6SP B9VA== 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=6pEc//Uop5BhaJEmxJnQebiAGxGuW/oH82RsC+itjGc=; b=tDp8desOzOuFXkIjgZbOYadioeU02dTHIDspUg438wIXdi6tg4NKdX/GpORpeAWwwj am5B9+p4/Uu41nyWSi2Psqtti2IrG6Ju8q39L5LgJc37Jb52OLVvYZLETWxNfgrR4/r2 k0boTdoKhExK3KttTSnZUjt74kjiAwHczIQWdaJoKJInmnCbCsSt+6LXsPolqHK9oCFv XvVW6WLKQuzq1IRM5bnG31jjjNOS+D58ZHefdpdnouGl/B3eCMsoDuZxKrnIr7Ooxb/Z 3415JU/3NLTAAbVm+IL9PIjGw1vRJcTylW2FXjSXFsYFV5GBC7d433w5AzkXlvx30Di9 GQsA== X-Gm-Message-State: ANhLgQ3608EoelFOOLqXtmgLmu2FiG0PNA7MY58AS73OTBxcZLX8AW8x zSLzp8SZv57/muShT146nZLADnK7A6k= X-Google-Smtp-Source: ADFU+vukqZI9sUl+XShCkl8JmWeqJBGvFUzkYGNMCq6GEWcK3SCyu+yOzDrfAPZHuSdLdgFSC/svgQ== X-Received: by 2002:a1c:3b02:: with SMTP id i2mr6394299wma.139.1585329133285; Fri, 27 Mar 2020 10:12:13 -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.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Mar 2020 10:12:12 -0700 (PDT) From: Gary Bisson To: buildroot@buildroot.org Date: Fri, 27 Mar 2020 18:12:02 +0100 Message-Id: <20200327171203.619849-3-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 2/3] board/boundarydevices: update readme.txt 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" - update outdated website URL - add missing Nitrogen8M configuration - reword procedure to make it clear it works for all storages Signed-off-by: Gary Bisson --- board/boundarydevices/common/readme.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/board/boundarydevices/common/readme.txt b/board/boundarydevices/common/readme.txt index 0625deef26..2c9a073d2f 100644 --- a/board/boundarydevices/common/readme.txt +++ b/board/boundarydevices/common/readme.txt @@ -1,6 +1,6 @@ Buildroot for Boundary Devices platforms: -https://boundarydevices.com/product-category/popular-sbc-and-som-modules/ +https://boundarydevices.com/nitrogen-sbcs-and-soms/ Here is the list of targeted platforms per defconfig: @@ -19,7 +19,11 @@ Here is the list of targeted platforms per defconfig: - nitrogen7_defconfig - Nitrogen7 -To install, simply copy the image to a uSD card: +- nitrogen8m_defconfig + - Nitrogen8M + - Nitrogen8M_SOM + +To install, simply copy the image to your storage (SD, eMMC, USB): $ sudo dd if=output/images/sdcard.img of=/dev/sdX 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"