From 1be941e9bdca40852b384b309e21241b23c82a51 Mon Sep 17 00:00:00 2001 From: buzzer-re <22428720+buzzer-re@users.noreply.github.com> Date: Mon, 11 May 2026 12:17:29 -0300 Subject: [PATCH] logging & comment --- source/firmware.c | 3 +++ source/loader.c | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/source/firmware.c b/source/firmware.c index ff658b7..8fe633c 100644 --- a/source/firmware.c +++ b/source/firmware.c @@ -171,6 +171,9 @@ static int resolve_ps5_wifi_firmware(void **initrd, size_t *initrd_size) { return 0; } +// +// Wrapper to resolve future firmwares images using the kernel, at the moment only Marvell WiFi driver +// int resolve_device_firmwares(void **initrd, size_t *initrd_size) { return resolve_ps5_wifi_firmware(initrd, initrd_size); } diff --git a/source/loader.c b/source/loader.c index 87942cb..b751618 100644 --- a/source/loader.c +++ b/source/loader.c @@ -228,8 +228,10 @@ int fetch_linux(struct linux_info *info) { return -1; } - if (resolve_device_firmwares(&initrd, &initrd_size) < 0) + if (resolve_device_firmwares(&initrd, &initrd_size) < 0) { + notify("Something went wrong while resolving device firmwares - Aborting\n"); return -1; + } size_t vram_size; char buf_vram[16] = {};