From mboxrd@z Thu Jan 1 00:00:00 1970 From: Troy Kisky Date: Mon, 11 May 2015 15:09:26 -0700 Subject: [U-Boot] i.MX6 boot mode on SRC_SBMR1 In-Reply-To: <52F917CEA1B9C64C94833D53889D478C16364A@dor-sms-xch01.digi.com> References: <52F917CEA1B9C64C94833D53889D478C16364A@dor-sms-xch01.digi.com> Message-ID: <55512896.8090604@boundarydevices.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 5/11/2015 3:24 AM, Palacios, Hector wrote: > Hello Troy, > > Code comments on commit 124a06d7fbbf82f47304d499418460312a725ad6 for forcing the boot mode say: > > +/* > + * cfg_val will be used for > + * Boot_cfg4[7:0]:Boot_cfg3[7:0]:Boot_cfg2[7:0]:Boot_cfg1[7:0] > + * After reset, if GPR10[28] is 1, ROM will copy GPR9[25:0] > + * to SBMR1, which will determine the boot device. > + */ > > > Although this works (the ROM boots from the media configured in GPR9[25:0] if GPR10[28] is set), the value of SBMR1 does not really change, as the comment says, and is still the one read by the strapping. > > I didn't find this documented on the HRM. Where did you find it? > > Thanks > -- > H?ctor Palacios > > In source code from a boot shim from freescale.