From 09b489c795b09d5b8e54db93055b625197046c3e Mon Sep 17 00:00:00 2001 From: Yang Wei Date: Mon, 31 Mar 2014 14:01:57 -0400 Subject: yocto-bsps: Add a new BSP to support edgerouter 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. (From meta-yocto rev: 473067887b9e04366c370ab123bcd14eff33fd9a) Signed-off-by: Yang Wei Signed-off-by: Bruce Ashfield Signed-off-by: Richard Purdie --- meta-yocto-bsp/conf/machine/edgerouter.conf | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta-yocto-bsp/conf/machine/edgerouter.conf (limited to 'meta-yocto-bsp') diff --git a/meta-yocto-bsp/conf/machine/edgerouter.conf b/meta-yocto-bsp/conf/machine/edgerouter.conf new file mode 100644 index 0000000000..f3ea33bb0d --- /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" -- cgit 1.2.3-korg