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:
to fix this error
arch/mips/bcm63xx/boards/board_bcm963xx.c:2413:2: error: invalid
operands to binary & (have 'struct board_info *' and 'struct
scripts/Makefile.build:257: recipe for target
make: *** [arch/mips/bcm63xx/boards/board_bcm963xx.o] Error 1
you just need to add a missing comma in patch 2/3:
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" + ;;
+ "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.