[U-Boot] Giving control to standalone app.

Albert ARIBAUD albert.u.boot at aribaud.net
Sun Jul 6 15:08:00 CEST 2014


Hi mazen.e,

On Sun, 6 Jul 2014 06:00:03 -0700 (PDT), "mazen.e"
<mazen.ezzeddine at gmail.com> wrote:

> Dear 
> 
> Many thanks for your reply.
> 
> But what if mistakenly or accidentally the standalone application write to
> the memory where u-boot resides, would that cause the standalone application
> to crash? Otherwise (in case the standalone application has written to
> u-boot memory without crash )  what happens if the standalone app exit the
> loop.

You're actually asking the very general question "what happens if some
code behaves badly", and the very general answer is "then bad things
happen".

Specifically, you do realize already that if an application overwrites
the U-Boot code in RAM, then upon returning it'll give control back to
a corrupted U-Boot, which can have all sorts of bad effects.

> Regards, 

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list