Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [~/mer/android/droid/out/target/product/u8815]$ telnet 192.168.2.15 23
- Trying 192.168.2.15...
- Connected to 192.168.2.15.
- Escape character is '^]'.
- Welcome to the Mer/SailfishOS Boat loader debug init system.
- Log so far is in /init.log
- You may inject commands into init shell process (PID 1):
- To see output of commands as they're injected:
- tail -f /init.log &
- To run a command:
- echo "ls -l /" >/init-ctl/stdin
- (Be careful if you experiment with exec as you need to terminate
- daemons and disable busybox hotplug handling)
- To allow init to continue:
- echo "continue" >/init-ctl/stdin
- The init script also functions as a post-switch_root debugger too:
- cp /init /target/init-debug
- (When run post-switch_root, telnet is on port 2323, not 23)
- In order to work safely with the device's mmc you should
- echo "umount_stowaways" >/init-ctl/stdin
- Then you can mount and modify exported mass storage on host. When done
- echo "mount_stowaways" >/init-ctl/stdin
- ~ # tail -f /init.log &
- ~ # + sync
- + inject_loop
- + INJ_DIR=/init-ctl
- + INJ_STDIN=/init-ctl/stdin
- + mkdir /init-ctl
- + mkfifo /init-ctl/stdin
- + echo This entire directory is for debugging init - it can safely be removed
- + echo ########################## Beginning inject loop
- ########################## Beginning inject loop
- + :
- ~ # echo "continue" >/init-ctl/stdin
- ~ # Connection closed by foreign host.
- [~/mer/android/droid/out/target/product/u8815]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement