mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 18:49:33 +02:00
yocto-bsp: Add mips64 support
mips64 support was recently added to the core BSPs; we should also support it in yocto-bsp. [YOCTO #5314] (From meta-yocto rev: 3f3d29e2df6462c915d0763ab07f3be3c739ca4d) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
0cc9a12ff8
commit
bf0ec70284
@@ -26,6 +26,7 @@ PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
|
||||
{{ input type:"choice" val:"arm" msg:"ARM (32-bit)" }}
|
||||
{{ input type:"choice" val:"powerpc" msg:"PowerPC (32-bit)" }}
|
||||
{{ input type:"choice" val:"mips" msg:"MIPS (32-bit)" }}
|
||||
{{ input type:"choice" val:"mips64" msg:"MIPS64 (64-bit)" }}
|
||||
{{ if qemuarch == "i386": }}
|
||||
require conf/machine/include/qemu.inc
|
||||
require conf/machine/include/tune-i586.inc
|
||||
@@ -42,6 +43,9 @@ require conf/machine/include/tune-ppc7400.inc
|
||||
{{ if qemuarch == "mips": }}
|
||||
require conf/machine/include/qemu.inc
|
||||
require conf/machine/include/tune-mips32.inc
|
||||
{{ if qemuarch == "mips64": }}
|
||||
require conf/machine/include/qemu.inc
|
||||
require conf/machine/include/tune-mips64.inc
|
||||
|
||||
{{ if qemuarch == "i386" or qemuarch == "x86_64": }}
|
||||
MACHINE_FEATURES += "x86"
|
||||
@@ -62,7 +66,7 @@ SERIAL_CONSOLE = "115200 ttyAMA0"
|
||||
KERNEL_IMAGETYPE = "vmlinux"
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
|
||||
{{ if qemuarch == "mips": }}
|
||||
{{ if qemuarch == "mips" or qemuarch == "mips64": }}
|
||||
KERNEL_IMAGETYPE = "vmlinux"
|
||||
KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
|
||||
@@ -14,7 +14,7 @@ EndSection
|
||||
|
||||
Section "InputDevice"
|
||||
Identifier "Configured Mouse"
|
||||
{{ if qemuarch == "arm" or qemuarch == "powerpc" or qemuarch == "mips": }}
|
||||
{{ if qemuarch == "arm" or qemuarch == "powerpc" or qemuarch == "mips" or qemuarch == "mips64": }}
|
||||
Driver "mouse"
|
||||
{{ if qemuarch == "i386" or qemuarch == "x86_64": }}
|
||||
Driver "vmmouse"
|
||||
@@ -36,7 +36,7 @@ EndSection
|
||||
|
||||
Section "Device"
|
||||
Identifier "Graphics Controller"
|
||||
{{ if qemuarch == "arm" or qemuarch == "powerpc" or qemuarch == "mips": }}
|
||||
{{ if qemuarch == "arm" or qemuarch == "powerpc" or qemuarch == "mips" or qemuarch == "mips64": }}
|
||||
Driver "fbdev"
|
||||
{{ if qemuarch == "i386" or qemuarch == "x86_64": }}
|
||||
Driver "vmware"
|
||||
|
||||
@@ -10,6 +10,8 @@ include bsp/arm-versatile-926ejs/arm-versatile-926ejs-standard
|
||||
include bsp/qemu-ppc32/qemu-ppc32-standard
|
||||
{{ if qemuarch == "mips": }}
|
||||
include bsp/mti-malta32/mti-malta32-be-standard
|
||||
{{ if qemuarch == "mips64": }}
|
||||
include bsp/mti-malta64/mti-malta64-be-standard
|
||||
{{ if need_new_kbranch == "y": }}
|
||||
branch {{=machine}}
|
||||
|
||||
|
||||
@@ -35,6 +35,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ if need_new_kbranch == "n" and qemuarch == "mips": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/mti-malta32" }}
|
||||
|
||||
{{ if need_new_kbranch == "y" and qemuarch == "mips64": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n" and qemuarch == "mips64": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/mti-malta64" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
|
||||
@@ -35,6 +35,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ if need_new_kbranch == "n" and qemuarch == "mips": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "y" and qemuarch == "mips64": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n" and qemuarch == "mips64": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
|
||||
@@ -35,6 +35,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ if need_new_kbranch == "n" and qemuarch == "mips": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "y" and qemuarch == "mips64": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n" and qemuarch == "mips64": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
|
||||
@@ -35,6 +35,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ if need_new_kbranch == "n" and qemuarch == "mips": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "y" and qemuarch == "mips64": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n" and qemuarch == "mips64": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
|
||||
@@ -35,6 +35,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ if need_new_kbranch == "n" and qemuarch == "mips": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "y" and qemuarch == "mips64": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n" and qemuarch == "mips64": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
|
||||
@@ -35,6 +35,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ if need_new_kbranch == "n" and qemuarch == "mips": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "y" and qemuarch == "mips64": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n" and qemuarch == "mips64": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
|
||||
@@ -35,6 +35,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ if need_new_kbranch == "n" and qemuarch == "mips": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/mti-malta32" }}
|
||||
|
||||
{{ if need_new_kbranch == "y" and qemuarch == "mips64": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n" and qemuarch == "mips64": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/mti-malta64" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
|
||||
@@ -35,6 +35,12 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ if need_new_kbranch == "n" and qemuarch == "mips": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/mti-malta32" }}
|
||||
|
||||
{{ if need_new_kbranch == "y" and qemuarch == "mips64": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n" and qemuarch == "mips64": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/mti-malta64" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
|
||||
@@ -29,11 +29,17 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
|
||||
{{ if need_new_kbranch == "n" and qemuarch == "x86_64": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"x86_64" gen:"bsp.kernel.all_branches" branches_base:"standard:standard/common-pc-64" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/common-pc-64/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n" and qemuarch == "mips": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/mti-malta32" }}
|
||||
|
||||
{{ if need_new_kbranch == "n" and qemuarch == "mips64": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/mti-malta64" }}
|
||||
|
||||
{{ if need_new_kbranch == "y" and qemuarch == "mips": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n" and qemuarch == "mips": }}
|
||||
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/mti-malta32" }}
|
||||
{{ if need_new_kbranch == "y" and qemuarch == "mips64": }}
|
||||
{{ input type:"choicelist" name:"new_kbranch" nameappend:"mips64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
|
||||
|
||||
{{ if need_new_kbranch == "n": }}
|
||||
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
|
||||
|
||||
Reference in New Issue
Block a user