mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rob Landley <rob@landley.net>
To: musl@lists.openwall.com
Subject: [musl] FYI: llvm-musl-hexagon toolchain build script v1
Date: Sun, 25 Jul 2021 19:11:43 -0500	[thread overview]
Message-ID: <cecd940e-2468-3565-8efa-ba63f01e665b@landley.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 1111 bytes --]

Note the first three lines are the 3 git archives to clone into the current
directory. (llvm, linux, and qualcomm's musl-hexagon fork)

Loosely based on the
https://github.com/qemu/qemu/blob/master/tests/docker/dockerfiles/debian-hexagon-cross.docker.d/build-toolchain.sh
with a _LOT_ of simplification. Yes, it can still be slimmed down further,
working on it ala
https://lists.nongnu.org/archive/html/qemu-devel/2021-07/msg04610.html

I built a toybox binary which qemu-hexagon could run, and I built a
comet_defconfig vlinux which... doesn't seem to have a qemu-system-hexagon board
emulation yet? Hmmm...

Their musl hexagon branch is a couple dozen patches on top of a commit from
January of this year. Should rebase reasonnably to current without too much effort.

Rob

P.S. This chip is in every Android phone/tablet with a qualcomm chipset. Linux
was ported to it in 2010, which I know about because I worked on it
(http://landley.net/notes-2012.html#24-02-2012) but despite the hardware's
ubiquity it hasn't been particularly hobbyist accessible before now, but with
support finally going into QEMU...

[-- Attachment #2: script.sh --]
[-- Type: application/x-shellscript, Size: 2327 bytes --]

             reply	other threads:[~2021-07-25 23:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-26  0:11 Rob Landley [this message]
2021-07-26  0:14 ` Rich Felker
2021-07-26  0:49   ` Rob Landley
2021-07-26  3:49 ` Patrick Oppenlander

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cecd940e-2468-3565-8efa-ba63f01e665b@landley.net \
    --to=rob@landley.net \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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).