OpenWrt Forum Archive

Topic: install on d-link dsl-2760u

The content of this topic has been archived on 12 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi All, sorry for my english

now i am trying install openwrt-DSL2650U-squashfs-cfe.bin on my d-link dsl-2760u based on bcm6358. It is almost identical dsl-2650u.
But i receive kernel panic on boot router. Can anybody help me?

CFE version 1.0.37-102.9 for BCM96358 (32bit,SP,BE)                             
Build Date: Wed Jul 29 20:25:16 CST 2009 (kevin@BS5)                           
Copyright (C) 2000-2009 Broadcom Corporation.                                   
                                                                               
Parallel flash device: name AM29LV320MB, id 0x2200, size 8192KB                 
CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz                               
CPU running TP0                                                                 
Total memory: 33554432 bytes (32MB)                                             
Boot Address 0xbe000000                                                         
                                                                               
                                                                               
Board IP address                  : 192.168.1.1:ffffff00                       
Host IP address                   : 192.168.1.2                                 
Gateway IP address                :                                             
Run from flash/host (f/h)         : f                                           
Default host run file name        : vmlinux                                     
Default host flash file name      : bcm963xx_fs_kernel                         
Boot delay (0-9 seconds)          : 3                                           
Board Id (0-5)                    : 96358VW2                                   
Number of MAC Addresses (1-32)    : 11                                         
Base MAC Address                  : 02:10:18:xx:xx:xx                           
PSI Size (1-64) KBytes            : 24                                         
Main Thread Number [0|1]          : 0                                           
                                                                               
*** Press any key to stop auto run (3 seconds) ***                             
Auto run second count down: 0                                                   
Booting from only image (0xbe010000) ...                                       
Code Address: 0x80010000, Entry Address: 0x80010000                             
LZMA: Prossible old LZMA format, trying to decompress..                         
Decompression OK!                                                               
Entry at 0x80010000                                                             
Closing network.                                                               
Closing DMA Channels.                                                           
Starting program at 0x80010000                                                 
Linux version 2.6.32.27 (andru@kubuntu) (gcc version 4.3.3 (GCC) ) #8 Sat Jan 12
Detected Broadcom 0x6358 CPU revision a1                                       
CPU frequency is 300 MHz                                                       
32MB of RAM installed                                                           
registering 40 GPIOs                                                           
board_bcm963xx: CFE version: 1.0.37-102.9                                       
bootconsole [early0] enabled                                                   
CPU revision is: 0002a010 (Broadcom BCM6358)                                   
board_bcm963xx: board name: 96358VW2                                           
Determined physical RAM map:                                                   
memory: 02000000 @ 00000000 (usable)                                           
Initrd not found or empty - disabling initrd                                   
Zone PFN ranges:                                                               
  Normal   0x00000000 -> 0x00002000                                             
