On Wed, 20 Feb 2019 at 03:36, Neil Armstrong <narmstr...@baylibre.com> wrote:
>
> When booting on a 64-bit system, the boot_addr_start buffer is not
> large enough to contain a 64-bit number, thus leading to a crash
> even if fastboot_buf_addr is valid, only the high part of the address
> will be printed to boot_addr_start :
>
> fastboot with fastboot_buf_addr = 0x0000000006000000:
>   downloading of 92239872 bytes finished
>   Booting kernel at 0x00000000...
>
>   "Synchronous Abort" handler, esr 0x96000004
>   elr: 00000000010561f4 lr : 0000000001056fac (reloc)
>   <snip>
>   x28: 000000007df2d38f x29: 000000007df2d1b0
>
>   Resetting CPU ...
>
> With this fix, boot_addr_start can have the full 64-bit address passed
> to bootm.
>
> Fixes: f73a7df984a9 ("net: fastboot: Merge AOSP UDP fastboot")
> Cc: Simon Glass <s...@chromium.org>
> Cc: Alex Kiernan <alex.kier...@gmail.com>
> Cc: Sam Protsenko <semen.protse...@linaro.org>
> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com>
> ---
>  drivers/fastboot/fb_common.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <s...@chromium.org>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to