]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
yocto-bsps: Add a new BSP to support edgerouter
authorYang Wei <Wei.Yang@windriver.com>
Mon, 31 Mar 2014 18:01:57 +0000 (14:01 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 31 Mar 2014 22:01:00 +0000 (23:01 +0100)
  The EdgeRouter Lite is part of the EdgeMax series. It is an MIPS64 router(Cavium Octeon)
  with 512MB of RAM, which uses a USB pendrive for storage.

  Setup instructions
  ------------------

  You will need the following:
  * NFS root setup on your workstation
  * TFTP server installed on your workstation
  * Straight-thru 9-conductor serial cable (DB9, M/F) connected from your
    PC to UART1
  * Ethernet connected to the first ethernet port on the board

The rest of the details can be found in the BSP kernel config, and README.hardware.

Signed-off-by: Yang Wei <Wei.Yang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-yocto-bsp/conf/machine/edgerouter.conf [new file with mode: 0644]

diff --git a/meta-yocto-bsp/conf/machine/edgerouter.conf b/meta-yocto-bsp/conf/machine/edgerouter.conf
new file mode 100644 (file)
index 0000000..f3ea33b
--- /dev/null
@@ -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"