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. 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. It's annoying you can't boot without a battery, currently.