I bought an omap4460 pandatv Development Board and burned the android4.0 system. I want to use the Linux kernel to runProgramPort it to the board and run it. I use a single board, no display, no touch screen, and the output is a terminal. After the board is powered on, the terminal will be suspended soon: suspending Console (s) (use no_console_suspend to debug ). I have been searching for it online for a long time and cannot solve it.
Reference: http://blog.csdn.net/eqwewr/article/details/7513733,https://groups.google.com/forum? Fromgroups = #! Topic/Android-porting/a3fmhyvoclw
As mentioned in the first link, I tried to use it. The person from the second link also does not use it like me.
Finally, the solution provided by the big brother on the Internet:
Do not want to suspend request for a wakelock
Echo XXX>/sys/power/wake_lock
To release
Echo XXX>/sys/power/wake_unlock
XXX,
Enter the preceding statement immediately after the system is started, as follows:
Root @ Android: // # echo wake>/sys/power/wake_lock and the terminal will not be suspended. If you do not enter the release Statement (echo XXX>/sys/power/wake_unlock) and directly press the reset key on the board, the terminal will not respond (there are two lights on the board, in this case, only one light is on. press the reset key to restart the system. In addition, this solution requires you to re-enter the statement after each reboot, so it is only temporary, hoping to find a better method.
The following link is the source code patch for solving this problem. 2013-5-2
Https://patchwork.kernel.org/patch/2493631/