mirror of https://github.com/hak5/openwrt-owl.git
octeon: fix mtd partitions for erlite on cmdline
erlite mtdparts exposes boot0, boot1 and eeprom regions as read/write. this patch adds readonly flags, so these regions can't be modified. same as it is already for ER profile. Signed-off-by: Jiri Kastner <cz172638@gmail.com>owl
parent
ada6d9feca
commit
cf79e393f9
|
@ -35,7 +35,7 @@ define Device/er
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += er
|
TARGET_DEVICES += er
|
||||||
|
|
||||||
ERLITE_CMDLINE:=-mtdparts=phys_mapped_flash:512k(boot0),512k(boot1),64k@1024k(eeprom) root=/dev/sda2 rootfstype=squashfs,ext4 rootwait
|
ERLITE_CMDLINE:=-mtdparts=phys_mapped_flash:512k(boot0)ro,512k(boot1)ro,64k(eeprom)ro root=/dev/sda2 rootfstype=squashfs,ext4 rootwait
|
||||||
define Device/erlite
|
define Device/erlite
|
||||||
CMDLINE := $(ERLITE_CMDLINE)
|
CMDLINE := $(ERLITE_CMDLINE)
|
||||||
DEVICE_TITLE := Ubiquiti EdgeRouter Lite
|
DEVICE_TITLE := Ubiquiti EdgeRouter Lite
|
||||||
|
|
Loading…
Reference in New Issue