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 11122C433EF for ; Tue, 24 May 2022 04:31:29 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AF59984211; Tue, 24 May 2022 06:31:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="jqIUBe0F"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8E2CE841F3; Tue, 24 May 2022 06:31:24 +0200 (CEST) Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) (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 1E0C282132 for ; Tue, 24 May 2022 06:31:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bmeng.cn@gmail.com Received: by mail-pj1-x102e.google.com with SMTP id l20-20020a17090a409400b001dd2a9d555bso1146683pjg.0 for ; Mon, 23 May 2022 21:31:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JLUXMHS5P+l4Tm0EFdlUeQfEyqB3f6bcdPajkP/w4tA=; b=jqIUBe0Fob5ZG8HAeTdJtx4r/7Fc6sXGhOcjEgzwxV1Gf3beaNA22rSLMpDhO7pJyb GmVuMy3FNR/kLjHN8tSRNvwbo5T3Wjwt4PsHDiFMi73gcVBfvDB9o96oF/ueItoX7dWb kf4u/6RcttSDh8iajgRwqap/CIcJeDEjzoC9Ny1Y8NidyafYU2WQoS6/6+2Fztyybdsi NMLv9SCHyaEpOVnrQLTFmumoM3rsbjTIOT48F0sRc3vJZ1uh5IKmXk8+IxTtmdhxDGLf dHtShn6a4kZ4z81Iu6dYz9B14tqLi9Os07i2QQ3J7S2zv37DPbnYdVDcS5t05Yd8kKYo CqSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JLUXMHS5P+l4Tm0EFdlUeQfEyqB3f6bcdPajkP/w4tA=; b=aiMFFqzk6bf0XLaqsH3mUdeIqMf9JkRATZn2aEv5kD9EDIWAWGaPWUeTZ1NIffJeUX ukVm+bObXTpqLbeXEUzQqgvPGEJVWMWyaeQcY4LExSN4j90rS4fovDLAidHkuTmountA nJJX40EGPH7XBZSGYwnPm9MYxzl7+Vqu+tWqGSeI5WMKVTWqF8inQ0mUApqZYzxI3JbS sIE3Qv4ZETk7hrZ8hHNRTI/z2RgTl6UCwLdAbhQ7RvHs1rSQ+InDI3ekKx/BbAqeEbfo 15LGsaADvtkBwn346rh4ydfwd0h4z3hA7ycXEZUlQNgjPah65jzqZND0Q0I6BqdutRiQ Zp0A== X-Gm-Message-State: AOAM531FYlaMmuQ6krmXCttxQTI58hefOYg/ttn3A7tThN6KKSI3zKRg HLnxRkjm0owYKzePJ0kOYZA= X-Google-Smtp-Source: ABdhPJwYnreN8ZNFgkSbhYXn36DWW4frIm0bfQLO3X/2gVpHCRVCY2klOX1mfR3btFKUcHScs5+U9g== X-Received: by 2002:a17:902:9044:b0:15d:1c51:5bef with SMTP id w4-20020a170902904400b0015d1c515befmr25805229plz.170.1653366679489; Mon, 23 May 2022 21:31:19 -0700 (PDT) Received: from ubuntu.. (144.168.56.201.16clouds.com. [144.168.56.201]) by smtp.gmail.com with ESMTPSA id c123-20020a621c81000000b0050dc7628202sm7938367pfc.220.2022.05.23.21.31.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 21:31:18 -0700 (PDT) From: Bin Meng To: Rick Chen , Leo Liang , U-Boot Mailing List Cc: Green Wan , Pragnesh Patel Subject: [PATCH 1/3] riscv: sifive: unmatched: Adjust for big ramdisk image Date: Tue, 24 May 2022 12:31:12 +0800 Message-Id: <20220524043114.45885-1-bmeng.cn@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Move kernel_comp_addr_r to an address that comes before the ramdisk image, since the decompressed kernel size is known to us. This way we can allow big ramdisk image to be loaded. Signed-off-by: Bin Meng --- include/configs/sifive-unmatched.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/configs/sifive-unmatched.h b/include/configs/sifive-unmatched.h index 087764666b..fa734a66be 100644 --- a/include/configs/sifive-unmatched.h +++ b/include/configs/sifive-unmatched.h @@ -56,12 +56,12 @@ #define CONFIG_EXTRA_ENV_SETTINGS \ "kernel_addr_r=0x84000000\0" \ - "fdt_addr_r=0x88000000\0" \ - "scriptaddr=0x88100000\0" \ - "pxefile_addr_r=0x88200000\0" \ - "ramdisk_addr_r=0x88300000\0" \ - "kernel_comp_addr_r=0x90000000\0" \ + "kernel_comp_addr_r=0x88000000\0" \ "kernel_comp_size=0x4000000\0" \ + "fdt_addr_r=0x8c000000\0" \ + "scriptaddr=0x8c100000\0" \ + "pxefile_addr_r=0x8c200000\0" \ + "ramdisk_addr_r=0x8c300000\0" \ "type_guid_gpt_loader1=" TYPE_GUID_LOADER1 "\0" \ "type_guid_gpt_loader2=" TYPE_GUID_LOADER2 "\0" \ "type_guid_gpt_system=" TYPE_GUID_SYSTEM "\0" \ -- 2.34.1