Skip to content

RFC mips64 support and sh4 support

Khem Raj openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest14 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14insane.bbclass: Add mips64{el} to known machinesmeta/classes/insane.bbclass+4 -00 replies
2/14site: Add mips64 eglibc and uclibc site filesmeta/site/mips64-linux meta/site/mips64-linux-uclibc meta/site/mips64el-linux +1 more+355 -00 replies
3/14gcc-4.6, gcc-4.7: Add support for building mips64 cross compilermeta/recipes-devtools/gcc/gcc-4.6.inc meta/recipes-devtools/gcc/gcc-4.6/mips64-default-n64.patch meta/recipes-devtools/gcc/gcc-4.7.inc +2 more+57 -00 replies
4/14binutils: Default to n64 when configured for mips64meta/recipes-devtools/binutils/binutils/mips64-default-ld-emulation.patch meta/recipes-devtools/binutils/binutils_2.22.bb+51 -10 replies
5/14kernel-arch.bbclass: Map mips64{el} to mips KARCHmeta/classes/kernel-arch.bbclass+1 -10 replies
6/14eglibc-2.15: Support mips64meta/recipes-core/eglibc/eglibc-locale.inc meta/recipes-core/eglibc/eglibc_2.15.bb+2 -20 replies
7/14libc-package: Add sh4 and mips64 to arch optionsmeta/classes/libc-package.bbclass+3 -00 replies
8/14runqemu: Add qemush4 and qemumips64 knowledgescripts/runqemu scripts/runqemu-internal+40 -50 replies
9/14netbase: Add interface files for qemumips64 and qemush4meta/recipes-core/netbase/netbase-4.47/qemumips64/interfaces meta/recipes-core/netbase/netbase-4.47/qemush4/interfaces meta/recipes-core/netbase/netbase_4.47.bb+18 -20 replies
10/14site/sh-common: Add missing caches variables to build glib-2.32meta/site/sh-common+4 -00 replies
11/14xserver-xorg: Fix build for mips64meta/recipes-graphics/xorg-xserver/xserver-xorg-1.11.2.inc meta/recipes-graphics/xorg-xserver/xserver-xorg-1.11.2/mips64-compiler.patch+30 -00 replies
12/14tune-mips64.inc: Add new tune file for mips64 big-endianmeta/conf/machine/include/tune-mips64.inc+3 -00 replies
13/14qemumips64.conf: Add machine configuration for mips64(eb)meta/conf/machine/qemumips64.conf+13 -00 replies
14/14qemush4.conf: Add machine configuration for qemush4meta/conf/machine/qemush4.conf+13 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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