From patchwork Mon Jan 16 21:55:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2632 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 12C343F081 for ; Mon, 16 Jan 2023 22:55:22 +0100 (CET) Received: by mail-ej1-f72.google.com with SMTP id qw29-20020a1709066a1d00b008725a1034casf366321ejc.22 for ; Mon, 16 Jan 2023 13:55:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673906121; cv=pass; d=google.com; s=arc-20160816; b=nFYdqs8UdIvoPUTVX6yS4/T8wjer9fQid7NFryNoA6rzhMhCsjz45R6awsI68kcyou gU5XUgPcNSQnXgcX+Jfl9jA84Sx8yFXx5PLmEUEBSuzDS3jYgevdyZlDmpwsbXN0XNLA CeEVjct8robkisJjZ7gVPdOcD5ITwhMh8QaUCr3K9YkMOY4/sJe9IlwrEhCCrTQpT1XC xXUyqq1nZQhOZ6TdBqu9+dhW7U/5hRBqMSBESeIRq+QsatmuWv8SlvbvmN5MBb0S5YjK 9MEhN2ZJ4d86X+KM/cIqxnEgIk84VAw5Ny7pNCss2TikrgI7c8iUGQdh8NHGyjHSeLdb MdXw== 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=HfzBmn9cZdklRE9so3wK9z1LruvkmzBPZwMtjopx2tg=; b=TS9HHt+hHPZqMHD14G+3LPTVXaQpMlc8hy9Tyx4VvUaQKyVVO02sjumLVe7qNKDb2f p/8gAZkzeIEJOFnLe0JReCjSOJDfgZneA9CqQQfN/o4nMkUcO4Xgaw4YORBxoRnoxq5y yZrf7pyR/g+JDEpjpeCKKBEeCoMcaejWFlKwNGQlbvmTo96M1oNzLNnfeHntWcJnTVRw KAIUoDecgTtnc8kcfC9jiQ616ByJEwcy+F1T8UddckraU2damlrXCx/NsxDX5wG/ggac lslvlp3OMGt78ic/gdXGxS6tTJ4MfZpH9LUGyM8XQz9M1fVx3DSC6Yq+NTWG6h6KDXzp zU4A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nVYOLcEk; 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=HfzBmn9cZdklRE9so3wK9z1LruvkmzBPZwMtjopx2tg=; b=ofQYn8TyrNhtQei+PtU+r7pRUJTI752EHzs7iDhcI5OWMgBWS94mnx3NnfRgX8m1jj x4aAUbxX1KEGqsK+1olUb6MpYtWDbVL8WOkvOsZo8eFkiceAnPFwd4raMa2Fp/EKK/Td CEtfku8nPlMARZqrSZnsVYwbyj8OPGPFcS9K0= 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=HfzBmn9cZdklRE9so3wK9z1LruvkmzBPZwMtjopx2tg=; b=CEM12ynynq6dgCTnLnqryiD8La9W71C/r7M1MsKs8AYdUo2IsscijdhDdZK/k4pzl6 B+MuhHPlpDQUBIe5K56S+zPXzrpd63qhP36WMOD3ITi/0ZL9+MAM7fp0vechA/CAVCXp w0+pd0fhXpKk5lEO0IjEehVExknqDurglB3t6AP7CpzftNnLIrTB926BjuM2lrnaxgFl 9vqOGp0gwv2TZWw3QQOkbDRfFHxYToqchUKPEC4ToJYck8si2JALLX5OHEGnw1L1eTcH ntqRTKfuUq0PuLiz+mG7pmp33z8pPwQHHuWf1vDTqC8ooVer8qC3V/1j/+IOJk1/CQFS yPdw== X-Gm-Message-State: AFqh2kq9a5GCE1Q7WsOYJtMaman1zoMzKhgchxT9qhOHW1s9wDRnKQnb mZBrLasP5Zwa043Ruk179nHPIZ9D X-Google-Smtp-Source: AMrXdXvIqvp1BCUHdsV15MOwfzg9HX0/e1jEt2DpwdQe0f25kdFBPoiIxR5b38QlFbpCKJcmnWKJyg== X-Received: by 2002:a17:906:780e:b0:871:5093:d162 with SMTP id u14-20020a170906780e00b008715093d162mr33940ejm.721.1673906121860; Mon, 16 Jan 2023 13:55:21 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:906:b49:b0:869:2189:ba11 with SMTP id v9-20020a1709060b4900b008692189ba11ls6673979ejg.9.-pod-prod-gmail; Mon, 16 Jan 2023 13:55:20 -0800 (PST) X-Received: by 2002:a17:906:40cc:b0:870:45ec:3125 with SMTP id a12-20020a17090640cc00b0087045ec3125mr578050ejk.46.1673906120504; Mon, 16 Jan 2023 13:55:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673906120; cv=none; d=google.com; s=arc-20160816; b=K7oX/p/ZggO44VGoztvQCLfmlTbkfML0b0MlZhpCNqWN5Wj06XrbS3p16rre6cJJSv 1JQ6R13E5Go0ITHDr4487teq8lYtQqcIzRZDKFwgC+exbHGVWJXqtTxYM8GNGJVO5Dsc 6myrudQTuJ9nYexZd+5hG88ADcm1NHOoLp7I1Mfs+A0G9U8So1Wcyf64R8ifstcYmg/4 v1TrUAdhn0zgG/OMWDDiuBIQVvEaf6yzpYiLtSzF/i7PVuVR2SLcqSv2KkQBUSHO4eoz OOfR9sLW2dusYZMmlL9+5iYGq7PEnvmrdR/TDT4TxUccS0pfQkvY9d/PHPCqOQJYHGQX 3ppQ== 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=B6NdMeeIC69c5WQqlR+Rd1vX2frQ14XBmA8PK404bOo=; b=W7PJ3S5WKa+OmSs7Qxf8KnplyG8Ln6MiVPYPBCFstLtRHEb0TGVUf/ir3pBjVSbDKL lWk+XSS4sffflsNAEcjMk+bZZiM4038kTW9yvp9lblGW6u4ZwXtPNNqvN4DQWrLzHlJY YK6izqxhq1nG9MC20mAA6xuJj1gcTxIDs4HhhTGpfwBPvRpxowsTiy/Za4kKSAIVHV19 PMHjlFYaLK+KA0X2D7N2rB54QM9snShI1SI1rF6TGNVLJEs8n5rrdP8fuUbWTym68ALF TCPzj0dIknKKBZCV7X6+ZdJgEOaOwGc4PmKZAqCIlsayL5mAyJ8yPajEwCM+vmxja+jp yiAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nVYOLcEk; 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 wd7-20020a170907d60700b007b7d837a7fdsor14528208ejc.2.2023.01.16.13.55.20 for (Google Transport Security); Mon, 16 Jan 2023 13:55:20 -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:a17:907:6746:b0:84d:1c67:97d7 with SMTP id qm6-20020a170907674600b0084d1c6797d7mr553656ejc.30.1673906120268; Mon, 16 Jan 2023 13:55:20 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.. (mob-5-90-75-145.net.vodafone.it. [5.90.75.145]) by smtp.gmail.com with ESMTPSA id vw22-20020a170907059600b0084d43def70esm764255ejb.25.2023.01.16.13.55.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 13:55:20 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: thomas.petazzoni@bootlin.com, "Yann E . MORIN" , Peter Korsgaard , giulio.benetti@benettiengineering.com, Dario Binacchi , Michael Trimarchi , Ariel D'Alessandro , linux-amarula@amarulasolutions.com Subject: [PATCH v9 0/2] Add support for BSH smm s2 [pro] boards Date: Mon, 16 Jan 2023 22:55:14 +0100 Message-Id: <20230116215516.264468-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=nVYOLcEk; 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 v9: - Bump Linux kernel to version 6.1.6. - Remove the Linux kernel patches because they have been merged into the used version. 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 + ...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 + 15 files changed, 1407 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/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