From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: [PATCH v2] gnu: Add sunxi-tools. Date: Tue, 4 Oct 2016 12:07:38 +0200 Message-ID: <20161004120738.2351b604@scratchpost.org> References: <20161002115401.2bea3797@scratchpost.org> <20161002095836.6495-1-dannym@scratchpost.org> <874m4scvzh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brMdX-0002Nb-PI for guix-devel@gnu.org; Tue, 04 Oct 2016 06:07:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brMdT-0001ii-G0 for guix-devel@gnu.org; Tue, 04 Oct 2016 06:07:46 -0400 In-Reply-To: <874m4scvzh.fsf@gnu.org> 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: Ludovic =?ISO-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org > I don=E2=80=99t understand this description. Since =E2=80=9CTools=E2=80= =9D, =E2=80=9Cmanage=E2=80=9D, and > =E2=80=9Cdevices=E2=80=9D could mean anything, could you add qualifiers t= o give more > context, like: >=20 > =E2=80=9CFrobbing tools for Allwinner A10 foobar devices=E2=80=9D >=20 > and similarly expound the description (with a period at the end of the > sentence)? >=20 > Based on that, we might device that admin.scm is not the best fit for > this package. Maybe flashing-tools.scm? The tools included are: - sunxi-fexc, bin2fex, fex2bin: Compile a textual description of a board (.= fex) to a binary representation (.bin). Like Devicetree - if a vendor doesn= 't know Devicetree exists and therefore doesn't use it. [can be used on tar= get and host] - sunxi-fel: Puts an Allwinner A10 device into FEL mode which makes it regi= ster as a special USB device (rather than USB host). You can then connect i= t to another computer and flash it from there (kinda like Arduino or other = Atmels). [only makes sense to be used on host] - sunxi-nand-part: Partitions NAND flash. [only makes sense to be used on t= arget since it uses ioctls specific to the NAND kernel driver] - sunxi-bootinfo: Reads out boot0 and boot1 information. These are the boot= loaders before U-Boot. [can be used on target and host - since it requires = an image file] - sunxi-pio: Sets GPIO and oscillates a GPIO in order to be able to find it= [only makes sense to be used on target - since it uses /dev/mem] So how about this description: (description "This package contains tools for Allwinner A10 devices: - sunxi-fexc, bin2fex, fex2bin: Compile a textual description of a board (.= fex) to a binary representation (.bin). - sunxi-fel: Puts a Allwinner A10 device into FEL mode which makes it regis= ter as a special USB device (rather than USB host). You can then connect it= to another computer and flash it from there. - sunxi-nand-part: Partitions NAND flash. - sunxi-bootinfo: Reads out boot0 and boot1 information. These are the boot= loaders before U-Boot. - sunxi-pio: Sets GPIO and oscillates a GPIO in order to be able to find it. ")