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 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 C9E9DC433F5 for ; Tue, 5 Apr 2022 18:01:35 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9B54F83C0E; Tue, 5 Apr 2022 20:00:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="WKXTjLpS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3790E83BBE; Tue, 5 Apr 2022 20:00:49 +0200 (CEST) Received: from mail-qv1-xf36.google.com (mail-qv1-xf36.google.com [IPv6:2607:f8b0:4864:20::f36]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7364E83BC9 for ; Tue, 5 Apr 2022 20:00:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf36.google.com with SMTP id i15so205899qvh.0 for ; Tue, 05 Apr 2022 11:00:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=RZKsXB5zJZWBqkGnQBeD1/ffJWVLvN+FZIjnzsvZGUU=; b=WKXTjLpSX4UkbIiyhAdh+BMbW5E9Xnz2c5ThuvQClG7Ccaw5pDFmL7b7b59TMx0Tfn a3bW0TINPmjkN/2eRrXinwVdgZvRxiAw2STTOP5xCY3dthxTdt1oJV0ped0v23azWXhu 66GV1osUVS3JS4UxY/P3vCiDtFRtFjw0W2EIg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=RZKsXB5zJZWBqkGnQBeD1/ffJWVLvN+FZIjnzsvZGUU=; b=1Bf2ynn/zoPqsHhpszIE4lyuQPCmK/nextN3lDzfneP6ue7dCa4z3ohADhEq2FeJXX MLcgHsYZrioP1XXXL5/YhNpjOBr0uJCUFegehaJo0ZLoyOBBKfCJpSgffpoZpXtmiaRd wCgGsPXXTCl8aApsBidm90LRnWznAsoB7EogVGTREwFVvAbwGRdmyRqNVXe1kEQJvWQX xUv6HFUwFRz4rTw+43Qk8QTnNOvukj/rv3HJcd95afJjS94iFQngQV0F4S7pcatQBrv2 DNJH0pfNMBld1PoH4gFKzJk/05wRkYe8PicY5ekvQ9gqIo2NFIBm7bucVw122AgRBGP9 2Xvg== X-Gm-Message-State: AOAM530s2hF594Ejfrw2OY6FtkyBTWlyMg5K/2GDB2o3tVQ+IvCVSYWZ 0nT3e5hGriMF/vDF26mmWBvW/A== X-Google-Smtp-Source: ABdhPJy08iqzjz5Yh6wudbrmeDYWLwH/tP9UbAJotHg9dNRSP7lyzMldaDNKcT3IXtIGfl7n78AYhg== X-Received: by 2002:ad4:5f8e:0:b0:441:3dbf:15d5 with SMTP id jp14-20020ad45f8e000000b004413dbf15d5mr3950209qvb.108.1649181627774; Tue, 05 Apr 2022 11:00:27 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id r8-20020a05622a034800b002e1d615484bsm11764193qtw.37.2022.04.05.11.00.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 11:00:27 -0700 (PDT) Date: Tue, 5 Apr 2022 14:00:25 -0400 From: Tom Rini To: Dzmitry Sankouski Cc: u-boot@lists.denx.de, Ramon Fried Subject: Re: [PATCH 2/3 v4] board: starqltechn: get board usable - add bootcmd and docs Message-ID: <20220405180025.GE9042@bill-the-cat> References: <20220222184954.27024-1-dsankouski@gmail.com> <20220222184954.27024-3-dsankouski@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cYtjc4pxslFTELvY" Content-Disposition: inline In-Reply-To: <20220222184954.27024-3-dsankouski@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.5 at phobos.denx.de X-Virus-Status: Clean --cYtjc4pxslFTELvY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 22, 2022 at 09:49:53PM +0300, Dzmitry Sankouski wrote: > U-boot is intended to replace linux kernel in android boot image(ABL), and > it's FIT payload to replace initramfs file. The boot process is similar to > boot image with linux: > - android bootloader (ABL) unpacks android boot image > - ABL sets `linux,initrd-start property` in chosen node in unpacked FDT > - ABL sets x0 register to FDT address, and passes control to u-boot > - u-boot reads x0 register, and stores it in `prevbl_fdt_addr` env variab= le > - u-boot reads `linux,initrd-start` property, > and stores it in `prevbl_initrd_start_addr` >=20 > In this way, u-boot bootcmd relies on `prevbl_initrd_start_addr` env > variable, and boils down to `bootm $prevbl_initrd_start_addr`. > If more control on boot process is desired, pack a boot script in > FIT image, and put it to default configuration >=20 > What done: > - strip unneeded config options > - add FIT image support > - add framebuffer node, u-boot logo and video console > - increase LMB_MAX_REGIONS, to store all linux dtb reserved memory regions > - add linux kernel image header >=20 > Uart driver causes hang, when u-boot is used in android boot image instead > of linux. Temporary disable console driver, until investigated and fixed. >=20 > Signed-off-by: Dzmitry Sankouski > Cc: Ramon Fried Applied to u-boot/master, thanks! --=20 Tom --cYtjc4pxslFTELvY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmJMg7kACgkQFHw5/5Y0 tyzMpgv/QsGsP3tuoWe5p+d6L3/Q0EjTNI84dLsw4fdVMJG3ovFsiMqcPgdqJ++4 1WH6ID5HhK/QD41mY2ind5ZyW3SVQB/MwW80VBEC5GY5LS5BTHYOHs8l8cqJKhfx LvraDBdyyHQN4VEMlJPB+REMxeegU3XvZJ6sXAM0eI5vyAng0AHBlkw7he24QRZA tbDFjhVpR2jSb6Lx19BMc7TTOwuZ7ytgJ/oH4eAX5L+Ym2dPIQM/mwKw1DKGp+1E 7bqCcX1IvNekEG8U21aTiREvm3iXf4jVo3/BTzL/jDeVt5fHo4ah2nlqV4zg19vv kJQjmnz6DaKW3qdFuL3JDe+nfDipN6mDPHg5Su616nFv7baoPwGYcrSLptfuXGt/ LA9+OH2r/9nC7ByYaTyAseUmSR0UPilT9rPy9plRNC3T5bo20hste+lvPwTCmWyS K8igwjbwRzG5bVALzGuwEWuiX5t0ly+gw1DC7HUyRxH1HiD5tHQ+n9BeVsJidbJJ sYdWcw65 =zVPM -----END PGP SIGNATURE----- --cYtjc4pxslFTELvY--