[U-Boot] Dual boot Images in Flash
Wolfgang Denk
wd at denx.de
Tue Oct 1 09:08:39 CEST 2013
Dear "Gupta, Pekon",
In message <20980858CB6D3A4BAE95CA194937D5E73EA186A6 at DBDE04.ent.ti.com> you wrote:
>
> you can tweak your hardware to split it, and many micro-controllers
> do it (especially for safety critical applications). Example:
> Suppose 'default' entry-point (or reset entry-point) = 0x0000_0000,
> Now OR your MSB bit with the fault-signal or boot-error-flag.
Define "fault-signal" and "boot-error-flag". Thise may exist on your
chip, but they don't on the overwhelming majority of systems.
> reset-addr[31] = reset-addr_internal[31] | boot_error_flag;
> So in case when you primary boot fails, and boot_error_flags is set,
> next time when you boot, the address transforms into 0x1000_0000
This will only work on very specific hardware.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
In Nature there are neither rewards nor punishments, there are conse-
quences. -- R.G. Ingersoll
More information about the U-Boot
mailing list