From patchwork Fri Sep 9 14:02:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2355 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id E0B1A3F0CD for ; Fri, 9 Sep 2022 16:02:51 +0200 (CEST) Received: by mail-ej1-f72.google.com with SMTP id sh44-20020a1709076eac00b00741a01e2aafsf1082984ejc.22 for ; Fri, 09 Sep 2022 07:02:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1662732171; cv=pass; d=google.com; s=arc-20160816; b=wTU8Y2Q7ra4yfZ/gjxYAWXJmDDetyYO3Xqc3Ex8Ibpmyr6no7jVDDF27bzv6bxtjdS 70T4VgNJpzL7i1LdnLQW84ddesL7YMupa2gUB98QshbKgjkFD4RwSfza6sijEXYkd8Ca Fe2z3PCMeKNZgDeNxv8fdGST+4L84Xn2RzCpsX+kKuY4+E3iI1hv710Sj2LeARaAAm6p JUjT8TaCgxK1qzC8iUUaIeoF/kwkYqK8OlyvQ4Jq4TA8jb73tAbWYkRhHctrB/Hp2vxF YC3sZgD1NGP2Nli1CH/iseGVHCn5XT4UIzWceYlwNxXkpyC3CStgfDygty6lBb8u92iI 7wYg== 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=5722hAK1c+M05Ld6wj1vtMLCOfFs5nGdgxW0d/WHuk4=; b=kWQSRRr/zpiPEagcoSPNeJyxNv0jPqXMcS0FQtt9Ud+2anQq1tVI+MaN1vTuproK3/ EUNU12/7K/2by1GCQJvVa70BGpio551zg/7U1PPvEZvpkW4O3Z4AANfKjzKV3YNLBRtH 69IvQYVUYPUIgG7fF8AbzYpo4u8ziLCdWMl4HCiHqMxjVaATRChrLxJ/Al+WslQCbeOS 9ua1PqRkEP1Jq4yt2SUYvS4EU2fYOPkUCLGqTpP3K6I+eYhjqItom+crY5sgfuCbz37X a4xy34zyv2dBwkzxeOT8iVDqyts90xC+6Ba+caStJPlDqEol4FrPGCmUfaZmO94Z6o6U Eecw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=TmeegMOT; 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=5722hAK1c+M05Ld6wj1vtMLCOfFs5nGdgxW0d/WHuk4=; b=MOlXBQJg+YHpEA3niioCQdZZnDPXyMsGnuDmyz9NIaBLRNbnf/eOcFoU4ModzTW8gW vEO/ONPCg1gNupGnE5oNst2Aww08GKcEn7lhCsstlKv/NeLlSfDTCeo77UUIlqEm/Km7 l+E3nF84+pN19W4VwEqCumdqbFe78ZS1oZuK4= 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=5722hAK1c+M05Ld6wj1vtMLCOfFs5nGdgxW0d/WHuk4=; b=Bd7dBAj9Ac1QhGuS3d190DRSQOBcrTtCKzmgd4r7ZhCdDcMake/yQMQb1Kvu9h6CtD t0wRBlH1W6x0SVzyRIrYWVbAa74u3LM13CEi0pPSFlo2mof6hCgHgw+8EXITebxk8gFx H6pIusJOrZigeF/TP89dW57c6s96EzTU1ObZ1XqtbfNSwdRUV8L099cCE4qNuTFVQoHw 509XqKeSsDuz22vAwVObHqjgs4C6CONMHZCoHZ+pzWzyOdRXjTbgZF+eegYiZPqF/AQ/ afri61u7l99swZ3F57fIVEW2xSiT/Ao/GNjf7BlrpRYGAOB54DYUMy3Y0K06oUpeVrvd xu1g== X-Gm-Message-State: ACgBeo1V3O/WieFLHrb1y2cIwD/xiJZBBiFanbQugXOhP041vTUcgA3A lNbyEObuYbVSmTKZ1/7r0V0QaXus X-Google-Smtp-Source: AA6agR6VEJi4rxYrIggNj5O1/FuLN2ZqGqTzEkvF2vLHSVgROMV1o5DDnoiiHVXb2j7EvaAJTeE33A== X-Received: by 2002:a05:6402:f11:b0:44f:e1ff:801a with SMTP id i17-20020a0564020f1100b0044fe1ff801amr7725373eda.109.1662732171625; Fri, 09 Sep 2022 07:02:51 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:906:7ce:b0:73d:75ed:a850 with SMTP id m14-20020a17090607ce00b0073d75eda850ls1106363ejc.2.-pod-prod-gmail; Fri, 09 Sep 2022 07:02:50 -0700 (PDT) X-Received: by 2002:a17:907:d94:b0:77a:bf:9c93 with SMTP id go20-20020a1709070d9400b0077a00bf9c93mr1828995ejc.147.1662732170365; Fri, 09 Sep 2022 07:02:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662732170; cv=none; d=google.com; s=arc-20160816; b=VIz8jxR1MdBk6ybxk4in8+vvbmRqPf9rP+BezsXF9Ux9dVwZGYNg5OEWpEFiqTliiT jRqW1abo4Kd2x9wdIr3SCwR3AH0TLGOrcxQ6cQgBmqaNosyX4LqcVO5wNP0SY/AZAm5V qhvBWUqskTvMaDkbQDxzeTwNeH3qaDw3JeJrkhJWYn86WAVWjXbP+adif6E7UoNa4LRE SpOkv0NFuVjPhSDvPejVT9G2lFxhFtzz0iFDIfK6/azq2ulqVW/otrPSuqY+sjcD23zx fwH5L1POWs9BdinUAP8ZeCEzqKLSkjA31KTILUzd+H0goID8dKUkVUqcZDkjU3GlM2Po cw6Q== 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=1S/kY154v1WuJ0YKV9+y0rsctPqgmQP4Tzgqji8ilT8=; b=cBw1uWT+ZNtk06Nc7Z5FXfY9qn+Q7Y3LhQ3IPBtlfXTbExGPttRkH42f0QxN4NfHq6 9S5GqrSGrHhxbl2mwTU6vb0KsB2XTdpqtsJvv266Q16ctf5JFIFZb955gvrcs03ntBNH 8hrCaehyHOj3YyM9zuLBryEX+wjQKUfFQQRH2gy/zKxP51+0QixBbBBrMIwJHhOjrHCD U9v/Fp+Z6Byv5IR1iHyOKWLzuO+CYRIATGHlJDNm5uXqeYQnjZ7fC+cK8zjropQA68qs Sm2K0ZxOheHnsTs8yjkZimO6Ke+uijvIYY3wApLoEpu9593TWpdJnSldq3Q/aySw8HHI ysZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=TmeegMOT; 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 hf6-20020a1709072c4600b0073c16f6f582sor354016ejc.55.2022.09.09.07.02.50 for (Google Transport Security); Fri, 09 Sep 2022 07:02:50 -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:906:c150:b0:745:f66d:a63c with SMTP id dp16-20020a170906c15000b00745f66da63cmr10038657ejc.761.1662732169998; Fri, 09 Sep 2022 07:02:49 -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 13-20020a170906308d00b00742a4debae1sm346224ejv.6.2022.09.09.07.02.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Sep 2022 07:02:49 -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 v7 0/2] Add support for BSH smm s2 [pro] boards Date: Fri, 9 Sep 2022 16:02:39 +0200 Message-Id: <20220909140241.909074-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=TmeegMOT; 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 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 | 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