Page 3 of 13

Re: MIPS32 port

Posted: Sat Nov 24, 2012 10:50 pm
by Giovanni
Does CodeSourcery (now Mentor CodeBench) work for this? There is a free MIPS version.

Giovanni

Re: MIPS32 port

Posted: Mon Nov 26, 2012 10:43 am
by Dmytro
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

Posted: Tue Nov 27, 2012 10:16 am
by Dmytro
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

Re: MIPS32 port

Posted: Tue Nov 27, 2012 12:48 pm
by Giovanni
Hi,

Good to know, CodeSourcery is like a reference for me because it is stable and supported.

Giovanni

Re: MIPS32 port

Posted: Wed Dec 05, 2012 12:06 am
by Dmytro
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

Re: MIPS32 port

Posted: Tue Dec 18, 2012 1:10 am
by Dmytro
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

Re: MIPS32 port

Posted: Tue Jan 08, 2013 1:40 am
by Dmytro
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

Re: MIPS32 port

Posted: Tue Jan 08, 2013 9:00 am
by Giovanni
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

Re: MIPS32 port

Posted: Tue Jan 08, 2013 9:48 pm
by Dmytro
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

Re: MIPS32 port

Posted: Tue Jan 08, 2013 9:57 pm
by Giovanni
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