Hi,
Am 05.06.2018 um 12:12 schrieb Michael Mrozek EvilDragon@openpandora.org:
Am Freitag, den 01.06.2018, 11:33 +0300 schrieb Grazvydas Ignotas:
Hi,
My unit doesn't boot without a battery (too weak supply?),
It's probably the following issue: PALMAS sets up the USB port to not allow more than 500mA in U-Boot.
it is the bq24297 which initially limits the current.
That's not enough for loading the kernel, so it crashes and resets.
The kernel increases the allowed current on USB ports, so once the kernel has booted once, it should boot without a battery as well.
So: Boot up with battery in, remove the battery. Then it should work without a battery just fine, even if you power it down and restart it (as long as you don't remove the power).
Setting up this and other parameters for the PALMAS with U-Boot is something we still need to do.
AFAIR we have code in U-Boot to do that - but not in MLO - so it may still come too late.
It's annoying you can't boot without a battery, currently.
Indeed. Although this is mainly a problem for boards without plastics case.
BR, Nikolaus