
31 May
2019
31 May
'19
3:08 p.m.
On Fri, May 31, 2019 at 02:58:47PM +0200, Marek Vasut wrote:
On 5/31/19 2:51 PM, Fabio Estevam wrote:
On Fri, May 31, 2019 at 9:45 AM Marek Vasut marex@denx.de wrote:
It's an accident just waiting to happen -- only a matter of time until someone writes too large u-boot-dtb.img and silently corrupts the file system right behind it ;-)
If u-boot-dtb.img grows it will corrupt the env region.
We can detect this situation in build time using CONFIG_BOARD_SIZE_LIMIT.
With filesystem, you can grow until you exhaust the boot partition capacity.
Unrestricted growth isn't a good thing :)
--
Tom