Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C2CF5C433F5 for ; Thu, 30 Dec 2021 21:22:22 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F099280FDD; Thu, 30 Dec 2021 22:22:19 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=svenschwermer.de 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=svenschwermer.de header.i=@svenschwermer.de header.b="cSTu1MKj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1FCFB80F56; Thu, 30 Dec 2021 22:22:19 +0100 (CET) Received: from mail.schwermer.no (mail.schwermer.no [49.12.228.226]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 06DD780FDD for ; Thu, 30 Dec 2021 22:22:16 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=svenschwermer.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sven@svenschwermer.de Message-ID: <841f8309-048b-4ab5-eab0-779bae4ed518@svenschwermer.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=svenschwermer.de; s=mail; t=1640899335; bh=jBwFOp5dACk6Hgj2liZ/Iss9n1osaFFM/F+nS4FamS4=; h=Subject:To:Cc:References:From:In-Reply-To; b=cSTu1MKjOw5Lbi3yEbRAgRnVneOsnthNS0+c7mXnfEfO13llDOU0GfjA/cxsf2gZT K/KEeNhmDhWIR26PqIZ2AFEijWmVosAe8RVwbbIuT7bFLGniw1q/25a/xzBWCekyl4 YWMgReOEZ/xlLv/PM3lLw8aElnJvGPtqXFNytOirW7IXzYb/l2D+fSi1fhIba7Hbq7 TtkQJMycN8bqqV/VlgMJjAuLA9tykJ+BJ+z2tMKWrV35WGp2lX7RXIpt6QV9fqLwRZ l/4vNlKXVD0QEo97fjQopPIJTLOzTC2fwJYnhOm6G+vDLbAdeQRq/HXsDZ360Uc8Rj g9v7CaK2KCffg== Date: Thu, 30 Dec 2021 22:22:14 +0100 Mime-Version: 1.0 Subject: Re: Boot Linux FIT image from SPL Content-Language: en-US To: Fabio Estevam Cc: U-Boot-Denx References: <2a393d38-8eeb-28ea-c5e1-455fb9ccce70@svenschwermer.de> From: Sven Schwermer In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 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 Hi Fabio, Thank you for the hint. That's a _very_ useful document. In the meantime, I have been able to boot my Linux FIT image straight from SPL on my i.MX6ULL platform. I have, however, noticed that Linux boots much faster when launched from u-boot proper compared to SPL. Time to (initramfs) init is 1.2s vs. 5s. That is with identical FIT images (kernel, device tree, initramfs, kernel command line). I ruled out differing core clock rates (both run at 396MHz), caches (caches seem to be disabled before handing over to Linux) and differing load addresses (might cause additional relocations, copies). What other setup could u-boot proper do that would make Linux boot faster that I haven't thought about? Best regards, Sven On 12/28/21 13:15, Fabio Estevam wrote: > On Tue, Dec 28, 2021 at 9:13 AM Fabio Estevam wrote: > >> People load FIT images via Falcon mode on Layerscape: >> https://source.denx.de/u-boot/u-boot/-/blob/master/arch/arm/cpu/armv8/fsl-layerscape/doc/README.falcon4 > > There was a typo in the URL above. Correct one is: > > https://source.denx.de/u-boot/u-boot/-/blob/master/arch/arm/cpu/armv8/fsl-layerscape/doc/README.falcon