blob: 61f2145fd59aa0e0f36d931dec482e08e62a8926 [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 Bishop316dfdd2018-06-25 12:45:53 -040014PREFERRED_VERSION_linux-yocto ?= "4.15%"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015
16SERIAL_CONSOLE = "115200 ttyS0"
17USE_VT ?= "0"
18
Brad Bishop316dfdd2018-06-25 12:45:53 -040019MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020
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"