public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] msp4300 toolchain
@ 2011-12-20  4:33 David Relson
  2011-12-20  6:02 ` Peter Stuge
  2011-12-20 19:38 ` Mike Frysinger
  0 siblings, 2 replies; 13+ messages in thread
From: David Relson @ 2011-12-20  4:33 UTC (permalink / raw
  To: gentoo-embedded

G'day,

I'd like to do some development with TI's msp430 processors.  As a
starting point I've got the TI LaunchPad which has an msp430g2231.

As best I can tell, there seem to be 3 paths to a toolchain:
   1 - crossdev - with an appropriate tuple, for example
      a - "crossdev -t msp430"
      b - "crossdev -t msp430-none-none-uclibc"
   2 - portage to emerge dev-embedded/msp430*
   3 - sourceforge's mspgcc project

I could go into the difficulties I've encountered with each of the
above, but I don't want to overload this message and bore everyone.

So the questions are:

Is anybody on this list doing msp430 development/experimentation? Has
one of the above paths been found to work?  If so, which one?

Thank you.

David



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] msp4300 toolchain
  2011-12-20  4:33 [gentoo-embedded] msp4300 toolchain David Relson
@ 2011-12-20  6:02 ` Peter Stuge
  2011-12-20 12:21   ` David Relson
  2011-12-20 19:38 ` Mike Frysinger
  1 sibling, 1 reply; 13+ messages in thread
From: Peter Stuge @ 2011-12-20  6:02 UTC (permalink / raw
  To: gentoo-embedded

David Relson wrote:
> I'd like to do some development with TI's msp430 processors.  As a
> starting point I've got the TI LaunchPad which has an msp430g2231.

I'm not sure Linux is relevant for those 16-bit chips, nor uClibc?


//Peter



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] msp4300 toolchain
  2011-12-20  6:02 ` Peter Stuge
@ 2011-12-20 12:21   ` David Relson
  2011-12-20 12:26     ` Maciej Grela
  0 siblings, 1 reply; 13+ messages in thread
From: David Relson @ 2011-12-20 12:21 UTC (permalink / raw
  To: gentoo-embedded

On Tue, 20 Dec 2011 07:02:53 +0100
Peter Stuge wrote:

> David Relson wrote:
> > I'd like to do some development with TI's msp430 processors.  As a
> > starting point I've got the TI LaunchPad which has an msp430g2231.
> 
> I'm not sure Linux is relevant for those 16-bit chips, nor uClibc?
> 
> 
> //Peter

I'm not interested in running Linux on the MSP430.  My goal is to use
Linux to cross-compile code that will run on the MSP430.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] msp4300 toolchain
  2011-12-20 12:21   ` David Relson
@ 2011-12-20 12:26     ` Maciej Grela
  2011-12-20 12:51       ` David Relson
  0 siblings, 1 reply; 13+ messages in thread
From: Maciej Grela @ 2011-12-20 12:26 UTC (permalink / raw
  To: gentoo-embedded

2011/12/20 David Relson <relson@osagesoftware.com>:
> On Tue, 20 Dec 2011 07:02:53 +0100
> Peter Stuge wrote:
>
>> David Relson wrote:
>> > I'd like to do some development with TI's msp430 processors.  As a
>> > starting point I've got the TI LaunchPad which has an msp430g2231.
>>
>> I'm not sure Linux is relevant for those 16-bit chips, nor uClibc?
>>
>>
>> //Peter
>
> I'm not interested in running Linux on the MSP430.  My goal is to use
> Linux to cross-compile code that will run on the MSP430.
>

There is a msp430-gcc package in portage. Have you tried that ? I've
once upon a time used a toolchain from:

http://cdk4msp.sourceforge.net/

Best regards,
Maciej Grela



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] msp4300 toolchain
  2011-12-20 12:26     ` Maciej Grela
@ 2011-12-20 12:51       ` David Relson
  2011-12-22  1:00         ` Tim Harder
  0 siblings, 1 reply; 13+ messages in thread
