Page 1 of 1

ARM vs. Intel

Posted: Thu Feb 21, 2013 8:44 pm
by Mikemk
I am currently trying to make a tablet os, and my target device runs an arm processor. The os is near the end of the bootloader stage. My question is, since my goal is an arm processor, should i quit intel and just go straight to arm, or work on an intel version for the experience, then rewrite it for arm?
The reason I'm asking is, intel OSs have a ton of documentation, while arm has very little, but if I go straight to arm, it will be a lot less work to translate it to arm, since it already would be.

If you think arm is better, can you point me toward some resources? (Assembler, emulator, documentation, perhaps a way to pull the hardware specs off an android rom since there is no detection method...)

Re: ARM vs. Intel

Posted: Fri Feb 22, 2013 3:06 am
by iansjack
Plenty of documentation here: http://infocenter.arm.com

As for development tools, just use a gcc cross compiler on Linux. Qemu emulates certain ARM boards and there is an emulator in the Android SDK (although I don't know whether you could use this for software other than Android). Or you can always buy the real thing as a Raspberry Pi (costs only a few tens of dollars).

If you are set on writing for an ARM processor I can't see any point in starting with an x86.

Re: ARM vs. Intel

Posted: Fri Feb 22, 2013 7:55 am
by Mikemk
OK thank you. And the emulator in the android sdk really isn't a emulator. It's more of a cross between an emulator and an android simulator. Am I correct in assuming that nasm cannot output for arm? I much prefer assembly to c/c++

Re: ARM vs. Intel

Posted: Fri Feb 22, 2013 8:14 am
by OSwhatever
The GCC assembler can output ARM code if you have compiled it to output ARM code, or you can get codesourcery binaries for ARM.