From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10775 Path: news.gmane.org!.POSTED!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: cortex-m support? Date: Wed, 7 Dec 2016 20:16:25 -0500 Message-ID: <20161208011625.GL1555@brightrain.aerifal.cx> References: <04e5a294-719e-8029-704f-a57d1ec935b0@landley.net> <20161207152936.GB16379@port70.net> <20161207153519.GC16379@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1481159802 21541 195.159.176.226 (8 Dec 2016 01:16:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Dec 2016 01:16:42 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-10788-gllmg-musl=m.gmane.org@lists.openwall.com Thu Dec 08 02:16:38 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1cEnK9-0005Co-Sb for gllmg-musl@m.gmane.org; Thu, 08 Dec 2016 02:16:37 +0100 Original-Received: (qmail 28386 invoked by uid 550); 8 Dec 2016 01:16:40 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 28368 invoked from network); 8 Dec 2016 01:16:39 -0000 Content-Disposition: inline In-Reply-To: Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:10775 Archived-At: On Wed, Dec 07, 2016 at 06:55:56PM -0600, Rob Landley wrote: > > On 12/07/2016 09:35 AM, Szabolcs Nagy wrote: > > * Szabolcs Nagy [2016-12-07 16:29:37 +0100]: > >> > >> fdpic arm is interesting too but it would be better > >> if there was an abi spec (so there is no toolchain > >> compatibility issue). > >> > > > > ok it seems somebody wrote this: > > https://github.com/mickael-guene/fdpic_doc/blob/master/abi.txt > > > > it's just not upstreamed anywhere (and not specified by the vendor) > > Ah, that's one of the three authors of this: > > http://www.slideshare.net/linaroorg/sfo15406-arm-fdpic-toolset-kernel-libraries-for-cortexm-cortexr-mmuless-cores > > Although emcraft.com (the company whose full-time business has been > "Linux on Cortex-M" for over 5 years) is in Moscow. Their fdpic support > patch in their kernel is: > > https://github.com/EmcraftSystems/linux-emcraft/commit/673205bf926b > > And it looks like it was a port of the work of those guys. > > Not sure where you get the relevant gcc patch... I have links to the repos somewhere; the problem is that they're forked from a fairly old gcc version (although not nearly as bad as sh-fdpic; I think it's 4.8 or so) and the authors probably don't have copyright assignments taken care of. It would be really nice if someone could coordinate working with the authors and companies involved and getting all of that taken care of -- preferably someone getting paid to do so, since it's not particularly fun work to be doing as a volunteer. Rich