[Yocto-bsp] [PATCH] yocto-bsp: Add a new BSP to support edgerouter
Wei.Yang at windriver.com
Wei.Yang at windriver.com
Mon Mar 17 22:19:03 PDT 2014
From: Yang Wei <Wei.Yang at windriver.com>
Signed-off-by: Yang Wei <Wei.Yang at windriver.com>
---
This BSP would be released in Yocto 1.6, so here I temporarily enabled linux-yocto-dev
recipe via PREFERRED_PROVIDER_virtual/kernel. During the my validation, I also added
linux-yocto-dev.bbappend to define some variables such KBRANCH, but since we would
add a new kernel version's bbappend while releasing Yocto 1.6, so I do not add the bbappend
in this patch.
Thanks
Wei
meta-yocto-bsp/conf/machine/edgerouter.conf | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 meta-yocto-bsp/conf/machine/edgerouter.conf
diff --git a/meta-yocto-bsp/conf/machine/edgerouter.conf b/meta-yocto-bsp/conf/machine/edgerouter.conf
new file mode 100644
index 0000000..f3ea33b
--- /dev/null
+++ b/meta-yocto-bsp/conf/machine/edgerouter.conf
@@ -0,0 +1,21 @@
+#@TYPE: Machine
+#@NAME: Edgerouter
+#@DESCRIPTION: Edgerouter
+
+require conf/machine/include/tune-mips64.inc
+
+MACHINE_FEATURES = "pci ext2 ext3 serial"
+
+KERNEL_IMAGETYPE = "vmlinux"
+KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
+KERNEL_IMAGE_STRIP_EXTRA_SECTIONS = ".comment"
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-dev"
+
+SERIAL_CONSOLE = "115200 ttyS0"
+USE_VT ?= "0"
+
+MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
+
+IMAGE_FSTYPES ?= "jffs2 tar.bz2"
+JFFS2_ERASEBLOCK = "0x10000"
--
1.7.9.5
More information about the yocto-bsp
mailing list