
4 Apr
2022
4 Apr
'22
8:52 a.m.
Hi,
Recently I have worked on porting an imx6 based board's u-boot2014 to u-boot2020 and I enabled all the used drivers to use DM: GPIO, ETH, USB, SPI, MMC, WDT, MTD and REGULATOR.
However, I noticed that the boot of the new u-boot is somehow slower than the old one (not by much though) ! Personally, I wouldn't expect it to go as fast as the old one nor faster, as the driver model does more device management than legacy drivers and also each DM initialization requires some fdt nodes searching.
I would like to know your opinion on this, if this is mainly due to using the driver model ? And eventually, if by using legacy drivers could it make the boot faster than what we've got right now ?
Thank you.
Best regards -- Abder