Skip to contentSkip to conversation

Hobbyist hexagon?

DISCUSSION Rob Landley 2 participants 3 messages Mar 2, 2012 – Mar 6, 2012 Qualcomm hexagon architecture

lore
Share & tools
lore
#0 lore raw

I'd like to play with Hexagon Linux. I'm told there's such a chip in my old Nexus One, at at one point there was mention of potential QEMU support for the thing?

Assuming I just wanted to boot Linux to a shell prompt with an initramfs, do I have any options?

Rob

#1 lore raw
Quoted 8 lines · Rob Landley

I'd like to play with Hexagon Linux. I'm told there's such a chip in my old Nexus One, at at one point there was mention of potential QEMU support for the thing?

Assuming I just wanted to boot Linux to a shell prompt with an initramfs, do I have any options?

Rob

Hi again, Rob!

I think there is certainly the desire to enable other people to work on Hexagon Linux, but unfortunately there's nothing externally available as of yet. We haven't really done anything with QEMU, and I don't have the support for any other external hardware. There may be some stuff in the works for the public, but I don't have a timetable for any of it.

That's about the short of it.

Thanks,
Richard Kuo

Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
#2 lore raw
Quoted 5 lines · Richard Kuo
Quoted 4 lines · Rob Landley

I'd like to play with Hexagon Linux. I'm told there's such a chip in my old Nexus One, at at one point there was mention of potential QEMU support for the thing?

Quoted 7 lines
Quoted 4 lines

Assuming I just wanted to boot Linux to a shell prompt with an initramfs, do I have any options?

Rob

Hi again, Rob!

Hi Richard! Long time no see.

Quoted 3 lines

I think there is certainly the desire to enable other people to work on Hexagon Linux, but unfortunately there's nothing externally available as of yet.

I have noticed this thing. I would like to fix this thing, if I can.

There are a gazillion Nexus variants out there, and they're starting to get old enough to be replaced. This means there are a gazillion _old_ nexus variants out there, some going cheap on ebay, which can become reasonable development systems with minimal prompting...

Quoted 1 line

We haven't really done anything with QEMU,

Which is a pity. Now that instruction set has been released, is there something on codeaurora I can point the qemu guys at?

Quoted 3 lines

and I don't have
the support for any other external hardware. There may be some stuff in the works for the public, but I don't have a timetable for any of it.

I have an old Nexus One, which I've replaced with a Nexus Black Thing From Sprint (which may or may not be a "galaxy S", it doesn't say). I'm assured my old phone has a snapdragon-with-hexagon in it. All I need to play with it is the bootloader bit I can run on android to quiesce the Scorpion and boot the Hexagon via the boot processor. I can put an initramfs in the kernel image to avoid even needing to read from flash initially.

This means I _specifically_ need:

A) The armv5l code to run on the boot processor, halting the scorpion and starting the hexagon.

B) That magic software mmu binary blob the hexagon kernel won't run without.

C) The usb serial driver for hexagon so I can get a serial console by plugging the hexagon into my laptop.

D) A working example of all this fitting together, giving me a serial console with kernel boot messages.

Rob

(P.S. It would be really realy nice if I could get that old uClibc 0.9.30 tarball, I could forward port it to current myself. But that's not strictly required to make this usable outside qualcomm if the existing cross compiler toolchains have a working libc in them.)