mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Barebox List <barebox@lists.infradead.org>
Subject: Re: [PATCH 2/3] ARM: i.MX: Add max_load_size option to boards that will need it
Date: Fri, 30 Nov 2018 08:35:59 +0100	[thread overview]
Message-ID: <20181130073559.fingjrjaomumdlwj@pengutronix.de> (raw)
In-Reply-To: <CAHQ1cqG4FSRnz_UkihPP-1mswx=hw=9V92-vS=tnF+oW5WmSVQ@mail.gmail.com>

Hi Andrey,

On Thu, Nov 29, 2018 at 10:11:47PM -0800, Andrey Smirnov wrote:
> 
> The change above bricks Barebox on RDU2 because load size of 0x11000
> isn't enough. Tracing what hdr->boot_data.size was set to prior to
> this series ends up with 0x1d000 as a number, using which appears to
> fix the problem on the real board, so we probably should max_load_size
> to at least that much. I am hoping you can fix it on your end, but let
> me know if you need me to generate a fixup patch.

I adjusted it to 0x31000 which is the maximum of free space in the SRAM.

BTW I am not really happy that we can't detect when we run out of space
in the SRAM. I am aware of that and hopefully we can find a solution,
but currently we have nothing more than just a few ideas.

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

  reply	other threads:[~2018-11-30  7:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-20  8:40 [PATCH 0/3] ARM: images: Use piggydata Sascha Hauer
2018-11-20  8:40 ` [PATCH 1/3] scripts: imx-image: Add support for max_load_size option Sascha Hauer
2018-11-20  8:40 ` [PATCH 2/3] ARM: i.MX: Add max_load_size option to boards that will need it Sascha Hauer
2018-11-30  6:11   ` Andrey Smirnov
2018-11-30  7:35     ` Sascha Hauer [this message]
2018-12-01  0:34       ` Andrey Smirnov
2018-11-20  8:41 ` [PATCH 3/3] ARM: images: use piggydata Sascha Hauer
2019-01-14 16:34 ` [PATCH 0/3] ARM: images: Use piggydata Roland Hieber
2019-01-14 17:22   ` Sam Ravnborg

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=20181130073559.fingjrjaomumdlwj@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=andrew.smirnov@gmail.com \
    --cc=barebox@lists.infradead.org \
    /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