diff options
-rw-r--r-- | meta-yocto-bsp/conf/machine/edgerouter.conf | 2 | ||||
-rw-r--r-- | meta-yocto-bsp/wic/edgerouter.wks | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/meta-yocto-bsp/conf/machine/edgerouter.conf b/meta-yocto-bsp/conf/machine/edgerouter.conf index c6193d925a..ce7de60998 100644 --- a/meta-yocto-bsp/conf/machine/edgerouter.conf +++ b/meta-yocto-bsp/conf/machine/edgerouter.conf | |||
@@ -21,6 +21,6 @@ MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" | |||
21 | IMAGE_FSTYPES ?= "jffs2 tar.bz2 wic wic.bmap" | 21 | IMAGE_FSTYPES ?= "jffs2 tar.bz2 wic wic.bmap" |
22 | JFFS2_ERASEBLOCK = "0x10000" | 22 | JFFS2_ERASEBLOCK = "0x10000" |
23 | 23 | ||
24 | WKS_FILE ?= "sdimage-bootpart.wks" | 24 | WKS_FILE ?= "edgerouter.wks" |
25 | IMAGE_BOOT_FILES ?= "vmlinux;vmlinux.64" | 25 | IMAGE_BOOT_FILES ?= "vmlinux;vmlinux.64" |
26 | do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot" | 26 | do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot" |
diff --git a/meta-yocto-bsp/wic/edgerouter.wks b/meta-yocto-bsp/wic/edgerouter.wks new file mode 100644 index 0000000000..7176fe436b --- /dev/null +++ b/meta-yocto-bsp/wic/edgerouter.wks | |||
@@ -0,0 +1,4 @@ | |||
1 | # short-description: Create SD card image for Edgerouter | ||
2 | # long-description: Create a partitioned SD card image for MIPS64 Edgerouter reference hardware. | ||
3 | part /boot --source bootimg-partition --ondisk sda --fstype=vfat --label boot --active --align 4 --size 16 | ||
4 | part / --source rootfs --ondisk sda --fstype=ext4 --label root --align 4 | ||