From nobody Sat Feb 7 23:48:19 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A02C0EB64DB for ; Thu, 22 Jun 2023 12:35:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231378AbjFVMfo (ORCPT ); Thu, 22 Jun 2023 08:35:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230513AbjFVMfl (ORCPT ); Thu, 22 Jun 2023 08:35:41 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8795DE; Thu, 22 Jun 2023 05:35:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687437338; x=1718973338; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=KuWmZUFS+bzuFupSqBTPY5LMVOmTmWXNrryWlmfEZl4=; b=ATrMUzi8xRSmzBgtsV7xfAZGLvJPaP7MjaXTokkxsqLaoS3Oi5fL4x5p PxccP3sSGYoQ5LyhdIgrobRzZzDD98dZutTxgFFnHmbzxSoaxgKsZhfKm FR2hlci3wtbajZr/dqH3he1/xxj6E7GsEIFG4xBHcLJWnHReKVGwxtBhf DRpWSvDSoq15diTwtEUvsNIZlI/H5u+PiNLf2vcbBrmFAKeOkLNyYQhsB lp7D/8uBSAAdSh4N2EXi6jqGA5XxdutbloSK1Y//oJSkp4fPpbFOOCPeR EmTfsygOF4yAfxfXWpCEMmXk/hyd97UoMKC8tQD2F9ofst/XjtLu5UNRO g==; X-IronPort-AV: E=McAfee;i="6600,9927,10748"; a="340077388" X-IronPort-AV: E=Sophos;i="6.00,263,1681196400"; d="scan'208";a="340077388" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2023 05:35:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10748"; a="714888943" X-IronPort-AV: E=Sophos;i="6.00,263,1681196400"; d="scan'208";a="714888943" Received: from unknown (HELO localhost.localdomain) ([10.226.216.117]) by orsmga002.jf.intel.com with ESMTP; 22 Jun 2023 05:35:35 -0700 From: kah.jing.lee@intel.com To: Dinh Nguyen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Alif Zakuan Yuslaimi , Kah Jing Lee Subject: [PATCH v2 1/2] arm64: dts: agilex/stratix10: Updated QSPI Flash layout for UBIFS Date: Thu, 22 Jun 2023 20:34:34 +0800 Message-Id: <20230622123432.593548-1-kah.jing.lee@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230622123254.593308-1-kah.jing.lee@intel.com> References: <20230622123254.593308-1-kah.jing.lee@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Alif Zakuan Yuslaimi This patch is to update the QSPI flash layout to support UBIFS in mtd root partition. Signed-off-by: Alif Zakuan Yuslaimi Signed-off-by: Kah Jing Lee --- v2: Update subject prefix --- arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts | 8 ++++---- arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts b/arch/= arm64/boot/dts/altera/socfpga_stratix10_socdk.dts index 38ae674f2f02..12b960b9183c 100644 --- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts @@ -202,12 +202,12 @@ partitions { =20 qspi_boot: partition@0 { label =3D "Boot and fpga data"; - reg =3D <0x0 0x03FE0000>; + reg =3D <0x0 0x04200000>; }; =20 - qspi_rootfs: partition@3FE0000 { - label =3D "Root Filesystem - JFFS2"; - reg =3D <0x03FE0000 0x0C020000>; + root: partition@4200000 { + label =3D "Root Filesystem - UBIFS"; + reg =3D <0x04200000 0x0BE00000>; }; }; }; diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts b/arch/arm6= 4/boot/dts/intel/socfpga_agilex_socdk.dts index 07c3f8876613..608017e6e36a 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts +++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts @@ -128,12 +128,12 @@ partitions { =20 qspi_boot: partition@0 { label =3D "Boot and fpga data"; - reg =3D <0x0 0x03FE0000>; + reg =3D <0x0 0x04200000>; }; =20 - qspi_rootfs: partition@3FE0000 { - label =3D "Root Filesystem - JFFS2"; - reg =3D <0x03FE0000 0x0C020000>; + root: partition@4200000 { + label =3D "Root Filesystem - UBIFS"; + reg =3D <0x04200000 0x0BE00000>; }; }; }; --=20 2.25.1 From nobody Sat Feb 7 23:48:19 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F559EB64D8 for ; Thu, 22 Jun 2023 12:37:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231458AbjFVMhr (ORCPT ); Thu, 22 Jun 2023 08:37:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231436AbjFVMhp (ORCPT ); Thu, 22 Jun 2023 08:37:45 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A79C1AC for ; Thu, 22 Jun 2023 05:37:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687437463; x=1718973463; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=m+Ev4wmCm18e2vsd+uR0dwc67qrspzWomHfGrrOjEiM=; b=ioLvKPHYfDuNKeneQAnHcKVL72uO6qFQVkdu01DLdwlrZ6KWk2cON8BY EygKd98jG5iPvnS0y+PMW0GKuiyC+bd2WtiaF7S5XW3FaiyWn3DxHqKqt Bz174Z3XGljeqvtRA62bxEU3E7OZCjX++ah9tXZBgyfEgfpnbBFxgZWs5 qkiSb3g5wARQ25Q4BhwBS2eKe7AnXyqOF0phQJjYFUx/RB0B+s6rsyIrc O5Xsk7N1o6RUe8gef+Fb2gmUjuW34Kskzr4/d/PgncHQlpt0IvUkjb+35 CRkFQgaiRV55Shd8dvQ8yQDZQJHXABv4rJMuOETAaFWLRNsbkjXwULe7q g==; X-IronPort-AV: E=McAfee;i="6600,9927,10748"; a="360492533" X-IronPort-AV: E=Sophos;i="6.00,263,1681196400"; d="scan'208";a="360492533" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2023 05:37:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10748"; a="1045148777" X-IronPort-AV: E=Sophos;i="6.00,263,1681196400"; d="scan'208";a="1045148777" Received: from unknown (HELO localhost.localdomain) ([10.226.216.117]) by fmsmga005.fm.intel.com with ESMTP; 22 Jun 2023 05:37:39 -0700 From: kah.jing.lee@intel.com To: Dinh Nguyen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon Cc: linux-kernel@vger.kernel.org, Alif Zakuan Yuslaimi , Kah Jing Lee Subject: [PATCH v2 2/2] arm64: defconfig: Enable UBI and UBIFS Date: Thu, 22 Jun 2023 20:36:58 +0800 Message-Id: <20230622123657.593719-1-kah.jing.lee@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230622123254.593308-1-kah.jing.lee@intel.com> References: <20230622123254.593308-1-kah.jing.lee@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Alif Zakuan Yuslaimi This patch is to enable UBI and UBIFS in Linux defconfig for socfpga Agilex and Stratix10 platform. Signed-off-by: Alif Zakuan Yuslaimi Signed-off-by: Kah Jing Lee --- v2: Update subject prefix and align defconfig config place --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index a24609e14d50..8c3c6fd20d77 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -267,6 +267,7 @@ CONFIG_MTD_NAND_BRCMNAND=3Dm CONFIG_MTD_NAND_FSL_IFC=3Dy CONFIG_MTD_NAND_QCOM=3Dy CONFIG_MTD_SPI_NOR=3Dy +CONFIG_MTD_UBI=3Dy CONFIG_BLK_DEV_LOOP=3Dy CONFIG_BLK_DEV_NBD=3Dm CONFIG_VIRTIO_BLK=3Dy @@ -1444,6 +1445,7 @@ CONFIG_TMPFS_POSIX_ACL=3Dy CONFIG_HUGETLBFS=3Dy CONFIG_CONFIGFS_FS=3Dy CONFIG_EFIVAR_FS=3Dy +CONFIG_UBIFS_FS=3Dy CONFIG_SQUASHFS=3Dy CONFIG_NFS_FS=3Dy CONFIG_NFS_V4=3Dy --=20 2.25.1