From: Sascha Hauer <s.hauer@pengutronix.de>
To: "Teresa Gámez" <t.gamez@phytec.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] AM335x: MLO image issue
Date: Tue, 24 Mar 2015 07:30:15 +0100 [thread overview]
Message-ID: <20150324063015.GR9742@pengutronix.de> (raw)
In-Reply-To: <1427123853-26983-1-git-send-email-t.gamez@phytec.de>
On Mon, Mar 23, 2015 at 04:17:32PM +0100, Teresa Gámez wrote:
> Hello,
>
> we have encountered an issue in the AM335x MLO, which seems to depend on the
> image size itself. The bootloader hangs up in the decompress_unlzo() function.
> The decompress_unlzo() function fails with "dest len longer than block size"
> and ends up in it's error function in an infinite loop.
>
> As the error seems to depend in the image size, adding or removing random code
> makes the image working again.
>
> We have seen this issue so far only with a MLO size of 98823 bytes and
> barebox.z size: 61003 bytes. But could reproduce it using different toolchains.
>
> So we suspect this is an issue in the lzo code.
> Syncing the lzo code with the kernel code, seems to help.
> For this we have attached a patch.
> But we are unsure if this is the solution to the bug we have.
>
> Any ideas on this?
I have no idea how lzo works. I could apply the patch though, as it only
contains an update to the latest kernel code. Of course it would feel
better if we knew what we are doing.
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
next prev parent reply other threads:[~2015-03-24 6:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-23 15:17 Teresa Gámez
2015-03-23 15:17 ` [PATCH] lib/lzo: port lzo fix from upstream kernel Teresa Gámez
2015-03-24 8:26 ` Holger Schurig
2015-03-24 6:30 ` Sascha Hauer [this message]
2015-03-24 8:30 ` [PATCH] AM335x: MLO image issue Holger Schurig
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=20150324063015.GR9742@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=t.gamez@phytec.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