Re: [PATCH 2/3] ARM: i.MX: Add max_load_size option to boards that will need it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux