summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-qoriq-common.inc
diff options
context:
space:
mode:
authorHuimin She <huimin.she@enea.com>2015-12-08 15:49:43 +0100
committerNora Björklund <nora.bjorklund@enea.com>2015-12-09 15:29:10 +0100
commitc870e67a87ac4d8fe7ee2e4a458503058b397795 (patch)
tree78ba063645b15ed9413c65faaa05f87aee517c97 /recipes-kernel/linux/linux-qoriq-common.inc
parentb5dbf2cbd4a0d6395ebc82999bda1981c8cd3f0a (diff)
downloadmeta-enea-bsp-ppc-c870e67a87ac4d8fe7ee2e4a458503058b397795.tar.gz
kernel: add device tree for t4240rdb
A device tree (dts) is added for USDPAA support on t4240rdb. In the default USDPAA dts, all the ethernet interfaces are dedicated to USDPAA, so that they are not visible to Linux kernel. This brings difficulty for development, such as nfs booting and ssh login. In the new dts, one ethernet interface is reserved for Linux kernel network stack, and the others are for USDPAA. Signed-off-by: Huimin She <huimin.she@enea.com> Signed-off-by: Nora Björklund <nora.bjorklund@enea.com>
Diffstat (limited to 'recipes-kernel/linux/linux-qoriq-common.inc')
-rw-r--r--recipes-kernel/linux/linux-qoriq-common.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-qoriq-common.inc b/recipes-kernel/linux/linux-qoriq-common.inc
index aa1e6ea..d2fecca 100644
--- a/recipes-kernel/linux/linux-qoriq-common.inc
+++ b/recipes-kernel/linux/linux-qoriq-common.inc
@@ -7,6 +7,8 @@ SRC_URI += "file://b4860-hard_irq_disable-bug.patch \
7 file://powerpc-fsl-booke64-Set-vmemmap_psize-to-4K.patch \ 7 file://powerpc-fsl-booke64-Set-vmemmap_psize-to-4K.patch \
8 " 8 "
9 9
10SRC_URI_append_t4240rdb-64b = " file://dts/t4240rdb-usdpaa-enea.dts"
11
10ENEA_KERNEL_FRAGMENTS += "\ 12ENEA_KERNEL_FRAGMENTS += "\
11 cfg/00013-localversion.cfg \ 13 cfg/00013-localversion.cfg \
12 cfg/00006-with_modules.cfg \ 14 cfg/00006-with_modules.cfg \
@@ -37,6 +39,8 @@ ENEA_KERNEL_FRAGMENTS_append_p2020rdb=" \
37DELTA_KERNEL_DEFCONFIG += " ${ENEA_KERNEL_FRAGMENTS} \ 39DELTA_KERNEL_DEFCONFIG += " ${ENEA_KERNEL_FRAGMENTS} \
38 " 40 "
39 41
42KERNEL_DEVICETREE_append_t4240rdb-64b = " t4240rdb-usdpaa-enea.dtb"
43
40require recipes-kernel/linux/pramfs-3.12.inc 44require recipes-kernel/linux/pramfs-3.12.inc
41 45
42do_unpack_append() { 46do_unpack_append() {
@@ -53,3 +57,7 @@ do_unpack_append() {
53 except OSError as e: 57 except OSError as e:
54 bb.error("Directory not copied. Error: %s" % e) 58 bb.error("Directory not copied. Error: %s" % e)
55} 59}
60
61do_configure_prepend_t4240rdb-64b() {
62 cp ${WORKDIR}/dts/t4240rdb-usdpaa-enea.dts ${S}/arch/powerpc/boot/dts/
63}