From patchwork Sat Oct 15 15:20:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2429 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 96FEA44AED for ; Sat, 15 Oct 2022 17:20:36 +0200 (CEST) Received: by mail-ej1-f69.google.com with SMTP id dm10-20020a170907948a00b00781fa5e140fsf3540688ejc.21 for ; Sat, 15 Oct 2022 08:20:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1665847236; cv=pass; d=google.com; s=arc-20160816; b=iEz0XjISeNO2F/oxoa8idTtaJRSoS1ggDFj+rdU9AfBUAPRCzUyUGpcK645+V7pZ42 5+zBaOl9fN7C0f4IArlkbBkBWkujRp9LqL0+p8icd8f8EJR0XPvf2p8aOIXGlog/k+VT cVhUz1O5edhYpqj8Hi2w2D5o7s4z58pD/cgGs4bsFa5wM0giIkznQG6dF3kd/UOyvR2y 7CTGC8h7eBxIwbX+Zgjdj7u/d66COxkfJJhp966rAEewPshBF7PqcdAFocaCS5+BUWX4 OmDNlEBdyWFPfNxJjkXN2nhLo4Am6W4a/d8hDWw+PppiZ1gV0mYAehARHArLb8VBsqxz wbsw== 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=XSW1reAjocv+kQUj1sRfrr0gqUqtzD/2TPRCSKEhfAFGcdD4Sxu7+y7oTCyvGJWUC1 d5TZ4Q1wec+O0K/6iFNg/ipY1AnEPTNoXn9KEUgB6oXWNzDXERLzEBPx+ut8+XOKVfLO QZCf4xxCigtp2MxAt839PUkiPDBD0P78YLsSGix5SGqbygi6uYHm/lQr3u4bLyp7N21l 4gTOpLHfXeWBJi6KIBP2HU71B0dYVcODOxLeXanBYQGdlpMcKH5rCfjO8Aw/tyJctm0x sZJWw1oY6i9YfZpUi1XZbuGKTaKn+FaiJwz1se5Jfu90/57z7l2drD2I5j/tNDekvALU 02Ww== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Gtktix4d; 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=5722hAK1c+M05Ld6wj1vtMLCOfFs5nGdgxW0d/WHuk4=; b=hmV4foZL8CmuZOO6N0l1kPuL1uZDUcfFR0APR3MNa174eXAdu/LXlXJ5cBZBpJPmt5 1PBCQlj7PbGw0kb25PYrcEhCH/xYTJd36oG+m+g1sQsSvrg33Vn9jIpmiBY7hpsKtG7j R5ZWGpn80D1gG7CAjfiPm3GyeTb0aJe0Wib+I= 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=5722hAK1c+M05Ld6wj1vtMLCOfFs5nGdgxW0d/WHuk4=; b=MOw2x7jJ6LJ2MUnRbKh30Q/jzNlcC2I7rrM7gf78feGXL7s5gzpjRAzymwkPSdyUqg mGP3vouBG4vh5+ZCYbvxEdN5cSDGb9GNRDQM9FMiDl9+XagxKf/HRn+UW6ZnDNcqWCZz dW702uw0Zp9sW18zme+7W+M7pyDjiiRZ/sTEdtzYGZ8PetfrsMLV9lSCpqIrBqOlj3vs +pcoYHAxe8QOCJ85N0I7KWPiBeKoKUM27AmpNtQ6JCDC5R3I6AuQslsM6X4kMZ9oAo/0 JmcIU3RsHWX+a5J7ozs+fhryNxHEuALHUOMwEwfSG/Ew5VKvyAYubdhVWVz7ppvm6y1s 8GgQ== X-Gm-Message-State: ACrzQf3fBuPhSrl9bPe75xCuAD2W0obPwMWh8vrDUHwnTxdK/mdTCBQl iD58IOOBo8Yp4FRgk8zdO8v3ucjt X-Google-Smtp-Source: AMsMyM4KAIOUCbdN3dXofTPhNN+zJkpznNlZ/wZhIvn5bS3Q2tw4oKqhCWB8lgI/XbwxkzE4xDobzQ== X-Received: by 2002:a17:907:6088:b0:78d:8e24:40d0 with SMTP id ht8-20020a170907608800b0078d8e2440d0mr2366725ejc.590.1665847236159; Sat, 15 Oct 2022 08:20:36 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:5244:b0:43d:b3c4:cd21 with SMTP id t4-20020a056402524400b0043db3c4cd21ls7546391edd.2.-pod-prod-gmail; Sat, 15 Oct 2022 08:20:35 -0700 (PDT) X-Received: by 2002:a05:6402:2319:b0:45c:4231:de18 with SMTP id l25-20020a056402231900b0045c4231de18mr2693133eda.383.1665847234916; Sat, 15 Oct 2022 08:20:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665847234; cv=none; d=google.com; s=arc-20160816; b=C1bnpGExW8DsVCab9IqME6sjKlmBdkjHlmwbjKy6Gu3UH58FSwnj06WJeUODHQRFPf yMO9Dq/oIO/X9nMo22PNvSWkXn0AALdxyM1ZnbcfCoZmi3iOj71Slr4i3GKdKBGv3RTK Uuq9SuBZKvP1Qa1jd/ptt2gRdpeGNWzYsLZG4MJHT8d2kdENYcxfU4kML3feJTryZJVn py/8HMsEa9br+dD98icXXjZelAikZ/DDFRuZrjpRDs8r44mdNLMbnfKQY/M8gX8DX7d8 nPb2YnMLIF4HW1WVl1Pzx/avLxuQN+BDZRRNzLMKwynaaXJGC4Z75M6VAv/prXXvwnPX tARg== 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=iLLgSEhtO+PN9SYcPzUyzLMNi/Q7sLncHTQmxbZ7RwfijXFXpyPyLDX9HsI1UL4G4d z8WgKfs8RP8VBIjPBbgV0vOezXqcZVvrguadSI9Sa5yhmu+DV+eqcS69MQq0wdmFe9XE xyKU+5AfUJrDSeN9IDfqlLHwvdm8ERwHQCJQigYK4oheB7lumwMFZwgnObm6kz9CF5nO RoJZOejb9SE2Zcbb/sh/KzxMS/XIMrduxYERu4IhrVY8ERZSf28wozNmS6YDkJvn0f82 qsWBOrAchw/n5wGDtuEfTwTtyv1qZbw3wlsIaHCXIAsJOAJkE1pdGIqoETVxOoHkj4N6 d2Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Gtktix4d; 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 i20-20020a508714000000b004595c36e7fdsor2590247edb.69.2022.10.15.08.20.34 for (Google Transport Security); Sat, 15 Oct 2022 08:20:34 -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:aa7:cc8e:0:b0:457:23db:f0cc with SMTP id p14-20020aa7cc8e000000b0045723dbf0ccmr2705634edt.122.1665847234648; Sat, 15 Oct 2022 08:20:34 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-95-244-101-110.retail.telecomitalia.it. [95.244.101.110]) by smtp.gmail.com with ESMTPSA id l3-20020aa7cac3000000b0045723aa48ccsm3728701edt.93.2022.10.15.08.20.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Oct 2022 08:20:34 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: Dario Binacchi , Ariel D'Alessandro , Michael Trimarchi , linux-amarula@amarulasolutions.com, Arnout Vandecappelle , Giulio Benetti Subject: [RESEND PATCH v7 0/2] Add support for BSH smm s2 [pro] boards Date: Sat, 15 Oct 2022 17:20:13 +0200 Message-Id: <20221015152015.3647735-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=Gtktix4d; 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