Home
entries friends calendar user info My LJ Previous Previous Next Next
Michael V. Pudeev - GPL Source Code for DSL-2640

Advertisement

pudeev
[info]pudeev
Add to Memories
Tell a Friend
GPL Source Code for DSL-2640
D-Link DSL-2640U Hardware version: B2
GPL Source Code for firmware version RU_V3.06
http://ftp.dlink.ru/pub/ADSL/GPL_source_code/RU_DSL-2640U/RU_DSL-2640U_3-06-04-3C_GPL.tar.gz

D-Link DSL-2640U Hardware version: D1
GPL Source Code for firmware version RU_1.10
http://tsd.dlink.com.tw/temp/download/3074/DLink_DSL-2640U_RU_1.10_GPL.tar.gz

D-Link DSL-2640B Hardware version: B2
GPL Source Code for firmware V3.07
http://tsd.dlink.com.tw/temp/download/3069/EU_DSL-2640B_EU_3.07_3-06-06-4A_GPL.tar.gz

D-Link DSL-2640B Hardware version: B2
GPL Source Code for firmware V3.06
http://tsd.dlink.com.tw/temp/download/2891/EU_DSL-2640B_3-06-06-46_GPL.tar.gz

ну, и до кучи, ссылка на эмулятор интерфейса устройств D-Link:
http://www.support.dlink.com/faq/view.asp?prod_id=1457

Tags: , , , , , , , , ,

Comments
lisnenko From: [info]lisnenko Date: September 17th, 2008 03:38 pm (UTC) (Link)
Михаил, а в чем разница между этими аппаратными ревизиями?

Как определить какая стоит у меня?

Какая лучше, в чем конкретно?
pudeev From: [info]pudeev Date: September 20th, 2008 05:30 pm (UTC) (Link)
1. Незнаю.
По исходникам видно что CPU тот же самый, а Board ID = A96348GW. У меня H/W version: "B2", Board ID = D-4P-W.

Вот инфа из GPL RU_1.10 для D-Link DSL-2640U Hardware version: D1

MODEL=DSL-2640U
VERSION=RU_1.10
BCM_VERSION=3.10L.01.
Revision=4553
FSSTAMP=20080805203248
BRCM_VERSION=3
BRCM_RELEASE=10
BRCM_EXTRAVERSION=01
BRCM_BOARD_ID="A96348GW"
BRCM_CHIP=6348

2. По шильдику на днище корпуса модема или смотри стикер на коробке, печатной плате:
http://pudeev.livejournal.com/26318.html

3. Первый абзац пункта 1.


А у тебя какая H/W version?
lisnenko From: [info]lisnenko Date: September 21st, 2008 08:32 am (UTC) (Link)
B2
From: (Anonymous) Date: September 22nd, 2008 04:45 pm (UTC) (Link)

ЛАВРИК

ммиша а ты дорабатывал скрипт сборки прежде чем компилировал прошивку?.
а то у меня ошибку выдает и не компилирует, использую fedore core 9.
естевственно из под root.
что то там пишет про static декларации.
pudeev From: [info]pudeev Date: September 23rd, 2008 05:20 pm (UTC) (Link)

Fedora Core 9 и RU_DSL-2640U_3-06-04-3C_GPL

Да, на FC 9 при запуске скрипта выходит ошибка:
scripts/kconfig/mconf.c:91: error: static declaration of 'current_menu' follows non-static declaration
scripts/kconfig/lkc.h:63: error: previous declaration of 'current_menu' was here


Как вариант, использовать компилятор GCC 3.xx вместо 4.xx

1. OS Fedora Core 9 и компилятор GCC 4.3
[root@localhost /]# uname -ro
2.6.26.3-29.fc9.i686 GNU/Linux
[root@localhost /]# gcc -dump version
4.3.0

2. Скачиваем и устанавливаем пакеты для gcc32 из дистрибутива Fedora Core 5:
compat-libstdc33: Compatibility standard C libraries
compat-gcc-32: The compatibility GNU Compiler Collection
compat-gcc-32-c++: C++ support for compatibility compiler

[root@localhost Download]# wget http://ftp.unixcenter.ru/Fedora/linux/core/5/i386/os/Fedora/RPMS/compat-libstdc++-33-3.2.3-55.fc5.i386.rpm

[root@localhost Download]# wget http://ftp.unixcenter.ru/Fedora/linux/core/5/i386/os/Fedora/RPMS/compat-gcc-32-3.2.3-55.fc5.i386.rpm

[root@localhost Download]# wget http://ftp.unixcenter.ru/Fedora/linux/core/5/i386/os/Fedora/RPMS/compat-gcc-32-c++-3.2.3-55.fc5.i386.rpm

[root@localhost Download]# rpm -Uph compat-gcc-32-3.2.3-55.fc5.i386.rpm compat-libstdc++-33-3.2.3-55.fc5.i386.rpm compat-gcc-32-c++-3.2.3-55.fc5.i386.rpm
########################################### [100%]
        package compat-libstdc++-33-3.2.3-55.fc5.i386 is already installed
        package compat-gcc-32-3.2.3-55.fc5.i386 is already installed
        package compat-gcc-32-c++-3.2.3-55.fc5.i386 is already installed

