blob: 6331368f87aa1d77425e8de8ad0c08dd98d142b3 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001#@TYPE: Machine
2#@NAME: Edgerouter
Brad Bishop19323692019-04-05 15:28:33 -04003#@DESCRIPTION: Machine configuration for a generic edgerouter
Patrick Williamsc124f4f2015-09-15 14:41:29 -05004
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 Bishop79641f22019-09-10 07:20:22 -040014PREFERRED_VERSION_linux-yocto ?= "5.2%"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080016SERIAL_CONSOLES = "115200;ttyS0"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050017USE_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"