diff options
author | Alex Samorukov <samm@os2.kiev.ua> | 2017-01-19 15:38:49 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-01-25 08:00:11 +0100 |
commit | 17401b3d5c554e3cb7add11820ad4ae193f52bea (patch) | |
tree | 2b8548651d7d26a6a13637d440dd5aa9658bb311 /target/linux/ar71xx | |
parent | e2b8e9e0f316af496be7109e7f7ebc0dcd8b8c77 (diff) | |
download | mtk-20170518-17401b3d5c554e3cb7add11820ad4ae193f52bea.zip mtk-20170518-17401b3d5c554e3cb7add11820ad4ae193f52bea.tar.gz mtk-20170518-17401b3d5c554e3cb7add11820ad4ae193f52bea.tar.bz2 |
ar71xx: improve Mikrotik hAP Lite device support
- remove CONFIG_MTD_SPI_NOR_USE_4K_SECTORS
- enable jffs2 support
- fix sysupgrade
Signed-off-by: Alex Samorukov <samm@os2.kiev.ua>
Diffstat (limited to 'target/linux/ar71xx')
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 2 | ||||
-rw-r--r-- | target/linux/ar71xx/image/mikrotik.mk | 5 | ||||
-rw-r--r-- | target/linux/ar71xx/mikrotik/config-default | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 9cf2049..e0ba5d3 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -607,6 +607,8 @@ platform_pre_upgrade() { local board=$(ar71xx_board_name) case "$board" in + rb-941-2nd) + ;; rb*|\ c-60|\ nbg6716|\ diff --git a/target/linux/ar71xx/image/mikrotik.mk b/target/linux/ar71xx/image/mikrotik.mk index ff14f90..7a3a9ce 100644 --- a/target/linux/ar71xx/image/mikrotik.mk +++ b/target/linux/ar71xx/image/mikrotik.mk @@ -22,7 +22,6 @@ endef TARGET_DEVICES += nand-64m nand-large define Device/rb-nor-flash-16M - DEVICE_PROFILE := Default BLOCKSIZE := 64k IMAGE_SIZE := 16000k LOADER_TYPE := elf @@ -35,7 +34,9 @@ endef define Device/rb-941-2nd $(Device/rb-nor-flash-16M) + DEVICE_TITLE := hAP lite + DEVICE_PACKAGES:= rbcfg BOARDNAME:= rb-941-2nd endef -TARGET_DEVICES += rb-941-2nd +TARGET_DEVICES += rb-nor-flash-16M rb-941-2nd diff --git a/target/linux/ar71xx/mikrotik/config-default b/target/linux/ar71xx/mikrotik/config-default index 5fc9877..44ea327 100644 --- a/target/linux/ar71xx/mikrotik/config-default +++ b/target/linux/ar71xx/mikrotik/config-default @@ -197,7 +197,6 @@ CONFIG_CRC16=y CONFIG_CRYPTO_DEFLATE=y CONFIG_GPIO_74X164=y CONFIG_GPIO_LATCH=y -# CONFIG_JFFS2_FS is not set CONFIG_LEDS_RB750=y CONFIG_LZO_DECOMPRESS=y # CONFIG_MTD_CFI is not set @@ -213,7 +212,6 @@ CONFIG_MTD_NAND_RB4XX=y CONFIG_MTD_NAND_RB750=y CONFIG_MTD_NAND_RB91X=y # CONFIG_MTD_REDBOOT_PARTS is not set -CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y # CONFIG_MTD_TPLINK_PARTS is not set CONFIG_MTD_UBI=y CONFIG_MTD_UBI_BEB_LIMIT=20 |