:!: If you're using a version older than 1.2.102 then first download ftp://​ftp.dlink.ru/​pub/​Router/​DIR-620/​Firmware/​RevA/​Old/​DIR_620-1.2.102-20110518.fwz or ftp://​ftp.dlink.ru/​pub/​Router/​DIR-620/​Firmware/​RevA/​Old/​DIR_620-1.2.16-20110127.fwz (only for 1.2.1) and upgrade to that, after that the OEM firmware web-interface will start to accept the U-Boot images targetted for ''​DIR_620''​

-

You need to select target ''​Ralink RT288x/RT3xxx''​ and subtarget ''​RT305x based boards''​. This will generate ''​openwrt-ramips-rt305x-dir-620-a1-squashfs-sysupgrade.bin''​ that can be either flashed via TFTP (you need serial access to control U-Boot for that) or via the OEM firmware web-interface (if you're using a version older than 1.2.102 then first download ftp://​ftp.dlink.ru/​pub/​Router/​DIR-620/​Firmware/​RevA/​Old/​DIR_620-1.2.102-20110518.fwz or ftp://​ftp.dlink.ru/​pub/​Router/​DIR-620/​Firmware/​RevA/​Old/​only_for_FW_1.2.1_DIR_620-1.2.16-20110127.fwz (only for 1.2.1) and upgrade to that, after that the OEM firmware web-interface will start to accept the U-Boot images targetted for ''​DIR_620''​).

Flash it via the OEM firmware web-interface or via TFTP (you need serial access to control U-Boot for that).

+

+

:!: A1 have no recovery web interface, you can flash zyxel keenetic uboot to get it

+

+

If you wanna build OpenWRT from sources: in ''​make menuconfig''​ You need to select target ''​Ralink RT288x/​RT3xxx''​ and subtarget ''​RT305x based boards''​. Do not select target profile (or select "​Default Profile"​). This will generate ''​openwrt-ramips-rt305x-dir-620-a1-squashfs-sysupgrade.bin''​ that can be either ​

If you ever want to flash the original firmware, just scp it to /tmp and then run ''​mtd -r write /​tmp/​DIR_620-1.2.102-20110518.bin firmware''​

If you ever want to flash the original firmware, just scp it to /tmp and then run ''​mtd -r write /​tmp/​DIR_620-1.2.102-20110518.bin firmware''​

If you wanna build OpenWRT from sources: in ''​make menuconfig''​ You need to select target ''​Ralink RT288x/​RT3xxx''​ and subtarget ''​RT305x based boards''​. Do not select target profile (or select "​Default Profile"​). Is is need to select "​ramdisk"​ and "​squashfs"​ in "​target images"​. This produced ''​openwrt-ramips-rt305x-dir-620-d1-initramfs-uImage.bin''​ and ''​openwrt-ramips-rt305x-dir-620-d1-squashfs-sysupgrade.bin''​.

Be careful with the patch above. I accidentally downloaded and applied it with dos line endings, and that resulted in kernel panic:

Be careful with the patch above. I accidentally downloaded and applied it with dos line endings, and that resulted in kernel panic:

In the some old versions wifi was broken(i suppose from rev ~37150)[[https://​dev.openwrt.org/​ticket/​13867|Ticket 13867]]. To restore it, just remove line <​code>​rt2x00_rt(rt2x00dev,​ RT3352) ||</​code>​ immediately after function <​code>​rt2800_init_eeprom</​code>​ in file <​code>​build_dir/​target-mipsel_dsp_uClibc-0.9.33.2/​linux-ramips_rt305x/​compat-wireless-2013-06-27/​drivers/​net/​wireless/​rt2x00/​rt2800lib.c</​code>​(it creates after first compilation).

+

+

In last versions (r39903 for example) **Wi-Fi works fine**.

+

*/

To debrick, hold button for while connecting power. Release button after ~30 sc, http firmware loader should be available at 192.168.0.1

To debrick, hold button for while connecting power. Release button after ~30 sc, http firmware loader should be available at 192.168.0.1

Please check out the article [[doc:​techref:​Flash Layout]]. It contains an example and a couple of explanations.

Please check out the article [[doc:​techref:​Flash Layout]]. It contains an example and a couple of explanations.

+

+

^ Address range ^ Partition ^

+

|0x00000000-0x00030000 |Bootloader |

+

|0x00030000-0x00040000 |Config |

+

|0x00040000-0x00050000 |Factory |

+

|0x00050000-0x00800000 |Firmware |

==== Upgrading OpenWrt ====

==== Upgrading OpenWrt ====

Line 65:

Line 237:

==== Led config ====

==== Led config ====

-> [[doc:​uci:​system#​leds]]

-> [[doc:​uci:​system#​leds]]

-

Rev A1

+

===Rev A1===

Please note that the "​WAN"​ led will be inactive unless there'​s a link on the "​WAN"​ port present, that's a hardware limitation.

Please note that the "​WAN"​ led will be inactive unless there'​s a link on the "​WAN"​ port present, that's a hardware limitation.

-

Rev D1

+

===Rev D1===

-

Last vendor firmware v1.3.10 help to find wifi LED gpio17 (need JTAG to GPIO mode switch). So [[http://​pastebin.com/​yhhiGxaD|this patch]] add full support for OpenWrt Attitude Adjustment. And [[http://​pastebin.com/​HgWkmzBy|new patch]] (new version of [[http://​pastebin.com/​yntTTCSU|patch]] with corrected flash size) for current trunk (devicetree file included)

+

Full support in barrier breaker.

+

/*Looks like it have full support

+

Last vendor firmware v1.3.10 help to find wifi LED gpio17 (need JTAG to GPIO mode switch). So [[http://​pastebin.com/​yhhiGxaD|this patch]] add full support for OpenWrt Attitude Adjustment. And [[http://​pastebin.com/​HgWkmzBy|new patch]] (new version of [[http://​pastebin.com/​yntTTCSU|patch]] with corrected flash size) for current trunk (devicetree file included).

Many reports suggest that the SoC is overheating and some devices require BGA reballing after extensive use. The chip can need to dissipate up to 2.3W and thus installing a heatsink is highly recommended (or you might severely damage your device).

Many reports suggest that the SoC is overheating and some devices require BGA reballing after extensive use. The chip can need to dissipate up to 2.3W and thus installing a heatsink is highly recommended (or you might severely damage your device).