[U-Boot] [PATCH v2] mxs: fixed battery boot on imx233-olinuxino-micro

Stefano Babic sbabic at denx.de
Tue Jun 17 18:00:53 CEST 2014


Hi peter,

On 17/06/2014 00:19, Marek Vasut wrote:
> On Tuesday, June 17, 2014 at 12:18:55 AM, Marek Vasut wrote:
>> On Sunday, June 15, 2014 at 03:11:56 PM, Peter Schumann wrote:
>>> This patch makes it possible to boot from battery on olinuxino Boards
>>> from Olimex.
>>>
>>> We should not set DOUBLE_FETS in HW_POWER_MINPWR, it makes my system
>>> reset with in seconds while running on battery power.
>>>
>>> Also  mxs_power_enable_4p2() should not be called if running from
>>> battery. It switches VDDD and VDDA to LinReg mode and than turns off
>>> the VDDIO DCDC supply. At this point the system resets.
>>> If we run on battery this is no good idea because the LinRegs are
>>> chained behind VDDIO and battery voltage seems not enough to power
>>> the system from LinRegs.
>>> Also is the power system already running on DCDC after BootROM hands
>>> over to u-boot, so no sense in switching back to LinRegs.
>>>
>>> Signed-off-by: Peter Schumann <peter.schumann at jeepxj.de>
>>
>> +CC Fabio, I'd like to see his take on this too.
> 
> Reviewed-by: Marek Vasut <marex at denx.de>
> 
> I'd like to get this merged after 2014.07 though, so it can get some proper 
> testing. We're too late in the -rc cycle anyway ...
> 

Agree. Reason is that this change is for all boards, and without a
proper testing I will avoid to merge it in the release.

Best regards,
Stefano Babic



-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list