[PATCH v2] image-board: fix wrong implementation ram disk address setup from cmdline

Simon Glass sjg at chromium.org
Tue Dec 7 16:07:34 CET 2021


On Wed, 24 Nov 2021 at 20:09, Artem Lapkin <email2tema at gmail.com> wrote:
>
> Problem
>
> Wrong implementation logic: ramdisk cmdline image address always ignored!
> Next block { rd_addr = hextoul(select, NULL) } unusable for raw initrd.
>
> We have unbootable raw initrd images because, select_ramdisk for raw
> initrd images ignore submited select addr and setup rd_datap value to 0
>
> Signed-off-by: Artem Lapkin <art at khadas.com>
> ---
> V2 changes
> _ rebase to master
> _ from https://patchwork.ozlabs.org/project/uboot/patch/20211016051915.4157293-1-art@khadas.com/
> ---
>  boot/image-board.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Fixes: f33a2c1bd0f ("image: Remove #ifdefs from select_ramdisk()")
Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list