diff --git a/README.adoc b/README.adoc index 34f1ba6..de7d7db 100644 --- a/README.adoc +++ b/README.adoc @@ -3643,6 +3643,26 @@ If you followed <>, you can now run the executables create ; .... +To easily explore the userland executable environment interactively, you can do: + +.... +./run \ + --arch aarch64 \ + --userland "$(./getvar --arch aarch64 buildroot_target_dir)/bin/sh" \ + --terminal \ +; +.... + +or: + +.... +./run \ + --arch aarch64 \ + --userland "$(./getvar --arch aarch64 buildroot_target_dir)/bin/sh" \ + --userland-args='-c "uname -a && pwd"' \ +; +.... + Here is an interesting examples of this: <> === User mode simulation with glibc