diff options
author | Sipke Vriend <sipke.vriend@xilinx.com> | 2013-07-18 13:10:32 +1000 |
---|---|---|
committer | Sipke Vriend <sipke.vriend@xilinx.com> | 2013-07-18 13:10:32 +1000 |
commit | 6e3ba04dbacc1d1d5bcad80f5e554e7fcc51f602 (patch) | |
tree | 18b591c62d9f0008fe1ec3e40c31afe415bb18b3 | |
parent | e3f16a1c7f789885bee8edccc4714b3da2a14a87 (diff) | |
download | meta-xilinx-6e3ba04dbacc1d1d5bcad80f5e554e7fcc51f602.tar.gz |
linux-yocto: add kc705-trd as target machine.
Add kc705-trd as compatible machine to linux-yocto recipe.
Add standard kernel type fragments for kc705-trd.
Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
4 files changed, 62 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-yocto/kc705-trd-standard.scc b/recipes-kernel/linux/linux-yocto/kc705-trd-standard.scc new file mode 100644 index 00000000..304a6fab --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/kc705-trd-standard.scc | |||
@@ -0,0 +1,9 @@ | |||
1 | define KMACHINE kc705-trd | ||
2 | define KTYPE standard | ||
3 | define KARCH microblaze | ||
4 | |||
5 | include ktypes/standard | ||
6 | branch meta | ||
7 | |||
8 | include microblaze-standard.scc | ||
9 | kconf hardware kc705-trd.cfg | ||
diff --git a/recipes-kernel/linux/linux-yocto/kc705-trd.cfg b/recipes-kernel/linux/linux-yocto/kc705-trd.cfg new file mode 100644 index 00000000..486dc147 --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/kc705-trd.cfg | |||
@@ -0,0 +1,10 @@ | |||
1 | # Would be nice to split these and select based on microblaze tunes? | ||
2 | CONFIG_XILINX_MICROBLAZE0_FAMILY="kintex7" | ||
3 | CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR=1 | ||
4 | CONFIG_XILINX_MICROBLAZE0_USE_PCMP_INSTR=1 | ||
5 | CONFIG_XILINX_MICROBLAZE0_USE_BARREL=1 | ||
6 | CONFIG_XILINX_MICROBLAZE0_USE_DIV=0 | ||
7 | CONFIG_XILINX_MICROBLAZE0_USE_HW_MUL=1 | ||
8 | CONFIG_XILINX_MICROBLAZE0_USE_FPU=0 | ||
9 | CONFIG_XILINX_MICROBLAZE0_HW_VER="8.50.a" | ||
10 | CONFIG_KERNEL_BASE_ADDR=0x80000000 \ No newline at end of file | ||
diff --git a/recipes-kernel/linux/linux-yocto/microblaze-standard.scc b/recipes-kernel/linux/linux-yocto/microblaze-standard.scc new file mode 100644 index 00000000..062fb336 --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/microblaze-standard.scc | |||
@@ -0,0 +1,39 @@ | |||
1 | |||
2 | # Microblaze common configurations | ||
3 | include cfg/8250.scc | ||
4 | include cfg/efi-ext.scc | ||
5 | include cfg/fs/devtmpfs.scc | ||
6 | include cfg/fs/ext2.scc | ||
7 | include cfg/fs/ext3.scc | ||
8 | include cfg/fs/flash_fs.scc | ||
9 | include cfg/net/ipsec6.scc | ||
10 | include cfg/net/ipsec.scc | ||
11 | include cfg/timer/hz_1000.scc | ||
12 | include cfg/timer/hz_100.scc | ||
13 | include cfg/timer/hz_250.scc | ||
14 | include cfg/timer/no_hz.scc | ||
15 | |||
16 | # Don't include features, as user can do this? | ||
17 | features/edf/edf.cfg | ||
18 | features/eg20t/eg20t.cfg | ||
19 | features/hrt/hrt.cfg | ||
20 | features/mac80211/mac80211.cfg | ||
21 | features/systemtap/systemtap.cfg | ||
22 | features/uio/uio.cfg | ||
23 | |||
24 | # These are in xilinx kernel cache... | ||
25 | include cfg/eeprom.scc | ||
26 | include cfg/mtd.scc | ||
27 | include cfg/xilinx/devicetree.scc | ||
28 | include cfg/xilinx/ethernet.scc | ||
29 | include cfg/xilinx/firewire.scc | ||
30 | include cfg/xilinx/gpio.scc | ||
31 | include cfg/xilinx/hid.scc | ||
32 | include cfg/xilinx/scsi.scc | ||
33 | include cfg/xilinx/spi.scc | ||
34 | include cfg/uio-irq.scc | ||
35 | include cfg/fs/flash_fs.scc | ||
36 | |||
37 | include cfg/microblaze/debug.scc | ||
38 | |||
39 | include cfg/microblaze/microblaze-arch.scc | ||
diff --git a/recipes-kernel/linux/linux-yocto_3.8.bbappend b/recipes-kernel/linux/linux-yocto_3.8.bbappend index 9d509438..5c76548c 100644 --- a/recipes-kernel/linux/linux-yocto_3.8.bbappend +++ b/recipes-kernel/linux/linux-yocto_3.8.bbappend | |||
@@ -2,6 +2,9 @@ | |||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-yocto:" | 2 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-yocto:" |
3 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-xlnx:" | 3 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-xlnx:" |
4 | 4 | ||
5 | # MicroBlaze is a uImage target, but its not called 'uImage' | ||
6 | DEPENDS_append_microblaze += "u-boot-mkimage-native" | ||
7 | |||
5 | SRC_URI_append += " \ | 8 | SRC_URI_append += " \ |
6 | file://xilinx-v14.5_modifications_to_v3.8.scc \ | 9 | file://xilinx-v14.5_modifications_to_v3.8.scc \ |
7 | file://microblaze-patches_v3.8.scc \ | 10 | file://microblaze-patches_v3.8.scc \ |
@@ -11,4 +14,4 @@ SRC_URI_append += " \ | |||
11 | SRC_URI_append += "git://github.com/Xilinx/xilinx-kernel-cache;protocol=git;branch=master;type=kmeta;name=externalcache;destsuffix=external-cache/" | 14 | SRC_URI_append += "git://github.com/Xilinx/xilinx-kernel-cache;protocol=git;branch=master;type=kmeta;name=externalcache;destsuffix=external-cache/" |
12 | SRCREV_externalcache = "${AUTOREV}" | 15 | SRCREV_externalcache = "${AUTOREV}" |
13 | 16 | ||
14 | COMPATIBLE_MACHINE = "zedboard|zc702" | 17 | COMPATIBLE_MACHINE = "zedboard|zc702|kc705-trd" |