blob: 32be4b9c3960c4e98fe9571797193d9f908cb480 [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
Andrew Geisslerd159c7f2021-09-02 21:05:58 -05005require conf/machine/include/mips/tune-mips64.inc
Patrick Williamsc124f4f2015-09-15 14:41:29 -05006
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"
Andrew Geissler5199d832021-09-24 16:47:35 -050014PREFERRED_VERSION_linux-yocto ?= "5.14%"
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"