* [U-Boot] i.MX6 boot mode on SRC_SBMR1
@ 2015-05-11 10:24 Palacios, Hector
2015-05-11 22:09 ` Troy Kisky
0 siblings, 1 reply; 3+ messages in thread
From: Palacios, Hector @ 2015-05-11 10:24 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] i.MX6 boot mode on SRC_SBMR1
2015-05-11 10:24 [U-Boot] i.MX6 boot mode on SRC_SBMR1 Palacios, Hector
@ 2015-05-11 22:09 ` Troy Kisky
2015-05-12 6:04 ` Igor Grinberg
0 siblings, 1 reply; 3+ messages in thread
From: Troy Kisky @ 2015-05-11 22:09 UTC (permalink / raw)
To: u-boot
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] i.MX6 boot mode on SRC_SBMR1
2015-05-11 22:09 ` Troy Kisky
@ 2015-05-12 6:04 ` Igor Grinberg
0 siblings, 0 replies; 3+ messages in thread
From: Igor Grinberg @ 2015-05-12 6:04 UTC (permalink / raw)
To: u-boot
On 05/12/15 01:09, Troy Kisky wrote:
> 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.
BTW, we have observed that the description in the comment is not exact and
therefore commit:
f2863ff (arm: imx: make bmode command work with SPL/U-Boot combo)
fixes also the comment.
--
Regards,
Igor.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-05-12 6:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-11 10:24 [U-Boot] i.MX6 boot mode on SRC_SBMR1 Palacios, Hector
2015-05-11 22:09 ` Troy Kisky
2015-05-12 6:04 ` Igor Grinberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox