OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by b - 07.11.2020

FS#3437 - WiTi Board flash size

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

Project Manager
Adrian Schmutzler commented on 10.11.2020 12:36

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.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing