Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp13484033rwd; Sat, 24 Jun 2023 00:50:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7rAfXLWXg3Q8bGVbAD+LtWvhAQY3Gm7uqiorlgAeo8hrvdigENqSi3n1o/Fz2zx3n4e3Uc X-Received: by 2002:aca:2109:0:b0:39c:9173:31f1 with SMTP id 9-20020aca2109000000b0039c917331f1mr24706607oiz.28.1687593059124; Sat, 24 Jun 2023 00:50:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687593059; cv=none; d=google.com; s=arc-20160816; b=FMn7UnBrP7YAJ2tqDZ12G97+LCIvZaQOWft6hp6wm5rRoAkBFK1/dZGfqwSSq7SIG3 9q6ufxRChfsYMI9WRdWz3tqHLTbbWWGKFdfi/tDooS/59fZKICMoiy+gTThBTuR/lvS2 27I9tpB6Rq62nY0WIwPLzIpZWWCR/cOQ50qYuNytR+1njOwkUZP/n/GP08hinqKA3Oa1 TxAbwSRVunoI8U4kyyoBpCrdbt7m2eryQFg5LPvCgG0Zud5silaSwlcMB/isAle0E6OK WewLijWCzmwBR8G+ViCwF3OEiuChAplLmPFM7q47AlD8TX4kGvSC4ser3Vz/ceJ91xSp Hd4Q== 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=KcS41/ldoa741kSrifEhXhMe0V/B2ibfblqUGgLow7k=; fh=DVLqTUA0WfQHxCAd8HVVGsmTQw+7yQf+4lro+WyQIxo=; b=BzXFxhLoNW2NdD8Fcj0+UtnBAnoqTPnPqlZPUi+wSwWAlNsUFYS3xvgDm0MQpBsPsn 2PwViRYbzdm7RYn2SZ0BRoImmgtSyilXXkPT5X6ch9OsfniW4PisymMzEsezEtcKP1zR NDy5SYSsh0+neEDTM2j1GXCHJEUDIbQu2KaaL8tUT+VtJCVPRtxqI2gaNK3PbkoTza4z oYvo4qZk/QnOcB7TGO8ZcxWZxt5TKAA3CBdUonA15T5x26WnAA/oT6l63e4LulNYuqZ3 5bb/K94HyEk1izeawwEVLqZEtICg6kvjNI1FjI+WoRUQZ/nM0HCGd3CIhd9tcLejHgmJ tjWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=d0r8OSWo; 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 n7-20020a170902f60700b001b3fb1742e4si795367plg.547.2023.06.24.00.50.46; Sat, 24 Jun 2023 00:50:59 -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=d0r8OSWo; 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 S231445AbjFXHaT (ORCPT + 99 others); Sat, 24 Jun 2023 03:30:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjFXHaS (ORCPT ); Sat, 24 Jun 2023 03:30:18 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BE791FE9 for ; Sat, 24 Jun 2023 00:30:17 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-9887ebe16d0so162133566b.2 for ; Sat, 24 Jun 2023 00:30:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687591815; x=1690183815; 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=KcS41/ldoa741kSrifEhXhMe0V/B2ibfblqUGgLow7k=; b=d0r8OSWoSXlEkeryQ/AkskYT20ZpLf7hUZ+hlgf1/20qCEFWFVgqe+01e9JUBchZ9z 5aZhuGwpf0jsrc1NLsaZfMBDcl39pmLmV1OtIQBS8hff8q3JMw4azXlHttGVeQ/fmRBb DUGBBye5qmWdUShY55Q8B3Qqu1Wlm0RuNhtPrm+jBu7l0kgn4sBGWBGRoCM8hVMEeV/7 W9QTS8QO2TlVm8YM8zcgf3JtlhSabbDX74G1d+53/J0PAdiWq3cmG1JV5WAFVv6v5tVs wjnv1hVh0P87ChOAqMaP+5zaKRxKO8r4lgBm46eT9WvOw0tfPtR4t73b2TXx9u8Cjimo 4jJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687591815; x=1690183815; 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=KcS41/ldoa741kSrifEhXhMe0V/B2ibfblqUGgLow7k=; b=GVUtUnbLR1rKrTUglKTGi/eO0IlbD02lMpm/ZVyMrzYtPKPzfKthGpNwzKwXMRCt/B L12IPpVTU8p8jLigifhxHzOLqfX4T++H52zxJakw2zaaQ9kTSHlSk/u65I7IokLg1zt6 KLsK9A3zPtpeNLKF3uTgfUU7JlGx6aHJ94UVFeJxHXBdzaLCko0er/zmdnO92Gdv48d8 Q98Vi4fsvGLBq1EppkdF1xppz+uTm/m6en9L0OzTO5k+UWqi0fch/BHTqDytKplhyX0U pgek0tMNdJ4vGJIytkGlZ8PJKIj2+gY0qL3F9s9tNvbWmY5L+F4Jaddjf0wQLo2jSru4 bk3Q== X-Gm-Message-State: AC+VfDyyko44s9U0SnX0Hn73DpkVzEdSXRJaP4mnhxhFIfQFF1ELQHkI MbxY6JCv89RP7/X8PS7uV1k+gA== X-Received: by 2002:a17:907:31c1:b0:961:a67:28d with SMTP id xf1-20020a17090731c100b009610a67028dmr19545969ejb.22.1687591815393; Sat, 24 Jun 2023 00:30:15 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id kt19-20020a170906aad300b00989828a42e8sm565288ejb.154.2023.06.24.00.30.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 24 Jun 2023 00:30:14 -0700 (PDT) Message-ID: <0599fc9c-0057-7aa5-3332-40922753ad97@linaro.org> Date: Sat, 24 Jun 2023 09:30:13 +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> <125c849f-3746-864f-8b8f-6e0a33aca439@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 24/06/2023 05:42, Lee, Kah Jing wrote: >>>> 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. > Was going through mtd ubifs page - http://www.linux-mtd.infradead.org/faq/ubifs.html > Quoted: 'In order to mount UBIFS as the root file system, you have to compile > UBIFS into the kernel (instead of compiling it as a kernel module) and specify > proper kernel boot arguments and make the kernel mount UBIFS on boot.' Why? Module loaded by initramfs would also understand cmdline arguments, right? Best regards, Krzysztof