Hello All! Eventually I switched to using overlays. Of course, there are some unsolved problems, such as already occupied aliases if they are specified in the overlay, or, for example, using "assigned-clocks" in overlays for already probed devices. I will give two examples from my current projects, criticize them if it is not difficult, maybe an idea will arise on how to do it better. The first link with two overlays [1], the third with three [2]:) [1] https://github.com/MacroGroup/barebox/blob/macro/arch/arm/boards/diasom-rk3568/board.c [2] https://github.com/shcgit/barebox-github/blob/milas/arch/arm/boards/mm-sm-sama5d2/board.c Thanks! пт, 31 янв. 2025 г. в 16:19, Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>: > > On Thu, Jan 30, 2025 at 04:45:48PM +0300, Alexander Shiyan wrote: > > Hello. > > > > Yes, I understand that. > > But maybe we can make another entry point to start from scratch, > > but with another tree, roughly the same way we do with pbl? > > It's not universally possible to jump into the currently running image. > Static variables in the data section might be modified already. > > Of course you can load the barebox image from the boot device again > manually and jump into it, with a device tree passed in a pointer this > time. > > 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 |