Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp12240804rwd; Fri, 23 Jun 2023 03:29:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ74RjrlO1VKI2zP9yi/ubn+cv7+3jBnmz5NN8c+FcXzoyqVV/MWl7/3pcwSvJDx58Az/5ez X-Received: by 2002:a05:6a20:8e17:b0:122:51a3:60e2 with SMTP id y23-20020a056a208e1700b0012251a360e2mr11601063pzj.35.1687516161810; Fri, 23 Jun 2023 03:29:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687516161; cv=none; d=google.com; s=arc-20160816; b=TGow7p2cVMQgIpWnUSsXqI35Am87ZvB09lcNvl0Auj1A4XAczzRCgJa200Re2CjT1s xcv1U67ikOcCQJWZYLPRysb4pZloiH9h3W7bvpk36tSPMHOTL95X0yhyzoP/JpEtNCNL dA10pfjvp6gybB8nKmZRB3zHH0MWOQhepKdgJzOZasdIgcN7ySTxg0JCZnAg6ZHkHIZ9 6a8ruAkHhIQGIl84aCct/6gjmC/bcnpYPbh9uMIOP1jz/SFQtShjYK64QNYROuisSXzY AmBFal3OUynbmExSG9C7H6blrv5HwTRlgNpXK3JCIaJhIVuE/evp3hhr5n8B53M37k+d 3HcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=nHZhWGgo76NH04cF8GjDPfERCPW0cF8Z2+fMP4OyHqQ=; b=XJ3P9MvUyg0qC/KyvZUZcarOWbB+JkGaFtQLkVwXJfT4UALV9LEYyy5aNtYjb5jaGw 0q2er/c6j7C1KsJyi//FDhevK+ZX8LltAirr1gCYu7wywTBCFok863SX48SXS0BySx2P VtgL07R7cChhE7bChQY9Hg0VpqG9oyuO0bPidGjz7cEN8Y+cu7MPck7XW98zmGarSWs+ p+GJWe+hvSGry4UQPXZgsMgk0twpq4JUPD2Y8I77204tGE4zCBv4Ac1Ja+WOsmx+pAk1 OxhRRN9OMcIfTqWGKducHDWbrPIbvJi5Wg3Cd0qqpqGmwKgZ+Cgr/13JpAt1SVvXN/SJ 4xbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KotL6elR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d7-20020a170902cec700b001b3d6c68bd1si899496plg.643.2023.06.23.03.29.10; Fri, 23 Jun 2023 03:29:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KotL6elR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231682AbjFWKTI (ORCPT + 99 others); Fri, 23 Jun 2023 06:19:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232273AbjFWKSs (ORCPT ); Fri, 23 Jun 2023 06:18:48 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29E8626B9 for ; Fri, 23 Jun 2023 03:18:09 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-31297125334so469112f8f.0 for ; Fri, 23 Jun 2023 03:18:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687515485; x=1690107485; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=nHZhWGgo76NH04cF8GjDPfERCPW0cF8Z2+fMP4OyHqQ=; b=KotL6elRZiyHJbzzU4+dTZy09rPZ+IgouoMwJH7RGSLWSlSdV1mkJv7t/hIzx5UHLO 1usSOWcVS5tqcmu9y42pl4mh0WzHXaS+MYqkVQJz/5jYg72w4f3nqReTTG8s83ggX2TO fHDeMeg/bq1VN8fUYUqObn/rq3zVsUkYWMAKzQfmxOHMzj5h5Xe1KAoWNJm2mCKdnXRQ Bh/5cFNi93Rro4mB9hRXZ5kNWHg/OzEKvNTMbsp4wnl+jcoH0eP5UuQ6rA0g+cwyrkCA Dufk4OdbChKRdjMnDCRt4b/7CiLH38so/fP0oWkWQ8A073iIVyLnJSHkglcXrzNAFu2r EBzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687515485; x=1690107485; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nHZhWGgo76NH04cF8GjDPfERCPW0cF8Z2+fMP4OyHqQ=; b=G9r6oqhiXq4dLW2rSeg19SDRFxBVkK7rtiR2wWWtfLBMkklexRo3ZEJeoV/xpBPZ5A +RttMHTUC9lRocLajbjtC7BvyQND6F4zgnm6Gecqndfe47a/cQLCC8w/MfRk/+JW4Ij8 hp2OqC0Yw6uP32bYDkZD40MDmr6QQKuJH7Ne79uqAHWG7YoPBZSe4MqXwUG7shiP72H9 ojyVelJKMYVElT+2hr5aA/Ctu+ZT7ROB+GB0+CozdQsU+D9UOIP3B8LfnY4vr9q7SEVt fVlecXZD91D3velz9jJFw+FeH3gQYh+ghpQATRdGhs1CGx8x451lKNajOfZ5yU5cpwi2 ltmw== X-Gm-Message-State: AC+VfDxKo3WAynGJh0ClhaUQcl8psDqvSL93QvM5PaBU1N8c5if961x/ prw04Tcj0uhgBMdWbKHxW3bDSA== X-Received: by 2002:adf:e88a:0:b0:311:19ad:a082 with SMTP id d10-20020adfe88a000000b0031119ada082mr18835654wrm.3.1687515484807; Fri, 23 Jun 2023 03:18:04 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id w3-20020adfee43000000b0030e5b1fffc3sm9272268wro.9.2023.06.23.03.18.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Jun 2023 03:18:03 -0700 (PDT) Message-ID: <125c849f-3746-864f-8b8f-6e0a33aca439@linaro.org> Date: Fri, 23 Jun 2023 12:18:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 2/2] arch: arm64: configs: Enable UBI and UBIFS Content-Language: en-US To: "Lee, Kah Jing" , Dinh Nguyen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon Cc: "linux-kernel@vger.kernel.org" References: <0d1b3c55-4b11-9e63-e388-191d39d88df1@linaro.org> <20230622122114.592791-1-kah.jing.lee@intel.com> <25439c1e-c9ef-0dc6-8d91-883d7734d0fd@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23/06/2023 12:03, Lee, Kah Jing wrote: >>>>> >>>>> Signed-off-by: Alif Zakuan Yuslaimi >>>>> Signed-off-by: Kah Jing Lee >>>>> --- >>>>> arch/arm64/configs/defconfig | 2 ++ >>>>> 1 file changed, 2 insertions(+) >>>>> >>>>> diff --git a/arch/arm64/configs/defconfig >>>>> b/arch/arm64/configs/defconfig index a24609e14d50..23a6ebcb1a9e >>>> 100644 >>>>> --- a/arch/arm64/configs/defconfig >>>>> +++ b/arch/arm64/configs/defconfig >>>>> @@ -470,6 +470,8 @@ CONFIG_IPMI_DEVICE_INTERFACE=m >>>> CONFIG_IPMI_SI=m >>>>> CONFIG_HW_RANDOM=y CONFIG_HW_RANDOM_VIRTIO=y >>>>> +CONFIG_MTD_UBI=y >>>>> +CONFIG_UBIFS_FS=y >>>> >>>> Not modules? >>> Yes, we need to boot with rootfs with UBIFS. >> >> So you miss init ramdisk. > Currently we are using the bootargs to mount the rootfs from QSPI NOR flash: > [ 0.000000] Kernel command line: earlycon panic=-1 ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs rw rootwait > Is it possible to mount the ubifs rootfs with the ubifs=m config during boot? I think yes. rootfs devices are for example modules, so filesystem can be as well. Best regards, Krzysztof