From e151cc02bf8298191bb47ba64ec936f94db4c739 Mon Sep 17 00:00:00 2001 From: Sipke Vriend Date: Thu, 25 Jul 2013 14:04:33 +1000 Subject: recipes-kernel:linux-yocto-*: Modifications for microblaze Add linux-yocto-tiny for kc705-trd microblaze target Rearrange and tidy up microblaze kernel fragments. Signed-off-by: Sipke Vriend --- recipes-kernel/linux/linux-yocto-tiny_3.8.bbappend | 2 +- .../linux/linux-yocto/kc705-trd-tiny.scc | 10 ++++++++ .../linux/linux-yocto/microblaze-standard.scc | 29 +++++++++++----------- 3 files changed, 26 insertions(+), 15 deletions(-) create mode 100644 recipes-kernel/linux/linux-yocto/kc705-trd-tiny.scc diff --git a/recipes-kernel/linux/linux-yocto-tiny_3.8.bbappend b/recipes-kernel/linux/linux-yocto-tiny_3.8.bbappend index 636da3bf..7d7c5639 100644 --- a/recipes-kernel/linux/linux-yocto-tiny_3.8.bbappend +++ b/recipes-kernel/linux/linux-yocto-tiny_3.8.bbappend @@ -11,4 +11,4 @@ SRC_URI_append += " \ SRC_URI_append += "git://github.com/Xilinx/xilinx-kernel-cache;protocol=git;branch=master;type=kmeta;name=externalcache;destsuffix=external-cache/" SRCREV_externalcache = "${AUTOREV}" -COMPATIBLE_MACHINE = "zedboard|zc702" +COMPATIBLE_MACHINE = "zedboard|zc702|kc705-trd" \ No newline at end of file diff --git a/recipes-kernel/linux/linux-yocto/kc705-trd-tiny.scc b/recipes-kernel/linux/linux-yocto/kc705-trd-tiny.scc new file mode 100644 index 00000000..f46e86e9 --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/kc705-trd-tiny.scc @@ -0,0 +1,10 @@ +define KMACHINE kc705-trd +define KTYPE tiny +define KARCH microblaze + +include ktypes/tiny +branch meta + +# Same configs used for standard as tiny for microblaze +include microblaze-standard.scc +kconf hardware kc705-trd.cfg diff --git a/recipes-kernel/linux/linux-yocto/microblaze-standard.scc b/recipes-kernel/linux/linux-yocto/microblaze-standard.scc index 062fb336..27a8a3f7 100644 --- a/recipes-kernel/linux/linux-yocto/microblaze-standard.scc +++ b/recipes-kernel/linux/linux-yocto/microblaze-standard.scc @@ -1,5 +1,6 @@ - -# Microblaze common configurations +# +# Non Xilinx specific hardware configs - from yocto-kernel-cache +# include cfg/8250.scc include cfg/efi-ext.scc include cfg/fs/devtmpfs.scc @@ -12,18 +13,18 @@ include cfg/timer/hz_1000.scc include cfg/timer/hz_100.scc include cfg/timer/hz_250.scc include cfg/timer/no_hz.scc +include cfg/uio-irq.scc -# Don't include features, as user can do this? -features/edf/edf.cfg -features/eg20t/eg20t.cfg -features/hrt/hrt.cfg -features/mac80211/mac80211.cfg -features/systemtap/systemtap.cfg -features/uio/uio.cfg - -# These are in xilinx kernel cache... +# +# Non Xilinx specific hardware configs - not in yocto-kernel-cache, +# but might be one day +# include cfg/eeprom.scc include cfg/mtd.scc + +# +# Xilinx specific hardware configs +# include cfg/xilinx/devicetree.scc include cfg/xilinx/ethernet.scc include cfg/xilinx/firewire.scc @@ -31,9 +32,9 @@ include cfg/xilinx/gpio.scc include cfg/xilinx/hid.scc include cfg/xilinx/scsi.scc include cfg/xilinx/spi.scc -include cfg/uio-irq.scc -include cfg/fs/flash_fs.scc +# +# Xilinx Microblaze specific hardware configs +# include cfg/microblaze/debug.scc - include cfg/microblaze/microblaze-arch.scc -- cgit v1.2.3-54-g00ecf