[PATCH] riscv: binman: fix the load field format
    Simon Glass 
    sjg at chromium.org
       
    Fri Nov 10 12:50:24 CET 2023
    
    
  
Hi Randolph,
On Wed, Nov 8, 2023, 20:15 Randolph <randolph at andestech.com> wrote:
>
> The #address-cells is now equal to 2. The format of the load field for
> the Linux kernel doesn't match.
>
> Signed-off-by: Randolph <randolph at andestech.com>
> ---
>  arch/riscv/dts/binman.dtsi | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/arch/riscv/dts/binman.dtsi b/arch/riscv/dts/binman.dtsi
> index 6b4eb8dc7b..5117d7c8c9 100644
> --- a/arch/riscv/dts/binman.dtsi
> +++ b/arch/riscv/dts/binman.dtsi
> @@ -50,7 +50,8 @@
>                                         os = "Linux";
>                                         arch = "riscv";
>                                         compression = "none";
> -                                       load = <CONFIG_TEXT_BASE>;
> +                                       load = <U64_TO_U32_H(CONFIG_TEXT_BASE)
> +                                               U64_TO_U32_L(CONFIG_TEXT_BASE)>;
Does this work?
load = /bits 64/ <CONFIG_TEXT_BASE>
>
>                                         linux_blob: blob-ext {
>                                                 filename = "Image";
> --
> 2.34.1
>
Regards,
Simon
    
    
More information about the U-Boot
mailing list