blob: ab5a6fc404cbf6ad58bef2c47e085b0e8c99263d [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001#@TYPE: Machine
2#@NAME: Edgerouter
3#@DESCRIPTION: Edgerouter
4
5require conf/machine/include/tune-mips64.inc
6
7MACHINE_FEATURES = "pci ext2 ext3 serial"
8
9KERNEL_IMAGETYPE = "vmlinux"
10KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
11KERNEL_IMAGE_STRIP_EXTRA_SECTIONS = ".comment"
12
13PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050014PREFERRED_VERSION_linux-yocto ?= "4.12%"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015
16SERIAL_CONSOLE = "115200 ttyS0"
17USE_VT ?= "0"
18
19MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
20
Brad Bishop6e60e8b2018-02-01 10:27:11 -050021IMAGE_FSTYPES ?= "jffs2 tar.bz2 wic wic.bmap"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050022JFFS2_ERASEBLOCK = "0x10000"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060023
Brad Bishop6e60e8b2018-02-01 10:27:11 -050024WKS_FILE ?= "edgerouter.wks"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060025IMAGE_BOOT_FILES ?= "vmlinux;vmlinux.64"
26do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"