Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
playground:richb:playground [2021/07/17 21:13] – created richb-hanoverplayground:richb:playground [2022/09/08 11:25] richb-hanover
Line 1: Line 1:
 +====== Looking for a "variable" facility ======
  
-<tabbox Hardware Highlights> +The sample tabbox below has a parameter ("Model=wrt3200acm") that occurs multiple times(Check the source.)
----- datatable ---- +
-cols    : Versions, Platform, CPU MHz, Flash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4Ghz, WLAN 5.0Ghz, Ethernet Gbit ports_, USB ports_ +
-header  : Version, SoC, CPU MHz, Flash MB, RAM MB, WLAN Hardware, WLAN2.4, WLAN5.0, Gbit ports, USB +
-align   : c,l,c,c,c,l,c,c,c,c,c,+
-filter  : Brand=Netgear +
-filter  : Model=WNDR3700 +
-----+
  
----- datalist ---- +I would like to "parameterize" it, so that I could declare something like ''MODEL="wrt3200acm"'' (to use bash syntax) and then use ''filter : Model=$MODEL'' for each of the five copies. As a further step, I would place the entire %%<WRAP>%% in an %%{{include}}%% so that individual pages could say something like:
-cols    : Comments_ +
-align   : l +
-filter  : Model=WNDR3700 +
-----+
  
 +<code>
 +MODEL="wrt3200acm"
 +{{page>name-of-the-tabbox}}
 +</code>
  
-<tabbox OpenWrt Support> +Is there a "variable" facility in Dokuwiki that will provide this? Thanks.
-/* Special style definitions for the various Tables of Hardware           */ +
-{{page>meta:infobox:tohstyles&noheader&nofooter&noeditbtn&inline&indent&link}}+
  
  
-The Netgear WNDR3700 has multiple different versions as shown in this table. +---- 
 +===== Sample Tabbox =====
  
