From patchwork Wed Sep 16 13:31:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1365319 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=u+At3KgF; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Bs1Gx4pf1z9sTq for ; Wed, 16 Sep 2020 23:32:09 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 72FB382355; Wed, 16 Sep 2020 15:31:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="u+At3KgF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2B14082337; Wed, 16 Sep 2020 15:31:50 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) (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 B234882314 for ; Wed, 16 Sep 2020 15:31:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ej1-x644.google.com with SMTP id i22so10381518eja.5 for ; Wed, 16 Sep 2020 06:31:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=l+XRO1IzvAv9ei+SsDufvrRi2eDvZY5Nf001ZMLXO/I=; b=u+At3KgFJlgt8Yt57HJ/H+a3/6Hsrw8hjQGvAmr50rJbbOmA5lw93J/NiahDSjApDq FzXCJoBPV3A/q89EVv9SYEZEA76fRnT1KEownYfQUalIVw0EZKZdVown2SJFX4toWC/P Y6oCiKVxObNZrNlg0Zgua4fZxJF1rX6sAvzezRyHrJM0JChbQAytRjOiSugvUv/m7miZ 0UcOm2XsgsmVS7xQRVRWji+7oGKwFYbArQlqAim35IHt/72gecyVq29cfAu0zWr89XZa C3ZH+sltJvRCmuUL3YPCMOMRzS5CNRe9Jc8jwUThS7ONAw1l/lFweWebr6lcYjM5pHmc Dv4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=l+XRO1IzvAv9ei+SsDufvrRi2eDvZY5Nf001ZMLXO/I=; b=ALxIrYaMghV2YrE30maJ/L6G4pdne5ERyh1MWEaPZVJaHPI5JMgLKYQwgebi9M0/cq I95mBhcr2gHPw24uqv6wpqJXAA5IZ8T/Qt1goLB3rOFBfVBT8f/zczdYFmARY8UyqOzP vDpQOfjVqr/JONPWDTldQYDA/6ij/VyZkFG5zXDwkN8sJesKX2n6NFehMqZxBfkyTT58 HBjYnnPbQ0i91GPH4mC9qm/Rc2jEzhPHQcXm235nkifh4EGsT3fgEDpvwcRNLj8S0jhI TMU0+zNyFozX0kVan86QLkI/Qqf0NpF5gRPNvMKk0HWWgylFSmT4L50o+p/bbwiNSr7F H7dA== X-Gm-Message-State: AOAM533IBAaF9zgZKTmmBH8SMe8oXeIzpMD3V1S2P2r5wEXXbXCPp/us Fy6RRI5vcOLEc0Q2SB7fvWLDEL7keFMqCg== X-Google-Smtp-Source: ABdhPJzslfTg+Rqld045xNq7TA3x+BOFR62uzWHGln01PXpLZBXSq0cT0G0sDqMcKa/4TY/NOirJGQ== X-Received: by 2002:a17:906:b74a:: with SMTP id fx10mr24806060ejb.232.1600263107057; Wed, 16 Sep 2020 06:31:47 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id f4sm13829186edm.76.2020.09.16.06.31.46 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Sep 2020 06:31:46 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Alex Nemirovsky , Anastasiia Lukianenko , Christophe Leroy , Heinrich Schuchardt , Jway Lin , Lokesh Vutla , Masahiro Yamada , Rayagonda Kokatanur , Sam Protsenko , Simon Glass , Stefan Bosch Subject: [PATCH 1/5] MAINTAINERS: Record documentation for Xilinx platforms Date: Wed, 16 Sep 2020 15:31:39 +0200 Message-Id: <37876bbcb781d6987ca639aede10bbf8ca934626.1600263100.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: References: MIME-Version: 1.0 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.102.3 at phobos.denx.de X-Virus-Status: Clean Add fragment to cover documenation for Xilinx platforms. Signed-off-by: Michal Simek Reviewed-by: Heinrich Schuchardt --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 101f4e185df3..c6c100e87cab 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -548,6 +548,7 @@ F: drivers/usb/host/ehci-zynq.c F: drivers/watchdog/cdns_wdt.c F: include/zynqpl.h F: tools/zynqimage.c +F: doc/board/xilinx/ N: zynq ARM ZYNQMP From patchwork Wed Sep 16 13:31:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1365320 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=dzSaxP7Q; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Bs1H61zJYz9sTQ for ; Wed, 16 Sep 2020 23:32:18 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 82C028235F; Wed, 16 Sep 2020 15:31:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="dzSaxP7Q"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3CA978234F; Wed, 16 Sep 2020 15:31:52 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) (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 4AB9982294 for ; Wed, 16 Sep 2020 15:31:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ed1-x536.google.com with SMTP id ay8so6273333edb.8 for ; Wed, 16 Sep 2020 06:31:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jGI2+1gOQZb5vF2sICYdvTyLL47AAQRxk6MEsfHGtvM=; b=dzSaxP7QZcnZeC+xFWJGxzdOOlTIPgWCgIvjo7ZwNvU78e5DBX8syixG3ZDLfynurV kqug/OMMnSu+5+JTjVeVgU/THt4IoV5H42sBbK9Uq4l4a61nxNRUk36GFoBCWSgIsgC+ Ec184kwJHMLF7O5724L0UEvDDwrhjnXtxmA+YvrsSD6hgr/hpVJfQOHGRf/6f1Swb3yV ZxrlsMZV87xTdGN1GwqGb2MNu5hI5hN8cXn6kSEyr9sSK7iqUwjLLNt8AI4shWsEsVoo yZEBe7FBVZutr1LimQz/nrZ9y9PgwJ8yeIFLmAs8/E1SWDJwiFngvjTKJf/WLGkUUjK3 JUhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=jGI2+1gOQZb5vF2sICYdvTyLL47AAQRxk6MEsfHGtvM=; b=VtL0lxOsIpUcI+tWAtBzcZp8gCq1yIUCt0Fsl2aniIFogj0MZ9EQhjr5rYfTdHDLXd MJG9GOqJN7ykqBKTHQpIJz9SuiHOgT3TvLFTsG3ocgxAOGiyJoK2+h/lSE6+l3OF+x4W wyRhQrKQyU4h80Ff2KTpETpMV0e7W3He6MzMQ0tbp7jZDhkDBhPC9Vc99bvdRz0ZRKlC 4WvW1MiEgPBAKb16mDl8acrqANztCIeaBWBTE+1E/wgMZlGIHA1HFiImFzzuteQ3cscG sOUXrB2ajs6Y4qMGHwi5LMYpcIFsSC2nD1OmqTUeGwxKJxDo0RPS9e9Gx2vJDe9XlRXJ sMJg== X-Gm-Message-State: AOAM531qOi4VtoZC1Nk8FAUd+xNdyrkpb5UHvmpH8HChH00K/pmpyzus 8hPqell/cQB+Id5tUGJlxfumi3esxyoMmA== X-Google-Smtp-Source: ABdhPJz/xeq+3H7nBtKu+zDJJRv9Ro/fM7qG5RaDe+ZrIielrGG9uNeLUlWiq0GY8713PmnGMNuBeg== X-Received: by 2002:a05:6402:17b9:: with SMTP id j25mr27877690edy.203.1600263108680; Wed, 16 Sep 2020 06:31:48 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id a26sm12649329ejk.66.2020.09.16.06.31.48 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Sep 2020 06:31:48 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Michal Simek Subject: [PATCH 2/5] doc: board: xilinx: zynq.rst: Update zynq documentation Date: Wed, 16 Sep 2020 15:31:40 +0200 Message-Id: <5b06f14222f82978a1e4f0c58a8ea82ed70c807d.1600263100.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: References: MIME-Version: 1.0 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.102.3 at phobos.denx.de X-Virus-Status: Clean - Correct location of BSP code - Remove TODO which is done already Signed-off-by: Michal Simek --- doc/board/xilinx/zynq.rst | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/doc/board/xilinx/zynq.rst b/doc/board/xilinx/zynq.rst index f564434b69c4..438912fe42c2 100644 --- a/doc/board/xilinx/zynq.rst +++ b/doc/board/xilinx/zynq.rst @@ -83,7 +83,7 @@ Mainline status --------------- - Added basic board configurations support. -- Added zynq u-boot bsp code - arch/arm/cpu/armv7/zynq +- Added zynq u-boot bsp code - arch/arm/mach-zynq - Added zynq boards named - zc70x, zed, microzed, zc770_xm010/xm011/xm012/xm013 - Added zynq drivers: @@ -99,11 +99,6 @@ Mainline status - Added basic FDT support for zynq boards - d-cache support for zynq_gem.c -TODO ----- - -Add FDT support on individual drivers - * [1] http://www.xilinx.com/products/boards-and-kits/EK-Z7-ZC702-G.htm * [2] http://www.xilinx.com/products/boards-and-kits/EK-Z7-ZC706-G.htm * [3] http://zedboard.org/product/zedboard From patchwork Wed Sep 16 13:31:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1365321 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=HxumJ/so; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Bs1HL72bHz9sTQ for ; Wed, 16 Sep 2020 23:32:30 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 85B268234F; Wed, 16 Sep 2020 15:31:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="HxumJ/so"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A387982356; Wed, 16 Sep 2020 15:31:53 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) (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 1906B8233B for ; Wed, 16 Sep 2020 15:31:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ej1-x62e.google.com with SMTP id i26so10327800ejb.12 for ; Wed, 16 Sep 2020 06:31:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lUHNjFH4/SI0jo4S7Y9NrMLPynn/5SU0HCzkkGEMsV8=; b=HxumJ/soWz3Yf06bHj/UnR4NYqopLZcLBDjd24jAVjLDFs6R3EQKcb5QZNatEbyK2S ARcdQpqQkt+I5Yl77fbHmOt5vXigU+R/jXAfGLu6KaIZYcxQBw3jQRJYu6lmgKBTu/ih DMqWpAxT9n54+DKJUSfgkAPqMfioeoQSnyji6y1SyABj7rSMAKRH30z9/YxDHdfTESAT x7AtXT5LyINOYgtACV/wJGwX9JLuQhoE6BSeXmghbFyWlU6HRVnqsH1ZrZrX/FjmBzGz AVz3FmyaeorIITP4UFpCqCXlL4bYmN06V6Dbh+XunkvpbFF2uMA3yrmoFb8HithSjPMz O8Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=lUHNjFH4/SI0jo4S7Y9NrMLPynn/5SU0HCzkkGEMsV8=; b=iGa6LN2kyXACEssBPYyGdUV9Z+8Qzo8mr8UHE/hhvcUKPMulhYJDAGPUANwmntvQX1 rfshkyCArFpZW7YHKE6RaLTZfmg84vPIVwhsfcEjHdzdy3YcD+7L4+pJJgCDtJf0qf1h Sp2w47I7Go1UK45lN0ZyFw8KWl5bNrdRcZRyQ0/NIlNhHnKmupvpxuBrWUohjfD9TTRI 1ePpmR3FYcmn6jjVveqt/BgvidsSVixyc8J9pe3jTLfct64F0gQls7qdAzWg+ICQHAMT sgJnBK/6hARMLo4P1ieBpN1XdEvrBh/1PRA2fa9wUv+hG6BOSSt3HvjLOU/6nr4ueeQb XiTg== X-Gm-Message-State: AOAM532iJU94BdoVJudtopkLVwo16P+PJ1jvK362zGuoRH+fTHgf4xo1 35OZ3l5FqRtXGwMVVCQEpS2KHPLZqwuAOw== X-Google-Smtp-Source: ABdhPJy/8kkOeCK88/ktWA8d8ByNOzdLbU5F7G1GLeb2OTZKjvrIdioE/AFAFxItkrBuKKR48moamg== X-Received: by 2002:a17:906:ce30:: with SMTP id sd16mr25033367ejb.53.1600263110341; Wed, 16 Sep 2020 06:31:50 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id q16sm12512125ejo.49.2020.09.16.06.31.49 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Sep 2020 06:31:49 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Michal Simek Subject: [PATCH 3/5] doc: board: xilinx: Update links to DT binding docs Date: Wed, 16 Sep 2020 15:31:41 +0200 Message-Id: <775f0b8a22dcf5d3d1b661af1098fdb794270a24.1600263100.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: References: MIME-Version: 1.0 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.102.3 at phobos.denx.de X-Virus-Status: Clean Several drivers have been added without updating documentation. And also some dt bindings have been moved to yaml. Signed-off-by: Michal Simek --- doc/board/xilinx/xilinx.rst | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/doc/board/xilinx/xilinx.rst b/doc/board/xilinx/xilinx.rst index f6ea5dbe2158..8c9afb482d65 100644 --- a/doc/board/xilinx/xilinx.rst +++ b/doc/board/xilinx/xilinx.rst @@ -10,18 +10,28 @@ kernel. * ata - Documentation/devicetree/bindings/ata/ahci-ceva.txt +* clock + - Documentation/devicetree/bindings/clock/xlnx,zynqmp-clk.txt +* firmware + - Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt +* fpga + - Documentation/devicetree/bindings/fpga/xlnx,zynqmp-pcap-fpga.txt * gpio - Documentation/devicetree/bindings/gpio/gpio-xilinx.txt - Documentation/devicetree/bindings/gpio/gpio-zynq.txt * i2c - - Documentation/devicetree/bindings/i2c/i2c-xiic.txt - - Documentation/devicetree/bindings/i2c/i2c-cadence.txt + - Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml + - Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml * mmc - - Documentation/devicetree/bindings/mmc/arasan,sdhci.txt + - Documentation/devicetree/bindings/mmc/arasan,sdhci.yaml * net - Documentation/devicetree/bindings/net/macb.txt - Documentation/devicetree/bindings/net/xilinx_axienet.txt - Documentation/devicetree/bindings/net/xilinx_emaclite.txt +* nvmem + - Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.txt +* power + - Documentation/devicetree/bindings/power/reset/xlnx,zynqmp-power.txt * serial - Documentation/devicetree/bindings/serial/cdns,uart.txt - Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.txt From patchwork Wed Sep 16 13:31:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1365322 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=VjmMBDyj; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Bs1Hg2Bdsz9sTq for ; Wed, 16 Sep 2020 23:32:46 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 301FC8236C; Wed, 16 Sep 2020 15:32:06 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="VjmMBDyj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 679AE8235A; Wed, 16 Sep 2020 15:31:55 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) (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 AE86A82294 for ; Wed, 16 Sep 2020 15:31:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ej1-x630.google.com with SMTP id q13so10323095ejo.9 for ; Wed, 16 Sep 2020 06:31:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6f97JJ0BYWnLkbtaJqK4P1UZt+goV6reKzMA/eaJIP8=; b=VjmMBDyjxTJeBoi2eFVG3CSfZCKueSUWgeL5DpxeKkkAiLDrsXt9ki3r0fTS/aBpaS GP4YYPG4PVRA8g1daC0fjtUEikGGDyXOBX6ddcKnGv7kI2IZCe4J5UYJydGrNrua0EAt MBSOylLc4Dl9hVnIRAudsEETYZkwUFUfNhSjEhwsP/JdCqmM2aYuUgxGvXZ1bQoyGyL2 05TipCwxJtpvn5sf2dC2f4Y9yDdFdyC6d/NXPDHe/qlXBe9KHcwSFjZTZGHAgErtKWkn MvQKf7Xw00oSpN1JN/Lj4KERdnrAdkHcnlSWqTB6AwS00t1tsvbL1+2IhLtJ3xupx8+a Ky0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=6f97JJ0BYWnLkbtaJqK4P1UZt+goV6reKzMA/eaJIP8=; b=lNY9dqgrq5qZmGHgKaF3K4TxmWNcQzLiJlcdZihU/EAHgzxYty4UBaS3Ix4w54QGKr H5DKK/UL5FRNMc73YG6fVRPnO6/1/5CruW1dPVSIZ30xjFvMS2taGtBE/stIZQxb3zwo Ntz7kfR7VNDZBFsCmBn9PYoOP4r+DRVV35IYpElFqn3aFzeZhDa6qNoftKn1nPGp9x9V FfR3k93wNmys0pd0gDrzGqgeJCGgY0KrERSPglSTZWm8mXhigOwDG7yPkfVMiStv+ZDB DthyON2hIUUhh50Q+ON8xhu5KDrk/OGV2WwsBxGXWhYXvC0OmiUDoKqjsp6vrY85svy8 eRpg== X-Gm-Message-State: AOAM532mrPYSkOBmIK/ma5I1W/Lc50c3taeNCdSm/0cJ0Mn4NMr0JoI2 fuuhqfHnkVJDfEHF38aYXHicQ5XBAneRoA== X-Google-Smtp-Source: ABdhPJyl0sBL6Ry0+khBhCYi64hYyIo2VlAdH8/u4CsH9OZHhYTQ1Vo3iqqdRhf28xG16W9Mh0C7nQ== X-Received: by 2002:a17:906:8695:: with SMTP id g21mr24621918ejx.504.1600263111950; Wed, 16 Sep 2020 06:31:51 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id z4sm14433469ede.65.2020.09.16.06.31.51 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Sep 2020 06:31:51 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Michal Simek Subject: [PATCH 4/5] doc: board: xilinx: Add documentation for ZynqMP Date: Wed, 16 Sep 2020 15:31:42 +0200 Message-Id: <506cc6cfa8e65d254a47402319f8549596ed539c.1600263100.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: References: MIME-Version: 1.0 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.102.3 at phobos.denx.de X-Virus-Status: Clean Add missing documentation for Xilinx ZynqMP configuration with steps how to configure it and run it. Signed-off-by: Michal Simek --- doc/board/xilinx/index.rst | 1 + doc/board/xilinx/zynqmp.rst | 97 +++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+) create mode 100644 doc/board/xilinx/zynqmp.rst diff --git a/doc/board/xilinx/index.rst b/doc/board/xilinx/index.rst index 47f09290af03..e9560f208fb4 100644 --- a/doc/board/xilinx/index.rst +++ b/doc/board/xilinx/index.rst @@ -8,3 +8,4 @@ Xilinx xilinx zynq + zynqmp diff --git a/doc/board/xilinx/zynqmp.rst b/doc/board/xilinx/zynqmp.rst new file mode 100644 index 000000000000..326b495dcca7 --- /dev/null +++ b/doc/board/xilinx/zynqmp.rst @@ -0,0 +1,97 @@ +.. SPDX-License-Identifier: GPL-2.0 +.. (C) Copyright 2020 Xilinx, Inc. + +ZYNQMP +====== + +About this +---------- + +This document describes the information about Xilinx Zynq UltraScale+ MPSOC +U-Boot support. Core support is available in arch/arm/mach-zynqmp folder. + +ZynqMP boards +------------- + +* zcu100 (ultra96 v1), zcu102, zcu104, zcu106 - Evaluation boards +* zc1232 - Characterization boards +* zcu111, zcu208, zcu216 - RFSOC evaluation boards +* zcu1254, zcu1275, zcu1285 - RFSOC characterization boards +* a2197 - System Controller on Versal boards +* mini - Mini U-Boot running out of OCM +* zc1751 - Characterization Processor boards + - zc1751-xm015-dc1 + - zc1751-xm016-dc2 + - zc1751-xm017-dc3 + - zc1751-xm018-dc4 + - zc1751-xm019-dc5 + +Building +-------- + +Configure and build for zcu102 board:: + + $ source arm64 toolchain + $ export DEVICE_TREE=zynqmp-zcu102-revA + $ make xilinx_zynqmp_virt_defconfig + $ make + +U-Boot SPL flow +--------------- + +For getting U-Boot SPL flow up and running it is necessary to do some additional +steps because booting device requires external images which are not the part of +U-Boot repository. + +PMU firmware +^^^^^^^^^^^^ +The Platform Management Unit (PMU) RAM can be loaded with a firmware (PMU +Firmware) at run-time and can be used to extend or customize the functionality +of PMU. The PMU firmware is the part of boot image (boot.bin) and it is +automatically loaded by BootROM. boot.bin can be directly generated by mkimage +tool as the part of make. If you want to create boot.bin with PMU Firmware +include please point CONFIG_PMUFW_INIT_FILE to PMU firmware binary. For example::: + + CONFIG_PMUFW_INIT_FILE="/pmu.bin" + +If you see below message you need to load PMU Firmware:: + + PMUFW is not found - Please load it! + +The second external blob is PMU Configuration object which is object which is +passed from U-Boot SPL to PMU Firmware for initial system configuration. PMU +Configuration object is the part of U-Boot SPL image. For pointing to this +object please use CONFIG_ZYNQMP_SPL_PM_CFG_OBJ_FILE symbol. For example::: + + CONFIG_ZYNQMP_SPL_PM_CFG_OBJ_FILE="/pmu_obj.bin" + + +Arm Trusted Firmware (ATF) +^^^^^^^^^^^^^^^^^^^^^^^^^^ + +U-Boot itself can run from EL3 to EL1. Without ATF U-Boot runs in EL3. Boot flow +is U-Boot SPL->U-Boot in EL3. When ATF is used U-Boot normally runs in EL2. Boot +flow is U-Boot SPL->ATF->U-Boot in EL2. As the part of build process u-boot.itb +is generated. When BL31 shell variable is present u-boot.itb is generated with +ATF included. You can point to it by::: + + $ export BL31=/bl31.bin + +Flashing +-------- + +SD Card +^^^^^^^ + +To write an image that boots from a SD card first create a FAT32 partition +and a FAT32 filesystem on the SD card:: + + sudo fdisk /dev/sdx + sudo mkfs.vfat -F 32 /dev/sdx1 + +Mount the SD card and copy the SPL and U-Boot to the root directory of the +SD card:: + + sudo mount -t vfat /dev/sdx1 /mnt + sudo cp spl/boot.bin /mnt + sudo cp u-boot.itb /mnt From patchwork Wed Sep 16 13:31:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1365323 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=JTsDITTo; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Bs1Ht45zvz9sTQ for ; Wed, 16 Sep 2020 23:32:58 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 590E78235A; Wed, 16 Sep 2020 15:32:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="JTsDITTo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9B0A982363; Wed, 16 Sep 2020 15:31:58 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) (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 2810D8234F for ; Wed, 16 Sep 2020 15:31:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ej1-x62e.google.com with SMTP id u21so10406650eja.2 for ; Wed, 16 Sep 2020 06:31:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NZjXzyCzIYvkDQnGCKrcg5/T/OxCKzOUblxTMyVe3DM=; b=JTsDITTosD1KpoxQLdLWJcqLDWbtKZqLCSlWbAbWIqMnFLYZtwhP7Q60y7i3GEddSA OHS7pv6lAwontQV3jRXMejexvWSi9bZu0yMJgo+LEYYJRQfNN+movMTXQkTXE8CtgCqx YqVC/gwLDjNKpiarg3gsmhGdgYrAa+ruFRFoleFKB/liw/yYVJuWs2LUPJP+wZmKvzu4 pO53cr4W7aTk4/Gyqz1L9CiWdzsd771UelOMxIUg7SrINVWpz3it02/oRR6mFtOAoRJX gfyxa/KEBGbmRW+BRf+zDsz7Q+1JpWvlb4EpMIPLuDcr6jsmNMoOovbEuvOwTCbYagV1 rq2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=NZjXzyCzIYvkDQnGCKrcg5/T/OxCKzOUblxTMyVe3DM=; b=YgUXKQGITMIvpWcR8yFILRkLQnAo8a3cnxnPz7YZMMqInzOvnaIhGovSiHPKGZoA7h 6WJqTfmG7vhkxfxVrGPBE3828vupquOOAM9ED0fqr++a9XuQxi6RzaV9HV0pS0r9FICq lZGPH60MOOgCMxYIDkOQOZ5zJY2N33gy87xKVc/mn8OwqKmG1zTk9FBzdV4pem35WbuD ahvnxOSOYn5h1CPkqTsLPwvz/v4h3ll6mU7NHmr9/VKypFOFEyG/6/cMWDR+Mn4GNuax 6fOTc3vqwYoKSRG7wp8NuYVe28hmBYCyW+POJLn5Y/X7O4gTdx1PKqa0ag14HZKCJ2iU XBMw== X-Gm-Message-State: AOAM532k+OIFJcaetirxpEfGWwEyEnErsEp/KzxZ4GdwoLgXRfcd5UTZ dytqAVvOmMfSQd5xTst/0oyNNUixUtcscg== X-Google-Smtp-Source: ABdhPJzbsBmW0C7cXZKlbISVXulQvvmTipPYFdqHMeKaCBtDXleT9rqLPrWPvgOkf9QwwR8viKEjdg== X-Received: by 2002:a17:906:c154:: with SMTP id dp20mr24951862ejc.115.1600263113478; Wed, 16 Sep 2020 06:31:53 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id bk9sm10490589ejb.122.2020.09.16.06.31.52 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Sep 2020 06:31:53 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Michal Simek Subject: [PATCH 5/5] doc: board: xilinx: Add documentation for ZynqMP R5 Date: Wed, 16 Sep 2020 15:31:43 +0200 Message-Id: X-Mailer: git-send-email 2.28.0 In-Reply-To: References: MIME-Version: 1.0 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.102.3 at phobos.denx.de X-Virus-Status: Clean Add missing documentation for Xilinx ZynqMP R5 configuration with steps how to run it. Signed-off-by: Michal Simek --- doc/board/xilinx/index.rst | 1 + doc/board/xilinx/zynqmp-r5.rst | 137 +++++++++++++++++++++++++++++++++ 2 files changed, 138 insertions(+) create mode 100644 doc/board/xilinx/zynqmp-r5.rst diff --git a/doc/board/xilinx/index.rst b/doc/board/xilinx/index.rst index e9560f208fb4..2e31fe3f3a4f 100644 --- a/doc/board/xilinx/index.rst +++ b/doc/board/xilinx/index.rst @@ -9,3 +9,4 @@ Xilinx xilinx zynq zynqmp + zynqmp-r5 diff --git a/doc/board/xilinx/zynqmp-r5.rst b/doc/board/xilinx/zynqmp-r5.rst new file mode 100644 index 000000000000..2cd368b0308e --- /dev/null +++ b/doc/board/xilinx/zynqmp-r5.rst @@ -0,0 +1,137 @@ +.. SPDX-License-Identifier: GPL-2.0 +.. (C) Copyright 2020 Xilinx, Inc. + +ZYNQMP-R5 +========= + +About this +---------- + +This document describes the information about Xilinx Zynq UltraScale+ MPSOC +U-Boot Cortex R5 support. + +ZynqMP R5 boards +---------------- + +* zynqmp-r5 - U-Boot running on RPU Cortex-R5 + +Building +-------- + +configure and build armv7 toolchain:: + + $ make xilinx_zynqmp_r5_defconfig + $ make + +Notes +^^^^^ + +Output fragment is u-boot. + +Loading +------- + +ZynqMP R5 U-Boot was created for supporting loading OS on RPU. There are two +ways how to start U-Boot on R5. + +Bootgen +^^^^^^^ + +The first way is to use Xilinx FSBL (First stage +bootloader) to load u-boot and start it. The following bif can be used for boot +image generation via Xilinx bootgen utility:: + + + the_ROM_image: + { + [bootloader,destination_cpu=r5-0] fsbl_rpu.elf + [destination_cpu=r5-0]u-boot.elf + } + +Bootgen command for building boot.bin:: + + bootgen -image .bif -r -w -o i boot.bin + + +U-Boot cpu command +^^^^^^^^^^^^^^^^^^ + +The second way to load U-Boot to Cortex R5 is from U-Boot running on A53 as is +visible from the following log:: + + U-Boot SPL 2020.10-rc4-00090-g801b3d5c5757 (Sep 15 2020 - 14:07:24 +0200) + PMUFW: v1.1 + Loading new PMUFW cfg obj (2024 bytes) + EL Level: EL3 + Multiboot: 0 + Trying to boot from MMC2 + spl: could not initialize mmc. error: -19 + Trying to boot from MMC1 + spl_load_image_fat_os: error reading image u-boot.bin, err - -2 + NOTICE: ATF running on XCZU7EG/EV/silicon v4/RTL5.1 at 0xfffea000 + NOTICE: BL31: v2.2(release):v2.2-614-ged9dc512fb9c + NOTICE: BL31: Built : 09:32:09, Mar 13 2020 + + + U-Boot 2020.10-rc4-00090-g801b3d5c5757 (Sep 15 2020 - 14:07:24 +0200) + + Model: ZynqMP ZCU104 RevC + Board: Xilinx ZynqMP + DRAM: 2 GiB + PMUFW: v1.1 + EL Level: EL2 + Chip ID: zu7e + WDT: Started with servicing (60s timeout) + NAND: 0 MiB + MMC: mmc@ff170000: 0 + Loading Environment from FAT... *** Warning - bad CRC, using default environment + + In: serial + Out: serial + Err: serial + Bootmode: LVL_SHFT_SD_MODE1 + Reset reason: SOFT + Net: + ZYNQ GEM: ff0e0000, mdio bus ff0e0000, phyaddr 12, interface rgmii-id + eth0: ethernet@ff0e0000 + Hit any key to stop autoboot: 0 + ZynqMP> setenv autoload no + ZynqMP> dhcp + BOOTP broadcast 1 + DHCP client bound to address 192.168.0.167 (8 ms) + ZynqMP> tftpboot 20000000 192.168.0.105:u-boot-r5-2.elf + Using ethernet@ff0e0000 device + TFTP from server 192.168.0.105; our IP address is 192.168.0.167 + Filename 'u-boot-r5-2.elf'. + Load address: 0x20000000 + Loading: ################################################################# + ################################################################# + ################################################################# + ################################################################# + ################################################################# + ################################################################# + ################ + 376 KiB/s + done + Bytes transferred = 2075464 (1fab48 hex) + ZynqMP> setenv autostart no + ZynqMP> bootelf -p 20000000 + ZynqMP> cpu 4 release 10000000 lockstep + Using TCM jump trampoline for address 0x10000000 + R5 lockstep mode + ZynqMP> + +Then on second uart you can see U-Boot up and running on R5:: + + U-Boot 2020.10-rc4-00071-g7045622cc9ba (Sep 16 2020 - 13:38:53 +0200) + + Model: Xilinx ZynqMP R5 + DRAM: 512 MiB + MMC: + In: serial@ff010000 + Out: serial@ff010000 + Err: serial@ff010000 + Net: No ethernet found. + ZynqMP r5> + +Please make sure MIO pins for uart are properly configured to see output.