xref: /OK3568_Linux_fs/yocto/poky/meta-yocto-bsp/conf/machine/edgerouter.conf (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1#@TYPE: Machine
2#@NAME: Edgerouter
3#@DESCRIPTION: Machine configuration for a generic edgerouter
4
5require conf/machine/include/mips/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"
14PREFERRED_VERSION_linux-yocto ?= "5.15%"
15
16SERIAL_CONSOLES = "115200;ttyS0"
17USE_VT ?= "0"
18
19MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
20
21IMAGE_FSTYPES ?= "jffs2 tar.bz2 wic wic.bmap"
22JFFS2_ERASEBLOCK = "0x10000"
23
24WKS_FILE ?= "edgerouter.wks"
25IMAGE_BOOT_FILES ?= "vmlinux;vmlinux.64"
26do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
27