linux-hexagon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [DISCUSSION] Running linux-hexagon on the Qualcomm Galaxy S3?
@ 2013-02-14  7:29 Eric Appleman
  2013-02-17  3:37 ` Rob Landley
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Appleman @ 2013-02-14  7:29 UTC (permalink / raw)
  To: linux-hexagon

Good idea? Bad idea?

A bunch of people Freenode (#d2common and #htc-linux) have begun a port.

https://github.com/detule/linux-hexagon

Thoughts?




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [DISCUSSION] Running linux-hexagon on the Qualcomm Galaxy S3?
  2013-02-14  7:29 [DISCUSSION] Running linux-hexagon on the Qualcomm Galaxy S3? Eric Appleman
@ 2013-02-17  3:37 ` Rob Landley
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Landley @ 2013-02-17  3:37 UTC (permalink / raw)
  To: Eric Appleman; +Cc: linux-hexagon

On 02/14/2013 01:29:14 AM, Eric Appleman wrote:
> Good idea? Bad idea?
> 
> A bunch of people Freenode (#d2common and #htc-linux) have begun a  
> port.
> 
> https://github.com/detule/linux-hexagon
> 
> Thoughts?

Please keep me in the loop!

The trick is:

A) Getting a bootloader that runs hexagon code. In snapdragon there are  
4 processors, and the "boot processor" is actually an old armv5l that  
bogs off to run radio code after initial boot. It has to hand off  
control to another processor, by default this is the Scorpion Armv7, it  
has to be reprogrammed to instead wake up the hexagon and give it  
control.

2) Last I checked some of the Snapdragon SoC drivers were only in the  
Android tree, under arch/arm. The hexagon will need these moved to a  
generic directory in the vanilla tree so hexagon can find the USB port  
and stick a serial console on it. (USB gadget for the win!)

III) Qualcomm's soft MMU code is binary-only because their lawyers  
think nobody's ever done a soft MMU before and thus their patents on it  
won't be invalidated if it's a secret what they are. (Last I checked  
objdump could disassemble the magic instructions, there was just no  
documentation on TLB loading and such.)

Also, back in 2010 there was a brief effort to get hexagon support in  
QEMU (just one thread, but it had to do the 4-issue VLIW since the  
different cores run different instructions and there's synchronization  
issues with jumps and such), which would simplify open source  
development _enormously_. Alas, it did not bear fruit that I'm aware  
of. Adding Hexagon support to TCG would be awesome.

Rob

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-17  3:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-14  7:29 [DISCUSSION] Running linux-hexagon on the Qualcomm Galaxy S3? Eric Appleman
2013-02-17  3:37 ` Rob Landley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).