Movable zone start PFN for each node                                           
early_node_map[1] active PFN ranges                                             
    0: 0x00000000 -> 0x00002000                                                 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128       
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd con0
PID hash table entries: 128 (order: -3, 512 bytes)                             
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)                   
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)                     
Primary instruction cache 32kB, VIPT, 2-way, linesize 16 bytes.                 
Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes         
Memory: 29520k/32768k available (2142k kernel code, 3248k reserved, 459k data, )
Hierarchical RCU implementation.                                               
NR_IRQS:128                                                                     
Calibrating delay loop... 299.00 BogoMIPS (lpj=598016)                         
Mount-cache hash table entries: 512                                             
NET: Registered protocol family 16                                             
registering PCI controller with io_map_base unset                               
registering PCI controller with io_map_base unset                               
bio: create slab <bio-0> at 0                                                   
pci 0000:01:1e.0: CardBus bridge, secondary bus 0000:02                         
pci 0000:01:1e.0:   IO window: 0x8008000-0x80080ff                             
pci 0000:01:1e.0:   IO window: 0x8008400-0x80084ff                             
pci 0000:01:1e.0:   MEM window: 0x38000000-0x3fffffff                           
PCI: Enabling device 0000:01:1e.0 (0000 -> 0003)                               
Switching to clocksource MIPS                                                   
NET: Registered protocol family 2                                               
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)                 
TCP established hash table entries: 1024 (order: 1, 8192 bytes)                 
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)                       
TCP: Hash tables configured (established 1024 bind 1024)                       
TCP reno registered                                                             
NET: Registered protocol family 1                                               
audit: initializing netlink socket (disabled)                                   
type=2000 audit(0.221:1): initialized                                           
squashfs: version 4.0 (2009/01/31) Phillip Lougher                             
Registering mini_fo version $Id$                                               
JFFS2 version 2.2. (NAND) (SUMMARY)  ?© 2001-2006 Red Hat, Inc.                 
msgmni has been set to 57                                                       
io scheduler noop registered                                                   
io scheduler deadline registered (default)                                     
gpiodev: gpio device registered with major 254                                 
gpiodev: gpio platform device registered with access mask FFFFFFFF             
bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart           
console [ttyS0] enabled, bootconsole disabled                                   
console [ttyS0] enabled, bootconsole disabled                                   
bcm963xx_flash: 0x02000000 at 0x1e000000                                       
bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank                             
CFI mfr 0x00000001                                                             
CFI id  0x00001000                                                             
Amd/Fujitsu Extended Query Table at 0x0040                                     
  Amd/Fujitsu Extended Query version 1.3.                                       
