From: Giulio Benetti <giulio.benetti@benettiengineering.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Jesse Taube <mr.bossman075@gmail.com>,
NXP Linux Team <linux-imx@nxp.com>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Sascha Hauer <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
Ulf Hansson <ulf.hansson@linaro.org>,
Dong Aisheng <aisheng.dong@nxp.com>,
Stefan Agner <stefan@agner.ch>,
Linus Walleij <linus.walleij@linaro.org>,
gregkh <gregkh@linuxfoundation.org>,
Olof Johansson <olof@lixom.net>, SoC Team <soc@kernel.org>,
Russell King - ARM Linux <linux@armlinux.org.uk>,
Abel Vesa <abel.vesa@nxp.com>,
Adrian Hunter <adrian.hunter@intel.com>,
Jiri Slaby <jirislaby@kernel.org>,
Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>,
linux-clk <linux-clk@vger.kernel.org>,
DTML <devicetree@vger.kernel.org>,
Linux ARM <linux-arm-kernel@lists.infradead.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-mmc <linux-mmc@vger.kernel.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@vger.kernel.org>,
"open list:SERIAL DRIVERS" <linux-serial@vger.kernel.org>,
Vladimir Murzin <vladimir.murzin@arm.com>
Subject: Re: [RESEND in plain-test] Re: [PATCH v5 0/9] Add initial support for the i.MXRTxxxx SoC family starting from i.IMXRT1050 SoC.
Date: Fri, 17 Dec 2021 10:54:39 +0100 [thread overview]
Message-ID: <634e9304-2eba-4ea9-65ac-5d4f5d011b70@benettiengineering.com> (raw)
In-Reply-To: <CAK8P3a1oZK1qMRBE3D8otCTY6Lg4jMXxVpAZHQzLTA8woA3_UQ@mail.gmail.com>
Hi Arnd,
On 16/12/21 22:13, Arnd Bergmann wrote:
> On Thu, Dec 16, 2021 at 6:33 PM Giulio Benetti
> <giulio.benetti@benettiengineering.com> wrote:
>> On 16/12/21 09:26, Arnd Bergmann wrote:
>>> On Wed, Dec 15, 2021 at 11:05 PM Jesse Taube <mr.bossman075@gmail.com> wrote:
>
>>> As a more general comment, it's always nice to see newly added SoC
>>> platforms, especially when they are this well implemented and done
>>> by hobbyists. However, I do think you are being overly optimistic
>>> as to how useful this is going to be to other people: interest in NOMMU
>>> ARM platforms has dropped a lot over the past 5 years, and as far as I
>>> can tell, it is only being kept alive for existing stm32 customers
>>> as the economics do not favor Linux on Cortex-M for new products
>>> compare to Linux on Cortex-A or some RTOS on Cortex-M.
>>>
>>> The existing users will inevitably stop updating their kernels at some
>>> point, and then it's most likely just you and Vladimir Murzin that care.
>>
>>
>> About this will you accept support for the other SoCs in the family?
>> We would like to add in the near future:
>> - i.MXRT1020(uboot support is already upstreamed)
>> - i.MXRT1024(almost equal to 1020)
>> - i.MXRT1060(almost equal to 1050)
>> - i.MXRT1064(almost equal to 1060)
>> And
>> - i.MXRT1160/70 new family with faster core clock(1Ghz) and a cortex M4
>>
>> We need to add missing lcd(uboot upstreamed), usb(uboot upstreamed),
>> ethernet(wip) supports for i.MXRT10xx family.
>
> Sure, anything you want to work on supporting can be added to the kernel,
> the important bit is that it's well written and can be maintained going forward.
>
> My best guess is that we'll end up ripping out all NOMMU support in
> a few years, when we get to a point when both of these things happen:
>
> - the number of actual users that still update their kernels becomes
> really low
>
> - There is some treewide refactoring that isn't easily supportable without an
> MMU unless someone puts extra work into it.
>
> At the moment, we still support NOMMU kernels on a bunch of architectures
> (Arm, riscv/k210, sh/j2, m68k/coldfire, xtensa and h8300). Out of these,
> Arm is by far the most active, and if Arm NOMMU support was to go away
> for some reason, the others would likely follow.
Ok, I understad now.
>> This is to organize with Jesse also about buying evaluation boards and
>> timing.
>>
>> We’ve meant this porting also as an exercise to deal with Linux deeper
>> for us and for the other newbies.
>>
>> We’ve been also asked about a possible support for s32s(quad cortex-R52)
>> on initial emails but it has no mmu too.
>> While I’m seeing that some cortex-R is landing inside Linux.
>> Would it be interesting anyway?
>
> I brought that up during the initial review, but I think this is even
> less interesting
> than Cortex-M support from the perspective of potential use cases. While
> Cortex-M MCUs have some advantages over larger SoCs in terms of
> power consumption and cost, this is generally not true for running Linux
> on Cortex-R. The Cortex-R and Cortex-A cores are closely related, so
> they tend have similar power/performance/area characteristics, but
> the lack of an MMU makes the Cortex-R much less useful. If there was
> an advantage to running with the MMU disabled, you could actually do that
> on a Cortex-A as well, but clearly nobody does that either.
Yes
Thank you for the answer
> Vladimir has put some work into making Cortex-R work in the kernel, and
> he may have some other thoughts on this question.
I'm curious if he has something specific to Cortex-R to tell.
I've found that Cortex-R82 has a MMU:
https://www.arm.com/products/silicon-ip-cpu/cortex-r/cortex-r82
but I can't find any SoC that uses it. Also, I don't know how many
people could use it honestly.
Best regards
--
Giulio Benetti
Benetti Engineering sas
next prev parent reply other threads:[~2021-12-17 9:54 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-15 22:05 [PATCH v5 0/9] Add initial support for the i.MXRTxxxx SoC family starting from i.IMXRT1050 SoC Jesse Taube
2021-12-15 22:05 ` [PATCH v5 1/9] ARM: imx: Add initial support for i.MXRT10xx family Jesse Taube
2021-12-15 22:05 ` [PATCH v5 2/9] ARM: dts: imxrt1050-pinfunc: Add pinctrl binding header Jesse Taube
2021-12-15 22:05 ` [PATCH v5 3/9] dt-bindings: imx: Add clock binding for i.MXRT1050 Jesse Taube
2021-12-15 22:05 ` [PATCH v5 4/9] dt-bindings: clock: imx: Add documentation for i.MXRT1050 clock Jesse Taube
2021-12-16 15:58 ` Rob Herring
2021-12-15 22:05 ` [PATCH v5 5/9] clk: imx: Add initial support for i.MXRT1050 clock driver Jesse Taube
2021-12-16 16:07 ` Abel Vesa
2021-12-15 22:05 ` [PATCH v5 6/9] dt-bindings: serial: fsl-lpuart: add i.MXRT1050 compatible Jesse Taube
2021-12-16 20:31 ` Rob Herring
2021-12-15 22:05 ` [PATCH v5 7/9] tty: serial: fsl_lpuart: Add i.MXRT1050 support Jesse Taube
2021-12-15 22:05 ` [PATCH v5 8/9] ARM: dts: imx: Add i.MXRT1050-EVK support Jesse Taube
2021-12-15 22:05 ` [PATCH v5 9/9] ARM: imxrt_defconfig: Add i.MXRT family defconfig Jesse Taube
2021-12-16 8:26 ` [PATCH v5 0/9] Add initial support for the i.MXRTxxxx SoC family starting from i.IMXRT1050 SoC Arnd Bergmann
2021-12-16 17:33 ` [RESEND in plain-test] " Giulio Benetti
2021-12-16 21:13 ` Arnd Bergmann
2021-12-17 9:54 ` Giulio Benetti [this message]
2021-12-17 10:28 ` Arnd Bergmann
2021-12-17 11:54 ` Giulio Benetti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=634e9304-2eba-4ea9-65ac-5d4f5d011b70@benettiengineering.com \
--to=giulio.benetti@benettiengineering.com \
--cc=abel.vesa@nxp.com \
--cc=adrian.hunter@intel.com \
--cc=aisheng.dong@nxp.com \
--cc=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=kernel@pengutronix.de \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mr.bossman075@gmail.com \
--cc=mturquette@baylibre.com \
--cc=nobuhiro1.iwamatsu@toshiba.co.jp \
--cc=olof@lixom.net \
--cc=robh+dt@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=sboyd@kernel.org \
--cc=shawnguo@kernel.org \
--cc=soc@kernel.org \
--cc=stefan@agner.ch \
--cc=ulf.hansson@linaro.org \
--cc=vladimir.murzin@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox