[PATCH v2] boot: android: fix booting without a ramdisk
Mattijs Korpershoek
mkorpershoek at baylibre.com
Tue Aug 6 12:00:17 CEST 2024
Hi,
On Mon, 29 Jul 2024 23:36:57 +0200, Michael Walle wrote:
> android_image_get_ramdisk() will return an error if there is no ramdisk.
> Using the android image without a ramdisk worked until commit
> 1ce8e10f3b4b ("image: Fix up ANDROID_BOOT_IMAGE ramdisk code") because
> the return code wasn't checked until then. Return -ENOENT in case
> there is no ramdisk and translate that into -ENOPKG in the calling
> code, which will then indicate "no ramdisk" to its caller
> (boot_get_ramdisk()).
>
> [...]
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu)
[1/1] boot: android: fix booting without a ramdisk
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/2a75793bc55ec1ace0a66e96102beec3cb7ab64d
--
Mattijs
More information about the U-Boot
mailing list