From: David Relson @ 2011-12-20 12:51 UTC (permalink / raw
  To: gentoo-embedded

On Tue, 20 Dec 2011 13:26:09 +0100
Maciej Grela wrote:

> 2011/12/20 David Relson <relson@osagesoftware.com>:
> > On Tue, 20 Dec 2011 07:02:53 +0100
> > Peter Stuge wrote:
> >
> >> David Relson wrote:
> >> > I'd like to do some development with TI's msp430 processors.  As
> >> > a starting point I've got the TI LaunchPad which has an
> >> > msp430g2231.
> >>
> >> I'm not sure Linux is relevant for those 16-bit chips, nor uClibc?
> >>
> >>
> >> //Peter
> >
> > I'm not interested in running Linux on the MSP430.  My goal is to
> > use Linux to cross-compile code that will run on the MSP430.
> >
> 
> There is a msp430-gcc package in portage. Have you tried that ? I've
> once upon a time used a toolchain from:
> 
> http://cdk4msp.sourceforge.net/
> 
> Best regards,
> Maciej Grela

In the ebuild in dev-embedded/msp430-gcc is the following line:

   is_crosscompile || die "Only cross-compile builds are supported"

I'm not sure exactly what it means, but it seems to mean that this
ebuild can only be used when cross-compiling, i.e. when building gcc to
_run_ on the msp430.  

I want to build a cross-compiler, i.e. a gcc that will run on my x86_64
and create code to run on the msp430.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] msp4300 toolchain
  2011-12-20  4:33 [gentoo-embedded] msp4300 toolchain David Relson
  2011-12-20  6:02 ` Peter Stuge
@ 2011-12-20 19:38 ` Mike Frysinger
  2011-12-21 21:06   ` Mike Frysinger
  1 sibling, 1 reply; 13+ messages in thread
From: Mike Frysinger @ 2011-12-20 19:38 UTC (permalink / raw
  To: gentoo-embedded; +Cc: David Relson

[-- Attachment #1: Type: Text/Plain, Size: 124 bytes --]

someone has sent me a patch to crossdev to add msp4300 support.  i'll let you 
know when i push a release with it.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] msp4300 toolchain
  2011-12-20 19:38 ` Mike Frysinger
@ 2011-12-21 21:06   ` Mike Frysinger
  2011-12-22  0:20     ` David Relson
  2011-12-25 21:06     ` David Relson
  0 siblings, 2 replies; 13+ messages in thread
From: Mike Frysinger @ 2011-12-21 21:06 UTC (permalink / raw
  To: gentoo-embedded; +Cc: David Relson

[-- Attachment #1: Type: Text/Plain, Size: 243 bytes --]

On Tuesday 20 December 2011 14:38:20 Mike Frysinger wrote:
> someone has sent me a patch to crossdev to add msp4300 support.  i'll let
> you know when i push a release with it.

crossdev-20111221 should work.  if it doesn't, file a bug.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] msp4300 toolchain
  2011-12-21 21:06   ` Mike Frysinger
@ 2011-12-22  0:20     ` David Relson
  2011-12-25 21:06     ` David Relson
  1 sibling, 0 replies; 13+ messages in thread
From: David Relson @ 2011-12-22  0:20 UTC (permalink / raw
  To: gentoo-embedded; +Cc: vapier

On Wed, 21 Dec 2011 16:06:57 -0500
Mike Frysinger wrote:

> On Tuesday 20 December 2011 14:38:20 Mike Frysinger wrote:
> > someone has sent me a patch to crossdev to add msp4300 support.
> > i'll let you know when i push a release with it.
> 
> crossdev-20111221 should work.  if it doesn't, file a bug.
> -mike

Hi Mike,

I'm looking forward to trying the new crossdev.  I've sync'd portage
and have the ebuild.  Unfortunately the .xz file hasn't made it to the
portage mirrors.

Thank you.

David



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] msp4300 toolchain
  2011-12-20 12:51       ` David Relson
@ 2011-12-22  1:00         ` Tim Harder
  2011-12-22  4:42           ` David Relson
  0 siblings, 1 reply; 13+ messages in thread
From: Tim Harder @ 2011-12-22  1:00 UTC (permalink / raw
  To: gentoo-embedded

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

On 2011-12-20 Tue 04:51, David Relson wrote:
> > There is a msp430-gcc package in portage. Have you tried that ? I've
> > once upon a time used a toolchain from:
> > http://cdk4msp.sourceforge.net/
> > Best regards,
> > Maciej Grela

> In the ebuild in dev-embedded/msp430-gcc is the following line:

>    is_crosscompile || die "Only cross-compile builds are supported"

> I'm not sure exactly what it means, but it seems to mean that this
> ebuild can only be used when cross-compiling, i.e. when building gcc to
> _run_ on the msp430.  

> I want to build a cross-compiler, i.e. a gcc that will run on my x86_64
> and create code to run on the msp430.

That line means exactly what you want, i.e. you can only build
msp430-gcc for cross-compiling from your amd64/x86/etc host to an msp430
target.

If you have any troubles building the msp430 toolchain in the tree with
crossdev please file a bug and I'll look into it since I'm the primary
maintainer for the msp430 toolchain on Gentoo.

Thanks,
Tim

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] msp4300 toolchain
  2011-12-22  1:00         ` Tim Harder