Using buffer write method                                                       
number of CFI chips: 1                                                         
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.       
bcm963xx_flash: Read Signature value of                                         
bcm963xx_flash: assuming RedBoot bootloader                                     
bcm963xx_flash: Support for extended flash memory size : 0xf08 ; ONLY 64MBIT SUT
Searching for RedBoot partition table in bcm963xx at offset 0x7f0000           
CPU 0 Unable to handle kernel paging request at virtual address c0071000, epc =4
Oops[#1]:                                                                       
Cpu 0                                                                           
$ 0   : 00000000 10008400 c0061000 80235e30                                     
$ 4   : c0071000 4fc083ff 4fc18400 00000000                                     
$ 8   : c03f0000 00000000 00000000 802c9c5c                                     
$12   : 20526564 00000018 00000000 426f6f74                                     
$16   : 818ebb80 007f0000 80294fec 00010000                                     
$20   : 007f0000 00000000 00010000 818ebbc0                                     
$24   : 00000000 800256b4                                                       
$28   : 81814000 81815cb0 818ebb80 8017dfe4                                     
Hi    : 00000000                                                               
Lo    : 00000095                                                               
epc   : 80013fbc 0x80013fbc                                                     
    Not tainted                                                                 
ra    : 8017dfe4 0x8017dfe4                                                     
Status: 10008403    KERNEL EXL IE                                               
Cause : 0080000c                                                               
BadVA : c0071000                                                               
PrId  : 0002a010 (Broadcom BCM6358)                                             
Modules linked in:                                                             
Process swapper (pid: 1, threadinfo=81814000, task=81813938, tls=00000000)     
Stack : 802e0000 81815da0 007f0000 818e2a00 818ebbb8 00000000 007f0000 00000007
        802e0000 81815da0 80294740 818e2a00 00000000 00000000 00000000 8016d2e4
        81815d08 8026a400 007f0000 80002000 00010000 81815d14 c0061000 00000008
        00000000 00000000 00000008 80029994 80294fec fffffff4 c0061000 00000000
        10008401 818ebbc0 81815db0 00000007 802e0000 81815da0 80294740 00000000
        ...                                                                     
Call Trace:[<8016d2e4>] 0x8016d2e4                                             
[<80029994>] 0x80029994                                                         
[<8018447c>] 0x8018447c                                                         
[<80163258>] 0x80163258                                                         
...                                                                               
                                                                               
Code: 24c5ffff  10c0ffec  00000000 <a0800000> 24840001  14a0fffd  24a5ffff  03e
Disabling lock debugging due to kernel taint                                   
Kernel panic - not syncing: Attempted to kill init!

(Last edited by dru on 14 Jan 2012, 17:19)

ok now i'm running openwrt on my dsl-2760u with a little changing of kernel;)

CFE version 1.0.37-102.9 for BCM96358 (32bit,SP,BE)                             
Build Date: Wed Jul 29 20:25:16 CST 2009 (kevin@BS5)                           
Copyright (C) 2000-2009 Broadcom Corporation.                                   
                                                                               
Parallel flash device: name AM29LV320MB, id 0x2200, size 8192KB                 
CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz                               
CPU running TP0                                                                 
Total memory: 33554432 bytes (32MB)                                             
Boot Address 0xbe000000                                                         
                                                                               
                                                                               
Board IP address                  : 192.168.1.1:ffffff00                       
Host IP address                   : 192.168.1.2                                 
Gateway IP address                :                                             
Run from flash/host (f/h)         : f                                           
Default host run file name        : vmlinux                                     
Default host flash file name      : bcm963xx_fs_kernel                         
Boot delay (0-9 seconds)          : 3                                           
Board Id (0-5)                    : 96358VW2                                   
Number of MAC Addresses (1-32)    : 11                                         
Base MAC Address                  : 02:10:18:01:00:01                           
PSI Size (1-64) KBytes            : 24                                         
Main Thread Number [0|1]          : 0                                           
                                                                               
*** Press any key to stop auto run (3 seconds) ***                             
Auto run second count down: 0                                                   
Booting from only image (0xbe010000) ...                                       
Code Address: 0x80010000, Entry Address: 0x80010000                             
LZMA: Prossible old LZMA format, trying to decompress..                         
Decompression OK!                                                               
Entry at 0x80010000                                                             
Closing network.                                                               
Closing DMA Channels.                                                           
Starting program at 0x80010000                                                 
Linux version 2.6.32.27 (andru@kubuntu) (gcc version 4.3.3 (GCC) ) #2 Mon Jan 12
Detected Broadcom 0x6358 CPU revision a1                                       
CPU frequency is 300 MHz                                                       
32MB of RAM installed                                                           
registering 40 GPIOs                                                           
board_bcm963xx: CFE version: 1.0.37-102.9                                       
bootconsole [early0] enabled                                                   
CPU revision is: 0002a010 (Broadcom BCM6358)                                   
board_bcm963xx: board name: 96358VW2                                           
Determined physical RAM map:                                                   
memory: 02000000 @ 00000000 (usable)                                           
Initrd not found or empty - disabling initrd                                   
Zone PFN ranges:                                                               
  Normal   0x00000000 -> 0x00002000                                             
Movable zone start PFN for each node                                           
early_node_map[1] active PFN ranges                                             
    0: 0x00000000 -> 0x00002000                                                 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128       
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd con0
PID hash table entries: 128 (order: -3, 512 bytes)                             
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)                   
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)                     
Primary instruction cache 32kB, VIPT, 2-way, linesize 16 bytes.                 
Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes         
Memory: 29528k/32768k available (2140k kernel code, 3240k reserved, 453k data, )
Hierarchical RCU implementation.                                               
NR_IRQS:128                                                                     
Calibrating delay loop... 299.00 BogoMIPS (lpj=598016)                         
Mount-cache hash table entries: 512                                             
NET: Registered protocol family 16                                             
registering PCI controller with io_map_base unset                               
registering PCI controller with io_map_base unset                               
bio: create slab <bio-0> at 0                                                   
pci 0000:01:1e.0: CardBus bridge, secondary bus 0000:02                         
pci 0000:01:1e.0:   IO window: 0x8008000-0x80080ff                             
pci 0000:01:1e.0:   IO window: 0x8008400-0x80084ff                             
pci 0000:01:1e.0:   MEM window: 0x38000000-0x3fffffff                           
PCI: Enabling device 0000:01:1e.0 (0000 -> 0003)                               
Switching to clocksource MIPS                                                   
NET: Registered protocol family 2                                               
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)                 
TCP established hash table entries: 1024 (order: 1, 8192 bytes)                 
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)                       
TCP: Hash tables configured (established 1024 bind 1024)                       
TCP reno registered                                                             
NET: Registered protocol family 1                                               
audit: initializing netlink socket (disabled)                                   
type=2000 audit(0.221:1): initialized                                           
squashfs: version 4.0 (2009/01/31) Phillip Lougher                             
Registering mini_fo version $Id$                                               
JFFS2 version 2.2. (NAND) (SUMMARY)  ?© 2001-2006 Red Hat, Inc.                 
msgmni has been set to 57                                                       
io scheduler noop registered                                                   
io scheduler deadline registered (default)                                     
gpiodev: gpio device registered with major 254                                 
gpiodev: gpio platform device registered with access mask FFFFFFFF             
bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart           
console [ttyS0] enabled, bootconsole disabled                                   
console [ttyS0] enabled, bootconsole disabled                                   
bcm963xx_flash: 0x02000000 at 0x1e000000                                       
bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank                             
CFI mfr 0x00000001                                                             
CFI id  0x00001000                                                             
Amd/Fujitsu Extended Query Table at 0x0040                                     
  Amd/Fujitsu Extended Query version 1.3.                                       
number of CFI chips: 1                                                         
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.       
bcm963xx_flash: Read Signature value of                                         
bcm963xx_flash: CFE bootloader detected                                         
bcm963xx_flash: CFE boot tag found with version 6 and board type 96358VW2       
bcm963xx_flash: Partition 0 is CFE offset 0 and length 10000                   
bcm963xx_flash: Partition 1 is kernel offset 10100 and length dff00             
bcm963xx_flash: Partition 2 is rootfs offset f0000 and length 700000           
bcm963xx_flash: Partition 3 is nvram offset 7f0000 and length 10000             
bcm963xx_flash: Partition 4 is linux offset 10000 and length 7e0000             
bcm963xx_flash: Spare partition is 270000 offset and length 580000             
Creating 5 MTD partitions on "bcm963xx":                                       
0x000000000000-0x000000010000 : "CFE"                                           
0x000000010100-0x0000000f0000 : "kernel"                                       
mtd: partition "kernel" must either start or end on erase block boundary or be y
0x0000000f0000-0x0000007f0000 : "rootfs"                                       
mtd: partition "rootfs" set to be root filesystem                               
mtd: partition "rootfs_data" created automatically, ofs=270000, len=580000     
0x000000270000-0x0000007f0000 : "rootfs_data"                                   
0x0000007f0000-0x000000800000 : "nvram"                                         
0x000000010000-0x0000007f0000 : "linux"                                         
bcm63xx_enet MII bus: probed                                                   
bcm63xx_wdt started, timer margin: 30 sec                                       
Registered led device: adsl                                                     
Registered led device: ppp-fail                                                 
Registered led device: power                                                   
Registered led device: stop                                                     
TCP westwood registered                                                         
NET: Registered protocol family 17                                             
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>                   
All bugs added by David S. Miller <davem@redhat.com>                           
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.               
Freeing unused kernel memory: 140k freed                                       
Please be patient, while OpenWrt loads ...                                     
- preinit -                                                                     
Press the [f] key and hit [enter] to enter failsafe mode                       
- regular preinit -                                                             
jffs2 not ready yet; using ramdisk                                             
mini_fo: using base directory: /                                               
mini_fo: using storage directory: /tmp/root                                     
- init -                                                                       
                                                                               
