diff options
author | Huimin She <huimin.she@enea.com> | 2015-12-08 15:49:43 +0100 |
---|---|---|
committer | Nora Björklund <nora.bjorklund@enea.com> | 2015-12-09 15:29:10 +0100 |
commit | c870e67a87ac4d8fe7ee2e4a458503058b397795 (patch) | |
tree | 78ba063645b15ed9413c65faaa05f87aee517c97 /recipes-kernel/linux/linux-qoriq-common.inc | |
parent | b5dbf2cbd4a0d6395ebc82999bda1981c8cd3f0a (diff) | |
download | meta-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.inc | 8 |
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 | ||
10 | SRC_URI_append_t4240rdb-64b = " file://dts/t4240rdb-usdpaa-enea.dts" | ||
11 | |||
10 | ENEA_KERNEL_FRAGMENTS += "\ | 12 | ENEA_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=" \ | |||
37 | DELTA_KERNEL_DEFCONFIG += " ${ENEA_KERNEL_FRAGMENTS} \ | 39 | DELTA_KERNEL_DEFCONFIG += " ${ENEA_KERNEL_FRAGMENTS} \ |
38 | " | 40 | " |
39 | 41 | ||
42 | KERNEL_DEVICETREE_append_t4240rdb-64b = " t4240rdb-usdpaa-enea.dtb" | ||
43 | |||
40 | require recipes-kernel/linux/pramfs-3.12.inc | 44 | require recipes-kernel/linux/pramfs-3.12.inc |
41 | 45 | ||
42 | do_unpack_append() { | 46 | do_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 | |||
61 | do_configure_prepend_t4240rdb-64b() { | ||
62 | cp ${WORKDIR}/dts/t4240rdb-usdpaa-enea.dts ${S}/arch/powerpc/boot/dts/ | ||
63 | } | ||