mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
28110727f1
Set the blocksize for devices having only 4MB of flash for ramips devices already using the new image build code. Informations about the used flash chip are gathered from the OpenWrt wiki, wikidevi, forums, OEM bootlogs or the compatible property in the device tree source file. The en25q32b from the AirLive Air3GII does not have 4k support in the kernel. For the following boards no information about the used flash chip could be found and a 64k blocksize is assumed: - Ralink V11ST-FE - Ralink AP-RT3052-V22RW-2X2 - MediaTek MT7628 EVB - MediaTek MT7621 EVB - UPVEL UR-326N4G - Buffalo WZR-AGL300NH Signed-off-by: Mathias Kresin <dev@kresin.me>
42 lines
1006 B
Makefile
42 lines
1006 B
Makefile
#
|
|
# MT7628 Profiles
|
|
#
|
|
|
|
define Device/mt7628
|
|
DTS := MT7628
|
|
BLOCKSIZE := 64k
|
|
IMAGE_SIZE := $(ralink_default_fw_size_4M)
|
|
DEVICE_TITLE := MediaTek MT7628 EVB
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev
|
|
endef
|
|
TARGET_DEVICES += mt7628
|
|
|
|
define Device/miwifi-nano
|
|
DTS := MIWIFI-NANO
|
|
IMAGE_SIZE := $(ralink_default_fw_size_16M)
|
|
DEVICE_TITLE := Xiaomi MiWiFi Nano
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev
|
|
endef
|
|
TARGET_DEVICES += miwifi-nano
|
|
|
|
define Device/wrtnode2p
|
|
DTS := WRTNODE2P
|
|
IMAGE_SIZE := $(ralink_default_fw_size_16M)
|
|
DEVICE_TITLE := WRTnode 2P
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev
|
|
endef
|
|
TARGET_DEVICES += wrtnode2p
|
|
|
|
define Device/duzun-dm06
|
|
DTS := DUZUN-DM06
|
|
DEVICE_TITLE := DuZun DM06
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev
|
|
endef
|
|
TARGET_DEVICES += duzun-dm06
|
|
|
|
define Device/mac1200r-v2
|
|
DTS := MAC1200RV2
|
|
DEVICE_TITLE := Mercury MAC1200R v2.0
|
|
endef
|
|
TARGET_DEVICES += mac1200r-v2
|