From mboxrd@z Thu Jan 1 00:00:00 1970 From: U.Mutlu Date: Sun, 7 Apr 2019 20:18:15 +0200 Subject: [U-Boot] Is running another .scr file from within boot.scr possible? In-Reply-To: References: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de U.Mutlu wrote on 04/07/2019 08:05 PM: > Hi, > is it possible to exec another .scr file from within boot.scr ? > Or is there another alternative to auto-run a different script file? > > The goal is to have different script files, one say for normal boot from SD, > and the other say for booting from a tftp-server. > > Btw, is the interpreter that runs the boot.scr a sh/bash interpreter? Another question is: once boot.scr is started, is it still possible conditionally or unconditionally to return to the u-boot CLI prompt?