diff options
Diffstat (limited to 'conf')
-rw-r--r-- | conf/conf-notes.txt | 7 | ||||
-rw-r--r-- | conf/distro/enea-tiny.conf | 121 | ||||
-rw-r--r-- | conf/distro/enea.conf | 67 | ||||
-rw-r--r-- | conf/layer.conf | 12 | ||||
-rw-r--r-- | conf/machine/acp3448v2.conf | 28 | ||||
-rw-r--r-- | conf/machine/bsc9131rdb.conf | 22 | ||||
-rw-r--r-- | conf/machine/bsc9132qds.conf | 20 | ||||
-rw-r--r-- | conf/machine/ebony.conf | 27 | ||||
-rw-r--r-- | conf/machine/include/tune-ppc440.inc | 11 | ||||
-rw-r--r-- | conf/machine/include/tune-ppc476.inc | 11 |
10 files changed, 326 insertions, 0 deletions
diff --git a/conf/conf-notes.txt b/conf/conf-notes.txt new file mode 100644 index 0000000..55281bd --- /dev/null +++ b/conf/conf-notes.txt | |||
@@ -0,0 +1,7 @@ | |||
1 | Common targets are: | ||
2 | enea-image-minimal | ||
3 | enea-image-demo | ||
4 | meta-toolchain | ||
5 | |||
6 | You can also run generated qemu images with a command like 'runqemu qemuppc' | ||
7 | |||
diff --git a/conf/distro/enea-tiny.conf b/conf/distro/enea-tiny.conf new file mode 100644 index 0000000..ab7ab40 --- /dev/null +++ b/conf/distro/enea-tiny.conf | |||
@@ -0,0 +1,121 @@ | |||
1 | DISTRO = "enea" | ||
2 | DISTRO_NAME = "ENEA Linux distribution (Built by Poky 6.0)" | ||
3 | DISTRO_VERSION = "0.1" | ||
4 | SDK_VENDOR = "-eneasdk" | ||
5 | SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}" | ||
6 | |||
7 | MAINTAINER = "ENEA <issues@enea.com>" | ||
8 | |||
9 | TARGET_VENDOR = "-enea" | ||
10 | |||
11 | LOCALCONF_VERSION = "1" | ||
12 | |||
13 | DISTRO_FEATURES = "" | ||
14 | # libc-big-macros \ | ||
15 | # libc-catgets \ | ||
16 | # libc-charsets \ | ||
17 | # libc-db-aliases \ | ||
18 | # libc-fcvt \ | ||
19 | # libc-fstab \ | ||
20 | # libc-ftraverse \ | ||
21 | # libc-libm-big \ | ||
22 | # libc-locales \ | ||
23 | # libc-locale-code \ | ||
24 | # libc-rcmd \ | ||
25 | # libc-sunrpc \ | ||
26 | # libc-utmp \ | ||
27 | # libc-utmpx \ | ||
28 | # libc-wordexp \ | ||
29 | # libc-posix-clang-wchar \ | ||
30 | # libc-posix-wchar-io" | ||
31 | DISTRO_FEATURES_LIBC = "ipv4 \ | ||
32 | ipv6 \ | ||
33 | libc-backtrace \ | ||
34 | libc-bsd \ | ||
35 | libc-cxx-tests \ | ||
36 | libc-crypt \ | ||
37 | libc-crypt-ufc \ | ||
38 | libc-envz \ | ||
39 | libc-fmtmsg \ | ||
40 | libc-getlogin \ | ||
41 | libc-idn \ | ||
42 | libc-inet-anl \ | ||
43 | libc-libm \ | ||
44 | libc-memusage \ | ||
45 | libc-nis \ | ||
46 | libc-nsswitch \ | ||
47 | libc-rtld-debug \ | ||
48 | libc-spawn \ | ||
49 | libc-streams \ | ||
50 | libc-posix-regexp \ | ||
51 | libc-posix-regexp-glibc \ | ||
52 | " | ||
53 | |||
54 | DISTRO_FEATURES = "argp ext2 largefile xattr nfs pci ${DISTRO_FEATURES_LIBC} " | ||
55 | |||
56 | # | ||
57 | # dany: Needed for meta-toolchain | ||
58 | # | ||
59 | #DISTRO_FEATURES_append = " x11 alsa " | ||
60 | |||
61 | # dany: Set to minimize image further | ||
62 | #VIRTUAL-RUNTIME_login_manager = "" | ||
63 | VIRTUAL-RUNTIME_dev_manager = "" | ||
64 | #VIRTUAL-RUNTIME_update-alternatives = "" | ||
65 | |||
66 | SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${PACKAGE_ARCH}" | ||
67 | SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}" | ||
68 | |||
69 | DISTRO_EXTRA_RDEPENDS += "task-core-boot" | ||
70 | DISTRO_EXTRA_RRECOMMENDS += "" | ||
71 | |||
72 | POKYQEMUDEPS = "${@base_contains("INCOMPATIBLE_LICENSE", "GPLv3", "", "qemu-config",d)}" | ||
73 | DISTRO_EXTRA_RDEPENDS_append_qemuarm = " ${POKYQEMUDEPS}" | ||
74 | DISTRO_EXTRA_RDEPENDS_append_qemumips = " ${POKYQEMUDEPS}" | ||
75 | DISTRO_EXTRA_RDEPENDS_append_qemuppc = " ${POKYQEMUDEPS}" | ||
76 | DISTRO_EXTRA_RDEPENDS_append_qemux86 = " ${POKYQEMUDEPS}" | ||
77 | DISTRO_EXTRA_RDEPENDS_append_qemux86-64 = " ${POKYQEMUDEPS}" | ||
78 | |||
79 | TCLIBCAPPEND = "" | ||
80 | |||
81 | QEMU_TARGETS ?= "arm i386 mips mipsel ppc x86_64" | ||
82 | |||
83 | # Other QEMU_TARGETS "mips64 mips64el sh4" | ||
84 | |||
85 | PREMIRRORS ?= "\ | ||
86 | bzr://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ | ||
87 | cvs://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ | ||
88 | git://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ | ||
89 | hg://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ | ||
90 | osc://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ | ||
91 | p4://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ | ||
92 | svk://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ | ||
93 | svn://.*/.* http://autobuilder.yoctoproject.org/sources/ \n" | ||
94 | |||
95 | MIRRORS =+ "\ | ||
96 | ftp://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ | ||
97 | http://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ | ||
98 | https://.*/.* http://autobuilder.yoctoproject.org/sources/ \n" | ||
99 | |||
100 | #KERNEL_IMAGETYPE = "uImage" | ||
101 | IMAGE_FSTYPES = "ext2.gz.u-boot tar.gz" | ||
102 | IMAGE_CLASSES += "image_types_uboot" | ||
103 | # Generate source packages | ||
104 | # PACKAGE_CLASSES += " src-dist " | ||
105 | |||
106 | # Distribute unpatched sources | ||
107 | #SRC_DIST_LOCAL ?= "symlink" | ||
108 | #INHERIT += "src_distribute_enea" | ||
109 | |||
110 | INHERIT += "image_types_uboot" | ||
111 | # INHERIT := "sourcepkg" | ||
112 | |||
113 | #PREFERRED_VERSION_u-boot-mkimage-native_powerpc = "2011.06" | ||
114 | #PREFERRED_VERSION_u-boot-mkimage-native = "2011.06" | ||
115 | #PREFERRED_PROVIDER_vitual/libc = "eglibc" | ||
116 | #PREFERRED_VERSION_netbase = "4.45" | ||
117 | |||
118 | CONNECTIVITY_CHECK_URIS ?= "git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=HEAD \ | ||
119 | https://eula-downloads.yoctoproject.org/index.php \ | ||
120 | http://bugzilla.yoctoproject.org/report.cgi" | ||
121 | |||
diff --git a/conf/distro/enea.conf b/conf/distro/enea.conf new file mode 100644 index 0000000..05eef59 --- /dev/null +++ b/conf/distro/enea.conf | |||
@@ -0,0 +1,67 @@ | |||
1 | require conf/distro/poky.conf | ||
2 | DISTRO = "enea" | ||
3 | DISTRO_NAME = "Enea Linux" | ||
4 | DISTRO_VERSION = "3.1" | ||
5 | SDK_VENDOR = "-eneasdk" | ||
6 | SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}" | ||
7 | |||
8 | MAINTAINER = "ENEA <issues@enea.com>" | ||
9 | |||
10 | TARGET_VENDOR = "-enea" | ||
11 | TARGET_VENDOR_virtclass-multilib-lib32 = "-enea" | ||
12 | TARGET_VENDOR_virtclass-multilib-lib64 = "-enea" | ||
13 | |||
14 | DISTRO_FEATURES_LIBC = "\ | ||
15 | ipv4 \ | ||
16 | ipv6 \ | ||
17 | libc-backtrace \ | ||
18 | libc-big-macros \ | ||
19 | libc-bsd \ | ||
20 | libc-cxx-tests \ | ||
21 | libc-catgets \ | ||
22 | libc-charsets \ | ||
23 | libc-crypt \ | ||
24 | libc-crypt-ufc \ | ||
25 | libc-db-aliases \ | ||
26 | libc-envz \ | ||
27 | libc-fcvt \ | ||
28 | libc-fmtmsg \ | ||
29 | libc-fstab \ | ||
30 | libc-ftraverse \ | ||
31 | libc-getlogin \ | ||
32 | libc-idn \ | ||
33 | libc-inet-anl \ | ||
34 | libc-libm \ | ||
35 | libc-libm-big \ | ||
36 | libc-locales \ | ||
37 | libc-locale-code \ | ||
38 | libc-memusage libc-nis \ | ||
39 | libc-nsswitch \ | ||
40 | libc-rcmd \ | ||
41 | libc-rtld-debug \ | ||
42 | libc-spawn \ | ||
43 | libc-streams \ | ||
44 | libc-sunrpc \ | ||
45 | libc-utmp \ | ||
46 | libc-utmpx \ | ||
47 | libc-wordexp \ | ||
48 | libc-posix-clang-wchar \ | ||
49 | libc-posix-regexp \ | ||
50 | libc-posix-regexp-glibc \ | ||
51 | libc-posix-wchar-io \ | ||
52 | " | ||
53 | |||
54 | DISTRO_FEATURES = "ptest argp ext2 largefile xattr nfs pci ${DISTRO_FEATURES_LIBC} " | ||
55 | |||
56 | # dany: Set to minimize image further | ||
57 | #VIRTUAL-RUNTIME_login_manager = "" | ||
58 | #VIRTUAL-RUNTIME_dev_manager = "" | ||
59 | #VIRTUAL-RUNTIME_update-alternatives = "" | ||
60 | |||
61 | SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${PACKAGE_ARCH}" | ||
62 | |||
63 | #For meta-ti and meta-fsl-ppc, update BBMASK to avoid some known build errors | ||
64 | BBMASK ?= "" | ||
65 | OLDBBMASK := "${BBMASK}" | ||
66 | BBMASK = "${@base_conditional('OLDBBMASK', "", ".*/meta-(ti/recipes-misc|fsl-ppc/recipes-test)/", "${OLDBBMASK}", d)}" | ||
67 | BB_DANGLINGAPPENDS_WARNONLY ?= "1" | ||
diff --git a/conf/layer.conf b/conf/layer.conf new file mode 100644 index 0000000..bfd4ef2 --- /dev/null +++ b/conf/layer.conf | |||
@@ -0,0 +1,12 @@ | |||
1 | # We have a packages directory, add to BBFILES | ||
2 | BBPATH .= ":${LAYERDIR}" | ||
3 | |||
4 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb*" | ||
5 | BBFILES += "${LAYERDIR}/images/*.bb*" | ||
6 | |||
7 | BBFILE_COLLECTIONS += "enea" | ||
8 | BBFILE_PATTERN_enea := "^${LAYERDIR}/" | ||
9 | BBFILE_PRIORITY_enea = "6" | ||
10 | |||
11 | BB_ENV_EXTRAWHITE := "KSRC USRC" | ||
12 | BB_DANGLINGAPPENDS_WARNONLY = "yes" | ||
diff --git a/conf/machine/acp3448v2.conf b/conf/machine/acp3448v2.conf new file mode 100644 index 0000000..7fa628f --- /dev/null +++ b/conf/machine/acp3448v2.conf | |||
@@ -0,0 +1,28 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@DESCRIPTION: Machine configuration for running | ||
3 | |||
4 | require include/tune-ppc476.inc | ||
5 | |||
6 | MACHINE_FEATURES = "usbhost pci ext2 ext3" | ||
7 | |||
8 | PREFERRED_PROVIDER_virtual/kernel ?= "linux" | ||
9 | PREFERRED_VERSION_virtual/kernel ?= "3.0.6" | ||
10 | |||
11 | PREFERRED_PROVIDER_linux-libc-headers ?= "linux-kernel-headers" | ||
12 | PREFERRED_PROVIDER_linux-libc-headers-nativesdk ?= "linux-kernel-headers-nativesdk" | ||
13 | PREFERRED_VERSION_linux-kernel-headers ?= "3.0.6" | ||
14 | PREFERRED_VERSION_linux-kernel-headers-nativesdk ?= "3.0.6" | ||
15 | |||
16 | KERNEL_EXTRA_OEMAKE = "V=1" | ||
17 | #KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/acp.dts" | ||
18 | #KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/acp_dbgconfig" | ||
19 | KERNEL_IMAGETYPE = "uImage" | ||
20 | UBOOT_ENTRYPOINT = "0x00400000" | ||
21 | UBOOT_LOADADDRESS = "0x00400000" | ||
22 | IMAGE_FSTYPES = "tar.gz ext2.gz ext2.gz.u-boot" | ||
23 | USE_VT = "0" | ||
24 | SERIAL_CONSOLE = "115200 ttyS0" | ||
25 | |||
26 | # override version preference in tcmode-default.inc | ||
27 | #PREFERRED_VERSION_u-boot-mkimage-native_powerpc = "" | ||
28 | |||
diff --git a/conf/machine/bsc9131rdb.conf b/conf/machine/bsc9131rdb.conf new file mode 100644 index 0000000..72a4532 --- /dev/null +++ b/conf/machine/bsc9131rdb.conf | |||
@@ -0,0 +1,22 @@ | |||
1 | TARGET_FPU = "ppc-efd" | ||
2 | |||
3 | require conf/machine/include/tune-ppce500v2.inc | ||
4 | |||
5 | MACHINE_FEATURES = "kernel26 pci ext2 ext3 serial" | ||
6 | MACHINE_EXTRA_RRECOMMENDS = "" | ||
7 | |||
8 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-bsc913x" | ||
9 | PREFERRED_VERSION_virtual/kernel ?= "2.6.33" | ||
10 | PREFERRED_PROVIDER_linux-libc-headers ?= "linux-bsc913x-headers" | ||
11 | PREFERRED_PROVIDER_linux-libc-headers-nativesdk ?= "linux-bsc913x-headers-nativesdk" | ||
12 | |||
13 | KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/bsc9131rdb.dts" | ||
14 | |||
15 | KERNEL_IMAGETYPE ?= "uImage" | ||
16 | # disable the images below for now | ||
17 | # ext2.bz2 ext2.lzma \ | ||
18 | # ext2.gz.u-boot ext2.bz2.u-boot ext2.lzma.u-boot" | ||
19 | |||
20 | MACHINEOVERRIDES .= ":e500v2" | ||
21 | SERIAL_CONSOLE = "115200 ttyS0" | ||
22 | USE_VT = "0" | ||
diff --git a/conf/machine/bsc9132qds.conf b/conf/machine/bsc9132qds.conf new file mode 100644 index 0000000..1c4aab3 --- /dev/null +++ b/conf/machine/bsc9132qds.conf | |||
@@ -0,0 +1,20 @@ | |||
1 | TARGET_FPU = "ppc-efd" | ||
2 | |||
3 | require conf/machine/include/tune-ppce500v2.inc | ||
4 | |||
5 | MACHINE_FEATURES = "kernel26 pci ext2 ext3 serial" | ||
6 | MACHINE_EXTRA_RRECOMMENDS = "" | ||
7 | |||
8 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-bsc913x" | ||
9 | PREFERRED_VERSION_virtual/kernel ?= "2.6.33" | ||
10 | PREFERRED_PROVIDER_linux-libc-headers ?= "linux-bsc913x-headers" | ||
11 | PREFERRED_PROVIDER_linux-libc-headers-nativesdk ?= "linux-bsc913x-headers-nativesdk" | ||
12 | |||
13 | KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/bsc9132qds.dts" | ||
14 | |||
15 | KERNEL_IMAGETYPE ?= "uImage" | ||
16 | # disable the images below for now | ||
17 | # ext2.bz2 ext2.lzma \ | ||
18 | # ext2.gz.u-boot ext2.bz2.u-boot ext2.lzma.u-boot" | ||
19 | |||
20 | MACHINEOVERRIDES .= ":e500v2" | ||
diff --git a/conf/machine/ebony.conf b/conf/machine/ebony.conf new file mode 100644 index 0000000..25734be --- /dev/null +++ b/conf/machine/ebony.conf | |||
@@ -0,0 +1,27 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@DESCRIPTION: Machine configuration for running | ||
3 | |||
4 | require include/tune-ppc440.inc | ||
5 | |||
6 | PREFERRED_PROVIDER_virtual/kernel ?= "kernel-org" | ||
7 | PREFERRED_VERSION_kernel-org ?= "3.0.6" | ||
8 | |||
9 | PREFERRED_PROVIDER_linux-libc-headers ?= "kernel-org-headers" | ||
10 | PREFERRED_PROVIDER_linux-libc-headers-nativesdk ?= "kernel-org-headers-nativesdk" | ||
11 | |||
12 | PREFERRED_VERSION_kernel-org-headers ?= "3.0.6" | ||
13 | PREFERRED_VERSION_kernel-org-headers-nativesdk ?= "3.0.6" | ||
14 | |||
15 | #PREFERRED_VERSION_linx = "2.6.3" | ||
16 | #PREFERRED_VERSION_linx-mod = "2.6.3" | ||
17 | |||
18 | IMAGE_FSTYPES = "tar.gz ext2.gz ext2.gz.u-boot" | ||
19 | |||
20 | UBOOT_MACHINES = "ebony_config" | ||
21 | KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/ebony.dts" | ||
22 | KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/44x/ebony_defconfig" | ||
23 | KERNEL_IMAGETYPE = "uImage" | ||
24 | MACHINE_FEATURES = "kernel26 ext3 serial" | ||
25 | |||
26 | # override version preference in tcmode-default.inc | ||
27 | PREFERRED_VERSION_u-boot-mkimage-native_powerpc = "" | ||
diff --git a/conf/machine/include/tune-ppc440.inc b/conf/machine/include/tune-ppc440.inc new file mode 100644 index 0000000..6262fb7 --- /dev/null +++ b/conf/machine/include/tune-ppc440.inc | |||
@@ -0,0 +1,11 @@ | |||
1 | DEFAULTTUNE ?= "ppc440" | ||
2 | |||
3 | require conf/machine/include/powerpc/arch-powerpc.inc | ||
4 | |||
5 | TUNEVALID[ppc440] = "Enable ppc440 specific processor optimizations" | ||
6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "-mcpu=440", "", d)}" | ||
7 | TUNE_PKGARCH = "${@bb.utils.contains("TUNE_FEATURES", "ppc440", "ppc440", "", d)}" | ||
8 | |||
9 | AVAILTUNES = "ppc440" | ||
10 | TUNE_FEATURES_tune-ppc440 = "m32 fpu-soft ppc440" | ||
11 | PACKAGE_EXTRA_ARCHS_tune-ppc440 = "powerpc-nf ppc440 ppc405" | ||
diff --git a/conf/machine/include/tune-ppc476.inc b/conf/machine/include/tune-ppc476.inc new file mode 100644 index 0000000..a34690f --- /dev/null +++ b/conf/machine/include/tune-ppc476.inc | |||
@@ -0,0 +1,11 @@ | |||
1 | DEFAULTTUNE ?= "ppc476" | ||
2 | |||
3 | require conf/machine/include/powerpc/arch-powerpc.inc | ||
4 | |||
5 | AVAILTUNES += "ppc476" | ||
6 | TUNE_FEATURES_tune-ppc476 = "m32 fpu-hard ppc476" | ||
7 | TUNEVALID[ppc476] = "Enable ppc476 specific processor optimizations" | ||
8 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppc476", "-mcpu=476", "", d)}" | ||
9 | TUNE_PKGARCH_tune-ppc476 = "ppc476" | ||
10 | |||
11 | PACKAGE_EXTRA_ARCHS_tune-ppc476 = "powerpc-nf ppc476 ppc440 ppc405" | ||