[root@localhost Download]# gcc32 -dumpversion
3.2.3

3. Переименуем gcc и создаем символьную ссылку на gcc32:
[root@localhost /]# cd /usr/bin
[root@localhost bin]# mv gcc gcc43
[root@localhost GPL_2640U_B]# ln -sf gcc32 gcc


Удачи!
From: (Anonymous) Date: December 10th, 2008 04:57 am (UTC) (Link)

Re: Fedora Core 9 и RU_DSL-2640U_3-06-04-3C_GPL

scripts/kconfig/mconf.c:91: error: static declaration of 'current_menu' follows non-static declaration

Я просто закомментировал эту строку в kernel/linux/scripts/kconfig/mconf.c - поехало собираться. По идее, оно всё равно gcc для mips собирает.

Застряло на нехватке libstdc++.so.5
From: (Anonymous) Date: December 10th, 2008 05:07 am (UTC) (Link)

Re: Fedora Core 9 и RU_DSL-2640U_3-06-04-3C_GPL

yum search compat|grep stdc
и далее поставить чего-там-оно написало:
yum install compat-libstdc++-33
т.е. смысла тащить старый gcc нету.

А у меня проблема - ppp сессия обрывается (провайдером) и не рестартится - ни автоматом, ни через веб-морду. Только ребут или питание подёргать.
Не знаю, правда, это на всех прошивках так, или только на "последней" с dlink.ru (2640U/hw. rev B2)
(no subject) - [info]outfitkarst
From: (Anonymous) Date: October 24th, 2008 07:01 pm (UTC) (Link)

Хорошие новости... OpenWrt на модемах с чипом Broadcom BCM63xx ... жд

New Broadcom BCM63xx codebase with GPL'd Ethernet and USB support

Changeset https://dev.openwrt.org/changeset/13001 introduces a new Broadcom BCM63xx SoC codebase which supports the following parts :

- new core support (arch/mips/bcm63xx)
- integrated ethernet MAC
- integrated ethernet PHY
- OHCI and EHCI USB host controllers
- BCM6348 and BCM6358 board support

This work was done by Maxime Bizon from Freebox SA for whom I would like to give huge thanks for his high quality and valuable work
as well as this great contribution.

Prior to this codebase, we were sticking with some old and hardly maintainable BCM63xx codebase.
I encourage the OpenWrt community to test this codebase and report any problems you meet using Trac at https://dev.openwrt.org.

Future work will focus on :

- adding support for BCM6338, BCM6345, BCM6368 and BCM6816 using the existing infrastructure
- merging watchdog and master SPI drivers


Broadcom 63xx SOCs support in linux-mips and OpenWrt
Last sunday, Maxime Bizon has submitted a series of patches to the linux-mips mailing list, adding support for Broadcom 63xx SOCs. Shortly after, these patches have been added to OpenWrt by Florian Fainelli.

This is definitely great news, because the old BCM63xx codebase was old and hardly maintainable, whereas the new one includes GPL'd Ethernet and USB support.

What is even better is that Freebox SA (Maxime's employer) and Broadcom have agreed to let Maxime publish his patches (under GPL).

Here is what these 12 patches support:
- new core support (arch/mips/bcm63xx)
- integrated ethernet MAC
- integrated ethernet PHY
- OHCI and EHCI USB host controllers
- BCM6348 and BCM6358 board support

Routers based on 6348 or 6358 SOCs include:
- 3Com 3CRWDR200A-75
- Asus AM200g / AM604 / AM604G / WL600G
- Belkin F5D7633-4B / F5D9630-1/2/3/5
- Comtrend CT536/1+ / CT638/1
- D-Link DSL2640B / DSL2740B / DSL2741B
- Davolink DV201AMR
- Dynalink RTA1046VW
- Hitachi AH4021 / AH4222
- Huawei HG520 / HG550
- Linksys WAG54GS / WAG54GX2 / WAG300N / WAG325N
- Netgear DG834G / DG834GT / DG834N / DG834PN
- T-Com Speedport 500V / W500V
- Thomson ST585 / ST780
- USRobotics USR9107 / USR9108 / USR9113 / USR9114
- Zhone 6218 / 6228 / 6238

There are also numerous european ISP using DSL router / gateways based on these Broadcom SOCs:
- BT Voyager 2091/2100/2110 (BT [UK ISP], hacking)
- Neufbox 4 (SFR [FR ISP], hacking)
- Freebox v4 (Free [FR ISP], hacking)
- Livebox (Orange [FR ISP], hacking)
- Speedport (Deutsche Telekom [DE ISP], hacking)
- W-Gate (Alice [IT ISP], hacking)

Future work will focus on:
- adding support for BCM6338, BCM6345, BCM6368 and BCM6816 using the existing infrastructure
- merging watchdog and master SPI drivers

Now's time to free your router. Happy hacking!

http://www.dd-wrt.com/phpBB2/viewtopic.php?t=39698

9 comments or Leave a comment
profile
pudeev
User: [info]pudeev
Name: pudeev
Website: My LJ
calendar
Back May 2009
12
3456789
10111213141516
17181920212223
24252627282930
31
page summary
tags

Advertisement

Customize