How can we run NO SMP Android (Arndale Board)?

  • Replies:0
Yoshiharu Imamoto
  • Forum posts: 1

Aug 23, 2013, 6:45:07 AM via Website

I'm trying to run Android on a single processor environment for my experiment, and need advice for it.

What I want to do is to run Android as No SMP setting on a dual core board (arndale board). It means, I do not want to use second core when running Android. But

For this purpose, I tried to boot Linux as No SMP setting, and build Android with No SMP configuration. Booting Linux with nosmp is done by giving boot parameters like "nosmp", "maxcpus=1" or both. And We built No SMP Android by setting BoardConfig.mk as "TARGET_CPU_SMP = false".

I tried conbination of these, but results are as follows, and have not succeeded.

- SMP Linux + SMP Android : It works crrectly
- SMP Linux + No SMP Android : It works, but uses Android 2 cores [*1]
- No SMP Linux + SMP Android : It halts sooner or later [*2]
- No SMP Linux + No SMP Andoroid : It halts sooner or later [*2]

[*1] After Android GUI screen appears, /proc/cpuinfo show 2 processors.

[*2] Sometimes it halts while booting. Even booted successfully, when running applicatoins, Android GUI halts. Interestingly, only serial consol sometimes keeps working after GUI halt.

I'm not sure what is the main problem is. And also not sure problem is in either Linux kernel or Android. So, I appreciate any advice for Android SMP setting.

Regards

Reply