[poky] [PATCH 4/7] yocto-bsps: Add a new BSP to support edgerouter
Bruce Ashfield
bruce.ashfield at windriver.com
Mon Mar 31 11:01:57 PDT 2014
From: Yang Wei <Wei.Yang at windriver.com>
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 at windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
---
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 000000000000..f3ea33bb0d6b
--- /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.8.1.2
More information about the poky
mailing list