From patchwork Wed Jul 14 07:09:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1505020 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; 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=08c0FGJF; 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 4GPpXF6tq6z9sX3 for ; Wed, 14 Jul 2021 17:09:17 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7A55282E87; Wed, 14 Jul 2021 09:09:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (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="08c0FGJF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 70E8282E88; Wed, 14 Jul 2021 09:09:12 +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 autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) (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 6032982C07 for ; Wed, 14 Jul 2021 09:09:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-wm1-x330.google.com with SMTP id u8-20020a7bcb080000b02901e44e9caa2aso728670wmj.4 for ; Wed, 14 Jul 2021 00:09:09 -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:mime-version :content-transfer-encoding; bh=pzSQbGySUBBUzpLOUL6V89IBlYy6Y1gCvn+Nzy/vIvc=; b=08c0FGJFpOfYL5Mr/rqEysWrhhyI21NqN6BKfR1ZweqEJId0lIrjC9BuwKORFGZSWt lWpOMJHMFJGLo7YOjUaOWArsyB/nb+s3G5hAPvxpoPANFz7NcXmRBPnBN3l0GDCkaNMY FqjXrdRTuEI2fnMhJUkdEZEr7VxvoJAMAIuTctKblmSWbzVvAnqqtCQokDGsnb5yxwpL O+ySX+p86bdyuU/gfGP/7XrIMWbh2bz3Vcx3+nSrvh0xhED328Tbce7Rb+2mV3DPlGMA 7XKOZuqXcYeuexhz3TX3zY2QGH4DdDqxmXN5YIJe+VUZXwH+s8gTbXkTkUBdhDtO3xyq boEA== 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 :mime-version:content-transfer-encoding; bh=pzSQbGySUBBUzpLOUL6V89IBlYy6Y1gCvn+Nzy/vIvc=; b=rLNwMvkD/oWSJ6s6wbgvmIsMnrDdcDMZ5pDSZS8VluosRg8neM6to3j6NtQilzHk9K 0/3b6qJS3BW0GswS7OYNlwPk2lAG4WGnwMzCQ0tGsb65IdBv/hKYhALWsyD2agvbMLlR c25N8Sfxvv3uDOm1owfME7LcmEDW7kwElrHInJRaEx7/cBfjh6anDBBNzwWZgQokCMj4 d8ZnpxeMTEpQinbAhXE1ixm1sOthqj8Lk/z98oYydbrEO15WnvKQDXVSTJI4VrFLLKnr GZB3fbC6gBSt91aYEe+qT+s1UDV3aKiW5ipjbOU141uLzRc6RtfzuCQbDcHCAhz69+I1 mNiQ== X-Gm-Message-State: AOAM531BPtafODIbp2sBJqKi0julet5S8iwctMs3ge7MsL4x4Yrw8zAO kerVUANibhP7j0G9a2A0W9VR8m5ToPgOW8uz X-Google-Smtp-Source: ABdhPJxq39mi4tLJE7nraQu/MkzXZYLHL2uKOpBYGCzX7hwAkS7Jakt2lsu5MCY+6kUIfkjTD6yB0w== X-Received: by 2002:a1c:3c42:: with SMTP id j63mr4070051wma.35.1626246548801; Wed, 14 Jul 2021 00:09:08 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id m187sm1295431wmm.16.2021.07.14.00.09.08 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Jul 2021 00:09:08 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Raju Kumar Pothuraju Subject: [PATCH] xilinx: Define kernel_comp_addr_r, kernel_comp_size env variables Date: Wed, 14 Jul 2021 09:09:07 +0200 Message-Id: <18568159cd4542faa588ec182f5e64b40eaf3887.1626246543.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.32.0 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.103.2 at phobos.denx.de X-Virus-Status: Clean From: Raju Kumar Pothuraju Add kernel_comp_addr_r, kernel_comp_size env variables for zynqmp and versal to be able to use the compressed kernel Image(.gz,.bz2,.lzma,.lzo) using booti command. Signed-off-by: Raju Kumar Pothuraju Signed-off-by: Michal Simek --- include/configs/xilinx_versal.h | 2 ++ include/configs/xilinx_zynqmp.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/configs/xilinx_versal.h b/include/configs/xilinx_versal.h index e0c78cbd11c2..99d58835887e 100644 --- a/include/configs/xilinx_versal.h +++ b/include/configs/xilinx_versal.h @@ -66,6 +66,8 @@ "pxefile_addr_r=0x10000000\0" \ "kernel_addr_r=0x18000000\0" \ "kernel_size_r=0x10000000\0" \ + "kernel_comp_addr_r=0x30000000\0" \ + "kernel_comp_size=0x3C00000\0" \ "scriptaddr=0x20000000\0" \ "ramdisk_addr_r=0x02100000\0" \ "script_size_f=0x80000\0" diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index bfe8a204279b..262154cdffdc 100644 --- a/include/configs/xilinx_zynqmp.h +++ b/include/configs/xilinx_zynqmp.h @@ -89,6 +89,8 @@ "pxefile_addr_r=0x10000000\0" \ "kernel_addr_r=0x18000000\0" \ "kernel_size_r=0x10000000\0" \ + "kernel_comp_addr_r=0x30000000\0" \ + "kernel_comp_size=0x3C00000\0" \ "scriptaddr=0x20000000\0" \ "ramdisk_addr_r=0x02100000\0" \ "script_size_f=0x80000\0" \