I've got one of these routers and it seems to work fine with openwrt. I gather the info from this forum and the internet.
This is what I did:
- get a new CFE bootloader
e.g. use danitool's CFE or build your own from source e.g. danitool's source
- flash the new CFE
I used SPIPGM (http://rayer.g6.cz/programm/programe.htm) with a parallel cable as in https://www.ilpuntotecnicoeadsl.com/for … ic=74457.0
- build openwrt:
I used Chaos Calmer 15.05-rc3 adding these patches:
https://patchwork.ozlabs.org/project/op … mp;state=*
to fix this error
CC arch/mips/bcm63xx/boards/board_bcm963xx.o
arch/mips/bcm63xx/boards/board_bcm963xx.c:2413:2: error: invalid
operands to binary & (have 'struct board_info *' and 'struct
board_info')
&board_96338gw,
^
scripts/Makefile.build:257: recipe for target
'arch/mips/bcm63xx/boards/board_bcm963xx.o' failed
make[7]: *** [arch/mips/bcm63xx/boards/board_bcm963xx.o] Error 1
you just need to add a missing comma in patch 2/3:
++ &board_TG582N
change by
++ &board_TG582N,
and to fix the CRC error after flashing the image, you would need to use the same name as in the patch:
+ "THOMSON TG582N")
+ board_name="tg582n"
+ ;;
should be
+ "TG582N")
+ board_name="tg582n"
+ ;;
As this router is similar to A4001N1, to get the switch configuration right, you would also need to add the board to 02_network script:
--- a/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network 2015-08-20 13:19:50.175817024 +0200
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network 2015-08-20 19:28:07.007030133 +0200
@@ -94,6 +94,7 @@
fast2704v2 |\
hg655b |\
p870hw-51a_v2 |\
+tg582n |\
vr-3025un |\
vr-3025u)
ucidef_set_interface_lan "eth0.1"
I didn't test the leds but it should be similar to A4001N1 router.
- Then flash the image as in other broacom routers and voila.
The pacthes might be included in openwrt (after polishing a bit ...) I hope this helps.