From patchwork Fri Sep 2 06:39:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2334 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 1DEC33F057 for ; Fri, 2 Sep 2022 08:40:00 +0200 (CEST) Received: by mail-ej1-f69.google.com with SMTP id gs35-20020a1709072d2300b00730e14fd76esf574648ejc.15 for ; Thu, 01 Sep 2022 23:40:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1662100799; cv=pass; d=google.com; s=arc-20160816; b=UgBIL+SX2+imOumLNsW55qVDZ/xUkIHLDNaPhz0tb3aHWsWbsEfdk+S91mao+dHaup 5bRmf+93+xUHucyO86QWugxd0PWlJ9yhfo/SKRubV84WV9f1tJdXfApwaz2u+iK7h58T 6yQZyd9KmRgx3I5QKR9ZHWWVYKuJnYO9oOlffudGadnxU/dO7R6Z6XacYpQY5j8lwmu/ Bcsp+I6hWedDNVN5EIw8zcuQ8Zes7rpJvQgmKFJt2fVAOgD+OqRcBTBsWDeOE/fXaRre biGLQtnQHfAvlDY69xbD87zK5ILEt/v28V3nainMfO1FocyBjnZGvD/rB409oB0sY9WK iNuQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=y7QYkA6B5nLc4y82jq24PNxf5j89eBO1pXGGIP5wyLc=; b=o152qDkgAGJwOzz0Hr/BZIpScZ47QRVu5DsszEnXnG9WV2k1LImFEUznkslM1deVKz kpINiPxDBa1h208oSkvHXyrcIvVfS94RfJqHdCCRlKEux/Trg7mADS3S62NbcJtqcKg0 1lA7B33Jih/ePWIJJ7A1m/GOmgWZOsYDzIiYIOh+ag+7HaR5Wi6cVIC1HgpBECxxu5X5 Dq9+zRXbhFY437/MZUHg5F/XcZwH9YS8M6bGDZHY3E9wHTIA8nVOXvKrLeLT09qJ0dTw KDLpYrYhIAA9f372P3mJumcmkmC/ZxAzvg4WIKbgZnb3Id6f7B7KF8FDD1RFJ+aoOFKI Wa0w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="ddzs/pgG"; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date; bh=y7QYkA6B5nLc4y82jq24PNxf5j89eBO1pXGGIP5wyLc=; b=hsy1Ok5aHv7XKUlbF/WuBvqMh/3lURxmbSSKjcPTVeOoDW0vsv+/EL0RjWENgJNfrO DPySBeOjr/UipD1GZVL9gqMcq3v/tOZjcGeHndf8jkW1JSOjPxNYBP6+/lreyy9XIkkt dy2Ts52aCpLQpCWf06UaylH/RUk2f9d2c6kmw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=y7QYkA6B5nLc4y82jq24PNxf5j89eBO1pXGGIP5wyLc=; b=3KLGyXgPzCpXqkwIBxAsmswXWtliX+KC89L/AMCnF+hRNBTFEe8BNKi67DVbGL901U ce8OEyNeuGZmA6yPAbuHT+nVbUW6PGxVYhZw255oIUPyVvj9XFgc3bPS9m1sX5fT6TBv IPgsg0S2DTKMkQmPQRFwFJQ5j0CQubD1ugjWfSf1D0P7FZh04lLhjPLpVy8LNxk6X7xh zMw808Lri5IwRhJVUX1yIR90YwO/p3aoq3CD6yKsVnuhj0noDw3cgYVcwhPMN0qyOG7r TlJCtkP7YRQrxfnjw9I7JeqAHf1mne748e9lG81Zsl0l9vVlN4Lb7GCbXJJOrIAVx6tf OldA== X-Gm-Message-State: ACgBeo12St7iF+7ltccVJLZsXTJXcVEU8jYihnTqgEhwM+3DobGD4dv0 K9o8q+eeMLCVnObCqr51B+hvr53/ X-Google-Smtp-Source: AA6agR7EHQgwQDuZLtQtKaB/p37XBwpUsZ49N6TeiF2YswTxq2XnnJuX/uLMqOLcDIVzl+guv0Vfhw== X-Received: by 2002:a50:ed93:0:b0:448:1acc:c048 with SMTP id h19-20020a50ed93000000b004481accc048mr24474303edr.148.1662100799636; Thu, 01 Sep 2022 23:39:59 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:906:3f87:b0:726:2c39:8546 with SMTP id b7-20020a1709063f8700b007262c398546ls374940ejj.8.-pod-prod-gmail; Thu, 01 Sep 2022 23:39:58 -0700 (PDT) X-Received: by 2002:a17:906:58c9:b0:730:bc01:fd5f with SMTP id e9-20020a17090658c900b00730bc01fd5fmr25618437ejs.504.1662100798325; Thu, 01 Sep 2022 23:39:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662100798; cv=none; d=google.com; s=arc-20160816; b=jV7lDjwC1Ypi4tsFPa+jOjJc5989mZ7fkfc+HT+uhQWic083LBgU4s9aa/Iyg0EQML i2cIDRSc/z9y4+mRH1FX6EjFnrBw3FwTJD0ColLESxquspPfOzz5zju6ldGzmwUFhkLn Dfmvepb+MaksZKQ7l3mD0zKIMuwrZKofhljq2YI0bPgD/Zw0sr/3hnJFc7KV1ug1fWZ8 NdPO/pC8ang46Qu6zR1pRtrXKVv3DUBwguJhbgD2fNibhVVsKwJTA9EqDJcPTs7N/lMx h2cwlPzWas2ZhxKoFt0lElrU277TqizsnSJUSvQxxzIT2htirYa72bcpeZSgqdB3O/KT TPVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=1ua0GiyemVq81ffK6dIBmInUg2ywxR7dXAeZyL/vJwg=; b=0qNbTQ5z6nGX93ItsiD9Ecyu/O6twF6gKUOJWsJbiRl0FLy6aza2c2QbvtwyQ0j8up 9eIjqzOlr2lAxIBnx65OrxfX+oVb7E2Lg5vZjzpeF0L4OQ8QfJeO4a1XjyFjzlH/E7YI JRJtCeKNEpasFiGZiD8c5VMmG1buV/abIPFo+Y5aFd1aBjjeJbGU8tXnja1V4IZFakuG Hccy1GjkNXlGnkKQ9NIiv89WPEtRN6CVBd/6pBL1eXhFXYT6eWnDIug3x7mN/4uxGEv2 4M9THhMq2wg59O8x37G4+HjHA6gdRdhCT0euBYAPfDFv108t4WQNDoOJzANv9T5WFdW2 d0UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="ddzs/pgG"; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id d10-20020a170906c20a00b0073065b384f7sor607630ejz.34.2022.09.01.23.39.58 for (Google Transport Security); Thu, 01 Sep 2022 23:39:58 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:907:7678:b0:730:e1ad:b128 with SMTP id kk24-20020a170907767800b00730e1adb128mr27191864ejc.67.1662100797927; Thu, 01 Sep 2022 23:39:57 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-31-31-9.retail.telecomitalia.it. [79.31.31.9]) by smtp.gmail.com with ESMTPSA id bv6-20020a170906b1c600b00730979f568fsm744433ejb.150.2022.09.01.23.39.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Sep 2022 23:39:57 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: Ariel D'Alessandro , Dario Binacchi , Michael Trimarchi , Giulio Benetti , linux-amarula@amarulasolutions.com Subject: [PATCH v4 0/2] Add support for BSH smm s2 [pro] boards Date: Fri, 2 Sep 2022 08:39:37 +0200 Message-Id: <20220902063939.2761040-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="ddzs/pgG"; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The series applies the changes requested by Giulio Benetti to the V3 patch for adding support to BSH smm s2 pro board ([1]). It also adds the support for the BSH smm s2 board. [1] https://patchwork.ozlabs.org/project/buildroot/patch/20220131145555.2819020-1-michael@amarulasolutions.com/ Changes in v4: - Update the commit description. - Bump the kernel version to 5.18.19. - Shrink the Linux configuration. - Add 3 dashes to the kernel patches to avoid having the version history to fall into the final commit log. - Add lore.kernel.org links to the submitted patches. - Apply the 0003-Revert-Revert-mtd-rawnand-gpmi-Fix-setting-busy-time.patch to the kernel. Changes in v3: - Update the commit description. - Bump U-Boot to version 2022-07. - Remove U-Boot patches merged in version 2022-07. - Update the Linux patches. Changes in v2: - Drop the patch that added the 'uuu' package. It has been merged. - Patch 1/2: "configs/imx8mn_bsh_smm_s2_defconfig: new defconfig": - Change commit subject and description. - Update linux patch to version 4. It hasn't been merged yet but has been reviewed. This is the most up-to-date version. - Replace `Co-developed-by:' tag with `Co-authored-by'. - Use the buildroot's output directory if the binaries directory is not passed as a parameter to the `flash.sh' script. - Replace the linux.config file with an architectural defconfig and a config fragment for the changes. - Remove useless and deprecated statements in nand-full.lst. - Remove the buildroot configurations for ext2/ext4 filesystem creation. - Patch 2/2: "configs/imx8mn_bsh_smm_s2_pro_defconfig: new defconfig": - Change commit subject line. - Use the buildroot's output directory if the binaries directory is not passed as a parameter to the `flash.sh' script. - Replace the linux.config file with an architectural defconfig and a config fragment for the changes. Dario Binacchi (1): configs/imx8mn_bsh_smm_s2_defconfig: new defconfig Michael Trimarchi (1): configs/imx8mn_bsh_smm_s2_pro_defconfig: new defconfig DEVELOPERS | 8 + .../common/imx8mn-bsh-smm-s2/linux.fragment | 895 ++++++++++++++++++ board/bsh/imx8mn-bsh-smm-s2-pro/extlinux.conf | 4 + board/bsh/imx8mn-bsh-smm-s2-pro/flash.sh | 23 + board/bsh/imx8mn-bsh-smm-s2-pro/genimage.cfg | 17 + board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh | 7 + board/bsh/imx8mn-bsh-smm-s2-pro/post-image.sh | 3 + board/bsh/imx8mn-bsh-smm-s2-pro/readme.txt | 73 ++ board/bsh/imx8mn-bsh-smm-s2/flash.sh | 26 + board/bsh/imx8mn-bsh-smm-s2/nand-full.lst | 29 + ...ine-mxs-use-platform_driver_register.patch | 45 + ...2-dmaengine-mxs-fix-section-mismatch.patch | 39 + ...d-rawnand-gpmi-Fix-setting-busy-time.patch | 39 + ...Remove-rootwait-1-to-all-the-affecte.patch | 159 ++++ board/bsh/imx8mn-bsh-smm-s2/post-build.sh | 4 + board/bsh/imx8mn-bsh-smm-s2/readme.txt | 75 ++ configs/imx8mn_bsh_smm_s2_defconfig | 40 + configs/imx8mn_bsh_smm_s2_pro_defconfig | 41 + 18 files changed, 1527 insertions(+) create mode 100644 board/bsh/common/imx8mn-bsh-smm-s2/linux.fragment create mode 100644 board/bsh/imx8mn-bsh-smm-s2-pro/extlinux.conf create mode 100755 board/bsh/imx8mn-bsh-smm-s2-pro/flash.sh create mode 100644 board/bsh/imx8mn-bsh-smm-s2-pro/genimage.cfg create mode 100755 board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh create mode 100755 board/bsh/imx8mn-bsh-smm-s2-pro/post-image.sh create mode 100644 board/bsh/imx8mn-bsh-smm-s2-pro/readme.txt create mode 100755 board/bsh/imx8mn-bsh-smm-s2/flash.sh create mode 100644 board/bsh/imx8mn-bsh-smm-s2/nand-full.lst create mode 100644 board/bsh/imx8mn-bsh-smm-s2/patches/linux/0001-dmaengine-mxs-use-platform_driver_register.patch create mode 100644 board/bsh/imx8mn-bsh-smm-s2/patches/linux/0002-dmaengine-mxs-fix-section-mismatch.patch create mode 100644 board/bsh/imx8mn-bsh-smm-s2/patches/linux/0003-Revert-Revert-mtd-rawnand-gpmi-Fix-setting-busy-time.patch create mode 100644 board/bsh/imx8mn-bsh-smm-s2/patches/uboot/0001-include-configs-Remove-rootwait-1-to-all-the-affecte.patch create mode 100755 board/bsh/imx8mn-bsh-smm-s2/post-build.sh create mode 100644 board/bsh/imx8mn-bsh-smm-s2/readme.txt create mode 100644 configs/imx8mn_bsh_smm_s2_defconfig create mode 100644 configs/imx8mn_bsh_smm_s2_pro_defconfig