| Author |
Message |
|
Fred
Moderator
Joined: Tue Jan 15, 2008 1:31 pm Posts: 4222
|
 Re: GCC compiler development for S12X
Probably not very good chances there, I would think. The next time I spend on the code base will be enabling XGate for use so we can get started developing with it. It's not a big deal, but it needs to be done right so I need to get stuck in and do it.
_________________ DIYEFI.org, where Open Source means Open Source, and Free means Freedom Everything in moderation including moderation! http://www.opensource.org/licenses/ My other project (DSL beware) Disclaimer
|
| Sat Aug 01, 2009 2:18 pm |
|
 |
|
seank
LQFP144 - On Top Of The Game
Joined: Mon Feb 11, 2008 9:52 pm Posts: 304 Location: Arizona
|
 Re: GCC compiler development for S12X
Right on.
I don't even know how any of the other xgate patches did much of anything xgate wise, since xgate is a RISC processor. It looks like the M32R may be a good port to clone once I get to the xgate stuff.
|
| Mon Aug 03, 2009 5:57 pm |
|
 |
|
seank
LQFP144 - On Top Of The Game
Joined: Mon Feb 11, 2008 9:52 pm Posts: 304 Location: Arizona
|
 Re: GCC compiler development for S12X
After looking at the deb specific patch it seems the deb binutil patch for 2.18.x has already made it into 2.19.x tree.
-sean
|
| Mon Aug 10, 2009 9:59 pm |
|
 |
|
Fred
Moderator
Joined: Tue Jan 15, 2008 1:31 pm Posts: 4222
|
 Re: GCC compiler development for S12X
Well, I'm not sure about the versions, but the stuff in my deb 3.3.6-m68hc1x-20060122 is definitely different to the stuff in the windows binary that is available. It could be just at the gcc level though, not the bin utils level. I'm not sure. I believe other linuxes are the same as the windows version feature wise. My bin utils are indeed 2.18 though. I wonder what the windows version is.
Fred.
_________________ DIYEFI.org, where Open Source means Open Source, and Free means Freedom Everything in moderation including moderation! http://www.opensource.org/licenses/ My other project (DSL beware) Disclaimer
|
| Wed Aug 12, 2009 11:25 pm |
|
 |
|
seank
LQFP144 - On Top Of The Game
Joined: Mon Feb 11, 2008 9:52 pm Posts: 304 Location: Arizona
|
 Re: GCC compiler development for S12X
"3.3.6" gcc, didn't get that far and don't think I will for some time. I think the win stuff is 2.15(binutils). I used apt-get source 68hc....... to get 2.18 and the deb patches. I examined the patches and noticed the 2.18 patches have made it to 2.19. I also read the change log, and it gives notice when things made it to newer trees. If anything was missed I'm sure it would be easy to move into my work. Thanks for the heads up with gcc.
-sean
|
| Thu Aug 13, 2009 2:32 am |
|
 |
|
Fred
Moderator
Joined: Tue Jan 15, 2008 1:31 pm Posts: 4222
|
 Re: GCC compiler development for S12X
Oh god, so the windows stuff that K&J use is old and out of date, that could explain some of their bugs and issues I guess. Keep up the good work.
Fred.
_________________ DIYEFI.org, where Open Source means Open Source, and Free means Freedom Everything in moderation including moderation! http://www.opensource.org/licenses/ My other project (DSL beware) Disclaimer
|
| Thu Aug 13, 2009 10:41 pm |
|
 |
|
seank
LQFP144 - On Top Of The Game
Joined: Mon Feb 11, 2008 9:52 pm Posts: 304 Location: Arizona
|
 Re: GCC compiler development for S12X
funny Code: #define EM_UNICORE 110 /* Microprocessor series from PKU-Unity Ltd. and MPRC of Peking University */ #define EM_EXCESS 111 /* eXcess: 16/32/64-bit configurable embedded CPU */ #define EM_DXP 112 /* Icera Semiconductor Inc. Deep Execution Processor */ #define EM_ALTERA_NIOS2 113 /* Altera Nios II soft-core processor */ #define EM_CRX 114 /* National Semiconductor CRX */ #define EM_XGATE 115 /* Motorola XGATE embedded processor */ #define EM_C166 116 /* Infineon C16x/XC16x processor */ #define EM_M16C 117 /* Renesas M16C series microprocessors */ is in binutils 2.20.0 common.h seems they like to create place holders  . that is the only occurrence of "XGATE" in 2.20.0 texts on another note, I almost have elf32-mc9s12x bdf library compiling.
|
| Wed Jan 27, 2010 11:31 pm |
|
 |
|
Fred
Moderator
Joined: Tue Jan 15, 2008 1:31 pm Posts: 4222
|
 Re: GCC compiler development for S12X
Awesome :-) I'm glad one of us is doing some work! :-)
_________________ DIYEFI.org, where Open Source means Open Source, and Free means Freedom Everything in moderation including moderation! http://www.opensource.org/licenses/ My other project (DSL beware) Disclaimer
|
| Fri Jan 29, 2010 12:27 pm |
|
 |
|
seank
LQFP144 - On Top Of The Game
Joined: Mon Feb 11, 2008 9:52 pm Posts: 304 Location: Arizona
|
 Re: GCC compiler development for S12X
The good news, binutils now compiles with "mc9s12x-elf" as a target. mob-sean:/work/workspaceCDT/binutils-mc9s12x/build-testing/make all real 2m20.129s user 1m33.826s sys 0m31.106s Here is the patch, but dont get excited yet. http://computer-ss.com/files/mc9s12x.patchThe bad news. It accepts mc9s12x-elf as a target using renamed files/functions from the original m68hc1x port. It doesn't have support for anything new(yet of course), but things are isolated. It looks as though most of the code can be reused from most parts of binutils(BFD, LD), which leaves most of the work to be done in GAS. TODO Compile some code for the mc9s12x and see if/how it differs from the original port. There's a bit of conditional code due to the port supporting hc11 and hc12 targets, I'm sure I'll have to do some re-factoring to get it right. Revise GAS for xgate registers/instructions/modes. TEST TEST and TEST -sean
|
| Mon Feb 15, 2010 9:36 pm |
|
 |
|
Fred
Moderator
Joined: Tue Jan 15, 2008 1:31 pm Posts: 4222
|
 Re: GCC compiler development for S12X
AWESOME mate :-)
I was looking at some pics of your office and you asleep while I coded, this makes up for it ;-)
Fred.
_________________ DIYEFI.org, where Open Source means Open Source, and Free means Freedom Everything in moderation including moderation! http://www.opensource.org/licenses/ My other project (DSL beware) Disclaimer
|
| Sat Feb 20, 2010 9:42 pm |
|
|