Does CodeSourcery (now Mentor CodeBench) work for this? There is a free MIPS version.
Giovanni
MIPS32 port
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: MIPS32 port
Giovanni wrote:Does CodeSourcery (now Mentor CodeBench) work for this? There is a free MIPS version.
Giovanni
I didn't try, but I will. Basically any gnu/gcc toolchain should work. Later I was going to check LLVM. As it may become a good alternative to GCC soon.
I raised a question on microchip forum regarding the link-time issue I face: http://www.microchip.com/forums/m689784.aspx. Hope to get some answer there.
Re: MIPS32 port
I've tried codesourcery mips toolchain and it works fine. At least the latest one: https://sourcery.mentor.com/GNUToolchain/release2189
I pushed several updates(few fixes, few improvements and reorganization of how mips core timer is handled) to the branch. I suggest everybody pull those.
best regards,
-- dmytro
I pushed several updates(few fixes, few improvements and reorganization of how mips core timer is handled) to the branch. I suggest everybody pull those.
best regards,
-- dmytro
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: MIPS32 port
Hi,
Good to know, CodeSourcery is like a reference for me because it is stable and supported.
Giovanni
Good to know, CodeSourcery is like a reference for me because it is stable and supported.
Giovanni
Re: MIPS32 port
Hi guys,
I did some "progress" to build the entire chibios with xc32.
I've isolated the problem around the linker and highlighted that at microchip forum.
Though it's possible to build the world with xc32 now I believe that it's better to wait for their conclusion instead of pushing some fragile stuff while we have old good GCC with mips support!
cheers,
-- dmytro
I did some "progress" to build the entire chibios with xc32.
I've isolated the problem around the linker and highlighted that at microchip forum.
Though it's possible to build the world with xc32 now I believe that it's better to wait for their conclusion instead of pushing some fragile stuff while we have old good GCC with mips support!
cheers,
-- dmytro
Re: MIPS32 port
Hi,
I've pushed mips16 ISA support.
It does not work very well with each GCC. Latest GCC distribution from codesourcery/mentorgraphics crashes during the compilation with internal error. GCC 4.4 succeeds with the compilation but sometimes it generates wrong assembly code =/. And xc32 does not support mips16 in free version.
I could successfully compile and run chibi in mips16 mode only with GCC 4.7
Thereby this mode is by default disabled.
best regards,
-- dmytro
I've pushed mips16 ISA support.
It does not work very well with each GCC. Latest GCC distribution from codesourcery/mentorgraphics crashes during the compilation with internal error. GCC 4.4 succeeds with the compilation but sometimes it generates wrong assembly code =/. And xc32 does not support mips16 in free version.
I could successfully compile and run chibi in mips16 mode only with GCC 4.7
Thereby this mode is by default disabled.
best regards,
-- dmytro
Re: MIPS32 port
Any chance to get this into the mainline so more people can try the port and report the bugz? Is there any requirements for that?
I'm planning to work on some peripheral embedded into PIC32 but maybe people may contribute themselves some pieces meanwhile.
Also I'm curios whether there is any interest of this port for chibiOS.
thanks,
-- dmytro
I'm planning to work on some peripheral embedded into PIC32 but maybe people may contribute themselves some pieces meanwhile.
Also I'm curios whether there is any interest of this port for chibiOS.
thanks,
-- dmytro
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: MIPS32 port
Hi,
It could go in mainline after some review and after clarifying the situation regarding compilers, it is still not clear for me.
About mainline, are you available for long term support and maintenance? I cannot officially support something I cannot test nor maintain.
Giovanni
It could go in mainline after some review and after clarifying the situation regarding compilers, it is still not clear for me.
About mainline, are you available for long term support and maintenance? I cannot officially support something I cannot test nor maintain.
Giovanni
Re: MIPS32 port
Thanks Giovanni for the reply.
I completely understand your point. I was just curious whether there any interest in this port.
Of course I want to finish integration with microchip's compiler and do more test before you can start integration into the mainline.
Also I will try to get more HW samples to test on.
Of course I'm available for LTS of this port if there will be at least one user except myself .
cheers,
-- dmytro
I completely understand your point. I was just curious whether there any interest in this port.
Of course I want to finish integration with microchip's compiler and do more test before you can start integration into the mainline.
Also I will try to get more HW samples to test on.
Of course I'm available for LTS of this port if there will be at least one user except myself .
cheers,
-- dmytro
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: MIPS32 port
OK,
No need to rush things, let it grow and mature. I think there must be interest because a MIPS port has been requested in several occasions in the past. There is also an open ticket on the Feature Request tracker.
Please everybody, give feedback about the port
Giovanni
No need to rush things, let it grow and mature. I think there must be interest because a MIPS port has been requested in several occasions in the past. There is also an open ticket on the Feature Request tracker.
Please everybody, give feedback about the port
Giovanni
Who is online
Users browsing this forum: No registered users and 14 guests