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 | ||
| toh:linksys:ea4500 [2020/04/29 17:20] – [OpenWrt bootlog] updated bobafetthotmail | toh:linksys:ea4500 [2023/03/21 11:26] – [Installation] insaneknight | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| The Linksys EA4500 and E4200 v2 share identical hardware. | The Linksys EA4500 and E4200 v2 share identical hardware. | ||
| - | OEM source code available at: [[http://support.linksys.com/ | + | OEM source code available at: [[https://www.linksys.com/ |
| ===== Supported Versions ===== | ===== Supported Versions ===== | ||
| Line 19: | Line 19: | ||
| | E4200 v2 | October 2011 | 01C106 | | E4200 v2 | October 2011 | 01C106 | ||
| + | :!: **Caution: | ||
| + | See: https:// | ||
| :!: **Caution: | :!: **Caution: | ||
| Line 49: | Line 51: | ||
| ---- | ---- | ||
| + | For the installation guide for EA4500 v3, please go to [[toh: | ||
| The EA4500 has a dual firmware layout: | The EA4500 has a dual firmware layout: | ||
| Line 58: | Line 61: | ||
| {{page> | {{page> | ||
| - | As of [[https:// | + | As of [[https:// |
| Prebuilt trunk snapshots offer the **most straightforward** installation and they are available now: [[https:// | Prebuilt trunk snapshots offer the **most straightforward** installation and they are available now: [[https:// | ||
| Line 110: | Line 113: | ||
| Now in booted OpenWrt, we need to flash OpenWrt into NAND. You need to get the network working first. Then you do: | Now in booted OpenWrt, we need to flash OpenWrt into NAND. You need to get the network working first. Then you do: | ||
| - | '' | + | < |
| # cd /tmp | # cd /tmp | ||
| # wget http:// | # wget http:// | ||
| Line 118: | Line 121: | ||
| # mtd erase kernel | # mtd erase kernel | ||
| # mtd write openwrt-kirkwood-ea4500-uImage kernel | # mtd write openwrt-kirkwood-ea4500-uImage kernel | ||
| - | '' | + | </ |
| After this you reboot the device, break u-boot again and set u-boot to boot OpenWrt from NAND: | After this you reboot the device, break u-boot again and set u-boot to boot OpenWrt from NAND: | ||
| - | '' | + | < |
| Viper>> | Viper>> | ||
| Viper>> | Viper>> | ||
| Line 127: | Line 130: | ||
| Viper>> | Viper>> | ||
| Viper>> | Viper>> | ||
| - | '' | + | </ |
| - | === Installation without Serial === | + | === Older builds (deprecated): |
| There is another way to Flash your device, without using a serial connection. | There is another way to Flash your device, without using a serial connection. | ||
| Line 203: | Line 206: | ||
| ===== Back to the original stock firmware ===== | ===== Back to the original stock firmware ===== | ||
| - | :!: **Caution: | + | :!: **Caution: |
| - | **Generic | + | ==== SSH method |
| + | Probably the most generic way to go back to the stock firmware. You can skip the downgrade to LEDE 17.01 if you already are running it. | ||
| * On your workstation computer: | * On your workstation computer: | ||
| Line 215: | Line 219: | ||
| * Download [[http:// | * Download [[http:// | ||
| * Extract the file '' | * Extract the file '' | ||
| - | | + | |
| - | * On your workstation using SCP, copy '' | + | |
| - | * On your router using SSH, issue the command '' | + | |
| - | * After a while, your router should reboot on LEDE 17.01.4 | + | * On your router using SSH, issue the command '' |
| - | * For the **E4200v2** | + | * After a while, your router should reboot on LEDE 17.01.4 |
| - | * On your workstation using SCP, copy '' | + | |
| - | * On your router using SSH, issue the command '' | + | |
| - | * For the **EA4500** | + | * On your workstation using SCP, copy '' |
| - | * On your workstation using SCP, copy '' | + | * On your router using SSH, issue the command '' |
| - | * On your router using SSH, issue the command '' | + | * For the **EA4500** |
| - | * After a while, your router should reboot on the stock Linksys firmware | + | * On your workstation using SCP, copy '' |
| + | * On your router using SSH, issue the command '' | ||
| + | * After a while, your router should reboot on the stock Linksys firmware | ||
| + | |||
| + | ==== GUI method (LEDE 17.01 only!) ==== | ||
| + | You could try to flash a Linksys firmware image (extracted from zip) directly from the LuCI web interface. | ||
| - | **Method 1**: You could try to flash a Linksys | + | :!: Do not use the zip archive directly, you have to extract the firmware image from it first |
| * Linksys EA4500v1 cloud: http:// | * Linksys EA4500v1 cloud: http:// | ||
| Line 234: | Line 243: | ||
| * Linksys E4200v2 classic: http:// | * Linksys E4200v2 classic: http:// | ||
| - | **Method 2**: | + | ==== Cut the power method ==== |
| + | |||
| + | This works too if you had flashed a firmware image from the stock Linksys web interface **and** you've not done another subsequent upgrade from OpenWrt. | ||
| Cut the power to the router while the router is booting up. The router white LED shall blink rapidly and that's when you cut the power--inducing a failed boot. After 3 failed boots, the EA4500 then boots from the backup partition and reverts back to its Linksys firmware. | Cut the power to the router while the router is booting up. The router white LED shall blink rapidly and that's when you cut the power--inducing a failed boot. After 3 failed boots, the EA4500 then boots from the backup partition and reverts back to its Linksys firmware. | ||
| - | ==== Alternative method ==== | + | ==== Alternative method |
| - | '' | + | < |
| $ binwalk FW_EA4500_2.1.41.164606.img | $ binwalk FW_EA4500_2.1.41.164606.img | ||
| DECIMAL | DECIMAL | ||
| Line 246: | Line 257: | ||
| 2752512 | 2752512 | ||
| 21603204 | 21603204 | ||
| - | '' | + | </ |
| Break u-boot and do: | Break u-boot and do: | ||
| - | '' | + | < |
| Viper>> | Viper>> | ||
| Viper>> | Viper>> | ||
| Line 255: | Line 266: | ||
| Viper>> | Viper>> | ||
| Viper>> | Viper>> | ||
| - | '' | + | </ |
| Note that for different versions size may differ. | Note that for different versions size may differ. | ||
| Line 284: | Line 295: | ||
| | wlan1 | WiFi (5GHz) | | wlan1 | WiFi (5GHz) | ||
| - | Note: Due to the unfortunate lack of DFS support in the current mwl8k driver, | + | Note: Due to the unfortunate lack of DFS support in the current mwl8k driver, only four were made available |
| - | + | ^ WiFi Channel | |
| - | | + | | 36 | 5180 MHz |
| - | | + | | 40 | 5200 MHz |
| - | | + | | 44 | 5220 MHz |
| - | | + | | 48 | 5240 MHz |
| + | | 149< | ||
| + | | 153< | ||
| + | | 157< | ||
| + | | 161< | ||
| + | | 165< | ||
| + | < | ||
| + | < | ||
| ==== Failsafe mode ==== | ==== Failsafe mode ==== | ||
| -> [[docs: | -> [[docs: | ||
| Line 471: | Line 489: | ||
| The Marvell bootloader has some differences with respect to computing checksums of the u-boot environment flash partition, making modification of the environment via the standard OpenWrt tools a problem. | The Marvell bootloader has some differences with respect to computing checksums of the u-boot environment flash partition, making modification of the environment via the standard OpenWrt tools a problem. | ||
| + | |||
| + | ==== Bootloader default envs ==== | ||
| + | This is the default parameters of the device' | ||
| + | <WRAP bootlog> | ||
| + | < | ||
| + | Viper>> | ||
| + | bootdelay=0 | ||
| + | baudrate=115200 | ||
| + | loads_echo=0 | ||
| + | ipaddr=192.168.1.10 | ||
| + | serverip=192.168.1.254 | ||
| + | rootpath=/ | ||
| + | netmask=255.255.255.0 | ||
| + | run_diag=yes | ||
| + | auto_recovery=yes | ||
| + | console=console=ttyS0, | ||
| + | badcount=0 | ||
| + | bootbadcount=0 | ||
| + | uenvbadcount=0 | ||
| + | senvbadcount=0 | ||
| + | buffbadcount=0 | ||
| + | fs_bootargs=unused | ||
| + | mtdparts=mtdparts=nand_mtd: | ||
| + | ethprime=egiga0 | ||
| + | bootargs_root=root=/ | ||
| + | fs_bootargs_root=root=/ | ||
| + | alt_fs_bootargs_root=root=/ | ||
| + | mfg_fs_bootargs_root=root=/ | ||
| + | usb_fs_bootargs_root=root=/ | ||
| + | bootargs_end=::: | ||
| + | image_name=uImage | ||
| + | nfsboot=tftp 0x2000000 uImage; setenv bootargs $(console) $(mtdparts) $(bootargs_root) nfsroot=$(serverip): | ||
| + | nandboot=nand read.e 0x2000000 0x200000 0x300000; setenv bootargs $(console) $(mtdparts) $(fs_bootargs_root) serial_number=$(sn) uuid=$(uuid) hw_version=$(hw) device_mac=$(mac) factory_date=$(date) wps_pin=$(wps); | ||
| + | altnandboot=nand read.e 0x2000000 0x1c00000 0x300000; setenv bootargs $(console) $(mtdparts) $(alt_fs_bootargs_root) serial_number=$(sn) uuid=$(uuid) hw_version=$(hw) device_mac=$(mac) factory_date=$(date) wps_pin=$(wps); | ||
| + | mfgboot=nand read.e 0x2000000 0x1c00000 0x300000; setenv bootargs $(console) $(mtdparts) $(mfg_fs_bootargs_root) serial_number=$(sn) uuid=$(uuid) hw_version=$(hw) device_mac=$(mac) factory_date=$(date) wps_pin=$(wps); | ||
| + | usbboot=usb start; | ||
| + | standalone=fsload 0x2000000 $(image_name); | ||
| + | lcd0_enable=0 | ||
| + | lcd0_params=640x480-16@60 | ||
| + | ethmtu=1500 | ||
| + | eth1mtu=1500 | ||
| + | mvPhoneConfig=mv_phone_config=dev[0]: | ||
| + | mvNetConfig=mv_net_config=(00: | ||
| + | usb0Mode=host | ||
| + | yuk_ethaddr=00: | ||
| + | nandEcc=1bit | ||
| + | netretry=no | ||
| + | rcvrip=169.254.100.100 | ||
| + | loadaddr=0x02000000 | ||
| + | autoload=no | ||
| + | image_multi=yes | ||
| + | mtdparts_version=4 | ||
| + | envsaved=yes | ||
| + | ethact=egiga0 | ||
| + | boot_part_ready=3 | ||
| + | boot_part=1 | ||
| + | bootcmd=" | ||
| + | stdin=serial | ||
| + | stdout=serial | ||
| + | stderr=serial | ||
| + | mainlineLinux=no | ||
| + | enaMonExt=no | ||
| + | enaCpuStream=no | ||
| + | enaWrAllo=no | ||
| + | pexMode=RC | ||
| + | disL2Cache=no | ||
| + | setL2CacheWT=yes | ||
| + | disL2Prefetch=yes | ||
| + | enaICPref=yes | ||
| + | enaDCPref=yes | ||
| + | sata_dma_mode=yes | ||
| + | netbsd_en=no | ||
| + | vxworks_en=no | ||
| + | disaMvPnp=no | ||
| + | enaAutoRecovery=yes | ||
| + | pcieTune=no | ||
| + | pcieTune1=no | ||
| + | layout=ver.0.0.7 | ||
| + | model=EA4500 | ||
| + | hw=RGWM-C4_0GA | ||
| + | edal_key=FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF | ||
| + | mac=C8: | ||
| + | ethaddr=C8: | ||
| + | eth1addr=C8: | ||
| + | date=2013/ | ||
| + | sn=12A10601303247 | ||
| + | uuid=07979CD77271C65F0537501305A29D7B | ||
| + | wps=53912060 | ||
| + | |||
| + | Environment size: 2929/131068 bytes | ||
| + | |||
| + | |||
| + | </ | ||
| + | </ | ||
| ===== Bootlogs ===== | ===== Bootlogs ===== | ||
| Line 1000: | Line 1112: | ||
| ===== Tags ===== | ===== Tags ===== | ||
| [[meta: | [[meta: | ||
| - | {{tag> | + | {{tag>kirkwood 128Flash 128RAM |