Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3437 - WiTi Board flash size #8307

Open
openwrt-bot opened this issue Nov 7, 2020 · 1 comment
Open

FS#3437 - WiTi Board flash size #8307

openwrt-bot opened this issue Nov 7, 2020 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

@openwrt-bot openwrt-bot commented Nov 7, 2020

rizla3066:

Supply the following if possible:

  • Device problem occurs on WiTi Board 512MB
  • Software versions of OpenWrt/LEDE release, packages, etc. All release versions
  • Steps to reproduce = None

Witi Board 512MB version has a flash size of 32mb, there maybe some 512mb versions with 16mb flash but the 2 i have are both 32mb spi flash. Can someone add this to source? At the moment i have to edit the .dtsi file and mt7621.mk file to reflect the correct image and flash size.

WITI.dtsi

from

partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xfb0000>;

to

partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x1fb0000>;

**mt7621.mk **

From

define Device/mqmaker_witi-512m
DTS := WITI-512M
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_TITLE := MQmaker WiTi (512MB RAM)
DEVICE_PACKAGES :=
kmod-ata-core kmod-ata-ahci kmod-mt76x2 kmod-sdhci-mt7620 kmod-usb3
kmod-usb-ledtrig-usbport wpad-basic
endef
TARGET_DEVICES += mqmaker_witi-512m

To

define Device/mqmaker_witi-512m
DTS := WITI-512M
IMAGE_SIZE := $(ralink_default_fw_size_32M)
DEVICE_TITLE := MQmaker WiTi (512MB RAM)
DEVICE_PACKAGES :=
kmod-ata-core kmod-ata-ahci kmod-mt76x2 kmod-sdhci-mt7620 kmod-usb3
kmod-usb-ledtrig-usbport wpad-basic
endef
TARGET_DEVICES += mqmaker_witi-512m

Thank you

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Nov 10, 2020

adrianschmutzler:

All evidence I found online was to the contrary, telling this device has 16 MiB flash. Apart from that, note that flashing an 16m image to a 32m device won't hurt, but vice-versa might brick your device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant