
6 Aug
2024
6 Aug
'24
noon
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/2a75793bc55ec1a...
-- Mattijs