From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 17 Jun 2014 00:19:42 +0200 Subject: [U-Boot] [PATCH v2] mxs: fixed battery boot on imx233-olinuxino-micro In-Reply-To: <201406170018.55349.marex@denx.de> References: <1400637715-24117-1-git-send-email-peter.schumann@jeepxj.de> <1402837916-20054-1-git-send-email-peter.schumann@jeepxj.de> <201406170018.55349.marex@denx.de> Message-ID: <201406170019.42231.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > > +CC Fabio, I'd like to see his take on this too. Reviewed-by: Marek Vasut 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 ... Best regards, Marek Vasut