Skip to contentSkip to conversation

linux-yocto: mips changes

PATCH Superseded Bruce Ashfield 1 participant 3 messages Jul 17, 2013

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover linux-yocto: mips changes

This 2 patch series fixes gcc 4.8 compilation of mips in the 3.4 kernel, and corrects a mistake I made when updating the 3.8 kernel that inadvertently dropped the qemumips64 SRCREV.

Cheers,

Bruce

The following changes since commit fd9d1042d2984aadaf59178648f0484c98250237:

linux-yocto/3.8: update META srcrev (2013-07-17 13:00:19 -0400)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib zedd/kernel
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel

Bruce Ashfield (2):
linux-yocto/3.4: mips: fix gcc 4.8 compilation
linux-yocto/3.8: restore qemumips64 SRCREV

 meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb   |    4 ++--
 meta/recipes-kernel/linux/linux-yocto-tiny_3.4.bb |    2 +-
 meta/recipes-kernel/linux/linux-yocto_3.4.bb      |   12 ++++++------
 meta/recipes-kernel/linux/linux-yocto_3.8.bb      |    1 +
 4 files changed, 10 insertions(+), 9 deletions(-)
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/2 linux-yocto/3.4: mips: fix gcc 4.8 compilation

Updating the SRCREVs to enable the following fix for gcc 4.8 mips compilation:

Author: Steven J. Hill <[email protected]>
Date: Fri Jul 6 21:56:01 2012 +0200

MIPS: Refactor 'clear_page' and 'copy_page' functions.

Remove usage of the '__attribute__((alias("...")))' hack that aliased to integer arrays containing micro-assembled instructions. This hack breaks when building a microMIPS kernel. It also makes the code much easier to understand.

[[email protected]: Added back export of the clear_page and copy_page symbols so certain modules will work again. Also fixed build with CONFIG_SIBYTE_DMA_PAGEOPS enabled.]

Patchwork: https://patchwork.linux-mips.org/patch/3866/

(cherry picked from commit c022630633624a75b3b58f43dd3c6cc896a56cff)
---
 meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb   |    4 ++--
 meta/recipes-kernel/linux/linux-yocto-tiny_3.4.bb |    2 +-
 meta/recipes-kernel/linux/linux-yocto_3.4.bb      |   12 ++++++------
 3 files changed, 9 insertions(+), 9 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb +2 -2
index 5e50cde..ec53206 100644
@@ -8,8 +8,8 @@ LINUX_KERNEL_TYPE = "preempt-rt"
 
 KMETA = "meta"
 
-SRCREV_machine ?= "1a7a6b495dd6f68e3e2a8a716ceabd283da7f480"
-SRCREV_machine_qemuppc ?= "0ce0666df1e29a74ccfd65bbcf8286b2e632cc3f"
+SRCREV_machine ?= "516cc41b2f9a93d77fe6713bb6dfec20aa24f5ce"
+SRCREV_machine_qemuppc ?= "a96230572ba5bc05decb7bcaa81b02e972d6841b"
 SRCREV_meta ?= "7250de4d4afc2558082cd42b8a0d151903436e8f"
 
 PR = "${INC_PR}.1"
meta/recipes-kernel/linux/linux-yocto-tiny_3.4.bb +1 -1
index a61fe70..18c469c 100644
@@ -12,7 +12,7 @@ LINUX_VERSION ?= "3.4.52"
 
 KMETA = "meta"
 
-SRCREV_machine ?= "cdd7a546922ca1c46c94adeec3b9c90dc9aaad2d"
+SRCREV_machine ?= "4122d6cf3f9e1fd6d54f6e13af29c4c589289fdc"
 SRCREV_meta ?= "7250de4d4afc2558082cd42b8a0d151903436e8f"
 
 PR = "${INC_PR}.1"
meta/recipes-kernel/linux/linux-yocto_3.4.bb +6 -6
index beb67ee..8db015a 100644
@@ -3,12 +3,12 @@ require recipes-kernel/linux/linux-yocto.inc
 KBRANCH_DEFAULT = "standard/base"
 KBRANCH = "${KBRANCH_DEFAULT}"
 
-SRCREV_machine_qemuarm ?= "89c1e24271fba1c235959cb96c91dba98c542821"
-SRCREV_machine_qemumips  ?= "99e87eb8b1e985eb6addf7590c4e837ff7c7e873"
-SRCREV_machine_qemuppc ?= "62f5c50609c93c5b70736a4374cee8075ab82566"
-SRCREV_machine_qemux86 ?= "cdd7a546922ca1c46c94adeec3b9c90dc9aaad2d"
-SRCREV_machine_qemux86-64 ?= "cdd7a546922ca1c46c94adeec3b9c90dc9aaad2d"
-SRCREV_machine ?= "cdd7a546922ca1c46c94adeec3b9c90dc9aaad2d"
+SRCREV_machine_qemuarm ?= "a3bd53305c7dcd11a2683fbe5d830d44236f4cd4"
+SRCREV_machine_qemumips  ?= "e142ba98038a697e3a96b8f30a16e93602eff3c7"
+SRCREV_machine_qemuppc ?= "290c3dd687145104d4e3f0e7732669c1c42b19fe"
+SRCREV_machine_qemux86 ?= "4122d6cf3f9e1fd6d54f6e13af29c4c589289fdc"
+SRCREV_machine_qemux86-64 ?= "4122d6cf3f9e1fd6d54f6e13af29c4c589289fdc"
+SRCREV_machine ?= "4122d6cf3f9e1fd6d54f6e13af29c4c589289fdc"
 SRCREV_meta ?= "7250de4d4afc2558082cd42b8a0d151903436e8f"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4.git;protocol=git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta"
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH 2/2 linux-yocto/3.8: restore qemumips64 SRCREV

In reply to Bruce Ashfield

In commit 00e0ec6c [linux-yocto: v3.8.13 and v3.4.46], the qemumips64 SRCREV was inadvertently dropped. This patch restores the SRCREV and a booting qemumips64.

---
 meta/recipes-kernel/linux/linux-yocto_3.8.bb |    1 +
 1 file changed, 1 insertion(+)
meta/recipes-kernel/linux/linux-yocto_3.8.bb +1 -0
index 03f6949..3a77cf9 100644
@@ -8,6 +8,7 @@ SRCREV_machine_qemumips  ?= "aa0affda03c955678b26b2fb586f1d9505127871"
 SRCREV_machine_qemuppc ?= "698eada61d9385b42dd117858b943655b565084b"
 SRCREV_machine_qemux86 ?= "f20047520a57322f05d95a18a5fbd082fb15cb87"
 SRCREV_machine_qemux86-64 ?= "f20047520a57322f05d95a18a5fbd082fb15cb87"
+SRCREV_machine_qemumips64 ?= "077bff22c9951db6b35470ba17b1df2f2a91fefb"
 SRCREV_machine ?= "f20047520a57322f05d95a18a5fbd082fb15cb87"
 SRCREV_meta ?= "8ef9136539464c145963ac2b8ee0196fea1c2337"
 
Signature · 1 line
1.7.10.4