Skip to contentSkip to conversation

pbl: report decompression failure

PATCH Applied Peter Mamonov 2 participants 2 messages Jun 11, 2019 – Jun 13, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pbl: report decompression failure

---
 pbl/decomp.c | 4 ++++
 1 file changed, 4 insertions(+)
pbl/decomp.c +4 -0
index c8014c403f..72a162309a 100644
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <pbl.h>
+#include <debug_ll.h>
 
 #define STATIC static
 
@@ -40,6 +41,9 @@ STATIC int decompress(u8 *input, int in_len,
 
 static void noinline errorfn(char *error)
 {
+	puts_ll("ERROR: ");
+	puts_ll(error);
+	puts_ll("\nHANG\n");
 	while (1);
 }
 
Signature · 7 lines
2.20.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 4 lines · Peter Mamonov
---
 pbl/decomp.c | 4 ++++
 1 file changed, 4 insertions(+)

Applied, thanks

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox