From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: [PATCH] gnu: Add sunxi-tools. Date: Sun, 2 Oct 2016 11:54:01 +0200 Message-ID: <20161002115401.2bea3797@scratchpost.org> References: <20160929110204.23556-1-dannym@scratchpost.org> <20161002015441.GC26660@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqdTJ-00044t-8m for guix-devel@gnu.org; Sun, 02 Oct 2016 05:54:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqdTF-0003ob-5K for guix-devel@gnu.org; Sun, 02 Oct 2016 05:54:12 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:33837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqdTE-0003o0-Un for guix-devel@gnu.org; Sun, 02 Oct 2016 05:54:09 -0400 In-Reply-To: <20161002015441.GC26660@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Leo Famulari Cc: guix-devel@gnu.org Hi Leo, On Sat, 1 Oct 2016 21:54:41 -0400 Leo Famulari wrote: > On Thu, Sep 29, 2016 at 01:02:04PM +0200, Danny Milosavljevic wrote: > > > > * gnu/packages/admin.scm (sunxi-tools): New variable. > > What's the story with the 'bin/' [0] directory? I'm not familiar with > these file types. According to https://github.com/linux-sunxi/sunxi-tools/tree/master/bin they added these in order to avoid cross compilation... http://linux-sunxi.org/Sunxi-tools describes what they are. They don't seem to be installed in the first place - so I'd just remove them. bin/fel-pio.bin : ARM binary to be put on the SD card on the target bin/fel-pio.nm : symbols bin/fel-sdboot.sunxi : ARM binary to be put on the SD card on the target bin/jtag-loop.sunxi : ARM binary to be put on the SD card on the target bin/ramboot.scr : a u-boot configuration binary (created by mkimage) for the target bin/ramboot.uboot-sh : not actually a binary; for the target There are also build instructions how to build those contained in the source code as comment at the top, for example in https://github.com/linux-sunxi/sunxi-tools/blob/master/fel-pio.c which is included. I don't think a normal user needs those (and I never needed those). I'd just omit them.