From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Bis Date: Tue, 28 Apr 2015 09:35:54 +0200 Subject: [Buildroot] [PATCH] cc-tool: new package In-Reply-To: <20150427231028.5a0fd7df@free-electrons.com> References: <1430142129-32750-1-git-send-email-marcin@bis.org.pl> <20150427173126.23797992@free-electrons.com> <553E9212.4090805@bis.org.pl> <20150427231028.5a0fd7df@free-electrons.com> Message-ID: <553F385A.50308@bis.org.pl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi Thoams, On 04/27/2015 11:10 PM, Thomas Petazzoni wrote: > Dear Marcin Bis, > > On Mon, 27 Apr 2015 21:46:26 +0200, Marcin Bis wrote: > >> cc-tool is used for interacting with Texas Instrument's Debugger and >> Programmer for RF System-on-Chips. >> http://www.ti.com/tool/cc-debugger >> >> The device is used for programming (and debugging) firmware on various >> TI Low Power RF System-on-Chips (based on 8051 microcontrolers). >> >> I am using it for re-flashing such chips from ARM-based embedded devices >> (running Buildroot generated os) - so I put it under "tools for target" >> category. > > Ok. > >> TI chips do not have sufficient resources to run Linux on them, so >> adding cc-tool as a host tools in Buildroot does not make sense (in my >> opinion) - the tool has no use on Buildroot generated images. > > This is not what a host tools is. A host tool runs on your PC, i.e > where you do the Buildroot build. For sure your PC has sufficient > resources to run cc-tool. As I understand, host-tools are intended for doing something with images generated by Buildroot e.g. flashing, generating fs images etc. cc-tool does not fall under this category. It is some how similar to openocd, but openocd can be used to debug bootloader/Linux kernel running on some SoC-s (so it perfectly makes sense here). TI chips, which cc-tool talks to - are not able to run Linux at all. Of course cc-tool can be added to Buildroot as a host tool too. I can prepare the patch if you want. My particular need at the moment is to have it as a tool for target. > > Thanks, > > Thomas > -- Marcin Bis