Hello,
I want to use the OTA features of Android to update the system. But I cannot enter recovery mode.

The system gets into a constant boot loop, also with the default Android image provided by FriendlyARM. The problem seems to be the SELinux fail, which leads to a reboot to recovery mode. But as this happens when booting to recovery mode, this leads to a boot loop.

How can we fix this? How may we perform an OTA update for the device?

Log:

Code: Select all

[    2.664000] Freeing init memory: 224K
[    2.668000] Write protecting the kernel text section c0008000 - c0852000
[    2.676000] rodata_test: attempting to write to read-only section:
[    2.680000] write to read-only section trapped, success
[    2.688000] SELinux:  Could not open sepolicy:  No such file or directory
[    2.696000] init: SELinux: Failed to load policy; rebooting into recovery mode
[    2.704000] SysRq : Emergency Remount R/O
[    2.708000] Emergency Remount complete
[    2.712000] Disabling non-boot CPUs ...
[    2.720000] Restarting system with command 'recovery'.
[    2.724000]
[    2.728000] Restarting Linux version 3.4.39-FriendlyARM (root@jensen) (gcc version 4.9.3 (ctng-1.21.0-229g-FA) ) #1 SMP PREEMPT Thu Sep 6 11:21:28 CST 2018
[    2.728000]
[    2.740000] system reset: recovery ...
[    2.744000] spu1705: reboot
[    2.752000] recovery sign [0xf00108e4:0x52455343]