From patchwork Tue Dec 13 09:21:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2548 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 630EB40CCE for ; Tue, 13 Dec 2022 10:22:02 +0100 (CET) Received: by mail-wm1-f69.google.com with SMTP id r67-20020a1c4446000000b003d09b0fbf54sf5373351wma.3 for ; Tue, 13 Dec 2022 01:22:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1670923322; cv=pass; d=google.com; s=arc-20160816; b=NThH5JtB1YohG2Dp/qFDCF8DYv9zuh1bbXM3s/evRVvxi8psdXXhOJfZ0pl9qTXiQ3 cyiJ4ryhTCoxc3DP4GFfg6h55L2KWpfeI8wyw+bJEbIbTXYFXCCyzE8o4aYWdZXVCSzV t/Y9EAeXLT535t9+JimBCcxTAx2dnIPey+o5ZYFmseQBjXk9Cq6uIOlBbuBFaWyj5uqW GRWI4s8UMOTSrIndW7XHkkLFKVxbQ2GURTNC0ciemdpiRzXQyEk6PotyzLyuaF8VczTL P7U9WRpC3NgRw08+GHXBZv7rvwm5+A/jKtOHDMaHYdRy7m5/EZLfJ3n+/L53MrKLkhqh 00OQ== 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=OeTN9OT+bN0oll5f4VNawO0jGQM3AupZMMlLa7uoFUM=; b=Fcn8YC8LE868qECBK6cgTFrXXqHta4twWFnlKmAvg0qiFSoAjetHEWpHtuApc6KkVy RoaCJfUI0xmwXQTUm8G/3syEwGXZgQrtgvLN6bJq9Gz7G3Faex4KOCuhv+CeD0AeAji/ uDwAiJw7zraQAtQzgxjd8XOS653N/1n5syS2lUjV5i39RSLL0+/kjv6wvNZtN0d3lcRS R1bqqL875cSWEOmEgfilOCdPX2eEBTBQ0CTpenfOL4tol3UFjkFwaynZMPeEHvUq6CtC Guwu9Ac50laOd1l2VL/z1QbQJ3srwGA/JvDZxpFLmhPxQsBFU/6Z6Dmw7ikA35tUZ0+b oORA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=EZerQDGZ; 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:message-id:reply-to; bh=OeTN9OT+bN0oll5f4VNawO0jGQM3AupZMMlLa7uoFUM=; b=H74i/LOne45fs22gtJTzdbOGpvbPXEqocprWXm1ZCDrAMHxxFDeJUpNJNxLcmlnQAU cAFiyjjsLpNMkIPxfO1iznYH5ChNXnL5lCB6iIjLq7ugw3l4DlfuCCqCuJ3vqCSXxvjG CdMAL0gy0lt2K5ar+u++839Qgk+4rC/wAHu3U= 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:message-id:reply-to; bh=OeTN9OT+bN0oll5f4VNawO0jGQM3AupZMMlLa7uoFUM=; b=m9uzJ7PHEpc4VBnKFlQdg9hzdKDwIL9I1pEKiPCLSB/Mr90NzIVI3pm7jyqAytjQZy plRJtT+w8pC25LOAatcNBz+cINFehsim6AiZnS2ZWqMsQBaWc6J8934AxG6zx+fUeUEi wpKsFp9T8ycmedbBd7v1/nXBIQBNnN6Xxzs6GoYi/OG0FZyqrnfu0deGsPVR+A70qXYz XnVOAc4LSch58r5HFalpYrW/AEPQ2D2Z7sPMw6bCVY2n+LhWTWQ2dJgi475XAvPezsp8 87w9peiaczeWSwbevnZLyyl2VctPZHtCDTNuZkqpOWm7hMvPwqZBBwQSZp0xXHRPIy00 7MZA== X-Gm-Message-State: ANoB5pkWF3Vid3LhqfMeKCCq3M1pWAsE4w4HHdEAMY3Q90n2FWMBKopf WP8U/GNYrl3FPGsWE8RQjRTTUf4X X-Google-Smtp-Source: AA0mqf7tnrHpFpKzZDOAASZUNAMXIk4WjowXltHK85LVTIIOuT3QYfU+5/EYR2rokdQLraQnFWYNeQ== X-Received: by 2002:a5d:5290:0:b0:241:cdd4:6925 with SMTP id c16-20020a5d5290000000b00241cdd46925mr51629719wrv.525.1670923321787; Tue, 13 Dec 2022 01:22:01 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:adf:fd87:0:b0:236:8fa4:71d1 with SMTP id d7-20020adffd87000000b002368fa471d1ls10369602wrr.1.-pod-prod-gmail; Tue, 13 Dec 2022 01:22:00 -0800 (PST) X-Received: by 2002:a5d:494a:0:b0:242:4f56:6b0d with SMTP id r10-20020a5d494a000000b002424f566b0dmr12129841wrs.48.1670923320517; Tue, 13 Dec 2022 01:22:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670923320; cv=none; d=google.com; s=arc-20160816; b=Utle/5wKvxQqVXNxlOiLChD1moaX7lEPDh9NwFvkc3pbo3tuLx4RXsHPRifAizUfV2 sVFEnzX0OdjshfUDdfIVjWKllYrf8MqtCtbPEo/uK3qbp1lBa7VZjjELxGIMqYdFw+R1 lcXmSjkDHJHZz00wAud6eCtHgE+bUBo497IJSPfrghgd7bpJ2jpZ7YYaz2g5NMzETo3b 15ES9OuOClLmLMNIFcYv6Zxrde86VqL4O72hKaQ43Oh8YOequqU8viYVhCgjW+PE8VxV 0UNEiCWDO+UruW9QgKKfZ09MHbgys+WC+LlAwxXAErvUHG6a6l3cEYTschkVpRDjBUFk tduw== 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=9+BTiZz718ni0k/Zj4oZnYvHlODmDvt4YNE47iImkJo=; b=cyY09F7UnSkKgDuhSfec8EdKz/PzzSV5um1IBp7CpWQrh4z4jZTmvjWAeNcke2Fqsu 2loy6lE7D+uIGMuqijnntQRyEtJ3SRkc/XQU93OAWBBbBxYR7ikIUQ69z3IYW6No46KM Ey9wwV2XKxkHbbTm08rydjIy8Vdh2U9BTsQ9EicN4n90Z5VWhuA8S+K7qMqMkKCQiVay mUpw7sXUFiiorFzbSl0i4111LsN2+foWORa/YrnuSuX4u6TsrhaZeeompfohYLA0fkL9 ajDcVdbJB8AFkE1yLAoOOwyUPFtuvuCxZQStoV0wV419RlXuWwUFOLIHW/pWiv/rtPGw Jf2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=EZerQDGZ; 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 g18-20020adfbc92000000b002427e59d477sor1203602wrh.17.2022.12.13.01.22.00 for (Google Transport Security); Tue, 13 Dec 2022 01:22:00 -0800 (PST) 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:adf:d4c1:0:b0:242:6485:4cd7 with SMTP id w1-20020adfd4c1000000b0024264854cd7mr11900294wrk.1.1670923320167; Tue, 13 Dec 2022 01:22:00 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.. (mob-5-90-141-116.net.vodafone.it. [5.90.141.116]) by smtp.gmail.com with ESMTPSA id n3-20020a056000170300b002368f6b56desm13502281wrc.18.2022.12.13.01.21.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 01:21:59 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Ariel D'Alessandro , Michael Trimarchi , Dario Binacchi , giulio.benetti@benettiengineering.com, arnout@mind.be, thomas.petazzoni@bootlin.com, linux-amarula@amarulasolutions.com Subject: [PATCH v8 0/2] Add support for BSH smm s2 [pro] boards Date: Tue, 13 Dec 2022 10:21:54 +0100 Message-Id: <20221213092156.136389-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=EZerQDGZ; 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 v8: - Rebase on master and fix conflicts on DEVELOPERS file. - Set BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y, Changes in v7: - Add Giulio Benetti Reviewed-by tag. - Add Heiko Thiery Reviewed-by tag. 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 | 41 + configs/imx8mn_bsh_smm_s2_pro_defconfig | 42 + 17 files changed, 1491 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