public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "André Przywara" <andre.przywara@arm.com>
To: u-boot@lists.denx.de
Subject: [PATCH] sunxi-common: support loading compressed kernel images on ARMv8
Date: Thu, 25 Feb 2021 15:20:34 +0000	[thread overview]
Message-ID: <9ef08b59-a82a-e283-badd-810848669d77@arm.com> (raw)
In-Reply-To: <20210220121416.15215-4-nicolas@debian.org>

On 20/02/2021 12:14, Nicolas Boulenguez wrote:

Hi,

> From: Arnaud Ferraris <arnaud.ferraris@gmail.com>

This looks OK on the first glance, but is missing a commit message and a
Signed-off-by:

Cheers,
Andre

> 
> ---
>  include/configs/sunxi-common.h | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
> index 5b0bec0561..227284cd29 100644
> --- a/include/configs/sunxi-common.h
> +++ b/include/configs/sunxi-common.h
> @@ -291,6 +291,8 @@ extern int soft_i2c_gpio_scl;
>   */
>  #define BOOTM_SIZE	__stringify(0xa000000)
>  #define KERNEL_ADDR_R	__stringify(SDRAM_OFFSET(0080000))
> +#define KERNEL_COMP_ADDR_R	__stringify(SDRAM_OFFSET(4000000))
> +#define KERNEL_COMP_SIZE	__stringify(0x4000000)
>  #define FDT_ADDR_R	__stringify(SDRAM_OFFSET(FA00000))
>  #define SCRIPT_ADDR_R	__stringify(SDRAM_OFFSET(FC00000))
>  #define PXEFILE_ADDR_R	__stringify(SDRAM_OFFSET(FD00000))
> @@ -332,6 +334,18 @@ extern int soft_i2c_gpio_scl;
>  	"pxefile_addr_r=" PXEFILE_ADDR_R "\0" \
>  	"ramdisk_addr_r=" RAMDISK_ADDR_R "\0"
>  
> +#ifdef CONFIG_ARM64
> +
> +#define MEM_LAYOUT_ENV_EXTRA_SETTINGS \
> +	"kernel_comp_addr_r=" KERNEL_COMP_ADDR_R "\0" \
> +	"kernel_comp_size=" KERNEL_COMP_SIZE "\0"
> +
> +#else
> +
> +#define MEM_LAYOUT_ENV_EXTRA_SETTINGS ""
> +
> +#endif
> +
>  #define DFU_ALT_INFO_RAM \
>  	"dfu_alt_info_ram=" \
>  	"kernel ram " KERNEL_ADDR_R " 0x1000000;" \
> @@ -487,6 +501,7 @@ extern int soft_i2c_gpio_scl;
>  #define CONFIG_EXTRA_ENV_SETTINGS \
>  	CONSOLE_ENV_SETTINGS \
>  	MEM_LAYOUT_ENV_SETTINGS \
> +	MEM_LAYOUT_ENV_EXTRA_SETTINGS \
>  	DFU_ALT_INFO_RAM \
>  	"fdtfile=" FDTFILE "\0" \
>  	"console=ttyS0,115200\0" \
> 

  reply	other threads:[~2021-02-25 15:20 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-20 12:14 [PATCH 2/4] pinephone_defconfig: reduce boot delay Nicolas Boulenguez
2021-02-20 12:14 ` [PATCH 20/20] Enable led on boot to notify user of boot status Nicolas Boulenguez
2021-02-25 15:15   ` André Przywara
2021-02-25 17:19     ` Peter Robinson
2021-02-20 12:14 ` [PATCH] sunxi: support asymmetric dual rank DRAM on A64/R40 Nicolas Boulenguez
2021-02-25 17:08   ` André Przywara
2021-02-20 12:14 ` [PATCH] sunxi-common: support loading compressed kernel images on ARMv8 Nicolas Boulenguez
2021-02-25 15:20   ` André Przywara [this message]
2021-03-31 15:39   ` Andre Przywara
2021-04-17 17:47     ` Samuel Holland
2021-04-17 18:23       ` Andre Przywara
2021-04-18  7:21         ` Samuel Holland
2021-06-03 10:10         ` Arnaud Ferraris
2021-02-20 12:14 ` [PATCH] arm: dts: sun50i-a64-pinephone: fix random wifi mac address Nicolas Boulenguez
2021-02-25 14:34   ` André Przywara
2021-02-25 17:02 ` [PATCH 2/4] pinephone_defconfig: reduce boot delay André Przywara
2021-02-25 20:58   ` Maxime Ripard
2021-02-28 15:22     ` Andre Przywara
2021-03-01 10:53       ` Nicolas Boulenguez
2021-03-13 14:56     ` Arnaud Ferraris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9ef08b59-a82a-e283-badd-810848669d77@arm.com \
    --to=andre.przywara@arm.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox