From: Peter Mamonov <pmamonov@gmail.com>
To: s.hauer@pengutronix.de
Cc: barebox@lists.infradead.org, Peter Mamonov <pmamonov@gmail.com>
Subject: [PATCH] pbl: report decompression failure
Date: Tue, 11 Jun 2019 13:18:33 +0300 [thread overview]
Message-ID: <20190611101833.1840-1-pmamonov@gmail.com> (raw)
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
next reply other threads:[~2019-06-11 10:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-11 10:18 Peter Mamonov [this message]
2019-06-13 6:26 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190611101833.1840-1-pmamonov@gmail.com \
--to=pmamonov@gmail.com \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox