From patchwork Tue Sep 3 16:29:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Matwey V. Kornilov" X-Patchwork-Id: 1157119 X-Patchwork-Delegate: ykai007@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="YKkuTElE"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46NC963Pmgz9sPx for ; Wed, 4 Sep 2019 02:30:01 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 70C17C21E0B; Tue, 3 Sep 2019 16:29:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 7AACDC21DB5; Tue, 3 Sep 2019 16:29:19 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 4B4E5C21C50; Tue, 3 Sep 2019 16:29:17 +0000 (UTC) Received: from mail-lf1-f68.google.com (mail-lf1-f68.google.com [209.85.167.68]) by lists.denx.de (Postfix) with ESMTPS id DE229C21C51 for ; Tue, 3 Sep 2019 16:29:16 +0000 (UTC) Received: by mail-lf1-f68.google.com with SMTP id w67so13395605lff.4 for ; Tue, 03 Sep 2019 09:29:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=d78m3ynVYrRycMquZaos3HoMKZxDghQmKwPrBmUTh2g=; b=YKkuTElEu683NFlkvbcBiBdlCPndM9AjKReiQukB0aRe8m4Dbb8j/iIYOTmGcEYjdO T3rnZWHeaGAhyHYJi5SNOle9WlLC1c+Qv8N2WJsX06y/3YgXPkHg4t73GsYfWf8eVdNs fLm6BP2hiqLDt5OzY6jr9tK17OtR8o1qEhNxsB5jhUhnPR7YDJUF8f2CZcjNzzLvBqBL vcd2+ZWV4eEl23O+EQ4tbpt2yjIspYWEj+B5Xf+FllUMSijAjxQIZp0+bEPMbixUSAJx xTRylnlAW3PCooBGfm4YQTlkr7lRp4soE/Ud/IVPYBZ0GGb/L0V305mufpxjLqZ+Pl/0 1ENQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=d78m3ynVYrRycMquZaos3HoMKZxDghQmKwPrBmUTh2g=; b=KIakESFphfw9yxqs+C1u2MZ1VWYV6baDRWXU4MAb6fdxgnsQ44L8y1JqmOfi0yCffd tBSYOdFoT6snd37E+A8Csr34DmUsyFSC/8zQ7P3eBW0QzyPvyFiEmes3mL6G48O5aNd1 52jSil9/XOXS1YCR5+Myp9/Dy4YZeR50GbxKv4IOW3sIzUJKLu+t0JwQ3CDoSfGyitHi jWY/UiEW5MwFYQHvz++Vcb+YCzwgxO3ZWcCEN7D7Cxw50ftlblcD+ywNNFKwG7nJAXFp ps8K8kXFIz9T1O7LaGXo00e4oliprolOL5+shNKLPkBwyX3qAKBlgkJGfuldHzoVnOLm jT9w== X-Gm-Message-State: APjAAAVlY10Wybbyo4d+UeB0KpnMpQXwD3t3bgDMulcn7BbsXwgPY5nA KsYNDAc+kqpX95lgBUNfP74= X-Google-Smtp-Source: APXvYqxWsG39LEhQCdD+HDcnETnHDyRKz3jQ7MhV3G7zyE1t8+O/QhQIMaV5+1/f3Jx5wG2tBQNt7A== X-Received: by 2002:ac2:483a:: with SMTP id 26mr9998561lft.188.1567528156158; Tue, 03 Sep 2019 09:29:16 -0700 (PDT) Received: from oak.local ([92.243.181.209]) by smtp.gmail.com with ESMTPSA id z128sm3006967lfa.1.2019.09.03.09.29.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Sep 2019 09:29:15 -0700 (PDT) From: "Matwey V. Kornilov" To: kever.yang@rock-chips.com, Simon Glass , Jagan Teki , Marek Vasut , Stefan Roese , Chris Packham , Heinrich Schuchardt , Bartosz Golaszewski Date: Tue, 3 Sep 2019 19:29:01 +0300 Message-Id: <20190903162903.4778-2-matwey.kornilov@gmail.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20190903162903.4778-1-matwey.kornilov@gmail.com> References: <20190903162903.4778-1-matwey.kornilov@gmail.com> Cc: open list , "Matwey V. Kornilov" Subject: [U-Boot] [PATCH v2 1/3] rockchip, Makefile: add idbloader.img target X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Many Rockchip platforms require the same u-boot deploy procedure when TPL and SPL both enabled. The following examples are taken from doc/README.rockchip and board/theobroma-systems/lion_rk3368/README: RK3288: ./tools/mkimage -n rk3288 -T rksd -d ./tpl/u-boot-tpl.bin out cat ./spl/u-boot-spl-dtb.bin >> out sudo dd if=out of=/dev/mmcblk0 seek=64 RK3328: ./tools/mkimage -n rk3328 -T rksd -d ./tpl/u-boot-tpl.bin idbloader.img cat ./spl/u-boot-spl.bin >> idbloader.img sudo dd if=idbloader.img of=/dev/mmcblk0 seek=64 RK3368: ./tools/mkimage -n rk3368 -T rksd -d tpl/u-boot-tpl.bin spl-3368.img cat spl/u-boot-spl-dtb.bin >> spl-3368.img dd if=spl-3368.img of=/dev/sdb seek=64 RK3399: ./tools/mkimage -n rk3399 -T rksd -d ./tpl/u-boot-tpl-dtb.bin out cat ./spl/u-boot-spl-dtb.bin >> out sudo dd if=out of=/dev/sdc seek=64 Here, we introduce generic idbloader.img target which is the TPL image followed by the SPL binary. Signed-off-by: Matwey V. Kornilov Reviewed-by: Kever Yang --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Makefile b/Makefile index 3b0864ae8e..eb12af9364 100644 --- a/Makefile +++ b/Makefile @@ -882,6 +882,10 @@ ifeq ($(CONFIG_MPC85xx)$(CONFIG_OF_SEPARATE),yy) ALL-y += u-boot-with-dtb.bin endif +ifeq ($(CONFIG_ARCH_ROCKCHIP)$(CONFIG_SPL)$(CONFIG_TPL),yyy) +ALL-y += idbloader.img +endif + LDFLAGS_u-boot += $(LDFLAGS_FINAL) # Avoid 'Not enough room for program headers' error on binutils 2.28 onwards. @@ -1293,6 +1297,14 @@ OBJCOPYFLAGS_u-boot-with-spl.bin = -I binary -O binary \ u-boot-with-spl.bin: $(SPL_IMAGE) $(SPL_PAYLOAD) FORCE $(call if_changed,pad_cat) +ifeq ($(CONFIG_ARCH_ROCKCHIP),y) +MKIMAGEFLAGS_u-boot-tpl.img = -n $(CONFIG_SYS_SOC) -T rksd +tpl/u-boot-tpl.img: tpl/u-boot-tpl.bin FORCE + $(call if_changed,mkimage) +idbloader.img: tpl/u-boot-tpl.img spl/u-boot-spl.bin FORCE + $(call if_changed,cat) +endif + ifeq ($(CONFIG_ARCH_LPC32XX)$(CONFIG_SPL),yy) MKIMAGEFLAGS_lpc32xx-spl.img = -T lpc32xximage -a $(CONFIG_SPL_TEXT_BASE) From patchwork Tue Sep 3 16:29:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Matwey V. Kornilov" X-Patchwork-Id: 1157120 X-Patchwork-Delegate: ykai007@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="rAbGs8Yg"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46NC9R6zhHz9sRX for ; Wed, 4 Sep 2019 02:30:19 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 5DB04C21DB3; Tue, 3 Sep 2019 16:29:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 085B7C21DF9; Tue, 3 Sep 2019 16:29:21 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 2C5ECC21C50; Tue, 3 Sep 2019 16:29:19 +0000 (UTC) Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) by lists.denx.de (Postfix) with ESMTPS id A31DDC21C50 for ; Tue, 3 Sep 2019 16:29:18 +0000 (UTC) Received: by mail-lj1-f196.google.com with SMTP id z17so16717988ljz.0 for ; Tue, 03 Sep 2019 09:29:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=6xPsILASpyuuhcNF4aqh/YYnC4Hce9f+hhzr5GCkC4g=; b=rAbGs8YgZobR2kSTKZQmF7K6VatEox/LroeZNqINMWWWibZNu3AUJyjnjicbanKo69 3kF0UO/+Ps1r9IVf0YJIvDJSoavKuQ3luuukNah3ySYUPvBF9mlgv5o+bL+u2RwzSGVU OYCbKsUj0QWTpyneMlwtxDojls6svvNH+wYuongI68j44Wkkqm4rx+1Ycfx5IgprHLbc HF3N/aV/JCr8oENSXCDNDG+R7+upyfFhlVUFL/yWxxRCFA6V3OmIRqCv0DwDnluEhNF2 tGGBa9t7ST3z+VfRlIEMoNSc+zfulmRUaToAHLhZsSo7j+zrC/Kqk+b3yu8uXOoaFifv bnOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=6xPsILASpyuuhcNF4aqh/YYnC4Hce9f+hhzr5GCkC4g=; b=d5a+yh6JtZ/MrZHiJSsB+vmi/y2r34YOGZHL8LxbjYp3IZQoRR+3rpCiSnf3Ga0Otq cjhmUAToAH10h5GPdJ0KGAL6eJkbWmkf+6kYuaCAAQL5t9aewG/GJD7dkkx74tcbyGpQ EcId2gJ9oge3UPWyfKGYKP1ZNDsmpOmawyInOwXtNANdlJqS3ZGhArOYL9dX6vKZioyu sugeFS8trFT6o2VGnTsfEpim7tYhCncIdA8eByFnk1Rc92bRKfNFk1UNEYMA4jaUIUat MvLwJUw8HoO9pBV4jH8rT4prH0kWdzutjw05dQsDQ8efux5YteeMuhOs3FLiKNlDMTTX blwQ== X-Gm-Message-State: APjAAAWT+adQmXlAOVu5W7U6XlLtdiAQRmrKfpfbVqM6qLr2upU7Anfx lBgGMrtJK3IE+bsn/ZmkkK0= X-Google-Smtp-Source: APXvYqxCYDy29IS/bNGZFP5MwGSiLHJ0eNGwBQKAZYYFvrVN/YzmIPKCBSOCeVbXQFxkZJScGAQBFQ== X-Received: by 2002:a2e:87c4:: with SMTP id v4mr8127227ljj.234.1567528157898; Tue, 03 Sep 2019 09:29:17 -0700 (PDT) Received: from oak.local ([92.243.181.209]) by smtp.gmail.com with ESMTPSA id z128sm3006967lfa.1.2019.09.03.09.29.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Sep 2019 09:29:17 -0700 (PDT) From: "Matwey V. Kornilov" To: kever.yang@rock-chips.com, Jagan Teki , Philipp Tomsich , Simon Glass , "Matwey V. Kornilov" , Chris Webb Date: Tue, 3 Sep 2019 19:29:02 +0300 Message-Id: <20190903162903.4778-3-matwey.kornilov@gmail.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20190903162903.4778-1-matwey.kornilov@gmail.com> References: <20190903162903.4778-1-matwey.kornilov@gmail.com> Cc: open list Subject: [U-Boot] [PATCH v2 2/3] doc: rockchip: use idbloader.img for rk3288, rk3328, rk3399 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Makefile now produces ready-to-deploy idbloader.img file. Signed-off-by: Matwey V. Kornilov Reviewed-by: Kever Yang --- doc/README.rockchip | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/doc/README.rockchip b/doc/README.rockchip index 7d4dc1b33b..6007f3321e 100644 --- a/doc/README.rockchip +++ b/doc/README.rockchip @@ -276,9 +276,7 @@ As of now TPL is added on Vyasa-RK3288 board. To write an image that boots from an SD card (assumed to be /dev/mmcblk0): - ./tools/mkimage -n rk3288 -T rksd -d ./tpl/u-boot-tpl.bin out && - cat ./spl/u-boot-spl-dtb.bin >> out && - sudo dd if=out of=/dev/mmcblk0 seek=64 && + sudo dd if=idbloader.img of=/dev/mmcblk0 seek=64 && sudo dd if=u-boot-dtb.img of=/dev/mmcblk0 seek=16384 Booting from an SD card on RK3188 @@ -311,11 +309,6 @@ Booting from an SD card on Pine64 Rock64 (RK3328) For Rock64 rk3328 board the following three parts are required: TPL, SPL, and the u-boot image tree blob. - - Create TPL/SPL image - - => tools/mkimage -n rk3328 -T rksd -d tpl/u-boot-tpl.bin idbloader.img - => cat spl/u-boot-spl.bin >> idbloader.img - - Write TPL/SPL image at 64 sector => sudo dd if=idbloader.img of=/dev/mmcblk0 seek=64 @@ -474,19 +467,9 @@ Hit any key to stop autoboot: 0 Option 3: Package the image with TPL: - - Prefix rk3399 header to TPL image - - => cd /path/to/u-boot - => ./tools/mkimage -n rk3399 -T rksd -d tpl/u-boot-tpl-dtb.bin out - - - Concatinate tpl with spl - - => cd /path/to/u-boot - => cat ./spl/u-boot-spl-dtb.bin >> out - - Write tpl+spl at 64th sector - => sudo dd if=out of=/dev/sdc seek=64 + => sudo dd if=idbloader.img of=/dev/sdc seek=64 - Write U-Boot proper at 16384 sector From patchwork Tue Sep 3 16:29:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Matwey V. Kornilov" X-Patchwork-Id: 1157121 X-Patchwork-Delegate: ykai007@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Ak3rhwZN"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46NC9p1zB3z9sQn for ; Wed, 4 Sep 2019 02:30:37 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id AD9CEC21D8E; Tue, 3 Sep 2019 16:29:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id A9573C21DFA; Tue, 3 Sep 2019 16:29:27 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B957EC21DA1; Tue, 3 Sep 2019 16:29:22 +0000 (UTC) Received: from mail-lf1-f67.google.com (mail-lf1-f67.google.com [209.85.167.67]) by lists.denx.de (Postfix) with ESMTPS id 65D5AC21DEC for ; Tue, 3 Sep 2019 16:29:20 +0000 (UTC) Received: by mail-lf1-f67.google.com with SMTP id x80so2291833lff.3 for ; Tue, 03 Sep 2019 09:29:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=FvcNzCvc1XRfa7d1fBUR+oMzzIr1uu1CFIj03iARUnw=; b=Ak3rhwZN1YD0d9reRQbTlVB/wcz+dBMN7HnCSP7eI0FBndjzsR8rShasavSXgyJPG5 BfdygsJba2Ddc/qCbtRUhrFZ4Q5Hk9Wf3lufB1nTsrMbMOSBpUu2fNb7XC8hZgf53LaX ru0StnPaDna6fjBZ+Yfml8suKBEpQe8biI0SGPsS9Nrzbw9eilaQzFD7ZCXeMGx7skYr k81EUZ1q1Myap8gangh2ZvO7VHeFz8ylNF2cGjyG09XcrvpSxLHa9+AslrGnVhKca7zR LeCguI7zG/4WpBxYVI8O13D3vGTw4paguAGbzr7WYwibOw4QQlPYHkYmv+bJ9SNnlF4a +puA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=FvcNzCvc1XRfa7d1fBUR+oMzzIr1uu1CFIj03iARUnw=; b=O+KSDINQMmuQSrMaj2lxLvZm8quOb7ouVIaGlQqxdwp5Vs80v6OrwBtPlg5Fkx7Pkl ymgxdUspUS2znDNe/9HyDYVg+CMa3pNwHQgWU57blETKgV+tCIsqbF82bXZNrNl7tkE/ yqiDCCSTPHg2iT021g2jIjtF5zjy9CPfqua0714+zSNQPFOl24dLqbLG33e4AD0Yc7l3 dyNtOO7z+qH+kTTsEOdlkc4UFO3ydDlnk2Op9vho8NLlF3a+53XhWcTrMpZxgyB+Zr+6 PJP5ARCD1swp5LmJsCHlU6hXKAuq4IJMJTg+pJz3Z85KTlKBBTER8CelDWpJsXug4XsE CB2Q== X-Gm-Message-State: APjAAAWnQXTzhpbeujC9f9LolRLXULDylcRNfdJNuijWK5vN9661Xw8L 9qpBdqmSdOCGnrXFFRzjXCQ= X-Google-Smtp-Source: APXvYqywGH8LYLo3t8GrTuiWzg+cz16mZ6FxpxgGBp0FHcHZH2lUlS5ipPzDHHAQt9flKgyAcP2lcw== X-Received: by 2002:ac2:43cb:: with SMTP id u11mr16679448lfl.38.1567528159772; Tue, 03 Sep 2019 09:29:19 -0700 (PDT) Received: from oak.local ([92.243.181.209]) by smtp.gmail.com with ESMTPSA id z128sm3006967lfa.1.2019.09.03.09.29.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Sep 2019 09:29:18 -0700 (PDT) From: "Matwey V. Kornilov" To: kever.yang@rock-chips.com, Philipp Tomsich , Klaus Goger Date: Tue, 3 Sep 2019 19:29:03 +0300 Message-Id: <20190903162903.4778-4-matwey.kornilov@gmail.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20190903162903.4778-1-matwey.kornilov@gmail.com> References: <20190903162903.4778-1-matwey.kornilov@gmail.com> Cc: open list , "Matwey V. Kornilov" Subject: [U-Boot] [PATCH v2 3/3] doc: lion_rk3368: use idbloader.img for rk3368 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Makefile now produces ready-to-deploy idbloader.img file. Signed-off-by: Matwey V. Kornilov Reviewed-by: Kever Yang --- board/theobroma-systems/lion_rk3368/README | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/board/theobroma-systems/lion_rk3368/README b/board/theobroma-systems/lion_rk3368/README index 83e4332984..ad3ac93bd4 100644 --- a/board/theobroma-systems/lion_rk3368/README +++ b/board/theobroma-systems/lion_rk3368/README @@ -18,8 +18,6 @@ Build the TPL/SPL stage ======================= > make CROSS_COMPILE=aarch64-unknown-elf- ARCH=arm - > tools/mkimage -n rk3368 -T rksd -d tpl/u-boot-tpl.bin spl-3368.img - > cat spl/u-boot-spl-dtb.bin >> spl-3368.img Build the full U-Boot and a FIT image including the ATF ======================================================= @@ -35,7 +33,7 @@ Copy the SPL to offset 32k and the FIT image containing the payloads SD-Card ------- - > dd if=spl-3368.img of=/dev/sdb seek=64 + > dd if=idbloader.img of=/dev/sdb seek=64 > dd if=u-boot.itb of=/dev/sdb seek=512 eMMC