Skip to contentSkip to conversation

Is running another .scr file from within boot.scr possible?

U-Boot U.Mutlu 1 participant 2 messages Apr 7, 2019

lore
Share & tools
lore

U.Mutlu

author
#0 lore raw

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?

Thx

Signature · 1 line
U.Mutlu
author
#1 lore raw

U.Mutlu wrote on 04/07/2019 08:05 PM:

Quoted 8 lines

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?