Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp1853038pxb; Sun, 10 Jan 2021 13:36:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJzY5UQ6tWzndX0ANLff7pOxYWJHGoyHf7YyimmCMXuZMueH3AqbjeKGss1HYY1fefzY1vNq X-Received: by 2002:a50:d2d2:: with SMTP id q18mr11880732edg.346.1610314602106; Sun, 10 Jan 2021 13:36:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610314602; cv=none; d=google.com; s=arc-20160816; b=Gjy5WbkI0eQvpCEYhA1B706IStJvQ3NdKYcPfvDZedwbsvp4+XCEhpMk8CVXobfPjo oyolxntoXBr+3i5DXdLw52v0RxiJywENHh75M6PU3G4qto1R81b9nIX/Fd3AM46Kbig2 B9/ZYOY3kTKgi1d+2XZYSBCKrYmJG5B7ubSYiFoj7zr+k6USidiKgQNLnbsRJ+pjB5ZV 0YsLcQrYUmjJmXHJ2oeUWBmoqlqfVcOkioqak6Z8YTXJJdTHVCWDobfXYjHv91GW1FTq QweVqMsFEkoxZbFeQTTNdFRC33lb3Jurgbc/pPLeOWwCBm7v/aurPVK7MA9cIIO4sePp XNIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=qwDBLOl5CVCeF0P0kwdlt2wM1kUvDpLPAJMSKBRxg9M=; b=0dRwu5NJastWQu6Q+I2RaDPexKDEg7uwVHEBFvRmpBRWd952+A9ZBq4mb03i7iST73 fMHssPoILySfgK6BMGduYwLwlOf5nHF3KaklUtR/ob6FpmAPaQLdDnesoi2UFr0fpXmP uD0O/ar9bHMBrT5+dQvcp6HmT1UZ/IVxPk1/jPqMlkwZvVN/72gRxBnQ046HCow+XlX4 duIYMAq73ASwP9N31Gs5LkP0nQsJutXJzy76pXwkBzNmNjcXiaP78HiPB5DfMlWoVK1H yJ9XHQeXAinaFiHo69Vq/xV54I+yWS1KNaZouZmqF9enUN75VWBVOG2NW4prgDK/n/jF eybg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O1MZL5FC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j9si6166081edv.261.2021.01.10.13.36.18; Sun, 10 Jan 2021 13:36:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O1MZL5FC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726952AbhAJVet (ORCPT + 99 others); Sun, 10 Jan 2021 16:34:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726534AbhAJVet (ORCPT ); Sun, 10 Jan 2021 16:34:49 -0500 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99476C061786 for ; Sun, 10 Jan 2021 13:34:08 -0800 (PST) Received: by mail-lj1-x22f.google.com with SMTP id u11so1425392ljo.13 for ; Sun, 10 Jan 2021 13:34:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qwDBLOl5CVCeF0P0kwdlt2wM1kUvDpLPAJMSKBRxg9M=; b=O1MZL5FC+wG8LIdfmsRaBa6/thw+/g110wanUmPYu2Ronl3gKSXhlOepCDQ+s6TL2N xu11epSwwnwpR0Bj54+iV/ib3911s52X9WzFsGqI81Iay78IYobCO+weAiK+SbwsY3/a t9Pl6C3ogoeCKkHD5FIusF45oWvRd0Hlj1JKnO2WcGVMtlR8cqGBbB30f0U6UvQqaaY9 BoW60rRmLNxfhsS/OSB6KecyuATGVVV7IwNJM3aWzGDD1d2EFAwvROE/K61qJ3+c6V1N 8cTpm6YT70O4fpROcy1vHfMjyrCH7Yeo9dMGwCe9wazTfwm06XqA4xJpkNFVEps8Ceuj 3Nhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qwDBLOl5CVCeF0P0kwdlt2wM1kUvDpLPAJMSKBRxg9M=; b=Rny6L5G4jumSX1qM4Zugu/xY1f8oL1f09ANuYI+d5SHQcs80Y9IQCwNmODs1Dcj5XJ gHRe+xdfMjWOqvBoQlo7m6TgxEitHej1qtPU4ZnamYgpi38I/tRxxjHrZob4v1Jl3zuw 5+ZWkred5XitciMWyVbDVR+bAep8FRE5Fv/7TKzNEFbO0v3sstwe7qg2vtoBQ9lxeUFx UzOUsgwkvB2BcpzChyRA+8gST7DDTqJrfmPPm252RW9IaqhXtenFkdMemnvcrdLxBDzc vZEt+IzmAswTFXit2QmB3Y8F3AOUMGRuS2HR3DedmomIJL2gcwy7JE12ctftCkN0aL7s 7/UQ== X-Gm-Message-State: AOAM530/RZTciwKyjpKaTP7SGVg5bGetcJ1xgrgJ7Frj5Zlq3shnlafI 5H7MJky1DkZ58KSdobtS/htm0JTIH+yYekS0FerUfA== X-Received: by 2002:a2e:9dc3:: with SMTP id x3mr6350880ljj.326.1610314447060; Sun, 10 Jan 2021 13:34:07 -0800 (PST) MIME-Version: 1.0 References: <67171E13-6786-4B44-A8C2-3302963B055F@gmail.com> <1702853.1557dWfJA4@linux-e202.suse.de> In-Reply-To: <1702853.1557dWfJA4@linux-e202.suse.de> From: Linus Walleij Date: Sun, 10 Jan 2021 22:33:56 +0100 Message-ID: Subject: Re: Old platforms: bring out your dead To: Fabian Vogt Cc: Daniel Tang , Arnd Bergmann , Baruch Siach , Geert Uytterhoeven , Neil Armstrong , Viresh Kumar , Jamie Iles , Krzysztof Adamski , Alexander Shiyan , Michael Ellerman , Russell King - ARM Linux , Wei Xu , Oleksij Rempel , Alex Elder , Marc Gonzalez , Hans Ulli Kroll , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Steven Rostedt , Vladimir Zapolskiy , Lubomir Rintel , Koen Vandeputte , Linux ARM , Barry Song , Thomas Bogendoerfer , Yoshinori Sato , Linux Kernel Mailing List , Jonas Jensen , Hartley Sweeten , Mark Salter , Shawn Guo Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 10, 2021 at 7:16 PM Fabian Vogt wrote: > Am Samstag, 9. Januar 2021, 23:20:48 CET schrieb Arnd Bergmann: > > On Sat, Jan 9, 2021 at 1:06 AM Daniel Tang wrote: > > > * nspire -- added in 2013, no notable changes after 2015 > > Most of the platform is just the DT sources and some small drivers around it, > so it's actually fairly low maintenance. So far the migration away from > panel-simple in 2019 > (https://lore.kernel.org/linux-arm-kernel/20190805085847.25554-1-linus.walleij@linaro.org) > was the biggest required change so far. What we're seeing here is actually a port that is: - Finished - Has a complete set of working drivers - Supported - Just works I.e. it doesn't see much patches because it is pretty much perfect. We are so unused to this situation that it can be mistaken for the device being abandoned. I think it was Russell who first pointed out that this is actually the case for a few machines. > > Would either of you already have a guess for how long it makes > > sense to update kernels on it? > > > > I see that this is one of the more limited platforms with just 32MB > > of RAM (64MB in case of CX), and kernels only get more bloated over > > time, so I expect at some point you will be stuck with running old > > software. > > The kernel overhead isn't actually that bad. I just built today's 2ff90100ace8 > and booted it with a busybox-based initrd. free -m reports: > total used free shared buffers > 58 12 46 0 0 > > Relatively speaking, still mostly unused ;-) The stock OS actually uses more! > With 32MiB, the situation is definitely worse, but still manageable. Should > that change in the future, dropping just the Classic/CM variants would be a > possible option, but that still seems far enough away. 64 MB is perfectly fine to run Linux. OpenWrt-type distributions (also OpenEmbedded/YOCTO) run just fine with that. 32 MB certainly works. For example this is the Gemini D-Link DNS-313 which is my NAS and works perfectly on 64MB: root@DNS-313:~# free -m total used free shared buff/cache available Mem: 56136 21032 28612 0 6492 23812 Swap: 131128 1280 129848 Not even using the fallback swap. I can add that at the time it is syncing a backup AND playing back a 1080p movie over SMB. The trick is using ksmbd rather than Samba. ksmbd is much less memory-intensive. I like to use this device for NAS since it is good at I/O, stable, maintained by myself and JustWorks(TM). Yours, Linus Walleij