@ 2011-12-22  4:42           ` David Relson
  0 siblings, 0 replies; 13+ messages in thread
From: David Relson @ 2011-12-22  4:42 UTC (permalink / raw
  To: gentoo-embedded

On Wed, 21 Dec 2011 17:00:24 -0800
Tim Harder wrote:

> On 2011-12-20 Tue 04:51, David Relson wrote:
> > > There is a msp430-gcc package in portage. Have you tried that ?
> > > I've once upon a time used a toolchain from:
> > > http://cdk4msp.sourceforge.net/
> > > Best regards,
> > > Maciej Grela
> 
> > In the ebuild in dev-embedded/msp430-gcc is the following line:
> 
> >    is_crosscompile || die "Only cross-compile builds are supported"
> 
> > I'm not sure exactly what it means, but it seems to mean that this
> > ebuild can only be used when cross-compiling, i.e. when building
> > gcc to _run_ on the msp430.  
> 
> > I want to build a cross-compiler, i.e. a gcc that will run on my
> > x86_64 and create code to run on the msp430.
> 
> That line means exactly what you want, i.e. you can only build
> msp430-gcc for cross-compiling from your amd64/x86/etc host to an
> msp430 target.
> 
> If you have any troubles building the msp430 toolchain in the tree
> with crossdev please file a bug and I'll look into it since I'm the
> primary maintainer for the msp430 toolchain on Gentoo.
> 
> Thanks,
> Tim

Hi Tim,

Glad to make your acquaintance !

With crossdev-20111212, binutil built fine, but gcc stage 1's build
encountered an error in configure.  A bug has been filed.

Regards,

Davvid



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] msp4300 toolchain
  2011-12-21 21:06   ` Mike Frysinger
  2011-12-22  0:20     ` David Relson
@ 2011-12-25 21:06     ` David Relson
  2011-12-31  3:05       ` Mike Frysinger
  1 sibling, 1 reply; 13+ messages in thread
From: David Relson @ 2011-12-25 21:06 UTC (permalink / raw
  To: Mike Frysinger; +Cc: gentoo-embedded

On Wed, 21 Dec 2011 16:06:57 -0500
Mike Frysinger wrote:

> On Tuesday 20 December 2011 14:38:20 Mike Frysinger wrote:
> > someone has sent me a patch to crossdev to add msp4300 support.
> > i'll let you know when i push a release with it.
> 
> crossdev-20111221 should work.  if it doesn't, file a bug.
> -mike

Hi Mike,

The msp430 toolchain generated is working very nicely for me and has
been building msp430 executables for several days.

With kernel config updates (to include CONFIG_USB_SERIAL,
CONFIG_USB_SERIAL_TI, and CONFIG_USB_ACM), demo programs are running
nicely on my TI Launchpad.

Thank you for the crossdev update.

Regards,

David



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] msp4300 toolchain
  2011-12-25 21:06     ` David Relson
@ 2011-12-31  3:05       ` Mike Frysinger
  2011-12-31  4:25         ` YouTube Support
  0 siblings, 1 reply; 13+ messages in thread
From: Mike Frysinger @ 2011-12-31  3:05 UTC (permalink / raw
  To: David Relson; +Cc: gentoo-embedded

On Sun, Dec 25, 2011 at 16:06, David Relson <relson@osagesoftware.com> wrote:
> The msp430 toolchain generated is working very nicely for me and has
> been building msp430 executables for several days.
>
> With kernel config updates (to include CONFIG_USB_SERIAL,
> CONFIG_USB_SERIAL_TI, and CONFIG_USB_ACM), demo programs are running
> nicely on my TI Launchpad.
>
> Thank you for the crossdev update.

don't thank me.  Tim did all the actual work.
-mike



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] msp4300 toolchain
  2011-12-31  3:05       ` Mike Frysinger
@ 2011-12-31  4:25         ` YouTube Support
  0 siblings, 0 replies; 13+ messages in thread
From: YouTube Support @ 2011-12-31  4:25 UTC (permalink / raw
  To: gentoo-embedded; +Cc: gentoo-embedded

You are receiving this automated reply because you have sent mail to
an invalid email address. If you are trying to contact YouTube,
please visit the YouTube Help Center at:
http://www.google.com/support/youtube

If you're unable to find the answer to your question in the Help
Center, you may use the contact forms located there to send us your
question.



Original Message Follows:
------------------------
From: Mike Frysinger <vapier@gentoo.org>
Subject: [gentoo-embedded] msp4300 toolchain
Date: Fri, 30 Dec 2011 22:05:49 -0500

On Sun, Dec 25, 2011 at 16:06, David Relson <relson@osagesoftware.com>
wrote:
> The msp430 toolchain generated is working very nicely for me and has
> been building msp430 executables for several days.
>
> With kernel config updates (to include CONFIG_USB_SERIAL,
> CONFIG_USB_SERIAL_TI, and CONFIG_USB_ACM), demo programs are running
> nicely on my TI Launchpad.
>
> Thank you for the crossdev update.

don't thank me.  Tim did all the actual work.
-mike





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-12-31  4:25 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-20  4:33 [gentoo-embedded] msp4300 toolchain David Relson
2011-12-20  6:02 ` Peter Stuge
2011-12-20 12:21   ` David Relson
2011-12-20 12:26     ` Maciej Grela
2011-12-20 12:51       ` David Relson
2011-12-22  1:00         ` Tim Harder
2011-12-22  4:42           ` David Relson
2011-12-20 19:38 ` Mike Frysinger
2011-12-21 21:06   ` Mike Frysinger
2011-12-22  0:20     ` David Relson
2011-12-25 21:06     ` David Relson
2011-12-31  3:05       ` Mike Frysinger
2011-12-31  4:25         ` YouTube Support

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox