Hello. i've got d-link dsl-2740u router, it was flashed in 2016 year with compiled by myself firmware for Sagem F@ST2704N
Firmware Version OpenWrt Designated Driver 50104 / LuCI Master (git-17.343.27587-8e6b1a6)
Kernel Version 4.4.14.
i'd like to install kmod-usb-net-qmi-wwan and uqmi packages, but it seems like its depend of new kernel. i tried to download latest openwrt-22.03.5-bcm63xx-generic-sagem_fast-2704n-squashfs-cfe.bin but when i flash it system craches and can't load.
HELO
CPUI
L1CI
DRAM
----
PHYS
PHYE
DDR1
333H
SIZ3
RACE
PASS
----
ZBSS
CODE
DATA
L12F
MAIN
CFE version 7.273.1 for BCM96318 (32bit,SP,BE)
Build Date: Tue Nov 18 11:25:16 CST 2014 (cookiechen@sz01017.ads.local)
Copyright (C) 2005-2012 SAGEMCOM Corporation.
HS Serial flash device: name S25FL128, id 0x0118 size 16384KB
Total Flash size: 16384K with 256 sectors
Chip ID: BCM6318B0, MIPS: 333MHz, DDR: 333MHz, Bus: 166MHz
Main Thread: TP0
Total Memory: 67108864 bytes (64MB)
Boot Address: 0xb8000000
[ 0.000000] Linux version 4.14.275 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11427-9ce6aa9d8d)) #0 Sat Apr 16 13:13:32 2022
[ 0.000000] strap_override_bus = fffdffff
[ 0.000000] Detected Broadcom 0x6318 CPU revision b0
[ 0.000000] CPU frequency is 333 MHz
[ 0.000000] 64MB of RAM installed
[ 0.000000] board_bcm963xx: Boot address 0xb8000000
[ 0.000000] board_bcm963xx: CFE version: unknown
[ 0.000000] bcm63xx_nvram: nvram checksum failed, contents may be invalid (expected fe4fef2d, got b42a9d40)
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00029033 (Broadcom BMIPS3300)
[ 0.000000] board: board name: F@ST2704N
[ 0.000000] MIPS: machine is Sagem F@ST2704N
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
[ 0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] random: get_random_bytes called from 0x804cc738 with crng_init=0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 58472K/65536K available (4096K kernel code, 193K rwdata, 552K rodata, 1296K init, 209K bss, 7064K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 256
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11479041721 ns
[ 0.000022] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12897800188ns
[ 0.008206] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[ 0.046523] pid_max: default: 32768 minimum: 301
[ 0.051739] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.058559] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.075712] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.085831] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.092290] pinctrl core: initialized pinctrl subsystem
[ 0.101092] NET: Registered protocol family 16
[ 0.351993] registering PCI controller with io_map_base unset
[ 0.400610] PCI host bridge to bus 0000:00
[ 0.404936] pci_bus 0000:00: root bus resource [mem 0x10200000-0x102fffff]
[ 0.411999] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.418984] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.425982] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.435004] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.443873] pci 0000:01:00.0: enabling Extended Tags
[ 0.449779] pci 0000:00:00.0: BAR 8: assigned [mem 0x10200000-0x102fffff]
[ 0.456821] pci 0000:01:00.0: BAR 0: assigned [mem 0x10200000-0x10207fff 64bit]
[ 0.464364] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.469458] pci 0000:00:00.0: bridge window [mem 0x10200000-0x102fffff]
[ 0.485403] clocksource: Switched to clocksource MIPS
[ 0.494318] NET: Registered protocol family 2
[ 0.499321] IP idents hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.508103] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.515475] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.522108] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.528974] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.535167] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.542169] NET: Registered protocol family 1
[ 0.557360] Crashlog allocated RAM at address 0x3f00000
[ 0.567000] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.587862] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.593950] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.634153] io scheduler noop registered
[ 0.638247] io scheduler deadline registered (default)
[ 0.646278] bcm6318-pinctrl 10000080.pin-controller: registered at mmio b0000080
[ 0.656054] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[ 0.663196] 10000100.serial: ttyS0 at MMIO 0x10000100 (irq = 36, base_baud = 1562500) is a bcm63xx_uart
[ 0.673036] console [ttyS0] enabled
[ 0.673036] console [ttyS0] enabled
[ 0.680182] bootconsole [early0] disabled
[ 0.680182] bootconsole [early0] disabled
[ 0.710138] m25p80 spi1.0: s25sl12801 (16384 Kbytes)
[ 0.716363] 3 fixed-partitions partitions found on MTD device spi1.0
[ 0.722986] Creating 3 MTD partitions on "spi1.0":
[ 0.727948] 0x000000000000-0x000000010000 : "cfe"
[ 0.735050] 0x000000010000-0x0000007f0000 : "linux"
[ 0.746791] parser_imagetag: rootfs: CFE image tag at 0x0 CRC invalid (expected 0b2903da, actual 90a25f28)
[ 0.756951] 0x0000007f0000-0x000000800000 : "nvram"
[ 0.810615] b53_common: found switch: BCM63xx, rev 0
[ 0.816593] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
[ 0.828198] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[ 0.834212] bcma-pci-bridge 0000:01:00.0: bus0: Found chip with id 43217, rev 0x01 and package 0x09
[ 0.843618] bcma-pci-bridge 0000:01:00.0: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x27, class 0x0)
[ 0.854594] bcma-pci-bridge 0000:01:00.0: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x1E, class 0x0)
[ 0.865674] bcma-pci-bridge 0000:01:00.0: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x14, class 0x0)
[ 0.876265] bcma_fallback_sprom: pci bus/device num mismatch: expected 0/0, but got 1/0
[ 0.904836] bcma-pci-bridge 0000:01:00.0: bus0: Bus registered
[ 0.913773] NET: Registered protocol family 10
[ 0.926554] Segment Routing with IPv6
[ 0.930612] NET: Registered protocol family 17
[ 0.935308] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 0.948672] 8021q: 802.1Q VLAN Support v1.8
[ 0.959707] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 0.967511] Please append a correct "root=" boot option; here are the available partitions:
[ 0.976110] 1f00 64 mtdblock0
[ 0.976122] (driver?)
[ 0.982818] 1f01 8064 mtdblock1
[ 0.982826] (driver?)
[ 0.989540] 1f02 64 mtdblock2
[ 0.989548] (driver?)
[ 0.996253] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 1.006548] Rebooting in 1 seconds..
[ 2.008908] triggering watchdog soft-reset...
яHELO
CPUI
L1CI
DRAM
----
PHYS
PHYE
DDR1
333H
SIZ3
RACE
PASS
----
ZBSS
CODE
DATA
L12F
MAIN
normally working log looks like:
HELO
CPUI
L1CI
DRAM
----
PHYS
PHYE
DDR1
333H
SIZ3
RACE
PASS
----
ZBSS
CODE
DATA
L12F
MAIN
CFE version 7.273.1 for BCM96318 (32bit,SP,BE)
Build Date: Tue Nov 18 11:25:16 CST 2014 (cookiechen@sz01017.ads.local)
Copyright (C) 2005-2012 SAGEMCOM Corporation.
HS Serial flash device: name S25FL128, id 0x0118 size 16384KB
Total Flash size: 16384K with 256 sectors
Chip ID: BCM6318B0, MIPS: 333MHz, DDR: 333MHz, Bus: 166MHz
Main Thread: TP0
Total Memory: 67108864 bytes (64MB)
Boot Address: 0xb8000000
[ 0.000000] Linux version 4.4.14 (thepeople@trabant) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 50104) ) #1 Mon Feb 27 23:15:09 UTC 2017
[ 0.000000] strap_override_bus = fffdffff
[ 0.000000] Detected Broadcom 0x6318 CPU revision b0
[ 0.000000] CPU frequency is 333 MHz
[ 0.000000] 64MB of RAM installed
[ 0.000000] board_bcm963xx: Boot address 0xb8000000
[ 0.000000] board_bcm963xx: CFE version: unknown
[ 0.000000] bcm63xx_nvram: nvram checksum failed, contents may be invalid (expected fe4fef2d, got 14702ad3)
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00029033 (Broadcom BMIPS3300)
[ 0.000000] board: board name: F@ST2704N
[ 0.000000] MIPS: machine is Sagem F@ST2704N
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
[ 0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 59196K/65536K available (3148K kernel code, 156K rwdata, 856K rodata, 1272K init, 198K bss, 6340K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11479041721 ns
[ 0.000022] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12897800188ns
[ 0.008146] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[ 0.042791] pid_max: default: 32768 minimum: 301
[ 0.047902] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.054709] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.072107] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.085982] NET: Registered protocol family 16
[ 0.347252] registering PCI controller with io_map_base unset
[ 0.378982] PCI host bridge to bus 0000:00
[ 0.383283] pci_bus 0000:00: root bus resource [mem 0x10200000-0x102fffff]
[ 0.390389] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.397359] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.404350] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.413349] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.423036] pci 0000:00:00.0: BAR 8: assigned [mem 0x10200000-0x102fffff]
[ 0.430076] pci 0000:01:00.0: BAR 0: assigned [mem 0x10200000-0x10207fff 64bit]
[ 0.437612] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.442713] pci 0000:00:00.0: bridge window [mem 0x10200000-0x102fffff]
[ 0.452105] clocksource: Switched to clocksource MIPS
[ 0.461720] NET: Registered protocol family 2
[ 0.469073] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.476428] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.483059] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.489822] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.495985] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.503354] NET: Registered protocol family 1
[ 0.510643] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.573636] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.579749] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.597897] io scheduler noop registered
[ 0.602037] io scheduler deadline registered (default)
[ 0.609432] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[ 0.616623] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36, base_baud = 1562500) is a bcm63xx_uart
[ 0.626323] console [ttyS0] enabled
[ 0.626323] console [ttyS0] enabled
[ 0.633474] bootconsole [early0] disabled
[ 0.633474] bootconsole [early0] disabled
[ 0.655516] m25p80 spi1.0: found s25sl12801, expected m25p80
[ 0.661429] m25p80 spi1.0: s25sl12801 (16384 Kbytes)
[ 0.667263] bcm63xxpart: CFE boot tag found with version 6 and board type F@ST2704N
[ 0.675286] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[ 0.681951] bcm63xxpart: Partition 1 is kernel offset 10100 and length 15191c
[ 0.689269] bcm63xxpart: Partition 2 is rootfs offset 161a1c and length e8e5e4
[ 0.696713] bcm63xxpart: Partition 3 is nvram offset ff0000 and length 10000
[ 0.703975] bcm63xxpart: Partition 4 is linux offset 10000 and length fe0000
[ 0.711243] 5 bcm63xxpart partitions found on MTD device spi1.0
[ 0.717342] Creating 5 MTD partitions on "spi1.0":
[ 0.722296] 0x000000000000-0x000000010000 : "CFE"
[ 0.731183] 0x000000010100-0x000000161a1c : "kernel"
[ 0.740861] 0x000000161a1c-0x000000ff0000 : "rootfs"
[ 0.750495] mtd: device 2 (rootfs) set to be root filesystem
[ 0.757712] 1 squashfs-split partitions found on MTD device rootfs
[ 0.764162] 0x000000350000-0x000000ff0000 : "rootfs_data"
[ 0.773523] 0x000000ff0000-0x000001000000 : "nvram"
[ 0.783174] 0x000000010000-0x000000ff0000 : "linux"
[ 0.829465] b53_common: found switch: BCM63xx, rev 0
[ 0.835399] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
[ 0.846242] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[ 0.852220] bcma: bus0: Found chip with id 43217, rev 0x01 and package 0x09
[ 0.859492] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x27, class 0x0)
[ 0.868327] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x1E, class 0x0)
[ 0.877238] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x14, class 0x0)
[ 0.885649] bcma_fallback_sprom: pci bus/device num mismatch: expected 0/0, but got 1/0
[ 0.909770] bcma: bus0: Bus registered
[ 0.917107] NET: Registered protocol family 10
[ 0.929901] NET: Registered protocol family 17
[ 0.934745] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 0.947893] Bridge firewalling registered
[ 0.952017] 8021q: 802.1Q VLAN Support v1.8
[ 0.971960] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 1.007091] Freeing unused kernel memory: 1272K (80422000 - 80560000)
[ 2.995540] init: Console is alive
[ 2.999561] init: - watchdog -
[ 4.675502] init: - preinit -
[ 5.445543] random: procd urandom read with 102 bits of entropy available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 8.977483] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
ifconfig: SIOCGIFFLAGS: No such device
[ 9.030043] procd: - early -
[ 9.033302] procd: - watchdog -
[ 9.905488] procd: - ubus -
[ 9.964619] procd: - init -
Please press Enter to activate this console.
[ 11.536671] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 11.577089] Loading modules backported from Linux version wt-2016-05-12-0-g7a54796
[ 11.584987] Backport generated by backports.git backports-20160216-0-ge3c56e4
[ 11.601143] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 11.637485] nf_conntrack version 0.5.0 (944 buckets, 3776 max)
[ 11.737279] xt_time: kernel timezone is -0000
[ 11.935914] PPP generic driver version 2.4.2
[ 11.946981] NET: Registered protocol family 24
[ 12.024354] b43-phy0: Broadcom 43217 WLAN found (core revision 30)
[ 12.031989] b43-phy0: Found PHY: Analog 9, Type 4 (N), Revision 17
[ 12.038430] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2057, Revision 14, Version 0
[ 12.047214] Broadcom 43xx driver loaded [ Features: PNL ]
[ 12.070966] random: nonblocking pool is initialized
[ 23.576531] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 23.596327] jffs2_build_filesystem(): unlocking the mtd device... done.
[ 23.603102] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 30.801014] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 2, 100Mbps, full-duplex
[ 30.809403] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 3, 100Mbps, full-duplex
[ 30.955947] device eth0.1 entered promiscuous mode
[ 30.960964] device eth0 entered promiscuous mode
[ 31.027271] br-lan: port 1(eth0.1) entered forwarding state
[ 31.033175] br-lan: port 1(eth0.1) entered forwarding state
[ 33.036140] br-lan: port 1(eth0.1) entered forwarding state
BusyBox v1.24.2 () built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
DESIGNATED DRIVER (Bleeding Edge, 50104)
-----------------------------------------------------
* 2 oz. Orange Juice Combine all juices in a
* 2 oz. Pineapple Juice tall glass filled with
* 2 oz. Grapefruit Juice ice, stir well.
* 2 oz. Cranberry Juice
-----------------------------------------------------
i have dualboot mod (2 SPI with switch, when system is unbootable i have to switch on second SPI, boot old working system, switch on-the-fly to 1st SPI and then i can restore the broken system.......
by upload an old firmware openwrt-brcm63xx-generic-FAST2704N-squashfs-cfe - 27 febr 2017.bin and running
sysupgrade -v /tmp/firmware.img from console)
could you please help me to upgrade?
i can't find a working way....
and i does not know why i can't upgrade usually way.
may be because a memory mod (64mb RAM ) and 128mbit SPI or something else.....