New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more powerpc flavors #2

Open
eibach opened this Issue Jun 20, 2017 · 6 comments

Comments

Projects
None yet
2 participants
@eibach
Copy link

eibach commented Jun 20, 2017

We are actively using 405, e300 and e500v2. Would be great if you could add support for those.

@tpetazzoni

This comment has been minimized.

Copy link
Contributor

tpetazzoni commented Jun 20, 2017

Thanks for your feedback. We know our range of PowerPC flavors would have to be improved, but we were waiting for feedback such as yours. Can you comment on how such flavors can be emulated by Qemu, and which kernel configurations should be used to build a kernel that will run under Qemu for those flavors?

@eibach

This comment has been minimized.

Copy link

eibach commented Jun 20, 2017

We have no experience using Qemu for these PowerPC flavors. I only see that qemu has support for these CPUs. At least for 405 there is a platform defined.
If it would be helpful for you we could certainly supply hardware and kernel configurations for these systems.

@tpetazzoni

This comment has been minimized.

Copy link
Contributor

tpetazzoni commented Mar 3, 2018

I'm finally looking into this. I noticed one strange thing in Buildroot: we have "405" and "405 with FPU" variants, but for both we make it an option to use "Soft float". However, I don't see how a 405 without FPU could work without soft float. It would be nice if you could comment on that :-)

@tpetazzoni

This comment has been minimized.

Copy link
Contributor

tpetazzoni commented Mar 3, 2018

Could you comment which specific gcc -mcpu value you're interested in ?

Indeed for 405, there is 405 and 405fp.

For e300, there is e300c2 and e300c3.

There is nothing like e500v2 in gcc, but in Buildroot we have an option 8548 / e500v2 that uses -mcpu=8548, but this doesn't seem to exist in gcc anymore.

@tpetazzoni

This comment has been minimized.

Copy link
Contributor

tpetazzoni commented Mar 29, 2018

@eibach Ping ? :-)

@eibach

This comment has been minimized.

Copy link

eibach commented Mar 30, 2018

@tpetazzoni Sorry for the delay. I can give you our current gcc configurations, hope this helps:

Target: powerpc-405-linux-gnu
Configured with: /home/bah/crosstool-ng/build/.build/src/gcc-6.3.0/configure --build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu --target=powerpc-405-linux-gnu --prefix=/opt/powerpc-405-linux-gnu/6.3.0 --with-sysroot=/opt/powerpc-405-linux-gnu/6.3.0/powerpc-405-linux-gnu/sysroot --enable-languages=c,c++ --with-cpu=405 --with-float=soft --with-pkgversion='crosstool-NG crosstool-ng-1.22.0-700-g80daed9' --enable-__cxa_atexit --disable-libmudflap --disable-libgomp --disable-libssp --disable-libquadmath --disable-libquadmath-support --enable-libsanitizer --disable-libmpx --with-gmp=/home/bah/crosstool-ng/build/.build/powerpc-405-linux-gnu/buildtools --with-mpfr=/home/bah/crosstool-ng/build/.build/powerpc-405-linux-gnu/buildtools --with-mpc=/home/bah/crosstool-ng/build/.build/powerpc-405-linux-gnu/buildtools --with-isl=/home/bah/crosstool-ng/build/.build/powerpc-405-linux-gnu/buildtools --enable-lto --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --enable-threads=posix --enable-target-optspace --enable-plugin --disable-nls --disable-multilib --with-local-prefix=/opt/powerpc-405-linux-gnu/6.3.0/powerpc-405-linux-gnu/sysroot --enable-long-long
Thread model: posix
gcc version 6.3.0 (crosstool-NG crosstool-ng-1.22.0-700-g80daed9)

Target: powerpc-e300c3-linux-gnu
Configured with: /home/bah/crosstool-ng/build/.build/src/gcc-6.3.0/configure --build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu --target=powerpc-e300c3-linux-gnu --prefix=/opt/powerpc-e300c3-linux-gnu/6.3.0 --with-sysroot=/opt/powerpc-e300c3-linux-gnu/6.3.0/powerpc-e300c3-linux-gnu/sysroot --enable-languages=c,c++ --with-cpu=e300c3 --with-pkgversion='crosstool-NG crosstool-ng-1.22.0-463-g7609996' --enable-__cxa_atexit --disable-libmudflap --disable-libgomp --disable-libssp --disable-libquadmath --disable-libquadmath-support --enable-libsanitizer --disable-libmpx --with-gmp=/home/bah/crosstool-ng/build/.build/powerpc-e300c3-linux-gnu/buildtools --with-mpfr=/home/bah/crosstool-ng/build/.build/powerpc-e300c3-linux-gnu/buildtools --with-mpc=/home/bah/crosstool-ng/build/.build/powerpc-e300c3-linux-gnu/buildtools --with-isl=/home/bah/crosstool-ng/build/.build/powerpc-e300c3-linux-gnu/buildtools --enable-lto --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --enable-threads=posix --enable-plugin --disable-nls --disable-multilib --with-local-prefix=/opt/powerpc-e300c3-linux-gnu/6.3.0/powerpc-e300c3-linux-gnu/sysroot --enable-long-long
Thread model: posix
gcc version 6.3.0 (crosstool-NG crosstool-ng-1.22.0-463-g7609996)

Target: powerpc-e500v2-linux-gnuspe
Configured with: /home/bah/crosstool-ng/build/.build/src/gcc-6.3.0/configure --build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu --target=powerpc-e500v2-linux-gnuspe --prefix=/opt/powerpc-e500v2-linux-gnuspe/6.3.0 --with-sysroot=/opt/powerpc-e500v2-linux-gnuspe/6.3.0/powerpc-e500v2-linux-gnuspe/sysroot --enable-languages=c,c++ --with-cpu=8548 --with-float=hard --with-pkgversion='crosstool-NG crosstool-ng-1.22.0-463-g7609996' --disable-sjlj-exceptions --enable-__cxa_atexit --disable-libmudflap --disable-libgomp --disable-libssp --disable-libquadmath --disable-libquadmath-support --enable-libsanitizer --disable-libmpx --with-gmp=/home/bah/crosstool-ng/build/.build/powerpc-e500v2-linux-gnuspe/buildtools --with-mpfr=/home/bah/crosstool-ng/build/.build/powerpc-e500v2-linux-gnuspe/buildtools --with-mpc=/home/bah/crosstool-ng/build/.build/powerpc-e500v2-linux-gnuspe/buildtools --with-isl=/home/bah/crosstool-ng/build/.build/powerpc-e500v2-linux-gnuspe/buildtools --enable-lto --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --enable-threads=posix --without-long-double-128 --enable-plugin --disable-nls --disable-multilib --with-local-prefix=/opt/powerpc-e500v2-linux-gnuspe/6.3.0/powerpc-e500v2-linux-gnuspe/sysroot --enable-long-long --enable-e500_double
Thread model: posix
gcc version 6.3.0 (crosstool-NG crosstool-ng-1.22.0-463-g7609996)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment