We have embebed linux on ARM9 board which is connected to another board by serial line TTY1, no other way to communicate with the ARM9 board (no ethernet no usb), in our normal state application ARM9 board exchange datas with the other board on TTY1. In maintenance mode we want to run console on the ARM9 linux board, so our idea was :
- Send special command to our software
- Our software DO SOMETHINGS to prepare console activation on TTY1 for next reboot
- Programatically reboot software
- NOW in console mode to TTY1
- Change whathever we need
- Ask to normal reboot and run our normal software
We need some help on step 2, what we can write somewhere or which command we can programatically run to tell linux to reboot on console mode to TTY1 ?