On 12/13/2012 09:40 AM, Stephen Smalley wrote:
On 12/12/2012 02:59 PM, Persaud, Ryan K. wrote:
Hello,
I’ve been running through the build directions on the SEAndroid wiki,
and the process has been fairly straightforward. One issue I had,
however, is running SEAndroid on the emulator. The wiki indicates that
the command line:
emulator -show-kernel -kernel kernel/goldfish/arch/x86/boot/bzImage
should work. However, I found that I needed to add this option to the
emulator command line in order for the emulator to load the kernel
properly:
-qemu -cpu cortex-a8
Per the instructions found in /external/qemu/docs/ ANDROID-KERNEL.TXT of
the AOSP tree, this option enables ARMv7 emulation. It might be helpful
to update the wiki to indicate that this option is necessary.
I've never needed to do that. What version of SE Android are you
building and for what actual architecture (mixing x86 and arm above)?
I suspect that you didn't run the emulator you built but instead ran
some older version of the emulator in your path that defaulted to armv5.
Might want to run 'which emulator'. Maybe you didn't run lunch
full-eng just before running the emulator?
--
This message was distributed to subscribers of the seandroid-list mailing list.
If you no longer wish to subscribe, send mail to majord...@tycho.nsa.gov with
the words "unsubscribe seandroid-list" without quotes as the message.