From: Anton Gerasimov Date: Fri, 21 Dec 2018 11:39:52 +0100 Subject: [U-Boot] [PATCH 1/1] zynq: Kconfig: extend the bootstrap malloc() pool In-Reply-To: <530817ee-8b6f-6bb4-9400-cd71bd9d992a@xilinx.com> References: <20181220215740.13000-1-tossel@gmail.com> <20181220215740.13000-2-tossel@gmail.com> <530817ee-8b6f-6bb4-9400-cd71bd9d992a@xilinx.com> Message-ID: <2eafeb8a-8715-1516-7d79-929cdbd42a0f@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de > I have not a problem with this change but it has to be done based on > more information. It means you should look what requires that memory > and if make sense that these components need it at that time. Thank you for=C2=A0 the advice, that was quite fruitful. So most of the heap (0x5f4 of 0x600) before the relocation is being consumed in device_bind_common function which binds device tree entries to the drivers. If I remove 'u-boot,dm-pre-alloc' from uart0 node, that is not being used as far as I can see, it drops to 0x5a0, which lets the board boot, but still looks pretty tight. So maybe it's worth extending the heap anyway unless you need more information to take the decision. Thanks, Anton