On 24.06.2018 16:57, Grazvydas Ignotas wrote:
Hi,
ED: your suggestion might be good, but hard to implement.
Ok got it to work with some horrible hacks to reprogram bq24297 earlier (good luck to anyone trying to mainline that...).
Did you tried to call bq24297_setup() from board_early_init_f()?
Binaries (for 4GB RAM, includes Tony's fixes): http://notaz.gp2x.de/misc/pyra/u-boot/ Source: https://dev.pyra-handheld.com/notaz/pyra-u-boot (not posting patches to the list unless requested to, as they're hacks, and that git already has more of such pyra-only patches anyway).
GraÅžvydas
Patrick