Skip to content

ipq40xx: add support for Meraki MR74 - #10053

Closed
clayface wants to merge 1 commit into
openwrt:masterfrom
clayface:mr74
Closed

clayface wants to merge 1 commit into
openwrt:masterfrom
clayface:mr74

Conversation

@clayface

Copy link
Copy Markdown
Contributor

The Meraki MR74 is part of the "Insect" series. This device is
essentially an outdoor variant of the MR33 with identical hardware, but
requiring a config@3 DTS option to be set to allow booting with the
stock u-boot.

The install procedure is replicated from the MR33, with the exception
being that the MR74 sysupgrade image must be used.

tagging @chunkeey @riptidewave93 - Please can you let me know if there something you don't like.

Signed-off-by: Matthew Hagan [email protected]

@PolynomialDivision

Copy link
Copy Markdown
Member

Please also add dsa conversion:
#4721

@Ansuel Ansuel added target/ipq40xx pull request/issue for ipq40xx target new device pull request with new device labels Jun 15, 2022
@clayface

Copy link
Copy Markdown
Contributor Author

Please also add dsa conversion:

The conversion has already been done in #4721 since this device reuses the MR33's device tree (renamed here to qcom-ipq4029-insect-common.dtsi).

@chunkeey

Copy link
Copy Markdown
Member

yes, this checks out. From what I can tell the MR33 and MR74 (even though one has external antennae and the other not) share the same boardfiles in the meraki firmware.

44e8e733d5fc9bd747520d492c776a6fa4cd7effed69098aeb6f9d437785ebad  IPQ4019/hw.1/mr33/boardData_1_0_IPQ4019_DK04_2G.bin
e816565130fae895cfa0c1760cfb47703f1bc5f24ce87922f86e94d4e2b6ccd2  IPQ4019/hw.1/mr33/boardData_1_0_IPQ4019_DK04_5G.bin
44e8e733d5fc9bd747520d492c776a6fa4cd7effed69098aeb6f9d437785ebad  IPQ4019/hw.1/mr74/boardData_1_0_IPQ4019_DK04_2G.bin
e816565130fae895cfa0c1760cfb47703f1bc5f24ce87922f86e94d4e2b6ccd2  IPQ4019/hw.1/mr74/boardData_1_0_IPQ4019_DK04_5G.bin

Note: From what I know OpenWrt has gained the ability to ship two configurations in one fit thanks to @dangowrt work in 2021:
6890f6f and b40f707 as an example of how it's done. Technically we could roll this into one big image for both the MR33 and MR74.

@clayface

Copy link
Copy Markdown
Contributor Author

Technically we could roll this into one big image for both the MR33 and MR74.

@chunkeey In this case isn't it that the dts is the same (apart from device name) but the DEVICE_DTS_CONFIG option is different? To achieve this wouldn't we need to be able to associate multiple device trees with multiple DEVICE_DTS_CONFIG options?

@chunkeey

Copy link
Copy Markdown
Member

@chunkeey In this case isn't it that the dts is the same (apart from device name) but the DEVICE_DTS_CONFIG option is different? To achieve this wouldn't we need to be able to associate multiple device trees with multiple DEVICE_DTS_CONFIG options?

Oh, true. OpenWrt's current implementation is not suited for this. The mkits.sh script takes the name of device-tree file and appends it to the configuration name.

This is what the banana-pi fit image looks like with three different configurations:

 Configuration 0 (config-1)
  Description:  OpenWrt bananapi_bpi-r64
  Kernel:       kernel-1
  FDT:          fdt-1
  Loadables:    rootfs-1
 Configuration 1 (config-mt7622-bananapi-bpi-r64-pcie1)
  Description:  OpenWrt bananapi_bpi-r64 with mt7622-bananapi-bpi-r64-pcie1
  Kernel:       kernel-1
  FDT:          fdt-1
                fdt-mt7622-bananapi-bpi-r64-pcie1
  Loadables:    rootfs-1
 Configuration 2 (config-mt7622-bananapi-bpi-r64-sata)
  Description:  OpenWrt bananapi_bpi-r64 with mt7622-bananapi-bpi-r64-sata
  Kernel:       kernel-1
  FDT:          fdt-1
                fdt-mt7622-bananapi-bpi-r64-sata
  Loadables:    rootfs-1

(Another hurdle is that >-< vs >@<. Though this could be a simple one-liner.)

The Meraki MR74 is part of the "Insect" series. This device is
essentially an outdoor variant of the MR33 with identical hardware, but
requiring a config@3 DTS option to be set to allow booting with the
stock u-boot.

The install procedure is replicated from the MR33, with the exception
being that the MR74 sysupgrade image must be used.

Signed-off-by: Matthew Hagan <[email protected]>
@chunkeey

Copy link
Copy Markdown
Member

Merged. Thanks!

@chunkeey chunkeey closed this Jun 19, 2022
fengmushu pushed a commit to fengmushu/openwrt that referenced this pull request Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new device pull request with new device target/ipq40xx pull request/issue for ipq40xx target

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants