Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | #@TYPE: Machine |
| 2 | #@NAME: Edgerouter |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 3 | #@DESCRIPTION: Machine configuration for a generic edgerouter |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 4 | |
| 5 | require conf/machine/include/tune-mips64.inc |
| 6 | |
| 7 | MACHINE_FEATURES = "pci ext2 ext3 serial" |
| 8 | |
| 9 | KERNEL_IMAGETYPE = "vmlinux" |
| 10 | KERNEL_ALT_IMAGETYPE = "vmlinux.bin" |
| 11 | KERNEL_IMAGE_STRIP_EXTRA_SECTIONS = ".comment" |
| 12 | |
| 13 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" |
Brad Bishop | 79641f2 | 2019-09-10 07:20:22 -0400 | [diff] [blame] | 14 | PREFERRED_VERSION_linux-yocto ?= "5.2%" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 15 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 16 | SERIAL_CONSOLES = "115200;ttyS0" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 17 | USE_VT ?= "0" |
| 18 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 19 | MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 20 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 21 | IMAGE_FSTYPES ?= "jffs2 tar.bz2 wic wic.bmap" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 22 | JFFS2_ERASEBLOCK = "0x10000" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 23 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 24 | WKS_FILE ?= "edgerouter.wks" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 25 | IMAGE_BOOT_FILES ?= "vmlinux;vmlinux.64" |
| 26 | do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot" |