mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] pbl: report decompression failure
@ 2019-06-11 10:18 Peter Mamonov
  2019-06-13  6:26 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Mamonov @ 2019-06-11 10:18 UTC (permalink / raw)
  To: s.hauer; +Cc: barebox, Peter Mamonov

Signed-off-by: Peter Mamonov <pmamonov@gmail.com>
---
 pbl/decomp.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pbl/decomp.c b/pbl/decomp.c
index c8014c403f..72a162309a 100644
--- a/pbl/decomp.c
+++ b/pbl/decomp.c
@@ -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);
 }
 
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] pbl: report decompression failure
  2019-06-11 10:18 [PATCH] pbl: report decompression failure Peter Mamonov
@ 2019-06-13  6:26 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2019-06-13  6:26 UTC (permalink / raw)
  To: Peter Mamonov; +Cc: barebox

On Tue, Jun 11, 2019 at 01:18:33PM +0300, Peter Mamonov wrote:
> Signed-off-by: Peter Mamonov <pmamonov@gmail.com>
> ---
>  pbl/decomp.c | 4 ++++
>  1 file changed, 4 insertions(+)

Applied, thanks

Sascha


-- 
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-13  6:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-11 10:18 [PATCH] pbl: report decompression failure Peter Mamonov
2019-06-13  6:26 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox