From patchwork Fri Sep 9 12:55:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2352 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 8725A3F0D5 for ; Fri, 9 Sep 2022 14:55:42 +0200 (CEST) Received: by mail-ej1-f70.google.com with SMTP id xc12-20020a170907074c00b007416699ea14sf957908ejb.19 for ; Fri, 09 Sep 2022 05:55:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1662728142; cv=pass; d=google.com; s=arc-20160816; b=dnduvUaenrG5ckMNqJv/+YKSQMgYvryfcNhWxpaYmbCJevDLyEaLwGzO9JRTKpFkp3 E5qM2+CAbWnFFKlXloQE9DwHtgzn2ltOOZNWQkk3Z8kIZbbuoQQqeD7zP26YHazTLYYN cVsW5sRXSv7dJhcfJggTnrrXx47IEOE/hqtcXDKQKB3p+UEchCUtnp3a0qQuOimiqoqK bXshDptxnGIVGNbx5vNfq6f3LSUW8piJYZqE3T7+LqMERVuh6mdoY84rHK7rppqksriM oFCyIiSkyOomzNIVYAgBh0/k1iA1HOyWX7w7VzRISOMJZdWu20c9rMX2hv2zffvQb8RW nXiA== 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=tAmGKHoZLGXjHmfOoJboYKoqFoHaX1Q5xVMtkS1RVlc=; b=r1jGL451gReTm+50DI5JLJQVDYTvmajX9YmrtjMQtECGkYYFED06Y2E3CsYwrRTms5 K3UEAoK+ABjsvrnq2Xh/LJyaUPk4DhsGRqpLcvKryO3ndchVuXojrABx3xiVn6KjNLrH FtFJnTPLnBaWuShbPwWrzYCqjc9KqG6cSSZs6CJpMSLn13CvSM9wx1tVNHrfu9a5sSVq IJ2s9BHxFe7u8v3pef8iJza04OP52/KT6sMBDTK6MFJ7h9b6C+JwMGXPwZHcmGwrJpG5 JEv4TvGlu9V25eF8Cgi/73fUt09lgPCf0LlDtNpFdg4tXjLTVD1m3l/oRfgTvUt6ThWK lqyw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iz9vp+UP; 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=tAmGKHoZLGXjHmfOoJboYKoqFoHaX1Q5xVMtkS1RVlc=; b=MSEInXdEk8xsdTnrx5a9QHtv5Y1dvz4EQNJAA/LHmpjjcaheaP8McgYbgNC8glmAFA ai6sOnhTECozNcN6t2EXBqb0hjtgOaKd90br4PkgpISzpyRIhfexRpSYJxX8xlo+IOHD 7PyHxleyxVW7+8XC6wmyH+fVp+dzhXL0H681g= 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=tAmGKHoZLGXjHmfOoJboYKoqFoHaX1Q5xVMtkS1RVlc=; b=uMP8nuEdY05Z4l84QJgcXG7BC6xrp6DUwGFIT2IJ7wDJ+JLxGuiu7aCXNI7Lpharj6 0MuArFZFBtiWufVdQRs0JR8YsaU0QGiINRc2Jq5NSCcRTW0h6JSoY6u/70Eq39QE0aMb 392eDFk0GfLaCfuqEkNZ5pmkk7MY0Qrg269KXilN78PH4zREXU2eCjJHQKWzC5N9h9Wi bAJLk+qcsiWt8FBrsR6iGhy04Ptb40smXFdbecYj4P8DFOgsgJuJzlOjAZRNtsJfG6eh R0Ss+BXMsQKCYDbwie0D5Jy9h2P2d3LK2PEvzLmlhE83iNdh90+ofIoxO7OBjqQls7ay u4IQ== X-Gm-Message-State: ACgBeo2Ds4QdL7edo3gSH21eCPJVFj+ai15Ug3SI33cvxCSorTF4IXE1 W60/dOON85sHWh4PEDwZgJP9A/+D X-Google-Smtp-Source: AA6agR7hdYBT/3JwkDyxyUjBfeFjpSB8TtUiyioRQlHQhAC8Sj+NxIDDDrmPnD1nsNg5zSzfwH2hSw== X-Received: by 2002:a17:907:75c7:b0:779:bf7:9be7 with SMTP id jl7-20020a17090775c700b007790bf79be7mr3935866ejc.432.1662728142070; Fri, 09 Sep 2022 05:55:42 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:520f:b0:447:ec6e:2ee with SMTP id s15-20020a056402520f00b00447ec6e02eels1801721edd.0.-pod-prod-gmail; Fri, 09 Sep 2022 05:55:40 -0700 (PDT) X-Received: by 2002:a50:ef03:0:b0:44e:82bf:28e6 with SMTP id m3-20020a50ef03000000b0044e82bf28e6mr10801704eds.270.1662728140627; Fri, 09 Sep 2022 05:55:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662728140; cv=none; d=google.com; s=arc-20160816; b=zWfcwcXtNyPHIOqVylPNifcnX7gDd2nnH+AVqp9V7xB44T3NnlJ9443YuAnG8rtk76 kn3iAlRfvWw9/7/VyQg2Io1biiWrMBCFTigNXHq40xoexX0vTRtb842kSqXb/UVWF79Q Gh7iI344wTHF8fhJiIZFu2h+otrrvTApSiTdspSocvqy2LFzZR6TcORCDoVsiRIjl1W+ YYitUuRj/3mXGVCnc1HYoz2yAg2eJiXcZBQh6yWioWkgzgDFx4Q5CybhWSY75QI5jeyP w1hjB1giwHkONKRovOt2sZ4YgRn+WYK/Xx7JOyWuF8mmIV9wg+2hyXkiKLNUE17hynxt Iu+w== 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=8pn7tR8d0MXAzi7JcA16P1gUj16jqe2Y4+SNI2xuPxI=; b=tIdCfYjkeT0jAbCmOr+pJ+D/Ss0TGfZ4BuavTC0ZChUuSSwoCAtIa4Ocjp/Pwx8AF7 RH17MTptEpOxCy651ya0khskq3nangV1tTwdXBC/eJMDFFAqNmcNarwdre36AfiQNs5i o4miG7v7INOqpg+8HMAe4HUVzZcTeFBe847Q3pdR4L1P07qyQhaDklBNuRG4XeZRVTp9 tCmUUsGYsuvKP+PPbBx4Q9uAC8ZZmJNlZCIxWu+H+BDj4JZ2jaTR/MkYHJb5SRKu45wq QzUZMAQdGmzvNUE2bEN/QBNmTKihPm+8FADaMuR3jlStFLkF7H8avT9hrGGMP6tIzUhM CH5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=iz9vp+UP; 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 v4-20020a170906338400b007313314bb6esor230870eja.99.2022.09.09.05.55.40 for (Google Transport Security); Fri, 09 Sep 2022 05:55:40 -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:2e0b:b0:730:8aee:d674 with SMTP id ig11-20020a1709072e0b00b007308aeed674mr10059012ejc.104.1662728140383; Fri, 09 Sep 2022 05:55:40 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.pdxnet.pdxeng.ch (host-79-31-31-9.retail.telecomitalia.it. [79.31.31.9]) by smtp.gmail.com with ESMTPSA id e24-20020a170906315800b0073d15dfdc09sm277577eje.11.2022.09.09.05.55.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Sep 2022 05:55:39 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: Ariel D'Alessandro , Michael Trimarchi , Dario Binacchi , linux-amarula@amarulasolutions.com, arnout@mind.be, giulio.benetti@benettiengineering.com, Heiko Thiery Subject: [PATCH v6 PATCH 0/2] Add support for BSH smm s2 [pro] boards Date: Fri, 9 Sep 2022 14:55:26 +0200 Message-Id: <20220909125528.897612-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=iz9vp+UP; 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 adds support to BSH smm s2 [pro] boards. Changes in v6: - Change offset in imx-boot partition of genimage.cfg from 33k to 32k. Changes in v5: - Update the commit description. - Bump the kernel version to 5.19.7. - Remove the 0003-Revert-Revert-mtd-rawnand-gpmi-Fix-setting-busy-time.patch patch. - Regenerate all added patches (Linux kernel and U-boot) so that they contain the [PATCH] header without numbering. - Add patchwork link to U-boot patch. 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 + ...Remove-rootwait-1-to-all-the-affecte.patch | 160 ++++ 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 + 17 files changed, 1489 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/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