On 14-03-18 01:19 AM, wei.y...@windriver.com wrote:
From: Yang Wei <wei.y...@windriver.com>

Signed-off-by: Yang Wei <wei.y...@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.

This looks fine. I've staged it locally, and will test it against the
-dev kernel. When I name the 3.14 kernel, I'll make sure it is in the
bbappend.

Bruce


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"


--
_______________________________________________
yocto-bsp mailing list
yocto-bsp@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto-bsp

Reply via email to