<austriancoder>
NishanthMenon: the trick with the register to detect single or dual core A53 works. Would I make sense to add generic support in U-Boot to patch the dtb before jumping to linux - somewhere in am642_init.c? This would remove the need for different device-trees or overlays to support the same hw layout with a single or dual core A53.
florian has joined #linux-ti
Pali has joined #linux-ti
<NishanthMenon>
austriancoder: I think a generic function might be helpful for "features". What I was hoping was to apply x or y or z overlay than have bootloader directly monkey with properties.
<NishanthMenon>
I know Tom is trying to crack down to keep UBoot code as simple as possible and we are questioning how eeprom code itself has gotten so complex..
<NishanthMenon>
My rationale for.overlays has been increasing dependence on UBoot for fixups and variety of bootloader's beyond UBoot in the ecosystem's ability to do dtb surgery like what UBoot does..
rob_w has quit [Quit: Leaving]
<austriancoder>
NishanthMenon: how would the overlay flow would look like? Use default dtb and depending on some board detection load some extra overlay? I think this forces us to create a new version of the bootloader when we model a new layout. Atm we select a fit configuration based on board detection.
<austriancoder>
Or would the kernel be a place to read the register and bring only available cores up?
<austriancoder>
It costs about 5 seconds boot time with a dtb with two cores on a single core system.
<NishanthMenon>
austriancoder: u-boot does'nt care about number of A53s. our designs and chip spin offs are careful about that. so the superset dtb will work to start a53 up, to start off the kernel, two flows possible: bootloader has two choices: a) dtb surgery. b) apply overlay (could include additional changes depending on type of board, all in one shot)..
<NishanthMenon>
today u-boot can do dtb surgery AND apply overlays on top.
<austriancoder>
NishanthMenon: we can include two dtbs in the fit - one for single and one for dual core. Would work too. So do you think that this is the better way to do it instead of dtb surgery? We are highly interested in upstreaming any possible U-Boot patch.
<NishanthMenon>
austriancoder: I believe that was exactly the approach that iot2050 took for AM65
<austriancoder>
NishanthMenon: okay.. will look into the multiple dtb approach