summaryrefslogtreecommitdiffstats
path: root/external/poky/meta-yocto-bsp/conf/machine/edgerouter.conf
diff options
context:
space:
mode:
authorToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp>2020-03-30 09:24:26 +0900
committerToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp>2020-03-30 09:24:26 +0900
commit5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch)
treeb4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /external/poky/meta-yocto-bsp/conf/machine/edgerouter.conf
parent706ad73eb02caf8532deaf5d38995bd258725cb8 (diff)
agl-basesystem
Diffstat (limited to 'external/poky/meta-yocto-bsp/conf/machine/edgerouter.conf')
-rw-r--r--external/poky/meta-yocto-bsp/conf/machine/edgerouter.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/external/poky/meta-yocto-bsp/conf/machine/edgerouter.conf b/external/poky/meta-yocto-bsp/conf/machine/edgerouter.conf
new file mode 100644
index 00000000..b7a94e9c
--- /dev/null
+++ b/external/poky/meta-yocto-bsp/conf/machine/edgerouter.conf
@@ -0,0 +1,26 @@
+#@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"
+PREFERRED_VERSION_linux-yocto ?= "4.18%"
+
+SERIAL_CONSOLES = "115200;ttyS0"
+USE_VT ?= "0"
+
+MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
+
+IMAGE_FSTYPES ?= "jffs2 tar.bz2 wic wic.bmap"
+JFFS2_ERASEBLOCK = "0x10000"
+
+WKS_FILE ?= "edgerouter.wks"
+IMAGE_BOOT_FILES ?= "vmlinux;vmlinux.64"
+do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"