From patchwork Thu Sep 8 19:19:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2347 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id CACCF3F054 for ; Thu, 8 Sep 2022 21:20:02 +0200 (CEST) Received: by mail-ed1-f72.google.com with SMTP id z9-20020a05640235c900b0044f0575e9ddsf4114534edc.1 for ; Thu, 08 Sep 2022 12:20:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1662664802; cv=pass; d=google.com; s=arc-20160816; b=K7456iWvMZ8cNioX9qzig4zP3RrmjEnoxIMODR+s2otTAX4bn1aAcbK0Tm1/0XOQ92 +yFYH81T9cNz4PDvegel4RGBxXMuC4U2pAqoVQroCcdaXInl6BbKa1H5JpXMcRjeoqh1 4yeIbt2hvobyJSFo1d0I/ZbHjhgs7ph2ys4DP40ncvgsftVj2dweVdoutU23S010fji0 YbENsZZFXAfRj6WgL/kwtjpOFOWUpclz6/DDho0msxYZkg2PHJgNSkZt+nIqUmf8omkD rghVuOyn2le1doqff1Y9SnarHc66iTcbvo97JzYVI5/swhbehsWaPEFxKwv0MRv5QjBY eX7w== 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=fmVYn8nGY2OczNzKrSUcuvf4cICpn9gKeL52PrQsZMs=; b=F8ltPlrf+iAQc+SGfGYglltSzQAa+likXGszYya0aug0aQPrJgf1n+38I2EUeK68kn tsmpoEltBP6qCNnZoUx+Sl7lB1SMCMx41d4DYHpQDv/rhMf9tNdML6DL046W89MxsuNf ZKTtwREGfb7RzAAfDSC8W6Qnf5cU9Yoh8jNQC8a9FNKtyelMfdOQDFpcpL/yDBAI72Up 86ud05kPEXd/4P6gilbjM8vJmkjRn1wkWUKUgyoJzu+EIBtNhuTG65HAu8mZqhEBAvj8 6oysI8wypOPenipviUUELnUi+aPGE37INF0vBvK5Wo8i96q8C5wyuRU3XQ/AFzBpv5ZQ MTlQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=AjPfR+S8; 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=fmVYn8nGY2OczNzKrSUcuvf4cICpn9gKeL52PrQsZMs=; b=YeL0OG5JtWootzO0ni2v91bSSo37NFTiQw+6HcChJgOzQXPSDO2NAphygZdwfgUTPG gSX7iwhh2kQTumD83RulwcDDOKMAxpLYz4ij/AlIg/emAsDsR5trGfoQQz3ghOx7myjQ tBydXzWLrJmyin25R3FM0hs7nfiixHARd4JTk= 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=fmVYn8nGY2OczNzKrSUcuvf4cICpn9gKeL52PrQsZMs=; b=pGaUpGLhBuXJZRbXtYsnIP/gtfGGC9AeQBxoQzlGC4WRILXWw1OWdb+MUtlwuoZuki feu5kAK2uWRux2tasu9R9o/OMWDbq326/v8uiQpOpLAUiom8W3ff57DANfHV8rmECwB6 mpgY7hbBgHVvhR/zz3sfsuCcmOi9Y98M3b9SgWJlZHZX/D7huC3UWtlLabLhL6c1ukIf G3F7FndNl4yhHPykoA3RJhxibOUhIVAjHtozFm/TxxjOxTYJDBSqcc78ln5HJjf7yuWz dc7+aOuChVGROq8sGKboaPVVL1+SMWRGvFuViuaBAMpaWmRAMq5XZ+3+A1U0bv+NqV5b EZDw== X-Gm-Message-State: ACgBeo1rP3fvm7wv/+KIvxtLOH7Jk6LuiRVO3rml5UGYu0PcRE4hKc1x bMb5gKcXY/AZJXeN2rDSC3RKPuqI X-Google-Smtp-Source: AA6agR5Vo8CRVq3hdPyYtovuY5Bxyt8LSGM1+sd23mebu1MVEKoSMOhdX6eJQ0qTDtuw7jMBj6GeBA== X-Received: by 2002:a17:907:628f:b0:72f:58fc:3815 with SMTP id nd15-20020a170907628f00b0072f58fc3815mr7162819ejc.719.1662664802356; Thu, 08 Sep 2022 12:20:02 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:440b:b0:43d:b3c4:cd21 with SMTP id y11-20020a056402440b00b0043db3c4cd21ls3081523eda.2.-pod-prod-gmail; Thu, 08 Sep 2022 12:20:01 -0700 (PDT) X-Received: by 2002:a05:6402:551a:b0:446:1526:85ea with SMTP id fi26-20020a056402551a00b00446152685eamr8611079edb.188.1662664801117; Thu, 08 Sep 2022 12:20:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662664801; cv=none; d=google.com; s=arc-20160816; b=TwiiTQsk/oHWLnhDDC9OwE+m3i4IQk8PqiS0ZRrsW0kjfact3/HS9CNjSpA5WwcNtr tFZCwjPCDNny8HI26v2Jriat3to004S2Jtfj48koGcn+UkyOIjHsIYKiMAnkx53lcx1s 9r8wVkJ2l3d914iv+lQnGpAED48gCIN1CGjY54OvfKZE+zAsItu02MSDQgGW1O2qO4Ay //xoAsv5TcFxKKV4kKlew3Jfg6KMoABA3WrJhOGN5CbiP93tmbYjJP2TW1ZbrSRUo/DJ 5vXSRvFYcZ+KKVQt7eqkKYZIQl2zrsDz3idaTr0/XkvP+3YvwuBH35ez9p7VFF/Pzsaj FJ1A== 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=TuCHvNcoqWntR59xww2ZnzmZB5/rfj64ZSDJHG3a9Sk=; b=hSPzE+uSFa4H7dfbJIBm6RNycWfrEW859t8vWPYhfVXJm8tiRzqNEp2n7vsUCXAFnp iDf8+Oj5p7ULjCkgxgUToHTlMuijn5LYMChqimNFpIye9kieAw1HzLt8QQMrCCymJnID kKPY/wcAfK3ilZnJZ+LUs/yOAOiDGgFTS7IvaB7NEvwf5czVcsLQqyCXxyIN3jAnGncX qde5CWf5eJtBAP+9Yl6kTITDzzeFMiMLQGVqJ/56Ys7BY6EEwpQakvHmDcfmmBrc2Tja i0Vb+hYeW1rKyyUN4cD5TRBK97mF4vSWTHupUwdSQkn4xdp7dOGxc6VPVLSkVpVvITHa bqLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=AjPfR+S8; 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 u18-20020a170906069200b007318588b4basor1501960ejb.130.2022.09.08.12.20.01 for (Google Transport Security); Thu, 08 Sep 2022 12:20:01 -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:8686:b0:773:6f77:f110 with SMTP id qa6-20020a170907868600b007736f77f110mr3989292ejc.547.1662664800777; Thu, 08 Sep 2022 12:20:00 -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 ke23-20020a17090798f700b007417041fb2bsm1567514ejc.116.2022.09.08.12.19.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Sep 2022 12:20:00 -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 Subject: [PATCH v5 0/2] Add support for BSH smm s2 [pro] boards Date: Thu, 8 Sep 2022 21:19:02 +0200 Message-Id: <20220908191904.823806-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=AjPfR+S8; 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 v4 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 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