Hi Eric
regarding :
"when the Power source was "Low Battery + 5V".
So the board was power-off when I plug-out 5V USB Power Cable and the
kernel was not operating on very low battery."
proccesor can not operate below Battery<2.6V,
IMX23RM Table 2-3. Recommended Power Supply Operating Conditions,
so without any suitable power (no battery, no 5V) board powers off.
In BSP you can charge battery using BSP battery charger device driver, refer
to attached Linux Manual Chapter 27 Battery Charger and Power Source Manager (PSM) Driver.
However BSP does not support transition from 5V to battery (note, it should be charged
up to this moment) and vice versa, you should add such support yourself using
attached AN4199 sect.4.2.1 Transition from Battery to 5 V Power Source,
4.2.2 Transition from 5 V Supply to Battery. One can detect 5V removal using
sect.3.2.2.4 Enabling 5 V Detection for DC-DC Control Logic.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------