-^ Version ^ Notes ^ Links ^ 
-| v1 | Based on the [[doc:hardware:soc:soc.qualcomm.ar71xx|Atheros ar71xx platform]]. Also sold as WNDR37AV-100PES, WNDR3700-100PES  | | 
-| v2 | Based on the [[doc:hardware:soc:soc.qualcomm.ar71xx|Atheros ar71xx platform]]. Box side panel lists WNDR3700**v2**, also sold as WNDRMAC-100PES, WNDR3700-100PRS | 
-| v3 | Based on a [[doc:hardware:soc/soc.broadcom.bcm47xx|Broadcom SoC]]. | | 
-| v4 | Based on the Atheros platform like v1 and v2, NAND flash, same PCB as [[toh:netgear:WNDR4300]], but only 2T2R. May be labeled as WNDR3700-100PES on the packaging's side panel (like some v1 models). | [[https://forum.openwrt.org/viewtopic.php?id=41094&p=17|forum thread]] | 
-| v5 | Based on a [[doc:hardware:soc/soc.mediatek|MediaTek SoC]]. Supported as of [[http://git.openwrt.org/?p=openwrt.git;a=commit;h=0e44251720e73d93e5c6dca21d1b7798df98abbc|r49247]]. Radios not working reliably. This, too, may be labeled WNDR3700-100PES on the packaging. | [[https://forum.openwrt.org/viewtopic.php?id=56737|Forum thread]]. | 
-| WNDR37AV | Netgear has sold a number of WNDR3700v2 units in boxes marked WNDR37AV. The hardware is exactly identical to version 2 (even to the point of many users finding a router physically labeled "WNDR3700" or "WNDR3700v2" inside of a box labeled "WNDR37AV"). | [[http://www.netgear.com/home/products/networking/wifi-routers/wndr3700.aspx|OEM device page]], [[https://forum.openwrt.org/viewtopic.php?id=56737|forum thread]] | 
  
 +<WRAP>
 +<tabbox Hardware highlights>
 +---- datatable ----
 +cols    : Model, Versions, CPU, CPU MHz, Flash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4Ghz, WLAN 5.0Ghz, Ethernet 100M ports_, Ethernet Gbit ports_, Modem, USB ports_
 +header  : Model, Version,SoC,CPU MHz,Flash MB,RAM MB,WLAN Hardware,WLAN2.4,WLAN5.0,100M ports,Gbit ports,Modem,USB
 +align   : c,c,c,c,c,c,c,c,c,c,c,c
 +filter     : Model=wrt3200acm
 +----
 +---- datalist ----
 +cols    : Comments_, Comments network ports_, Comments USB SATA ports_, WLAN Comments_
 +align   : l
 +filter  : Model=wrt3200acm
 +----
  
 +<tabbox OpenWrt Support>
 +---- datatable ----
 +cols    : Model, Versions, Supported Current Rel, OEM device homepage URL_url, Forum Topic URL_url, Device Techdata_pageid
 +headers : Model, Version, Current Release, OEM Info, Forum Topic, Technical Data
 +align   : c,c,c,c,c,c,c,c
 +filter     : Model=wrt3200acm
 +----
  
 <tabbox Hardware details> <tabbox Hardware details>
- +---- datatemplatelist dttpllist ---- 
-^ Ver ^ CPU ^ Ram ^ Flash ^ Network ^ Wireless ^ USB ^ Serial ^ JTag ^ Wiki ^ FCC ^ +templatemeta:template_datatemplatelist 
-| v1 | Atheros AR7161 rev 2 680 MHz | 64MiB | 8MiB | 1 WAN + 4x LAN (GBit) | AR9220 [an 2x2:2] + AR9223 [bgn 2x2:2] | Yes | Yes | Yes | [[https://wikidevi.com/wiki/Netgear_WNDR3700v1|here]] | [[https://apps.fcc.gov/oetcf/eas/reports/ViewExhibitReport.cfm?mode=Exhibits&RequestTimeout=500&calledFromFrame=N&application_id=278475&fcc_id='PY308300092'|here]] | +cols    Brand, Model, Versions, Device Type, Availability, Comments_, Supported Since Commit_git Supported since Rel, Supported current Rel,  Instruction Set, Sub Instruction Set, Bootloader, CPU, Target, CPU MHz, Flash MBs, RAM MB, Switch, Ethernet 100M ports_, Ethernet Gbit ports_, Comments network ports_, Modem, VLAN, WLAN Hardwares, WLAN 2.4GHz, WLAN 5.0GHz, Detachable Antennas_, WLAN Comments_,  USB ports_, SATA ports_,  Serial, JTAG, Comments USB SATA ports_,LED count, Button count, Device Techdata_pageid, Forum topic URL_url, wikidevi URL_url, OEM Device Homepage URL_url, Firmware OEM Stock URL_url, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url 
-| v2 | Atheros AR7161 rev 2 680 MHz | 64MiB | 16MiB | 1 WAN + 4x LAN (GBit) | AR9220 [an 2x2:2] + AR9223 [bgn 2x2:2] | Yes | Yes | Yes | [[https://wikidevi.com/wiki/Netgear_WNDR3700v2|here]] | [[https://apps.fcc.gov/oetcf/eas/reports/ViewExhibitReport.cfm?mode=Exhibits&RequestTimeout=500&calledFromFrame=N&application_id=290558&fcc_id='PY308300092'|here]] | +filter     Model=wrt3200acm 
-| v3 | Broadcom BCM4718A1 480 MHz| 64MiB | 8MiB | 1 WAN + 4x LAN (GBit) | BCM4331 [an 2x2:2] + BCM4718A1 [bgn 2x2:2] | Yes | ? | ? | [[https://wikidevi.com/wiki/Netgear_WNDR3700v3|here]] | [[https://apps.fcc.gov/oetcf/eas/reports/ViewExhibitReport.cfm?mode=Exhibits&RequestTimeout=500&calledFromFrame=N&application_id=651807&fcc_id='PY311200166'|here]] | +----
-| v4 | Atheros AR9344 560MHz | 128MiB | 128MiB NAND | 1 WAN + 4x LAN (GBit) | AR9582 [an 2x2:2] + AR9344 [bgn 2x2:2] | Yes | Yes | Yes | [[https://wikidevi.com/wiki/Netgear_WNDR3700v4|here]] | [[https://apps.fcc.gov/oetcf/eas/reports/ViewExhibitReport.cfm?mode=Exhibits&RequestTimeout=500&calledFromFrame=N&application_id=847398&fcc_id='PY312100186'|here]] | +
-| v5 | MediaTek MT7621ST 880 MHz | 128MiB | 16MiB | 1 WAN + 4x LAN (GBit) | MT7612EN [an 2x2:2] + MT7603EN [bgn 2x2:2] | Yes | Yes | ? | [[https://wikidevi.com/wiki/Netgear_WNDR3700v5|here]] | [[https://fcc.io/PY3/14200274|here]] | +
- +
  
 <tabbox Firmware downloads> <tabbox Firmware downloads>
-^ Version ^ Flash from non-OpenWrt firmware ^ Upgrade from existing OpenWrt firmware ^ +---- datatable ---- 
-| v1 (North America) | [[https://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/openwrt-15.05.1-ar71xx-generic-wndr3700-squashfs-factory-NA.img|15.05.1 Factory image]] | [[https://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/openwrt-15.05.1-ar71xx-generic-wndr3700-squashfs-sysupgrade.bin|15.05.1 Upgrade image]] | +cols       Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Device Techdata_pageid 
-| v1 (rest of the world) | [[https://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/openwrt-15.05.1-ar71xx-generic-wndr3700-squashfs-factory.img|15.05.1 Factory image]] | [[https://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/openwrt-15.05.1-ar71xx-generic-wndr3700-squashfs-sysupgrade.bin|15.05.1 Upgrade image]] | +headers    Model, Versions, Current Release, OpenWrt Install URL, OpenWrt Upgrade URL, Device Techdata 
-| v2 | [[https://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/openwrt-15.05.1-ar71xx-generic-wndr3700v2-squashfs-factory.img|15.05.1 Factory image]] | [[https://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/openwrt-15.05.1-ar71xx-generic-wndr3700v2-squashfs-sysupgrade.bin|15.05.1 Upgrade image]] | +filter     Model=wrt3200acm 
-| v3 | [[https://downloads.openwrt.org/chaos_calmer/15.05.1/brcm47xx/mips74k/openwrt-15.05.1-brcm47xx-mips74k-netgear-wndr3700-v3-squashfs.chk|15.05.1 Factory image]] | Use factory image and backup settings. | +----
-| v4 | [[https://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/nand/openwrt-15.05.1-ar71xx-nand-wndr3700v4-ubi-factory.img|15.05.1 Factory image]] | [[https://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/nand/openwrt-15.05.1-ar71xx-nand-wndr3700v4-squashfs-sysupgrade.tar|15.05.1 Upgrade image]] | +
- +
-To create your own customized firmware, see [[doc:howtobuild:build.wndr3700|this page]]. +
- +
 </tabbox> </tabbox>
- +</WRAP>
  • Last modified: 2022/09/08 13:08
  • by richb-hanover