Please press Enter to activate this console. bcm63xx_enet bcm63xx_enet.0: attac]
eth1: link forced UP - 100/full - flow control off/off                         
device eth1 entered promiscuous mode                                           
br-lan: port 1(eth1) entering forwarding state                                 
Compat-wireless backport release: compat-wireless-2011-11-29                   
Backport based on wireless-testing.git master-2011-12-01                       
cfg80211: Calling CRDA to update world regulatory domain                       
roboswitch: Probing device eth0: Failed to enable switch                       
roboswitch: Probing device eth1: found a 5325! It's a 5350.                     
cfg80211: World regulatory domain updated:                                     
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)     
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)     
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)     
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)     
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)     
Broadcom 43xx driver loaded [ Features: PL ]                                   
PPP generic driver version 2.4.2                                               
ip_tables: (C) 2000-2006 Netfilter Core Team                                   
NET: Registered protocol family 24                                             
nf_conntrack version 0.5.0 (463 buckets, 1852 max)                             
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use           
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or     
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.                         
jffs2_scan_eraseblock(): End of filesystem marker found at 0x0                 
jffs2_build_filesystem(): unlocking the mtd device... done.                     
jffs2_build_filesystem(): erasing all blocks after the end marker... done.     
mini_fo: using base directory: /                                               
mini_fo: using storage directory: /overlay                                     
                                                                                                                                                               
                                                                                                                                                                                                                                               
                                                                                                                                                                                                                                                                                                                               
                                                                                                                                                                                                                                                                                                                                BusyBox v1.15.3 (2012-01-14 14:02:35 MSK) built-in shell (ash)                 
                                                                                                                                                                                                                                                                                                                                Enter 'help' for a list of built-in commands.                                   
                                                                                                                                                                                                                                                                                                                                                                                                               
                                                                                                                                                                                                                                                                                                                                                                                                                  _______                     ________        __                               
                                                                                                                                                                                                                                                                                                                                                                                                                   |       |.-----.-----.-----.|  |  |  |.----.|  |_                             
                                                                                                                                                                                                                                                                                                                                                                                                                    |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|                             
                                                                                                                                                                                                                                                                                                                                                                                                                     |_______||   __|_____|__|__||________||__|  |____|                             
                                                                                                                                                                                                                                                                                                                                                                                                                               |__| W I R E L E S S   F R E E D O M                                 
                                                                                                                                                                                                                                                                                                                                                                                                                                Backfire (10.03.1, r29685) ------------------------                           
                                                                                                                                                                                                                                                                                                                                                                                                                                  * 1/3 shot Kahlua    In a shot glass, layer Kahlua                           
                                                                                                                                                                                                                                                                                                                                                                                                                                    * 1/3 shot Bailey's  on the bottom, then Bailey's,                           
                                                                                                                                                                                                                                                                                                                                                                                                                                      * 1/3 shot Vodka     then Vodka.                                             
                                                                                                                                                                                                                                                                                                                                                                                                                                       ---------------------------------------------------                           
                                                                                                                                                                                                                                                                                                                                                                                                                                       root@OpenWrt:/#

i did try cfe version of this firmware first but it did not work on my dsl-2760u. why kernel version 2.6.21.5?

(Last edited by dru on 17 Jan 2012, 10:45)

guzhifeng wrote:

Q. Why after installing kmod-xxxx does not work?
A. kmod-xxxx kernel module can not be installed using the firmware, download the kernel source to compile after, source address:
http://ftp.dlink.ru/pub/ADSL/GPL_source … 04_GPL.zip
Note; due to a firmware kernel to 2.6.21.5, many drivers are not required to go back migration from the new kernel.

It means you can't install kmod-xxxx from Official Backfire 10.03.1-rc5.

thanx
my ISP not adsl now, i need wan & wifi on my router. how you solve cfe detection in your firmware? can i see boot log?

I don't have dsl-2760u or similar modems.

Hi
Thanks for the 2016 link
I've downloaded and tried "[OpenWRT_2760U]-1.2-luci-oldcfe.img" file, and got an error.
If I'm not mistaken - "Image uploading failed. The selected file contains an illegal image."

Am I missing something? Should I use and old version of some browser or something to upload the file?
Is there a better version for 2017?
Thanks for the help

The discussion might have continued from here.