|
|
|
@ -13,9 +13,8 @@ define Device/Default |
|
|
|
|
KERNEL_INITRAMFS_NAME := vmlinux-initramfs.elf
|
|
|
|
|
KERNEL := kernel-bin | strip-kernel | patch-cmdline
|
|
|
|
|
IMAGES := sysupgrade.tar
|
|
|
|
|
IMAGE/sysupgrade.tar/squashfs := append-rootfs | pad-rootfs | sysupgrade-tar rootfs=$$$$@
|
|
|
|
|
IMAGE/sysupgrade.tar/squashfs := append-rootfs | pad-extra 128k | sysupgrade-tar rootfs=$$$$@
|
|
|
|
|
IMAGE/sysupgrade.tar := sysupgrade-tar
|
|
|
|
|
FILESYSTEMS := squashfs
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
|
define Build/strip-kernel |
|
|
|
@ -29,14 +28,14 @@ define Device/generic |
|
|
|
|
endef |
|
|
|
|
TARGET_DEVICES += generic
|
|
|
|
|
|
|
|
|
|
ER_CMDLINE:=-mtdparts=phys_mapped_flash:640k(boot0)ro,640k(boot1)ro,64k(eeprom)ro block2mtd.block2mtd=/dev/mmcblk0p2,65536,rootfs,15 root=/dev/mtdblock3 rootfstype=squashfs rootwait
|
|
|
|
|
ER_CMDLINE:=-mtdparts=phys_mapped_flash:640k(boot0)ro,640k(boot1)ro,64k(eeprom)ro root=/dev/mmcblk0p2 rootfstype=squashfs,ext4 rootwait
|
|
|
|
|
define Device/er |
|
|
|
|
CMDLINE := $(ER_CMDLINE)
|
|
|
|
|
DEVICE_TITLE := Ubiquiti EdgeRouter
|
|
|
|
|
endef |
|
|
|
|
TARGET_DEVICES += er
|
|
|
|
|
|
|
|
|
|
ERLITE_CMDLINE:=-mtdparts=phys_mapped_flash:512k(boot0),512k(boot1),64k@1024k(eeprom) block2mtd.block2mtd=/dev/sda2,65536,rootfs,5 root=/dev/mtdblock3 rootfstype=squashfs rootwait
|
|
|
|
|
ERLITE_CMDLINE:=-mtdparts=phys_mapped_flash:512k(boot0),512k(boot1),64k@1024k(eeprom) root=/dev/sda2 rootfstype=squashfs,ext4 rootwait
|
|
|
|
|
define Device/erlite |
|
|
|
|
CMDLINE := $(ERLITE_CMDLINE)
|
|
|
|
|
DEVICE_TITLE := Ubiquiti EdgeRouter Lite
|
|
|
|
|