Skip to content
Snippets Groups Projects
Commit 116cf6da authored by Tobias Kahlki's avatar Tobias Kahlki
Browse files

env: Added function to load and run scripts from ext4

parent 2ce4b46c
No related branches found
No related tags found
1 merge request!115cmd: Activated the boot mode command for TANARO
...@@ -365,6 +365,13 @@ ...@@ -365,6 +365,13 @@
"source ${loadaddr};" \ "source ${loadaddr};" \
"fi;\0" \ "fi;\0" \
\ \
\
"run_script_from_ext4=" \
"echo Try to run ${script} from mmc partition ${current_partition}; " \
"if ext4load mmc ${current_partition} ${loadaddr} ${script}; then " \
"source ${loadaddr};" \
"fi;\0" \
\
\ \
"search_and_run_bootscript=" \ "search_and_run_bootscript=" \
"for i in 1 2 3 4 5 6 7; do " \ "for i in 1 2 3 4 5 6 7; do " \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment