On Wed, Aug 16, 2023 at 04:48:37PM +0000, Lior Weintraub wrote: > Thanks Sascha, > > The thing I am trying to achieve is to run RTL simulations in a > reasonable time frame on our bootloader and barebox loading. > On RTL simulation environment it takes about 5 min for each 40 us > which is about 2 hours for 1 ms of CPU time. Ah, I see, now it makes sense to me ;) In that case I would really just skip PBL support and jump into barebox proper right away like I described. It doesn't make sense to upstream such hacks though, it will be bitrotted the next time somebody tries to use it. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |