From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeroen Hofstee Date: Sun, 06 Jul 2014 13:16:57 +0200 Subject: [U-Boot] Giving control to standalone app. In-Reply-To: <1404645040858-183635.post@n7.nabble.com> References: <1404645040858-183635.post@n7.nabble.com> Message-ID: <53B93029.3070505@myspectrum.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 06-07-14 13:10, mazen.e wrote: > Dear all, > > At the moment U-Boot branches to the OS entry point, U-Boot is dead and no > longer exists, does this property hold also when u-boot loads a standalone > application. > > In fact, I want to 'give control' to a standalone application, what does > exactly the word 'give control' mean? e.g. 'giving control' is established > by implementing an infinite loop in the standalone such that the body of > the loop executes continuously specific tasks or responding to particular > interrupts? in such case what happens to u-boot? what if after a particular > event in the standalone app I want to return to u-boot? > > Please excuse me for this beginner question. > > Yes you loop as long as you want to keep doing something, when you return you should end up in u-boot again. Regards, Jeroen