From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6CB45C48BE5 for ; Wed, 16 Jun 2021 21:35:46 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5DC1D6102A for ; Wed, 16 Jun 2021 21:35:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5DC1D6102A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3A0108060C; Wed, 16 Jun 2021 23:35:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="pgAInTtx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9325F81E53; Wed, 16 Jun 2021 23:35:41 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C2156804E7 for ; Wed, 16 Jun 2021 23:35:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: by mail.kernel.org (Postfix) with ESMTPSA id 274736102A; Wed, 16 Jun 2021 21:35:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623879336; bh=odCuBpBbamVciOkxJiR24dhfrUTBTGlHdahc8FwFP7I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pgAInTtxeM8kDWFW67ALhGa/P7bQc1TiuYWgSl8lHWVKa+tqELca9Jf5oAnBlsOw+ wnlqoyxgo3Lk1Pcw+dZ/XezNNoEJETCAawGmjQe1/Wg+jxsc40CRjDioLrwJNABV56 p3Q7/7olyKWeps3nkJvrZu+s/5sB4gxb4j7Cy11dASHrPhWQE7BQolB7zvnaa40TIP Pn3C/SnDyRBAbH/S3DOGfU6AGuU85YCieHVj1EAMJXzHCZduTGkPKHaNHtZTyA2B1C ixib1hZiORXPkxZhIXQtCyi7dx9BJ6w8fUez8vT/zRtHse+RgKLQlDTyokU7XdjbCs X786Zyb4+Zzpw== Received: by pali.im (Postfix) id CA5B567D; Wed, 16 Jun 2021 23:35:33 +0200 (CEST) Date: Wed, 16 Jun 2021 23:35:33 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Tom Rini Cc: Ivaylo Dimitrov , maemo-leste@lists.dyne.org, u-boot@lists.denx.de, Merlijn Wajer Subject: Re: [maemo-leste] [PATCH] arm: Remove nokia_rx51 board Message-ID: <20210616213533.peznsbpcq3ahssc3@pali> References: <20210615123436.GH9516@bill-the-cat> <5848e9c9-4dab-00cc-07dc-ffa57b9417cd@gmail.com> <20210616121008.GR9516@bill-the-cat> <20210616121313.GS9516@bill-the-cat> <20210616173702.GW9516@bill-the-cat> <20210616211213.GZ9516@bill-the-cat> <20210616211632.xxoo3vu6mlyxg5wr@pali> <20210616212020.GB9516@bill-the-cat> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210616212020.GB9516@bill-the-cat> User-Agent: NeoMutt/20180716 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On Wednesday 16 June 2021 17:20:20 Tom Rini wrote: > On Wed, Jun 16, 2021 at 11:16:32PM +0200, Pali Rohár wrote: > > On Wednesday 16 June 2021 17:12:13 Tom Rini wrote: > > > Wait, why is thumb disabled? That's something I'd really like to know > > > why on as my first guess is there's units with old enough cores that > > > have some thumb errata maybe? > > > > IIRC we disabled at time when N900 support was merged into U-Boot (about > > 10 years ago) as built binary did not work on real N900 HW. Non-thumb > > build work fine. > > > > I thought it was due to thumb errata but yesterday I was told that thumb > > errata affects running system only when virtual memory and context > > switches are used. And correct me if I'm wrong, but u-boot is not using > > virtual memory mapping and neither multiprocessing context switches. > > > > So it looks like that at that time (10 years ago) there was another bug > > in u-boot which caused that thumb build was non-working. > > Thanks for explaining, yes, we should be able to enable thumb and This needs to be tested on N900 hw if it really works. > disable EFI and see just how close things are again to the size limit. EFI is not used on N900 and I'm not aware why it is enabled. Maybe somebody proactively enabled it and nobody noticed? So very good candidate for immediate disabling to reduce space. > Oh, and we have things set such that the hooks to cause link time errors > on size overflow are enabled here, right? Seems that link time errors are not enabled. But "integration" test for N900 which is running on Azure is checking this enforcement. Just because generating final MTD image (for running test) fails. Also you can run this test manually on local computer: ./test/nokia_rx51_test.sh So thanks to Azure CI testing, we are sure if tests passes, N900 code is working fine (at least in qemu) and also has "correct" size.