RFC mips64 support and sh4 support
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest14 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | insane.bbclass: Add mips64{el} to known machinesmeta/ | +4 | 0 replies | |
| 2/14 | site: Add mips64 eglibc and uclibc site filesmeta/ meta/ meta/ +1 more | +355 | 0 replies | |
| 3/14 | gcc-4.6, gcc-4.7: Add support for building mips64 cross compilermeta/ meta/ meta/ +2 more | +57 | 0 replies | |
| 4/14 | binutils: Default to n64 when configured for mips64meta/ meta/ | +51 | 0 replies | |
| 5/14 | kernel-arch.bbclass: Map mips64{el} to mips KARCHmeta/ | +1 | 0 replies | |
| 6/14 | eglibc-2.15: Support mips64meta/ meta/ | +2 | 0 replies | |
| 7/14 | libc-package: Add sh4 and mips64 to arch optionsmeta/ | +3 | 0 replies | |
| 8/14 | runqemu: Add qemush4 and qemumips64 knowledgescripts/ scripts/ | +40 | 0 replies | |
| 9/14 | netbase: Add interface files for qemumips64 and qemush4meta/ meta/ meta/ | +18 | 0 replies | |
| 10/14 | site/sh-common: Add missing caches variables to build glib-2.32meta/ | +4 | 0 replies | |
| 11/14 | xserver-xorg: Fix build for mips64meta/ meta/ | +30 | 0 replies | |
| 12/14 | tune-mips64.inc: Add new tune file for mips64 big-endianmeta/ | +3 | 0 replies | |
| 13/14 | qemumips64.conf: Add machine configuration for mips64(eb)meta/ | +13 | 0 replies | |
| 14/14 | qemush4.conf: Add machine configuration for qemush4meta/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC][PATCH 00/14] mips64 support and sh4 support
This patchset adds required bits into metadata for having mips64/n64 support. I have tested the core-image-sato and core-image-minimal builds and boots on qemumips64 and runs gcc regression testsuite. It needs linux-yocto-dev kernel for now which can be obtained from poky-extra repo. Additionally systemd-image on angstrom-next builds and boots fine on qemumips64 as well.
Additionally it also adds bits to have SH4 root file systems to be able to built and again core-image-sato builds for sh4 however qemu machine support is not yet done but root file sytem boots fine on real hardware.
The images are tested on both eglibc and uclibc.
Any help in providing feedback or testing these patches is welcome.
I have tested them enough for over a month now.
The following changes since commit 326563d5a897ae2dba7cfd8d73579d3d979d72c8:
sstate.bbclass: Make sure we don't have an empty fixmepath file (2012-05-18 15:24:45 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib kraj/mips64
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/mips64
Khem Raj (14):
insane.bbclass: Add mips64{el} to known machines
site: Add mips64 eglibc and uclibc site files gcc-4.6, gcc-4.7: Add support for building mips64 cross compiler
binutils: Default to n64 when configured for mips64 kernel-arch.bbclass: Map mips64{el} to mips KARCH eglibc-2.15: Support mips64
libc-package: Add sh4 and mips64 to arch options
runqemu: Add qemush4 and qemumips64 knowledge
netbase: Add interface files for qemumips64 and qemush4 site/sh-common: Add missing caches variables to build glib-2.32
xserver-xorg: Fix build for mips64
tune-mips64.inc: Add new tune file for mips64 big-endian qemumips64.conf: Add machine configuration for mips64(eb) qemush4.conf: Add machine configuration for qemush4
meta/classes/insane.bbclass | 4 + meta/classes/kernel-arch.bbclass | 2 +- meta/classes/libc-package.bbclass | 3 + meta/conf/machine/include/tune-mips64.inc | 3 + meta/conf/machine/qemumips64.conf | 13 +++ meta/conf/machine/qemush4.conf | 13 +++ meta/recipes-core/eglibc/eglibc-locale.inc | 2 +- meta/recipes-core/eglibc/eglibc_2.15.bb | 2 +- .../netbase/netbase-4.47/qemumips64/interfaces | 8 ++ .../netbase/netbase-4.47/qemush4/interfaces | 8 ++ meta/recipes-core/netbase/netbase_4.47.bb | 4 +- .../binutils/mips64-default-ld-emulation.patch | 49 +++++++++ meta/recipes-devtools/binutils/binutils_2.22.bb | 3 +- meta/recipes-devtools/gcc/gcc-4.6.inc | 1 + .../gcc/gcc-4.6/mips64-default-n64.patch | 32 ++++++ meta/recipes-devtools/gcc/gcc-4.7.inc | 1 + .../gcc/gcc-4.7/mips64-default-n64.patch | 19 ++++ meta/recipes-devtools/gcc/gcc-configure-common.inc | 4 + .../xorg-xserver/xserver-xorg-1.11.2.inc | 1 + .../xserver-xorg-1.11.2/mips64-compiler.patch | 29 +++++ meta/site/mips64-linux | 82 +++++++++++++++ meta/site/mips64-linux-uclibc | 83 +++++++++++++++ meta/site/mips64el-linux | 82 +++++++++++++++ meta/site/mips64el-linux-uclibc | 108 ++++++++++++++++++++ meta/site/sh-common | 4 + scripts/runqemu | 10 ++- scripts/runqemu-internal | 35 ++++++- 27 files changed, 594 insertions(+), 11 deletions(-) create mode 100644 meta/conf/machine/include/tune-mips64.inc create mode 100644 meta/conf/machine/qemumips64.conf create mode 100644 meta/conf/machine/qemush4.conf create mode 100644 meta/recipes-core/netbase/netbase-4.47/qemumips64/interfaces create mode 100644 meta/recipes-core/netbase/netbase-4.47/qemush4/interfaces create mode 100644 meta/recipes-devtools/binutils/binutils/mips64-default-ld-emulation.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6/mips64-default-n64.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.7/mips64-default-n64.patch create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg-1.11.2/mips64-compiler.patch create mode 100644 meta/site/mips64-linux create mode 100644 meta/site/mips64-linux-uclibc create mode 100644 meta/site/mips64el-linux create mode 100644 meta/site/mips64el-linux-uclibc
Signature · 1 line
1.7.5.4