diff options
Diffstat (limited to 'arch/riscv/boards/riscvemu/defaultenv-riscvemu/data/tutorial/13-env-bin')
-rw-r--r-- | arch/riscv/boards/riscvemu/defaultenv-riscvemu/data/tutorial/13-env-bin | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/riscv/boards/riscvemu/defaultenv-riscvemu/data/tutorial/13-env-bin b/arch/riscv/boards/riscvemu/defaultenv-riscvemu/data/tutorial/13-env-bin new file mode 100644 index 0000000000..34b7ab554b --- /dev/null +++ b/arch/riscv/boards/riscvemu/defaultenv-riscvemu/data/tutorial/13-env-bin @@ -0,0 +1,11 @@ + +Let's modify the environment to add a new script (Remember +`help` can show you the usage, e.g. `help mw`): +``` +cd /env/bin +echo -o putc '#!/bin/sh' +echo -a putc 'mw -l 0x40008000 $1' +echo -a putc 'mw -l 0x40008004 0x01010000' +cd / +putc 0x40 # Print an @ character +``` |