From morten.mossige at gmail.com Wed Jun 18 06:26:12 2008 From: morten.mossige at gmail.com (Morten Mossige) Date: Wed, 18 Jun 2008 08:26:12 +0200 Subject: Use of CS3 Message-ID: <87bb47550806172326v740726aeq118a1017d3952c49@mail.gmail.com> Use of CS3 I am in the process of evaluating CodeSourcery GCC toolkit for use with our own board. Our board is a MPC5200B based board, not very different from the Lite5200. I have successfully build an application (small hello world) based on the "Getting Started guide" and running it from uBoot. I have used the MPC8349E-mITX-uboot.ld link file, and made a few adjustments to it. Now I want to test some more functionality. I want to test with interrupt, but I have big problems to understand how to do this together with the CS3-library. Does someone have example code which shows how to write and install an interrupt together with the CS3? Is there more documentation then the "Getting started guide" of the CS3-lib? I use the following: Version: Sourcery G++ Lite 4.2-138 Target: powerpc-eabi Host: WinXp Br. Morten From carlos at codesourcery.com Wed Jun 18 13:08:31 2008 From: carlos at codesourcery.com (Carlos O'Donell) Date: Wed, 18 Jun 2008 09:08:31 -0400 Subject: [power-gnu-discuss] Use of CS3 In-Reply-To: <87bb47550806172326v740726aeq118a1017d3952c49@mail.gmail.com> References: <87bb47550806172326v740726aeq118a1017d3952c49@mail.gmail.com> Message-ID: <485908CF.4070008@codesourcery.com> Morten Mossige wrote: > Now I want to test some more functionality. I want to test with > interrupt, but I have big problems to understand how to do this > together with the CS3-library. Does someone have example code which > shows how to write and install an interrupt together with the CS3? > Is there more documentation then the "Getting started guide" of the CS3-lib? At present Sourcery G++ for Power EABI only supports UBoot integration with CS3, we do not currently provide support for CPU interrupt vectors. We are looking into this enhancement for future releases. The Getting Started guide is the full documentation for CS3. Cheers, Carlos. -- Carlos O'Donell CodeSourcery carlos at codesourcery.com (650) 331-3385 x716 From morten.mossige at gmail.com Wed Jun 18 14:14:17 2008 From: morten.mossige at gmail.com (Morten Mossige) Date: Wed, 18 Jun 2008 16:14:17 +0200 Subject: [power-gnu-discuss] Use of CS3 In-Reply-To: <87bb47550806180709s6e4d5258g8e444a44665447b2@mail.gmail.com> References: <87bb47550806172326v740726aeq118a1017d3952c49@mail.gmail.com> <485908CF.4070008@codesourcery.com> <87bb47550806180709s6e4d5258g8e444a44665447b2@mail.gmail.com> Message-ID: <87bb47550806180714u173f402qb350543131614759@mail.gmail.com> ---------- Forwarded message ---------- From: Morten Mossige Date: 18.jun.2008 16:09 Subject: Re: [power-gnu-discuss] Use of CS3 To: Carlos O'Donell 2008/6/18, Carlos O'Donell : > Morten Mossige wrote: > > > Now I want to test some more functionality. I want to test with > > interrupt, but I have big problems to understand how to do this > > together with the CS3-library. Does someone have example code which > > shows how to write and install an interrupt together with the CS3? > > Is there more documentation then the "Getting started guide" of the > CS3-lib? > > > > At present Sourcery G++ for Power EABI only supports UBoot integration with > CS3, we do not currently provide support for CPU interrupt vectors. We are > looking into this enhancement for future releases. > > The Getting Started guide is the full documentation for CS3. > > Tnx. for quick ansver, but I still don't get the big picture. Maybe I can use the Uboot integration as it is? I want to use Uboot as bootloader, and from uboot launch by own program. My own program will never return to uboot. Am I able to install interrupts by using it like this, or is this what you say is unsupported? br. Morten