Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | #@TYPE: Machine |
| 2 | #@NAME: Edgerouter |
| 3 | #@DESCRIPTION: Edgerouter |
| 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 | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 14 | PREFERRED_VERSION_linux-yocto ?= "4.15%" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 15 | |
| 16 | SERIAL_CONSOLE = "115200 ttyS0" |
| 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" |