On 03/05/2019 18:05, Fabio Estevam wrote:
Commit 3a7c45f6a772 ("simple-bus: add DM_FLAG_PRE_RELOC flag to simple-bus driver") causes some i.MX boards that were converted to DM, such as warp7, to fail to boot. As explained by Lukas Auer: "With the patch, U-Boot probes the drivers for devices under simple-bus device tree nodes in the pre-relocation device model. The default value of CONFIG_SYS_MALLOC_F_LEN (0x400) leaves U-Boot with not enough memory to do this, causing it to hang." Fix this problem by providing a convenient default value for CONFIG_SYS_MALLOC_F_LEN. Reported-by: Pierre-Jean Texier <pjtex...@koncepto.io> Suggested-by: Lukas Auer <lukas.a...@aisec.fraunhofer.de> Signed-off-by: Fabio Estevam <feste...@gmail.com>
Good work. Tested: warp7_bl33, warp7 Tested-by: Bryan O'Donoghue <bryan.odonog...@linaro.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot