Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| inbox:toh:sagem:f_st3864op [2024/02/14 15:34] – [Table] rikka0w0 | inbox:toh:sagem:f_st3864op [2024/10/19 06:51] – [Photos] rikka0w0 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Sagem F@ST3864OP ====== | ====== Sagem F@ST3864OP ====== | ||
| - | ~~NOTOC~~ | + | {{page> |
| - | /* This template | + | [[: |
| - | {{page> | + | {{ media:example:genericrouter1.png? |
| - | //Write a short, relevant description of the device. Include a technical overview, but avoid marketing buzzwords/ | + | <WRAP center round important 60%> |
| + | < | ||
| + | </WRAP> | ||
| - | /*****/ | + | ===== Hardware highlights |
| - | /* How to add images | + | ^ CPU ^ Ram ^ Flash ^ Network |
| - | /*****/ | + | | BCM63168D0, Dual-Core @400MHz |
| - | {{ media: | ||
| + | /*** if info available: uncomment and fill in | ||
| + | ===== Installation ===== | ||
| + | - → [[: | ||
| + | - → [[docs: | ||
| + | - → [[: | ||
| + | |||
| + | ==== Installing OpenWrt ==== | ||
| + | ***/ | ||
| + | |||
| + | |||
| + | /*** if info available: uncomment and fill in | ||
| + | ===== Debricking ===== | ||
| + | -> [[docs: | ||
| + | ***/ | ||
| ===== OpenWrt support ===== | ===== OpenWrt support ===== | ||
| - | <color red>**Not supported.**</ | + | <color red>**W.I.P.**</ |
| + | === Whats working === | ||
| + | - All ethernet ports. | ||
| + | - VLAN tagging of both internal (SoC) and external switches(BCM53124SKMMLG). | ||
| + | - All USB ports. | ||
| + | - Most LEDs, except for the Wifi indicator, the amber and the green LEDs near the WAN port. | ||
| + | |||
| + | === Whats NOT working === | ||
| + | - WAN-LAN hardware acceleration does not work at the moment, NAT speed is limited to around 144Mbps at full CPU load. | ||
| + | - Some LEDs (gpio-leds, see dts). | ||
| + | - WAN LEDs control needs improvement. | ||
| + | - PCIe, '' | ||
| + | - WiFi does not work at the moment. | ||
| + | - xDSL and FXS are unlikely to get supported. | ||
| /*** if info available: uncomment and fill in | /*** if info available: uncomment and fill in | ||
| Line 41: | Line 69: | ||
| - | ===== Hardware highlights ===== | ||
| - | ^ CPU ^ Ram ^ Flash ^ Network | ||
| - | | BCM63168D0, Dual-Core @400MHz | ||
| - | |||
| - | |||
| - | /*** if info available: uncomment and fill in | ||
| - | ===== Installation ===== | ||
| - | - → [[: | ||
| - | - → [[docs: | ||
| - | - → [[: | ||
| - | |||
| - | ==== Installing OpenWrt ==== | ||
| - | ***/ | ||
| - | |||
| - | |||
| - | /*** if info available: uncomment and fill in | ||
| - | ===== Debricking ===== | ||
| - | -> [[docs: | ||
| - | ***/ | ||
| Line 108: | Line 117: | ||
| ***/ | ***/ | ||
| + | ==== Boot OpenWrt in RAM ==== | ||
| + | - Open the case and connect the [[: | ||
| + | - Power on the device, keep pressing any key until you see the CFE prompt appears. | ||
| + | - Set the IPv4, netmask, and gateway of your PC to '' | ||
| + | - Connect any of the router LAN ports to your PC. | ||
| + | - Setup a TFTP server on your PC to serve the '' | ||
| + | - Use command '' | ||
| + | |||
| + | Use this command to safely browse the stock firmware files: | ||
| + | |||
| + | '' | ||
| + | |||
| + | ==== Installation ==== | ||
| + | <WRAP center round alert 60%> | ||
| + | < | ||
| + | |||
| + | Any help or information on this are welcomed. | ||
| + | </ | ||
| + | <WRAP center round important 60%> | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | This section explains a safer way of installing OpenWrt to a F@ST3864OP device. This method does not touch the CFE bootloader, and it is less likely to brick the router. | ||
| + | |||
| + | - You would need to prepare a USB-TTL serial adapter, open the case of the router, and solder the serial headers. | ||
| + | - Follow the [[: | ||
| + | - Setup a web server (e.g. '' | ||
| + | - On the OpenWrt shell, download the OpenWrt firmware to ramdisk ''/ | ||
| + | - Use sha256sum to check if the firmware file is intact. | ||
| + | - **Up to this step, you still can reboot the router with the stock firmware untouched.** | ||
| + | - Wipe the stock firmware and create a clean JFF2: '' | ||
| + | - Install OpenWrt firmware permanently to the NAND flash: '' | ||
| + | - Now reboot. If everything goes well, you will get a OpenWrt shell. | ||
| + | - **LuCI sysupgrade can be used from now on.** | ||
| + | |||
| + | Reference: [[: | ||
| ===== Hardware ===== | ===== Hardware ===== | ||
| ==== Info ==== | ==== Info ==== | ||
| Line 116: | Line 161: | ||
| ^ System-On-Chip | ^ System-On-Chip | ||
| ^ CPU/ | ^ CPU/ | ||
| - | ^ Flash-Chip | + | ^ Flash-Chip |
| ^ Flash size | 128MiB, blocksize: 64 pages, page size: 2048 bytes + 64-byte OOB data. | | ^ Flash size | 128MiB, blocksize: 64 pages, page size: 2048 bytes + 64-byte OOB data. | | ||
| - | ^ RAM | NT5CC64M16GP-DI, | + | ^ RAM |
| ^ Wireless | ^ Wireless | ||
| ^ Ethernet | ^ Ethernet | ||
| Line 126: | Line 171: | ||
| ^ JTAG | ??? | | ^ JTAG | ??? | | ||
| - | Datasheets: | + | Other ICs on the board: |
| - | * NT5CC64M16GP-DI: https:// | + | * [[https:// |
| - | * W29N01HVSINA: | + | * [[https:// |
| + | * [[https:// | ||
| + | * [[https:// | ||
| - | Other ICs on board: | + | CPU Pinout: |
| - | * 74HC164D: https:// | + | [[:docs:techref:hardware:soc:soc.broadcom.bcm63xx# |
| - | * LMX4181: https://www.renesas.com/ | + | |
| - | * SI32260-C-FM1: https://au.mouser.com/ | + | ==== Network ==== |
| - | | + | This router has 2 switches! The BCM63168D0 SOC has 8 internet interfaces, 3xFE, 1xGE, and 4xRGMII, all from a built-in switch. In this router, the GE port (id=3) is used for WAN RJ45 connection, and the first RGMII (id=4) goes to an external switch (BCM53125?) which then powers all accessible LAN ports. **Why didn't they just simply connect 4 PHYs at the RGMIIs to make 4xGE LAN ports?** |
| Note: | Note: | ||
| - | * CFE reports the external switch as 53125, but the boot log of the stock firmware shows that it forces to use a 53115 driver. | + | * CFE reports the external switch |
| - | ===== Flash Layout ===== | + | ==== Serial |
| + | -> [[docs: | ||
| + | There is an unsoldered 4-pin header (J708) near the power jack, which provides an interactive console. You can interrupt the boot process and enter the CFE bootloader console by pressing any key repeatedly, or wait for it boots and then login to the management console using the following credentials: | ||
| + | |||
| + | ^ Credential of an Australian Optus OEM F@ST3864OP || | ||
| + | ^ user | admin | | ||
| + | ^ password | 0ptU%1M5 | | ||
| + | |||
| + | If the above does not work, then try the other keys: | ||
| + | |||
| + | https:// | ||
| + | |||
| + | The management console offers a very limited set of commands, the sh command will drop you to a BusyBox Linux shell. | ||
| + | |||
| + | ^ Serial parameters for Sagem F@ST3864OP || | ||
| + | ^ Baudrate | 115200 | | ||
| + | ^ Setup| 8N1 | | ||
| + | ^ Voltage | 3.3V TTL| | ||
| + | |||
| + | ==== LEDs and buttons ==== | ||
| + | There are three types of LEDs on this device: | ||
| + | - Connected to a serial LED driver which then drives up to 8 LEDs via a 74HC164D. | ||
| + | - Connected to a SoC pin and controlled by a hardware LED control register. | ||
| + | - Connected to a SoC pin and controlled by Linux via gpio-leds. | ||
| + | |||
| + | LED and Button connections: | ||
| + | * WAN Port: Yellow(460+6, | ||
| + | * WLAN Led (D12): (460+4, gpio36) Logic XOR (460+5, gpio37), this is weird! | ||
| + | * Internet Led (D17): Green(480+8, | ||
| + | * DSL Bonding Led (D17): Green(480+9, | ||
| + | * Power Led (D15): Green(480+20, | ||
| + | * DSL (D7): Green(74HC164D@Q3) | ||
| + | * FXS (D11, Foreign Exchange Station, the phone ports, not to be confused with the xDSL port): Green(74HC164D@Q4), | ||
| + | * WPS Led (D13): Green(74HC164D@Q0), | ||
| + | * Reset button (SW5): (460+0, gpio32) | ||
| + | * WPS button (SW3): (460+1, gpio33) | ||
| + | * WLAN button (SW2): (460+2, gpio34) | ||
| + | * Some LEDs are driven by 74HC164D: | ||
| + | * Clock (CP) = gpio0 (/ | ||
| + | * DSA (Data input) = gpio1 (/ | ||
| + | * DSB (AND with DSA), MR(Output Async Reset) are pulled high. | ||
| + | |||
| + | ===== Flash Layout ===== | ||
| + | Stock firmware dump: | ||
| + | https:// | ||
| ==== Stock ==== | ==== Stock ==== | ||
| From OEM Bootlog: | From OEM Bootlog: | ||
| Line 153: | Line 244: | ||
| </ | </ | ||
| - | ^ Stock F@ST3864OP Flash Layout | ||
| - | ^ Hardware | ||
| - | ^ Label | ||
| - | | mtd device name | ||
| - | | Start | ||
| - | | <color magenta> | ||
| - | | ::: | ::: | ::: | ::: | ||
| - | | End | ||
| - | OpenWrt: | + | ^ F@ST3864OP Flash Layout |
| + | ^ Hardware | ||
| + | ^ Stock Label | **// | ||
| + | ^ Stock mtd device name | mtd3 | ||
| + | | Start | 0x0000000 | ||
| + | | <color magenta> | ||
| + | | ::: | ::: | ::: | ::: | ||
| + | | End | 0x0020000 | ||
| + | ^ OpenWrt | ||
| + | ^ OpenWrt Layer2 | ||
| + | | Filesystem | ||
| + | |||
| + | |||
| + | ==== OpenWrt ==== | ||
| < | < | ||
| - | 0x000000000000-0x000000030000 | + | 7 fixed-partitions partitions found on MTD device brcmnand.0 |
| - | 0x000000030000-0x000000040000 | + | Creating 7 MTD partitions on " |
| - | 0x000000040000-0x000000050000 | + | 0x000000000000-0x000000020000 |
| - | 0x000000050000-0x000000060000 | + | 0x000000020000-0x000003d80000 : " |
| - | 0x000000060000-0x000000fb0000 | + | 0x000003d80000-0x000007ae0000 |
| - | 0x000000fb0000-0x000001000000 | + | 0x000007ae0000-0x000007b00000 : " |
| + | 0x000007b00000-0x000007f00000 : " | ||
| + | 0x000007f00000-0x000008000000 | ||
| + | 0x000000020000-0x000007ae0000 | ||
| + | cferam: bootflag1=0 | ||
| + | 5 bcm-wfi-split-fw partitions found on MTD device wfi | ||
| + | Creating 5 MTD partitions on " | ||
| + | 0x000000000000-0x000000040000 : " | ||
| + | 0x000000040000-0x000003d60000 | ||
| + | 0x000000040000-0x000000540000 : " | ||
| + | 0x000000540000-0x000003d60000 : " | ||
| + | 0x000003d60000-0x000007ac0000 | ||
| </ | </ | ||
| + | ==== Photos ==== | ||
| + | === PCB === | ||
| + | {{: | ||
| + | {{: | ||
| + | ==== Opening the case ==== | ||
| - | ^ DIR-853 Rev A1 Flash Layout | + | <WRAP BOX> |
| - | ^ Layer0 | + | FIXME //Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, ...// |
| - | ^ Layer1 | + | </WRAP> |
| - | | **Layer2** | + | |
| - | | **Layer3** | + | |
| - | | <color magenta> | + | |
| - | | ::: | + | |
| - | ==== Photos ==== | ||
| - | /* =====>>>>> | ||
| - | /* When uploading photos, **name them** intelligently. Nobody knows what 20100930_000602.jpg is! */ | ||
| - | /* e.g. {{: | ||
| - | /* Thanks, your wiki administration - Oct. 2015 */ | ||
| - | **Insert photo of front of the casing** | ||
| - | **Insert photo of back of the casing** | ||
| - | **Insert photo of backside label** | + | ===== Hardware Mods ===== |
| + | This may apply: | ||
| + | [[: | ||
| - | **Insert photo of PCB** | + | ==== Spare SPI Flash ==== |
| - | ==== Opening | + | There' |
| + | <WRAP bootlog>< | ||
| + | status | ||
| - | <WRAP BOX> | + | mydev@0{ |
| - | FIXME //Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, ...// | + | compatible = " |
| - | </ | + | reg = <0>; |
| + | spi-max-frequency = < | ||
| + | }; | ||
| + | };</nowiki>< | ||
| + | To use the '' | ||
| - | ==== Serial ==== | + | The SPI Flash can be accessed with '' |
| - | -> [[docs:techref: | + | |
| - | There is an unsoldered 4-pin header | + | <WRAP bootlog>< |
| + | flashrom v1.2 on Linux 5.4.188 | ||
| + | flashrom is free software, get the source code at https:// | ||
| - | ^ Credential of an Australian Optus OEM F@ST3864OP || | + | Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns). |
| - | ^ user | admin | | + | Using default 2000kHz clock. Use ' |
| - | ^ password | 0ptU%1M5 | | + | Found Winbond flash chip " |
| + | No operations were specified. | ||
| - | If the above does not work, then try the other keys: | + | root@OpenWrt:/# echo -n -e \\x9F\\xFF\\xFF\\xFF | spi-pipe -d / |
| + | 00000000 | ||
| + | 00000004</ | ||
| - | https:// | + | ==== PCIe ==== |
| + | It is believed that the SOC has PCI or PCIE buses and devices attached. The following came from the shell of the stock firmware: | ||
| - | The management console offers a very limited set of commands, the sh command will drop you to a BusyBox Linux shell. | + | <WRAP bootlog>< |
| + | # cd / | ||
| + | # ls devices/ -al | ||
| + | drwxr-xr-x | ||
| + | drwxr-xr-x | ||
| + | lrwxrwxrwx | ||
| + | lrwxrwxrwx | ||
| + | lrwxrwxrwx | ||
| + | lrwxrwxrwx | ||
| + | # ls drivers -al | ||
| + | drwxr-xr-x | ||
| + | drwxr-xr-x | ||
| + | drwxr-xr-x | ||
| + | drwxr-xr-x | ||
| + | drwxr-xr-x | ||
| + | drwxr-xr-x | ||
| + | # cd / | ||
| + | # ls | ||
| + | pci0000: | ||
| + | # cd / | ||
| + | # ls | ||
| + | 8021q | ||
| + | adsldd | ||
| + | bcm_bpm | ||
| + | bcm_enet | ||
| + | bcm_ingqos | ||
| + | bcmarl | ||
| + | bcmfap | ||
| + | bcmvlan | ||
| + | bcmxtmcfg | ||
| + | block | ||
| + | bridge | ||
| + | chipinfo | ||
| + | dect nf_defrag_ipv4 | ||
| + | dectshim | ||
| + | ehci_hcd | ||
| + | endpointdd | ||
| + | fuse nf_nat_irc | ||
| + | ip6_tables | ||
| + | ip6table_mangle | ||
| + | ip_gre | ||
| + | ip_tables | ||
| + | ipt_MASQUERADE | ||
| + | ipt_REDIRECT | ||
| + | iptable_filter | ||
| + | iptable_mangle | ||
| + | iptable_nat | ||
| + | ipv6 pcmshim | ||
| + | ipw | ||
| + | kernel | ||
| - | ^ Serial parameters for Sagem F@ST3864OP || | + | # cat / |
| - | ^ Baudrate | 115200 | | + | 00000000-07ecdfff : System RAM |
| - | ^ Setup| 8N1 | | + | 00010000-003f111f : Kernel code |
| - | ^ Voltage | 3.3V TTL| | + | 003f1120-004e897f : Kernel data |
| + | 10000200-10000383 : brcmnand | ||
| + | 10002500-100025ff : ehci_hcd | ||
| + | 10002600-100026ff : ohci_hcd | ||
| + | 11000000-11efffff : bcm63xx pcie memory space | ||
| + | a0f00000-a0ffffff : bcm63xx pci memory space | ||
| + | # cat / | ||
| + | a2000000-a200ffff : bcm63xx pci IO space | ||
| + | </ | ||
| + | |||
| + | The following came from the '' | ||
| + | <WRAP bootlog>< | ||
| + | root@OpenWrt:/ | ||
| + | 00:00.0 PCI bridge: Broadcom Inc. and subsidiaries Device 6326 (rev 80) (prog-if 00 [Normal decode]) | ||
| + | | ||
| + | Bus: primary=00, secondary=01, | ||
| + | I/O behind bridge: 00000000-00000fff [size=4K] | ||
| + | Memory behind bridge: [disabled] | ||
| + | Prefetchable memory behind bridge: [disabled] | ||
| + | Capabilities: | ||
| + | Capabilities: | ||
| + | Capabilities: | ||
| + | Kernel driver in use: pcieport | ||
| + | lspci: Unable to load libkmod resources: error -12 | ||
| + | |||
| + | root@OpenWrt:/ | ||
| + | drwxr-xr-x | ||
| + | drwxr-xr-x | ||
| + | lrwxrwxrwx | ||
| + | |||
| + | root@OpenWrt:/ | ||
| + | drwxr-xr-x | ||
| + | drwxr-xr-x | ||
| + | drwxr-xr-x | ||
| + | drwxr-xr-x | ||
| + | drwxr-xr-x | ||
| + | drwxr-xr-x | ||
| - | ==== JTAG ==== | + | root@OpenWrt:/# |
| - | -> [[docs:techref:hardware:port.jtag]] general information about the JTAG port, JTAG cable, etc. | + | 00000000-07ffffff |
| + | 00010000-006327f3 | ||
| + | 006327f4-00731c3f | ||
| + | 01610000-01644757 : Kernel bss | ||
| + | 100000b0-100000bf : 10000200.nand nand-int-base | ||
| + | 100000c0-100000c7 : 100000c0.pin-controller dirout | ||
| + | 100000c8-100000cf : 100000c0.pin-controller dat | ||
| + | 100000d0-100000d3 : 100000c0.pin-controller led | ||
| + | 100000d8-100000db : 100000c0.pin-controller mode | ||
| + | 100000dc-100000df : 100000c0.pin-controller ctrl | ||
| + | 100000f8-100000fb : 100000c0.pin-controller basemode | ||
| + | 10000180-10000197 : 10000180.serial serial@10000180 | ||
| + | 10000200-1000037f : 10000200.nand nand | ||
| + | 10000600-100007ff : 10000200.nand nand-cache | ||
| + | 10000800-10000f0b : 10000800.spi spi@10000800 | ||
| + | 10001000-100015ff : 10001000.spi spi@10001000 | ||
| + | 10001900-10001923 : 10001900.led-controller led-controller@10001900 | ||
| + | 11000000-11efffff : bcm63xx PCIe memory space | ||
| + | b000009c-b00000a7 : bcm63xx-wdt | ||
| + | b0002500-b00025ff : ehci-platform | ||
| + | b0002500-b00025ff : ehci-platform ehci-platform | ||
| + | b0002600-b00026ff : ohci-platform | ||
| + | b0002600-b00026ff : ohci-platform ohci-platform | ||
| + | b000d800-b000d8ff : bcm63xx_enet_shared.0 | ||
| + | b000d800-b000d8ff : bcm63xx_enet_shared.0 bcm63xx_enet_shared.0 | ||
| + | b000da00-b000dbff : bcm63xx_enet_shared.0 | ||
| + | b000da00-b000dbff : bcm63xx_enet_shared.0 bcm63xx_enet_shared.0 | ||
| + | b000dc00-b000ddff : bcm63xx_enet_shared.0 | ||
| + | b000dc00-b000ddff : bcm63xx_enet_shared.0 bcm63xx_enet_shared.0 | ||
| + | b0700000-b070ffff : bcm63xx_enetsw.0 | ||
| + | </ | ||
| - | How to connect to the JTAG Port of this specific device:\\ | ||
| - | **Insert photo of PCB with markings for JTAG port** | ||
| ===== Bootlogs ===== | ===== Bootlogs ===== | ||
| Line 747: | Line 974: | ||
| br0: port 5(wl0) entered forwarding state | br0: port 5(wl0) entered forwarding state | ||
| mdmLibCtx idx =92 | mdmLibCtx idx =92 | ||
| + | |||
| + | Login: admin | ||
| + | Password: | ||
| + | > sh | ||
| + | |||
| + | |||
| + | BusyBox v1.17.2 (2016-07-23 18:57:58 CST) built-in shell (ash) | ||
| + | Enter ' | ||
| + | |||
| + | # mtdinfo -a | ||
| + | Count of MTD devices: | ||
| + | Present MTD devices: | ||
| + | Sysfs interface supported: | ||
| + | |||
| + | mtd0 | ||
| + | Name: | ||
| + | Type: nand | ||
| + | Eraseblock size: 131072 bytes, 128.0 KiB | ||
| + | Amount of eraseblocks: | ||
| + | Minimum input/ | ||
| + | Sub-page size: 2048 bytes | ||
| + | OOB size: 64 bytes | ||
| + | Character device major/ | ||
| + | Bad blocks are allowed: | ||
| + | Device is writable: | ||
| + | |||
| + | mtd1 | ||
| + | Name: | ||
| + | Type: nand | ||
| + | Eraseblock size: 131072 bytes, 128.0 KiB | ||
| + | Amount of eraseblocks: | ||
| + | Minimum input/ | ||
| + | Sub-page size: 2048 bytes | ||
| + | OOB size: 64 bytes | ||
| + | Character device major/ | ||
| + | Bad blocks are allowed: | ||
| + | Device is writable: | ||
| + | |||
| + | mtd2 | ||
| + | Name: data | ||
| + | Type: nand | ||
| + | Eraseblock size: 131072 bytes, 128.0 KiB | ||
| + | Amount of eraseblocks: | ||
| + | Minimum input/ | ||
| + | Sub-page size: 2048 bytes | ||
| + | OOB size: 64 bytes | ||
| + | Character device major/ | ||
| + | Bad blocks are allowed: | ||
| + | Device is writable: | ||
| + | |||
| + | mtd3 | ||
| + | Name: nvram | ||
| + | Type: nand | ||
| + | Eraseblock size: 131072 bytes, 128.0 KiB | ||
| + | Amount of eraseblocks: | ||
| + | Minimum input/ | ||
| + | Sub-page size: 2048 bytes | ||
| + | OOB size: 64 bytes | ||
| + | Character device major/ | ||
| + | Bad blocks are allowed: | ||
| + | Device is writable: | ||
| + | |||
| + | mtd4 | ||
| + | Name: image | ||
| + | Type: nand | ||
| + | Eraseblock size: 131072 bytes, 128.0 KiB | ||
| + | Amount of eraseblocks: | ||
| + | Minimum input/ | ||
| + | Sub-page size: 2048 bytes | ||
| + | OOB size: 64 bytes | ||
| + | Character device major/ | ||
| + | Bad blocks are allowed: | ||
| + | Device is writable: | ||
| + | |||
| + | mtd5 | ||
| + | Name: | ||
| + | Type: nand | ||
| + | Eraseblock size: 131072 bytes, 128.0 KiB | ||
| + | Amount of eraseblocks: | ||
| + | Minimum input/ | ||
| + | Sub-page size: 2048 bytes | ||
| + | OOB size: 64 bytes | ||
| + | Character device major/ | ||
| + | Bad blocks are allowed: | ||
| + | Device is writable: | ||
| + | |||
| + | # ls /dev/mtd* | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | # mount | ||
| + | rootfs on / type rootfs (rw) | ||
| + | mtd:rootfs on / type jffs2 (ro, | ||
| + | proc on /proc type proc (rw, | ||
| + | tmpfs on /var type tmpfs (rw, | ||
| + | tmpfs on /mnt type tmpfs (rw, | ||
| + | sysfs on /sys type sysfs (rw, | ||
| + | debugfs on / | ||
| + | mtd:data on /data type jffs2 (rw, | ||
| + | none on / | ||
| + | |||
| </ | </ | ||
| ==== OpenWrt bootlog ==== | ==== OpenWrt bootlog ==== | ||
| <WRAP bootlog> | <WRAP bootlog> | ||
| - | < | + | < |
| + | CPUI | ||
| + | L1CI | ||
| + | HELO | ||
| + | CPUI | ||
| + | L1CI | ||
| + | 4.1404-1.0.38-117.113 | ||
| + | DRAM | ||
| + | ---- | ||
| + | PHYS | ||
| + | STRF | ||
| + | 400H | ||
| + | PHYE | ||
| + | DDR3 | ||
| + | SIZ4 | ||
| + | SIZ3 | ||
| + | SIZ2 | ||
| + | DINT | ||
| + | USYN | ||
| + | LSYN | ||
| + | MFAS | ||
| + | LMBE | ||
| + | RACE | ||
| + | PASS | ||
| + | ---- | ||
| + | ZBSS | ||
| + | CODE | ||
| + | DATA | ||
| + | L12F | ||
| + | MAIN | ||
| + | FPS0 | ||
| + | BT00 | ||
| + | 0001 | ||
| + | STOP | ||
| + | NAN9 | ||
| + | NAN3 | ||
| + | RFS1 | ||
| + | NAN5 | ||
| + | |||
| + | Base: 4.14_04 | ||
| + | CFE version 8.353.1 for BCM963268 (32bit, | ||
| + | Build Date: Sat Jul 23 18:46:20 CST 2016 (cookiechen@SZ01007.DONGGUAN.CN) | ||
| + | Copyright (C) 2005-2011 SAGEM Corporation. | ||
| + | |||
| + | Chip ID: BCM63168D0, MIPS: 400MHz, DDR: 400MHz, Bus: 200MHz | ||
| + | Main Thread: TP0 | ||
| + | Memory Test Passed | ||
| + | Total Memory: 134217728 bytes (128MB) | ||
| + | Boot Address: 0xb8000000 | ||
| + | |||
| + | NAND flash device: , id 0xeff1 block 128KB size 131072KB | ||
| + | External switch id = 53125 | ||
| + | Board IP address | ||
| + | Host IP address | ||
| + | Gateway IP address | ||
| + | Run from flash/ | ||
| + | Default host run file name : vmlinux | ||
| + | Default host flash file name : bcm963xx_fs_kernel | ||
| + | Boot delay (0-9 seconds) | ||
| + | Boot image (0=latest, 1=previous) : 0 | ||
| + | Default host ramdisk file name : | ||
| + | Default ramdisk store address | ||
| + | Board Id (0-38) | ||
| + | Number of MAC Addresses (1-32) | ||
| + | Base MAC Address | ||
| + | PSI Size (1-64) KBytes | ||
| + | Enable Backup PSI [0|1] : 0 | ||
| + | System Log Size (0-256) KBytes | ||
| + | Auxillary File System Size Percent: 0 | ||
| + | Main Thread Number [0|1] : 0 | ||
| + | GPON Serial Number | ||
| + | GPON Password | ||
| + | Voice Board Configuration (0-0) : SI32261 | ||
| + | |||
| + | *** Press any key to stop auto run (1 seconds) *** | ||
| + | Auto run second count down: 0 | ||
| + | Booting from latest image (0xb8020000) ... | ||
| + | Decompression OK! | ||
| + | Entry at 0x81000000 | ||
| + | Closing network. | ||
| + | Disabling Switch ports. | ||
| + | Flushing Receive Buffers... | ||
| + | 179 buffers found | ||
| + | Closing DMA Channels | ||
| + | Starting program at 0x81000000 | ||
| + | [ 0.000000] Linux version 6.1.77 (rikka@zbook14g2) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r25136-6497cdba09) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Sat Feb 17 15:28:34 2024 | ||
| + | [ 0.000000] CPU0 revision is: 0002a080 (Broadcom BMIPS4350) | ||
| + | [ 0.000000] MIPS: machine is Sagemcom F@st3864OP | ||
| + | [ 0.000000] 128MB of RAM installed | ||
| + | [ 0.000000] earlycon: bcm63xx_uart0 at MMIO 0x10000180 (options ' | ||
| + | [ 0.000000] printk: bootconsole [bcm63xx_uart0] enabled | ||
| + | [ 0.000000] Initrd not found or empty - disabling initrd | ||
| + | [ 0.000000] Reserving 0KB of memory at 4194303KB for kdump | ||
| + | [ 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] | ||
| + | [ 0.000000] Movable zone start for each node | ||
| + | [ 0.000000] Early memory node ranges | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] | ||
| + | [ 0.000000] percpu: Embedded 11 pages/cpu s13984 r8192 d22880 u45056 | ||
| + | [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480 | ||
| + | [ 0.000000] Kernel command line: earlycon | ||
| + | [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear) | ||
| + | [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear) | ||
| + | [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off | ||
| + | [ 0.000000] Memory: 118692K/ | ||
| + | [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, | ||
| + | [ 0.000000] rcu: Hierarchical RCU implementation. | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. | ||
| + | [ 0.000000] NR_IRQS: 256 | ||
| + | [ 0.000000] irq_bcm6345_l1: | ||
| + | [ 0.000000] irq_bcm6345_l1: | ||
| + | [ 0.000000] irq_bcm6345_l1: | ||
| + | [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. | ||
| + | [ 0.000000] brcm, | ||
| + | [ 0.000000] clocksource: | ||
| + | [ 0.000002] sched_clock: | ||
| + | [ 0.008233] Calibrating delay loop... 398.13 BogoMIPS (lpj=1990656) | ||
| + | [ 0.074649] pid_max: default: 32768 minimum: 301 | ||
| + | [ 0.081602] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) | ||
| + | [ 0.089116] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) | ||
| + | [ 0.103942] cblist_init_generic: | ||
| + | [ 0.111407] cblist_init_generic: | ||
| + | [ 0.118387] rcu: Hierarchical SRCU implementation. | ||
| + | [ 0.123321] rcu: Max phase no-delay instances is 1000. | ||
| + | [ 0.129982] smp: Bringing up secondary CPUs ... | ||
| + | [ 0.136376] SMP: Booting CPU1... | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ 1.136908] Synchronize counters for CPU 1: | ||
| + | [ 1.157622] SMP: CPU1 is running | ||
| + | [ 1.157641] done. | ||
| + | [ 1.167499] smp: Brought up 1 node, 2 CPUs | ||
| + | [ 1.182799] clocksource: | ||
| + | [ 1.192985] futex hash table entries: 512 (order: 3, 32768 bytes, linear) | ||
| + | [ 1.200289] pinctrl core: initialized pinctrl subsystem | ||
| + | [ 1.208490] NET: Registered PF_NETLINK/ | ||
| + | [ 1.249948] clocksource: | ||
| + | [ 1.258602] NET: Registered PF_INET protocol family | ||
| + | [ 1.264284] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) | ||
| + | [ 1.273552] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) | ||
| + | [ 1.282233] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) | ||
| + | [ 1.290223] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) | ||
| + | [ 1.298110] TCP bind hash table entries: 1024 (order: 2, 16384 bytes, linear) | ||
| + | [ 1.305554] TCP: Hash tables configured (established 1024 bind 1024) | ||
| + | [ 1.312446] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) | ||
| + | [ 1.319186] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) | ||
| + | [ 1.327040] NET: Registered PF_UNIX/ | ||
| + | [ 1.333069] PCI: CLS 0 bytes, default 16 | ||
| + | [ 1.343740] workingset: timestamp_bits=14 max_order=15 bucket_order=1 | ||
| + | [ 1.361659] squashfs: version 4.0 (2009/ | ||
| + | [ 1.367635] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. | ||
| + | [ 1.392697] bcm63xx-power-controller 1000184c.power-controller: | ||
| + | [ 1.403635] 10000180.serial: | ||
| + | [ 1.413350] printk: console [ttyS0] enabled | ||
| + | [ 1.413350] printk: console [ttyS0] enabled | ||
| + | [ 1.421939] printk: bootconsole [bcm63xx_uart0] disabled | ||
| + | [ 1.421939] printk: bootconsole [bcm63xx_uart0] disabled | ||
| + | [ 1.470366] bcm2835-rng 10002880.rng: | ||
| + | [ 1.480908] bcm6368_nand 10000200.nand: | ||
| + | [ 1.489784] nand: device found, Manufacturer ID: 0xef, Chip ID: 0xf1 | ||
| + | [ 1.496407] nand: Winbond W29N01HV | ||
| + | [ 1.499859] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 | ||
| + | [ 1.507723] bcm6368_nand 10000200.nand: | ||
| + | [ 1.520298] Bad block table found at page 65472, version 0x01 | ||
| + | [ 1.527554] Bad block table found at page 65408, version 0x01 | ||
| + | [ 1.535429] 7 fixed-partitions partitions found on MTD device brcmnand.0 | ||
| + | [ 1.542424] OF: Bad cell count for / | ||
| + | [ 1.549495] OF: Bad cell count for / | ||
| + | [ 1.557137] Creating 7 MTD partitions on " | ||
| + | [ 1.562496] 0x000000000000-0x000000020000 : " | ||
| + | [ 1.570911] OF: Bad cell count for / | ||
| + | [ 1.578652] 0x000000020000-0x000003d80000 : " | ||
| + | [ 1.587062] 0x000003d80000-0x000007ae0000 : " | ||
| + | [ 1.596163] 0x000007ae0000-0x000007b00000 : " | ||
| + | [ 1.605038] 0x000007b00000-0x000007f00000 : " | ||
| + | [ 1.612732] 0x000007f00000-0x000008000000 : " | ||
| + | [ 1.620827] 0x000000020000-0x000007ae0000 : " | ||
| + | [ 2.140021] random: crng init done | ||
| + | [ 2.264455] cferam: bootflag1=0 | ||
| + | [ 2.421003] 5 bcm-wfi-split-fw partitions found on MTD device wfi | ||
| + | [ 2.427241] Creating 5 MTD partitions on " | ||
| + | [ 2.431953] 0x000000000000-0x000000040000 : " | ||
| + | [ 2.438771] 0x000000040000-0x000003d60000 : " | ||
| + | [ 2.446288] 0x000000040000-0x000000540000 : " | ||
| + | [ 2.453312] 0x000000540000-0x000003d60000 : " | ||
| + | [ 2.460471] 0x000003d60000-0x000007ac0000 : " | ||
| + | [ 2.557541] bcm6368-mdio-mux 107000b0.mdio: | ||
| + | [ 2.566013] bcm53xx mdio_mux-0.1: | ||
| + | [ 2.572726] bcm53xx mdio_mux-0.1: | ||
| + | [ 2.580463] b53-switch 10700000.switch: | ||
| + | [ 2.589304] bcm6368-enetsw 1000d800.ethernet: | ||
| + | [ 2.711103] bcm6368-enetsw 1000d800.ethernet: | ||
| + | [ 2.719799] bcm7038-wdt 1000009c.watchdog: | ||
| + | [ 2.729605] NET: Registered PF_INET6 protocol family | ||
| + | [ 2.738667] Segment Routing with IPv6 | ||
| + | [ 2.742584] In-situ OAM (IOAM) with IPv6 | ||
| + | [ 2.746758] NET: Registered PF_PACKET protocol family | ||
| + | [ 2.752654] 8021q: 802.1Q VLAN Support v1.8 | ||
| + | [ 3.013139] registering PCI controller with io_map_base unset | ||
| + | [ 3.019372] PCI host bridge to bus 0000:00 | ||
| + | [ 3.023635] pci_bus 0000:00: root bus resource [mem 0x11000000-0x11efffff] | ||
| + | [ 3.030727] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] | ||
| + | [ 3.038889] pci 0000: | ||
| + | [ 3.045164] pci 0000: | ||
| + | [ 3.054116] pci 0000: | ||
| + | [ 3.062847] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 | ||
| + | [ 3.069669] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01 | ||
| + | [ 3.076533] pci 0000: | ||
| + | [ 3.082127] pcieport 0000: | ||
| + | [ 3.090810] bcm53xx mdio_mux-0.1: | ||
| + | [ 3.097265] bcm53xx mdio_mux-0.1: | ||
| + | [ 3.104313] b53-switch 10700000.switch: | ||
| + | [ 3.251119] b53-switch 10700000.switch: | ||
| + | [ 3.263184] b53-switch 10700000.switch wan (uninitialized): | ||
| + | [ 3.280231] device eth0 entered promiscuous mode | ||
| + | [ 3.285102] DSA: tree 0 setup | ||
| + | [ 3.289359] bcm53xx mdio_mux-0.1: | ||
| + | [ 3.466115] bcm53xx mdio_mux-0.1: | ||
| + | [ 3.477527] bcm53xx mdio_mux-0.1: | ||
| + | [ 3.485252] bcm53xx mdio_mux-0.1: | ||
| + | [ 3.499708] bcm53xx mdio_mux-0.1: | ||
| + | [ 3.513283] bcm53xx mdio_mux-0.1: | ||
| + | [ 3.526897] bcm53xx mdio_mux-0.1: | ||
| + | [ 3.542205] device extsw entered promiscuous mode | ||
| + | [ 3.547256] DSA: tree 1 setup | ||
| + | [ 3.554341] UBI: auto-attach mtd10 | ||
| + | [ 3.557847] ubi0: attaching mtd10 | ||
| + | [ 4.104051] ubi0: scanning is finished | ||
| + | [ 4.128067] ubi0: attached mtd10 (name " | ||
| + | [ 4.133807] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes | ||
| + | [ 4.140880] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 | ||
| + | [ 4.147833] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 | ||
| + | [ 4.155020] ubi0: good PEBs: 449, bad PEBs: 0, corrupted PEBs: 0 | ||
| + | [ 4.161197] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128 | ||
| + | [ 4.168620] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1708097443 | ||
| + | [ 4.178042] ubi0: available PEBs: 0, total reserved PEBs: 449, PEBs reserved for bad PEB handling: 20 | ||
| + | [ 4.187624] ubi0: background thread " | ||
| + | [ 4.196565] block ubiblock0_0: | ||
| + | [ 4.202317] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem | ||
| + | [ 4.218973] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. | ||
| + | [ 4.235256] Freeing unused kernel image (initmem) memory: 1268K | ||
| + | [ 4.241366] This architecture does not have kernel memory protection. | ||
| + | [ 4.247947] Run /sbin/init as init process | ||
| + | [ 5.156932] init: Console is alive | ||
| + | [ 5.161229] init: - watchdog - | ||
| + | [ 6.740766] kmodloader: loading kernel modules from / | ||
| + | [ 6.855812] usbcore: registered new interface driver usbfs | ||
| + | [ 6.861676] usbcore: registered new interface driver hub | ||
| + | [ 6.867267] usbcore: registered new device driver usb | ||
| + | [ 6.930031] ehci-platform 10002500.usb: | ||
| + | [ 6.935874] ehci-platform 10002500.usb: | ||
| + | [ 6.944387] ehci-platform 10002500.usb: | ||
| + | [ 6.979992] ehci-platform 10002500.usb: | ||
| + | [ 6.990417] hub 1-0:1.0: USB hub found | ||
| + | [ 6.994374] hub 1-0:1.0: 2 ports detected | ||
| + | [ 7.015732] ohci-platform 10002600.usb: | ||
| + | [ 7.022807] ohci-platform 10002600.usb: | ||
| + | [ 7.031116] ohci-platform 10002600.usb: | ||
| + | [ 7.105798] hub 2-0:1.0: USB hub found | ||
| + | [ 7.109762] hub 2-0:1.0: 2 ports detected | ||
| + | [ 7.141968] kmodloader: done loading kernel modules from / | ||
| + | [ 7.160470] init: - preinit - | ||
| + | [ 9.265867] b53-switch 10700000.switch extsw: configuring for fixed/rgmii link mode | ||
| + | [ 9.273984] b53-switch 10700000.switch extsw: Link is Up - 1Gbps/Full - flow control off | ||
| + | [ 9.278973] bcm53xx mdio_mux-0.1: | ||
| + | [ 9.290492] IPv6: ADDRCONF(NETDEV_CHANGE): | ||
| + | [ 9.297247] IPv6: ADDRCONF(NETDEV_CHANGE): | ||
| + | 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 | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | Please press Enter to activate this console. | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | |||
| + | |||
| + | |||
| + | BusyBox v1.36.1 (2024-02-17 15:28:34 UTC) built-in shell (ash) | ||
| + | |||
| + | _______ | ||
| + | | ||
| + | | ||
| + | | ||
| + | |__| W I R E L E S S F R E E D O M | ||
| + | | ||
| + | | ||
| + | | ||
| + | === WARNING! ===================================== | ||
| + | There is no root password defined on this device! | ||
| + | Use the " | ||
| + | in order to prevent unauthorized SSH logins. | ||
| + | -------------------------------------------------- | ||
| + | root@OpenWrt:/# | ||
| + | </ | ||
| </ | </ | ||
| ===== Notes ===== | ===== Notes ===== | ||
| + | Source code: | ||
| + | |||
| + | https:// | ||
| + | |||
| + | Before the cferam.000 is merged into '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | |||
| + | |||
| + | https:// | ||
| + | |||
| + | https:// | ||
| + | https:// | ||
| ===== Tags ===== | ===== Tags ===== | ||
| [[meta: | [[meta: | ||
| - | {{tag>EXAMPLETAG | + | {{tag>MIPS BCM63168 BCM63268 128nand 128ram wip unsupported}} |