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
toh:astoria:arcadyan_astoria_easybox_904xdsl_r01 [2021/05/05 06:52] – [Installing hacked bootloader] zuziatoh:astoria:arcadyan_astoria_easybox_904xdsl_r01 [2024/10/25 15:49] – [OpenWrt support] zuzia
Line 19: Line 19:
 <color red>**Work in progress.**</color> <color red>**Work in progress.**</color>
  
-At the moment (May/2019) it exists a full OpenWrt compatible fork ([[https://github.com/Quallenauge/Easybox-904-XDSL]]), and two pullrequest from it+At the moment (October/2024) it exists a full OpenWrt 21.02-SNAPSHOT compatible fork ([[https://github.com/OpenWrt-Repository/openwrt]]), and two old pullrequest. 
 For the device itself ([[https://github.com/openwrt/openwrt/pull/2060]]) and for the uboot ([[https://github.com/openwrt/openwrt/pull/2061]]). For the device itself ([[https://github.com/openwrt/openwrt/pull/2060]]) and for the uboot ([[https://github.com/openwrt/openwrt/pull/2061]]).
 The device is a little bit outstanding from other lantiq xrx200 devices, for this reason, the development is never over and this page is most of the time not at the current state. The device is a little bit outstanding from other lantiq xrx200 devices, for this reason, the development is never over and this page is most of the time not at the current state.
-For the current state of developing see this thread: [[https://forum.openwrt.org/t/support-for-easybox-904-lte/14478]]+For the current state of developing see this thread: [[https://forum.openwrt.org/t/lantiq-xrx200-easybox-904xdsl-and-speedport-w-921v-build]]
  
 Most things work (VDSL vectoring, display, Wi-Fi, analogue telephone line, ....) Most things work (VDSL vectoring, display, Wi-Fi, analogue telephone line, ....)
Line 38: Line 38:
   * Old OpenWrt forum thread (LTE version thread but much helpful information there): [[https://forum.openwrt.org/viewtopic.php?id=44676]]   * Old OpenWrt forum thread (LTE version thread but much helpful information there): [[https://forum.openwrt.org/viewtopic.php?id=44676]]
   * New OpenWrt forum thread: [[https://forum.openwrt.org/t/support-for-easybox-904-lte/14478]]   * New OpenWrt forum thread: [[https://forum.openwrt.org/t/support-for-easybox-904-lte/14478]]
 +  * Easybox 904xDSL new build: [[https://forum.openwrt.org/t/lantiq-xrx200-easybox-904xdsl-and-speedport-w-921v-build/77105]]
 +  * Small Recovery images with GUI: [[https://github.com/zuzia-dev/Easybox-904xDSL#small-recovery-with-gui-for-the-easybox-904-xdsl]]
 +  * New release OpenWrt version v21.02.07 on GitHub: [[https://github.com/zuzia-dev/Easybox-904xDSL-repo-source]]
  
  
Line 44: Line 47:
 | MIPS32 34Kc @ 500 MHz    128 MiB  |  512 MiB  |  4x 10/100/1000  |  abgn  |  2x 2.0  |   Yes    |   ?    | | MIPS32 34Kc @ 500 MHz    128 MiB  |  512 MiB  |  4x 10/100/1000  |  abgn  |  2x 2.0  |   Yes    |   ?    |
  
- +===== OpenWrt firmware image build =====
-===== Installation ===== +
- +
-→ [[:downloads|Obtain firmware]]+
  
 **Building a new OpenWrt firmware image is possible with few steps:** **Building a new OpenWrt firmware image is possible with few steps:**
- 
-This is mainly taken from the eb904lte forum thread and the description of member stefan-koch. 
  
 <code> <code>
-$git clone git://git.openwrt.org/openwrt.git +git clone https://github.com/OpenWrt-Repository/openwrt.git 
-$cd openwrt +./scripts/feeds update -a 
-$wget http://arny.tjps.eu/OpenWrt/EasyBox904xDSL/devel/v0.1-EasyBox904xDSL.patch +./scripts/feeds install -f  
-$patch -p1 < v0.1-EasyBox904xDSL.patch +./scripts/feeds install -a 
-$make defconfig +cp .config-VPE .config #or .config-SMP 
-$make prereq +cp -R files-VPE files #or files-SMP 
-$make menuconfig (select Lantiq, xrx200, Easybox 904, Save and Exit) +make menuconfig 
-$make+make
 </code> </code>
  
-Then in bin/lantiq/ are two important files:+Then in bin/targets/lantiq/xrx200 are *.bin files:
  
-  * ''openwrt-lantiq-xrx200-VGV952CJW33-squashfs-ubinized.bin'' (rootfs+  * ''openwrt-lantiq-xrx200-arcadyan_vgv952cjw33-e-ir-smp-squashfs-sysupgrade.bin'' (ver. SMP
-  * ''openwrt-lantiq-xrx200-VGV952CJW33-uImage'' (kernel)+  * ''openwrt-lantiq-xrx200-arcadyan_vgv952cjw33-e-ir-vpe-squashfs-sysupgrade.bin'' (ver. VPE)
  
  
-→ [[docs:guide-user:installation:generic.flashing|Install OpenWrt]] +===== Installing OpenWrt 21.02.07 the easy way =====
- +
- +
-==== Installing OpenWrt the hard way ==== +
- +
-**Flashing OpenWrt over opened firmware image** +
- +
-This is mainly taken from the eb904lte forum thread and the description of member stefan-koch. +
- +
-  - Download the opened vendor Firmware-Image: [[http://arny.tjps.eu/OpenWrt/EasyBox904xDSL/oem-firmware-info/fullimage-3.17-opened.img]] +
-  - And install it via the rescue mode [[http://arny.tjps.eu/OpenWrt/EasyBox904xDSL/devel/v0.1-readme.txt]] +
-  - Then boot the box with an connected USB stick that includes a 0 byte text file named 'sesame.txt' and wait 5 minutes +
-  - Set a password via the web interface (192.168.2.1) +
-  - Power off the box +
-  - Remove the USB stick +
-  - Power on the box again +
-  - Now connect via SSH and the set password\\ <code>$ssh root@192.168.2.1</code> +
-  - connect another USB stick with the rootfs and kernel files and go to these data dir\\ <code>$cd /tmp/usb/a1</code> +
-  - Write kernel to nand\\ <code> +
-$flash_eraseall /dev/mtd2 +
-$nandwrite -p /dev/mtd2 openwrt-lantiq-xrx200-VGV952CJW33-uImage +
-</code> +
-  - write rootfs to nand\\ <code> +
-$umount /dev/mtdblock12 +
-$flash_eraseall /dev/mtd12 +
-$nandwrite -p /dev/mtd12 openwrt-lantiq-xrx200-VGV952CJW33-squashfs-ubinized.bin +
-</code> +
-  - boot the device again\\ <code>$reboot</code> +
- +
- +
-==== Installing OpenWrt the easy way ====+
  
 **Prerequsites:** **Prerequsites:**
   * PC running TFTP server at 192.168.2.100   * PC running TFTP server at 192.168.2.100
   * Easybox 904 xDSL   * Easybox 904 xDSL
- 
  
 **Required files with support VPE (VoIP):** **Required files with support VPE (VoIP):**
-  * OpenWrt fullimage.img-VPE [[https://github.com/zuzia-dev/Easybox-904xDSL/raw/master/fullimage.img-VPE]]\\ sha256sum: a3bc8ec78d468200854d3404c4be16ccab015fa0e25497ef5ff466c0b2c37cbd +  * Recovery system VPE [[https://github.com/zuzia-dev/Easybox-904xDSL/releases/download/v2.Recovery/fullimage.img-VPE]]\\ sha256sum: 4b06e1bcb0edb8d269f53b1dfa2d51cf698d67d41ff9474cbfdf489668ef3c4e 
-  * OpenWrt *vpe-squashfs-sysupgrade.bin [[https://github.com/zuzia-dev/Easybox-904xDSL/raw/master/openwrt-lantiq-xrx200-arcadyan_vgv952cjw33-e-ir-vpe-squashfs-sysupgrade.bin]]\\ sha256sum: d1dcae12fb55c9648383b525ae82334ab629fe97d9251e452b789d448694f94b +  * OpenWrt 21.02.07 VPE [[https://github.com/zuzia-dev/Easybox-904xDSL-repo-source/releases/download/v2.OpenWrt/openwrt-lantiq-xrx200-arcadyan_vgv952cjw33-e-ir-vpe-squashfs-sysupgrade.bin]]\\ sha256sum: 5769e711a0f3caa0a27d7792a9d9c21a565a4b8f76be91408f85882e763446ee
- +
- +
-**Required files with support SMP (2 Core CPU):** +
-  * OpenWrt fullimage.img-SMP [[https://github.com/zuzia-dev/Easybox-904xDSL/raw/master/fullimage.img-SMP]]\\ sha256sum: e93f2635607ea62292d2f85e8eb55641afcd76621ae932397bf251d9a3ea00b8 +
-  * OpenWrt *smp-squashfs-sysupgrade.bin [[https://github.com/zuzia-dev/Easybox-904xDSL/raw/master/openwrt-lantiq-xrx200-arcadyan_vgv952cjw33-e-ir-smp-squashfs-sysupgrade.bin]]\\ sha256sum: 26962df8128ea3cc7182a8012f665fe38aaaf59d299aedabbe3e776447e21e59+
  
 +**Required files with support SMP (2 Cores CPU):**
 +  * Recovery system SMP [[https://github.com/zuzia-dev/Easybox-904xDSL/releases/download/v2.Recovery/fullimage.img-SMP]]\\ sha256sum: 9c77b57269b47ced0d5ff36a210a828d4419f80022b9ac6fd23499a452b933a4
 +  * OpenWrt 21.02.07 SMP [[https://github.com/zuzia-dev/Easybox-904xDSL-repo-source/releases/download/v2.OpenWrt/openwrt-lantiq-xrx200-arcadyan_vgv952cjw33-e-ir-smp-squashfs-sysupgrade.bin]]\\ sha256sum: a8fa37d226e14de0f452aa06dd04dd223ab49b257e2f30601f9d1492a0d4bed2
  
 **This is very important:** **This is very important:**
-  * Copy fullimage.img-VPE or fullimage.img-SMP as fullimage.img to the tftp server (e.g. TFTPD32) which listens on ip address 192.168.2.100.+  * Copy fullimage.img-VPE or fullimage.img-SMP as fullimage.img to the tftp server (e.g. TFTPD64) which listens on IP address 192.168.2.100.
  
  
 **Steps:** **Steps:**
-  - Prepare TFTP server (e.g. TFTPD32) by putting fullimage.img in server directory.+  - Prepare TFTP server (e.g. TFTPD64) by putting fullimage.img in server directory.
     - Image must have name "fullimage.img"     - Image must have name "fullimage.img"
   - Connect device to computer with one of four LAN ports.   - Connect device to computer with one of four LAN ports.
Line 132: Line 97:
   - After some time it will boot to OpenWrt sysupgrade interface at 192.168.1.1.    - After some time it will boot to OpenWrt sysupgrade interface at 192.168.1.1. 
   - Using this interface, upload openwrt-lantiq-xrx200-arcadyan_vgv952cjw33-e-ir-vpe-squashfs-sysupgrade.bin or openwrt-lantiq-xrx200-arcadyan_vgv952cjw33-e-ir-smp-squashfs-sysupgrade.bin   - Using this interface, upload openwrt-lantiq-xrx200-arcadyan_vgv952cjw33-e-ir-vpe-squashfs-sysupgrade.bin or openwrt-lantiq-xrx200-arcadyan_vgv952cjw33-e-ir-smp-squashfs-sysupgrade.bin
 +  - Upgrade firmware via LuCI or command line: \\ <code>sysupgrade -n -F openwrt-lantiq-xrx200-arcadyan_vgv952cjw33-e-ir-vpe-squashfs-sysupgrade.bin</code> or <code>sysupgrade -n -F openwrt-lantiq-xrx200-arcadyan_vgv952cjw33-e-ir-smp-squashfs-sysupgrade.bin</code>
   - After succesfull flash router will reboot into full OpenWrt image.   - After succesfull flash router will reboot into full OpenWrt image.
   - You need to wait about two minutes. Then you can connect to the router either with a browser - http://192.168.1.1 (or with ssh root@192.168.1.1).   - You need to wait about two minutes. Then you can connect to the router either with a browser - http://192.168.1.1 (or with ssh root@192.168.1.1).
   - (Optional) install bootloader without password.   - (Optional) install bootloader without password.
 +
 +NOTICE: WLAN works in AP mode only. Wi-Fi is active, WPA2+AES is set as encryption.
 +    Network 5 GHz - SSID: EasyBOX-5GHz
 +    Network 2.4 GHz - SSID: EasyBOX-2GHz
 +    Default password: WiFipassword
 +Change your password (only via the console).
  
 **More information and files:** **More information and files:**
   * [[https://github.com/zuzia-dev/Easybox-904xDSL]] (eng)   * [[https://github.com/zuzia-dev/Easybox-904xDSL]] (eng)
 +  * [[https://github.com/zuzia-dev/Easybox-904xDSL-repo-source]] (eng)
   * [[https://chomikuj.pl/ZuzannaCK/ROUTERY/EASYBOX+904+xDSL]] (pl).   * [[https://chomikuj.pl/ZuzannaCK/ROUTERY/EASYBOX+904+xDSL]] (pl).
 ===== Installing hacked bootloader =====  ===== Installing hacked bootloader ===== 
Line 143: Line 116:
 Default uboot has unknown password. This way we will install uboot with password check removed (it will accept any) Default uboot has unknown password. This way we will install uboot with password check removed (it will accept any)
 and uboot-env won't be overwritten on each boot (It does this only to increase the recovery value - The firmware reads this value and uboot-env won't be overwritten on each boot (It does this only to increase the recovery value - The firmware reads this value
-and resets it to 0 on each boot if this value is higher than 4, see [[https://github.com/Quallenauge/Easybox-904-XDSL/blob/master-lede/target/linux/lantiq/base-files/lib/preinit/06_init_network_lantiq]] for details).+and resets it to 0 on each boot if this value is higher than 4, see [[https://github.com/Quallenauge/Easybox-904-XDSL/blob/master-lede_rebased_5.4/target/linux/lantiq/base-files/lib/preinit/06_init_network_lantiq]] for details).
  
 **Prerequsites:** **Prerequsites:**
   * Hacked uboot files [[https://mega.nz/#!bA1gADqB!TtTdK3ePNdRjYnCfmM4an4JLbbucFJ2KvEe3U3cnTvo]]    * Hacked uboot files [[https://mega.nz/#!bA1gADqB!TtTdK3ePNdRjYnCfmM4an4JLbbucFJ2KvEe3U3cnTvo]] 
-  * Backup link: [[https://chomikuj.pl/ZuzannaCK/ROUTERY/EASYBOX+904+xDSL/Hacked+bootloader/u-boot,7354146705.lq]]+  * Backup link: [[https://github.com/zuzia-dev/Easybox-904xDSL/raw/master/u-boot.lq]]
  
 **Steps:** **Steps:**
Line 176: Line 149:
 Download the modified bootloader Download the modified bootloader
 <code> <code>
-$cd +cd 
-$mkdir tmp +mkdir tmp 
-$cd tmp +cd tmp 
-$wget http://arny.tjps.eu/OpenWrt/EasyBox904xDSL/devel/904xdsl-uboot-maybe-no-passwd.zip +wget http://arny.tjps.eu/OpenWrt/EasyBox904xDSL/devel/904xdsl-uboot-maybe-no-passwd.zip 
-$unzip 904xdsl-uboot-maybe-no-passwd.zip  +unzip 904xdsl-uboot-maybe-no-passwd.zip  
-$cd 904xdsl-uboot-maybe-no-passwd+cd 904xdsl-uboot-maybe-no-passwd
 </code> </code>
  
 Open another terminal window and connect to serial console. I assume that the adapter is '/dev/ttyUSB0'. If that's not the case change it. See here how to connect usb-serial-adapter: #serial Open another terminal window and connect to serial console. I assume that the adapter is '/dev/ttyUSB0'. If that's not the case change it. See here how to connect usb-serial-adapter: #serial
 <code> <code>
-$screen /dev/ttyUSB0 115200+screen /dev/ttyUSB0 115200
 </code> </code>
  
Line 194: Line 167:
 Now the bootloader has to be copied on the device. This will be done from the first console window. Now the bootloader has to be copied on the device. This will be done from the first console window.
 <code> <code>
-$cat u-boot.asm > /dev/ttyUSB0+cat u-boot.asm > /dev/ttyUSB0
 </code> </code>
  
Line 1867: Line 1840:
 **Helpful Links** **Helpful Links**
   * [[http://arny.tjps.eu/OpenWrt/EasyBox904xDSL/]]   * [[http://arny.tjps.eu/OpenWrt/EasyBox904xDSL/]]
-  * [[https://piratenpad.de/p/GWryBbvQqV]] 
   * [[http://www.randomprojects.org/wiki/Vodafone_EasyBox_904_xDSL]]   * [[http://www.randomprojects.org/wiki/Vodafone_EasyBox_904_xDSL]]
   * [[http://www.randomprojects.org/wiki/Vodafon_EasyBox_904_xDSL/Sysinfo]]   * [[http://www.randomprojects.org/wiki/Vodafon_EasyBox_904_xDSL/Sysinfo]]
 +  * [[https://github.com/Quallenauge/Easybox-904-XDSL]]
 +  * [[https://github.com/Plonkbong/Easybox-904-XDSL]]
 +  * [[https://github.com/majuss/easybox904]]
 +  * [[https://eko.one.pl/forum/viewtopic.php?id=16158]] - Polish Forum
 +  * [[https://github.com/zuzia-dev/Easybox-904xDSL]]
  
 ===== Tags ===== ===== Tags =====
 [[meta:tags|How to add tags]] [[meta:tags|How to add tags]]
-{{tag>lantiq 512NAND 128ram WIP unsupported}}+{{tag>lantiq 512NAND 128ram xDSL VDSL2 ADSL2+ WIP unsupported}}
  • Last modified: 2024/10/25 16:05
  • by zuzia