Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
inbox:toh:linksys:linksys_ea8350_1 [2024/06/22 09:40] – [Flash Layout] NAND flash layout sergeyfilippovinbox:toh:linksys:linksys_ea8350_1 [2024/06/26 20:36] – [Installation] sergeyfilippov
Line 1: Line 1:
 ====== Linksys E8350 V1====== ====== Linksys E8350 V1======
 ~~NOTOC~~ ~~NOTOC~~
- 
-<WRAP center round important 100%> 
-Devices with Broadcom WiFi chipsets have **limited OpenWrt supportability** (due to limited FLOSS driver availability for Broadcom chips). Consider this when choosing a device to buy, or when deciding to flash OpenWrt on your device because it is listed as supported. 
-See [[meta:infobox:broadcom_wifi|Broadcom WiFi]] for details. 
-</WRAP> 
- 
-/* This template is intended to be used via https://openwrt.org/meta/create_new_device_page . */ 
  
 {{page>meta:infobox:construction&noheader&nofooter&noeditbtn}} {{page>meta:infobox:construction&noheader&nofooter&noeditbtn}}
  
-//Write a short, relevant description of the device. Include a technical overview, but avoid marketing buzzwords/useless stuff. Two to four sentences is about right. A picture is good, too. Edit the page to see how to add pictures.//+AC2400 Dual-Band Gigabit Wi-Fi Router. 
 +/* //Write a short, relevant description of the device. Include a technical overview, but avoid marketing buzzwords/useless stuff. Two to four sentences is about right. A picture is good, too. Edit the page to see how to add pictures.//*/
  
 /*****/ /*****/
Line 23: Line 17:
  
 <color red>**WiP.**</color> <color red>**WiP.**</color>
- 
- 
-===== Supporting activities ===== 
-//Describe if there are any ongoing activities that might lead to OpenWrt support.// 
- 
-  * OpenWrt forum thread: [[https://forum.openwrt.org/t/e8350-why-not-supported-by-openwrt/57640]] 
-  * Custom build for Linksys E8350:  
-  * Openwrt test image based on the trunk development tree OpenWrt SNAPSHOT.\\ [[https://github.com/SergeyFilippov/openwrt/releases/tag/v20.e8350-snapshot]] 
-    * Flash it over the native Linksys WEB interface. 
-    * 5GHz wifi configuration is done manually via editing the /etc/rc.local file.\\ (LuCI web interface does not know how to properly handle quantenna driver at the moment) 
-  * Openwrt test image based on the v21 and v22 releases of OpenWrt.\\ v21: [[https://github.com/SergeyFilippov/openwrt/releases/tag/v21.02.5.e8350.2]] \\ v22: [[https://github.com/SergeyFilippov/openwrt/releases/tag/v22.03-snapshot-e8350.patch]] 
-    * No 5GHz wifi driver included in build. 
-    * Much more recent and has support for official packages sources. 
- 
-/*** if info available: uncomment and fill in 
-===== Experimental firmware ===== 
-WiP 
-//List experimental firmware download links here.// 
- 
-//None at this time.// 
- 
-  * External image (add link) 
-  * trunk image (add link) 
-  * ... 
-***/ 
- 
  
 ===== Hardware highlights ===== ===== Hardware highlights =====
Line 64: Line 32:
 ***/ ***/
  
 +===== Installation =====
 +<!-- ToH: {
 +  "source": "json",
 +  "dom": "t",
 +  "paging": false,
 +  "rotate": true,
 +  "shownColumns": ["model", "version", "supportedcurrentrel", "firmwareopenwrtinstallurl", "firmwareopenwrtupgradeurl", "firmwareoemstockurl"],
 +  "filterColumns": {"brand": "^Linksys$", "model": "^E8350$"}
 +} -->
 +
 +→ [[docs:guide-user:installation:generic.flashing|Install OpenWrt]]
 +
 +<color #ed1c24>!</color> Currently available firmware is **snapshot** only, so **it will not have a web UI**.\\
 +A snapshot build with LUCI(web UI) and attached kmods archive [[https://github.com/SergeyFilippov/openwrt/releases/tag/v24.0.0-beta-snapshot]]. \\ //Will be removed after v24 release.//
 +
 +===== OEM Easy Installation =====
 +  - Login to router web UI
 +  - Got to Administration/Firmware upgrade
 +  - Use factory image from latest available release (*factory.bin)
 +
 +===== De-bricking / Recovery-mode Installation =====
  
-===== De-bricking =====+Since this router has 2 flash chips it's almost unbrickable.
  
-  - Get the original firmware: [[https://downloads.linksys.com/downloads/firmware/FW_E8350_1.0.03.003_20180929.bin]]+  - Get the original firmware: [[https://downloads.linksys.com/downloads/firmware/FW_E8350_1.0.03.003_20180929.bin]] or *factory.bin of OpenWrt
   - Power off the device and disconnect the WAN port. (Only LAN port to be connected)   - Power off the device and disconnect the WAN port. (Only LAN port to be connected)
   - Press & hold the "Reset" button   - Press & hold the "Reset" button
Line 74: Line 63:
   - Open the Firmware Recovery page in your browser: http://192.168.1.1/index.shtml\\ //Firmware Recovery -> File Name -> Recovery & Reboot//   - Open the Firmware Recovery page in your browser: http://192.168.1.1/index.shtml\\ //Firmware Recovery -> File Name -> Recovery & Reboot//
  
 +===== Going back to Linksys Firmware / Flashing back to stock =====
 +  - Follow the instructions in De-bricking / Recovery-mode Installation with an original firmware
  
 /*** if info available: uncomment and fill in /*** if info available: uncomment and fill in
Line 88: Line 79:
  
 ===== Specific configuration ===== ===== Specific configuration =====
- 
-/*** if info available: uncomment and fill in 
-<WRAP BOX 600px> 
-FIXME Please fill in real values for this device, then remove the EXAMPLEs and the WRAP that encloses this text. 
  
 ==== Network interfaces ==== ==== Network interfaces ====
 The default network configuration is: The default network configuration is:
 ^ Interface Name   ^ Description                  ^ Default configuration    ^ ^ Interface Name   ^ Description                  ^ Default configuration    ^
-| br-lan           EXAMPLE LAN & WiFi           EXAMPLE 192.168.1.1/24   | +| br-lan           | LAN & WiFi           | 192.168.1.1/24   | 
-vlan0 (eth0.0)   EXAMPLE LAN ports (1 to 4)   EXAMPLE None             | +vlan1 (eth0.1)   | LAN ports (1 to 4)   | None             | 
-vlan1 (eth0.1)   EXAMPLE WAN port             EXAMPLE DHCP             | +vlan2 (eth0.2)   | WAN port             | DHCP             | 
-wl0              EXAMPLE WiFi                 EXAMPLE Disabled         | +wlan0            | WiFi (2.4 GHz)       | Disabled         | 
-</WRAP> +/* | wlan1            | WiFi (5 GHz)         | Disabled         *
-***/+
  
  
Line 137: Line 123:
  
 ==== Flash Layout ==== ==== Flash Layout ====
 +**"mtd2 - mtd16"** - small SPI flash - u-boot & board configs.
  
-FIXME //[[:docs:techref:flash.layout#discovery_how_to_find_out|Find out flash layout]], then add the flash layout table here (copy, paste, modify the [[docs:techref:flash.layout#partitioning_of_squashfs-images|example]]).//+^ Layer0  |  SPI NOR flash 4 MiB                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ||||||||||||||||| 
 +^ Layer1  |  mtd2 **//0:sbl1//** \\ 64 KiB\\ first stage boot loader  |  mtd3 **//0:mibib//** \\ 128 KiB  |  mtd4 **//0:sbl2//** \\ 128 KiB        |||  mtd5 **//0:sbl3//**\\ 192 KiB  | mtd6 **//0:ddrconfig//**\\ 64 KiB  | mtd7 **//0:ssd//**\\ 64 KiB  | mtd8 **//0:tz//**\\ 192 KiB  | mtd9 **//0:rpm//**\\ 128 KiB  | mtd10 **//0:oldappsbl//**\\ 256 KiB  | mtd11 **//0:appsblenv//**\\ 256 KiB\\ Device MAC address is here  | mtd12 **//0:ART//**\\ 128 KiB  | mtd13 **//0:uboot//**\\ 320 KiB  mtd14 **//0:oldnss1//**\\ 128 KiB  | mtd15 **//0:nvram//**\\ 128 KiB  | mtd16 **//0:oldkernel//**\\ 1920 KiB\\ Not used. Kernel in NAND UBI  |
  
-FIXME //Please consolidate the two flash layout sections below into one.// +**"mtd0-mtd1"** - is the big NAND flash. **"mtd0"** used as /dev/ubi0.
- +
-<code> +
-# cat /proc/mtd  +
-dev:    size   erasesize  name +
-mtd0: 04000000 00020000 "rootfs" +
-mtd1: 00010000 00010000 "sbl1" +
-mtd2: 00020000 00010000 "mibib" +
-mtd3: 00020000 00010000 "sbl2" +
-mtd4: 00030000 00010000 "sbl3" +
-mtd5: 00010000 00010000 "ddrconfig" +
-mtd6: 00010000 00010000 "ssd" +
-mtd7: 00030000 00010000 "tz" +
-mtd8: 00020000 00010000 "rpm" +
-mtd9: 00040000 00010000 "oldappsbl" +
-mtd10: 00040000 00010000 "APPSBLENV" +
-mtd11: 00020000 00010000 "ART" +
-mtd12: 00050000 00010000 "uboot" +
-mtd13: 00020000 00010000 "oldnss1" +
-mtd14: 00020000 00010000 "nvram" +
-mtd15: 001e0000 00010000 "oldkernel" +
-mtd16: 001d1000 0001f000 "kernel" +
-mtd17: 01d2f000 0001f000 "ubi_rootfs" +
-mtd18: 01de9000 0001f000 "ubi_rootfs_data" +
- +
-mtd0: 04000000 00020000 "rootfs"  - is the big NAND flash used as /dev/ubi0 +
-mtd16: 001d1000 0001f000 "kernel" -> /dev/ubi0_0 +
-mtd17: 01d2f000 0001f000 "ubi_rootfs" -> /dev/ubi0_1 +
-mtd18: 01de9000 0001f000 "ubi_rootfs_data" -> /dev/ubi0_2 +
- +
-mtd1 - mtd15 - small SPI flash - u-boot & board configs +
-</code> +
- +
-^ Layer0  |  SPI NOR flash 4 MB                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ||||||||||||||||| +
-^ Layer1  |  mtd2 **//0:sbl1//** \\ 64 KiB\\ first stage boot loader  |  mtd3 **//0:mibib//** \\ 128 KiB  |  mtd4 **//0:sbl2//** \\ 128 KiB        |||  mtd5 **//0:sbl3//**\\ 192 KiB  | mtd6 **//0:ddrconfig//**\\ 64 KiB  | mtd7 **//0:ssd//**\\ 64 KiB  | mtd8 **//0:tz//**\\ 192 KiB  | mtd9 **//0:rpm//**\\ 128 KiB  | mtd10 **//0:oldappsbl//**\\ 256 KiB  | mtd11 **//0:appsblenv//**\\ 256 KiB\\ Device MAC address is here  | mtd12 **//0:ART//**\\ 128 KiB  | mtd13 **//0:uboot//**\\ 320 KiB  | mtd14 **//0:oldnss1//**\\ 128 KiB  | mtd15 **//0:nvram//**\\ 128 KiB  | mtd16 **//0:oldkernel//**\\ 1920 KiB\\ Not usedKernel in NAND UBI  |+
  
 ^ Layer0  |  NAND flash 128 MiB                                                                                                                                                                                                                                                                                                                                                                     |||| ^ Layer0  |  NAND flash 128 MiB                                                                                                                                                                                                                                                                                                                                                                     ||||
 | Layer1  |  mtd0 **//ubi//**\\ 64 MiB                                                                                                                                                                                                                                                                                                                                ||| mtd1 **//extra//**\\ 64 MiB  | | Layer1  |  mtd0 **//ubi//**\\ 64 MiB                                                                                                                                                                                                                                                                                                                                ||| mtd1 **//extra//**\\ 64 MiB  |
-| Layer2  |  UBI partition **//ubi0//**                                                                                                                                                                                                                                                                                                                               ||| Not used                     |+| Layer2  |  UBI partition **///dev/ubi0//**                                                                                                                                                                                                                                                                                                                               ||| Not used                     |
 | Layer3  | **''kernel''** **///dev/ubi0_0//**\\ Linux kernel (raw image)  | **''rootfs''**  **///dev/ubi0_1//**\\ mounted: "''/rom''", [[docs:techref:filesystems#SquashFS|SquashFS]] \\ size depends on selected packages  | **''rootfs_data''** **///dev/ubi0_2//**\\ mounted: "''/overlay''", [[docs:techref:filesystems#UBIFS|UBIFS]] \\ all remaining free space  |                              | | Layer3  | **''kernel''** **///dev/ubi0_0//**\\ Linux kernel (raw image)  | **''rootfs''**  **///dev/ubi0_1//**\\ mounted: "''/rom''", [[docs:techref:filesystems#SquashFS|SquashFS]] \\ size depends on selected packages  | **''rootfs_data''** **///dev/ubi0_2//**\\ mounted: "''/overlay''", [[docs:techref:filesystems#UBIFS|UBIFS]] \\ all remaining free space  |                              |
  
Line 185: Line 139:
 ==== FLASH partitions ==== ==== FLASH partitions ====
 <code> <code>
-# cat /proc/mtd +# cat /proc/mtd  
-dev:    size   erasesize  name +dev:    size   erasesize  name  
-mtd0: 04000000 00020000 "ubi"  -> main rootfs 64MiB ( 1-st part of nand 128 MiB ) - contains kernel,rootfs, roofs_data(overlay) +mtd0: 04000000 00020000 "ubi" 128MiB flash 
-mtd1: 04000000 00020000 "extra" -> not used by default 64MiB ( 2-nd part of nand 128 MiB ) +mtd1: 04000000 00020000 "extra" 128MiB flash 
-mtd2: 00010000 00010000 "0:SBL1-> SPI 4MiB flash - first stage boot loader +mtd2: 00010000 00010000 "0:sbl1" SPI 4MiB flash 
-mtd3: 00020000 00010000 "0:MIBIB-> SPI 4MiB flash +mtd3: 00020000 00010000 "0:mibib" SPI 4MiB flash 
-mtd4: 00020000 00010000 "0:SBL2-> SPI 4MiB flash +mtd4: 00020000 00010000 "0:sbl2" SPI 4MiB flash 
-mtd5: 00030000 00010000 "0:SBL3-> SPI 4MiB flash +mtd5: 00030000 00010000 "0:sbl3" SPI 4MiB flash 
-mtd6: 00010000 00010000 "0:DDRCONFIG-> SPI 4MiB flash +mtd6: 00010000 00010000 "0:ddrconfig" SPI 4MiB flash 
-mtd7: 00010000 00010000 "0:SSD-> SPI 4MiB flash +mtd7: 00010000 00010000 "0:ssd" SPI 4MiB flash 
-mtd8: 00030000 00010000 "0:TZ-> SPI 4MiB flash +mtd8: 00030000 00010000 "0:tz" SPI 4MiB flash 
-mtd9: 00020000 00010000 "0:RPM-> SPI 4MiB flash +mtd9: 00020000 00010000 "0:rpm" SPI 4MiB flash 
-mtd10: 00040000 00010000 "0:OLDAPPSBL-> SPI 4MiB flash +mtd10: 00040000 00010000 "0:oldappsbl" SPI 4MiB flash 
-mtd11: 00040000 00010000 "0:APPSBLENV-> SPI 4MiB flash +mtd11: 00040000 00010000 "0:appsblenv" SPI 4MiB flash 
-mtd12: 00020000 00010000 "0:ART" -> SPI 4MiB flash +mtd12: 00020000 00010000 "0:ART" SPI 4MiB flash 
-mtd13: 00050000 00010000 "0:APPSBL-> SPI 4MiB flash +mtd13: 00050000 00010000 "0:uboot" SPI 4MiB flash 
-mtd14: 00020000 00010000 "0:NSS1-> SPI 4MiB flash +mtd14: 00020000 00010000 "0:oldnss1" SPI 4MiB flash 
-mtd15: 00020000 00010000 "0:NVRAM-> SPI 4MiB flash +mtd15: 00020000 00010000 "0:nvram" SPI 4MiB flash 
-mtd16: 001e0000 00010000 "0:HLOS-> SPI 4MiB flash - another linux kernel -> not used, kernel loads initially directly from the NAND UBI volume 0(ubi/rootfs) which is OS mapped under the mtd0 -> /dev/ubi0+mtd16: 001e0000 00010000 "0:oldkernel" SPI 4MiB flash - another linux kernel -> not used, kernel loads initially directly from the NAND UBI volume 0(ubi/rootfs) which is OS mapped under the mtd0 -> /dev/ubi0
 /dev/ubi0_0 - linux kernel /dev/ubi0_0 - linux kernel
 /dev/ubi0_1 - rootfs squashfs /dev/ubi0_1 - rootfs squashfs
Line 2307: Line 2261:
  
 ===== Notes ===== ===== Notes =====
-//Room for additional notes.//+  * OpenWrt forum thread: [[https://forum.openwrt.org/t/e8350-why-not-supported-by-openwrt/57640]] 
 +  * Pull request for a current release: [[https://github.com/openwrt/openwrt/pull/15798]] 
 +  * Test builds with 5GHz radio support:\\ v20: [[https://github.com/SergeyFilippov/openwrt/releases/tag/v20.e8350-snapshot]] \\ v22: [[https://github.com/SergeyFilippov/openwrt/releases/tag/v22.03-release-qtn]] 
 +      * Flash it over the native Linksys WEB interface. 
 +      * **5GHz wifi** configuration is done manually via editing the /etc/rc.local file.\\ (LuCI web interface does not know how to properly handle quantenna driver at the moment) 
 +  * Test builds with **LUCI** from official snapshot image builder with pinned kmods, **no 5GHz radio**:\\ v24: [[https://github.com/SergeyFilippov/openwrt/releases/tag/v24.0.0-beta-snapshot]]
  
  
  • Last modified: 2024/10/04 03:44
  • by jeremynd01