summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bootloader/x1000/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootloader/x1000/utils.c b/bootloader/x1000/utils.c
index 681ddbbd62..b8f86c3ed1 100644
--- a/bootloader/x1000/utils.c
+++ b/bootloader/x1000/utils.c
@@ -114,7 +114,7 @@ int load_uimage_file(const char* filename,
114 114
115 int handle = uimage_load(uh, sizep, uimage_fd_reader, (void*)(intptr_t)fd); 115 int handle = uimage_load(uh, sizep, uimage_fd_reader, (void*)(intptr_t)fd);
116 if(handle <= 0) { 116 if(handle <= 0) {
117 splashf(5*HZ, "Cannot load uImage\n%s", filename); 117 splashf(5*HZ, "Cannot load uImage (%d)\n%s", handle, filename);
118 return -3; 118 return -3;
119 } 119 }
120 120
@@ -166,7 +166,7 @@ int load_uimage_flash(uint32_t addr, uint32_t length,
166 nand_unlock(n.ndrv); 166 nand_unlock(n.ndrv);
167 167
168 if(handle <= 0) { 168 if(handle <= 0) {
169 splashf(5*HZ, "uImage load failed"); 169 splashf(5*HZ, "uImage load failed (%d)", handle);
170 return -2; 170 return -2;
171 } 171 }
172 172