OpenWrt Forum Archive

Topic: Arcor EasyBox 803A Astoria ARV752DPW22

The content of this topic has been archived between 23 Mar 2017 and 13 Apr 2018. Unfortunately there are posts – most likely complete pages – missing.

Hi,
on barrier breaker downloads page there is two images:openwrt-lantiq-xway-ARV752DPW22-squashfs.image and openwrt-lantiq-xway-ARV752DPW22-uImage , whitch difference between those two? And can I upload the image via web interface(I have openwrt installed)? Thank You!

Hi,
I have exactly the same problem, router stops during startup in this step:
[    0.000000]  memory: 04000000 @ 00000000 (usable)

Any solution to this problem? Links to the firmware/u-boot images from this thread are no longer active.


taxidriver wrote:

Hiya snk,

noticed there was a new image from you for the Arcor EasyBox 803A and I wanted to try it, so I chose to proceed as described on the wiki page. Everything looked good until the final upload of u-boot and jumping to address 0x80002000:

Go to Memory Address: (default:0x80002000) : 0x
Jump to address 0x80002000 ...


U-Boot 2010.03-svn34185 (Nov 16 2012 - 07:31:16)

Board: ARV752DPW22
SoC: Danube/Twinpass/Vinax-VE V1.5, DDR Speed 166 MHz, CPU Speed 333 MHz
DRAM:  64 MB
Flash:  8 MB
*** Warning - bad CRC, using default environment

Net:   bring up ebu gpio
initializing ar8216 switch... initialized
lq_cpe_eth
Hit any key to stop autoboot:  0 
## Booting kernel from Legacy Image at b0020000 ...
   Image Name:   MIPS OpenWrt Linux-3.10.36
   Created:      2014-05-23  20:47:24 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1409258 Bytes =  1.3 MB
   Load Address: 80002000
   Entry Point:  80002000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.10.36 (matti@Orion) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r40694) ) #4 Fri May 23 22:47:20 CEST 2014
[    0.000000] SoC: Danube rev 1.5
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019641 (MIPS 24KEc)
[    0.000000] MIPS: machine is ARV752DPW22 - Arcor 803
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)

The logging simply stops there and and I'm stuck 'cause nothing else happens.

Don't know what I might have done wrong. Could you give me a hand, please?

Maybe wrong U-Boot.
I think these are the ones from SNKs old site that is down now. They worked for me on BarrierBreaker. The NOR is the real one and the BRN should be 2nd stage bootloader (for manual load in BRN).
http://www.mediafire.com/download/taote … 803%29.zip

Thank you HectoPascal!
It works, BarrierBreaker starts without problems.

Hi all.

After a small detour via a broken bootloader, UART mode and installing the NOR U-Boot from this thread (Thanks a bunch!) I managed to install OpenWRT 14.07 BB onto my EasyBox 803A. Now after restoring the configuration area and resetting the router configuration via LuCI, WiFi and LAN work fine.
Then I wanted to install USB support and ALSA. Most packages install ok, but some (e.g. kmod-fs-ext4, alsa-lib) give me segmentation faults. This one's from installing alsa-lib via the "Software" menu:

[  274.072000] CPU 0 Unable to handle kernel paging request at virtual address 09f2bb7e, epc == 80010004, ra == 80014044
[  274.084000] Oops[#1]:
[  274.084000] CPU: 0 PID: 1773 Comm: opkg Not tainted 3.10.49 #5
[  274.084000] task: 82ce0d68 ti: 82e30000 task.ti: 82e30000
[  274.084000] $ 0   : 00000000 7fabcf60 000192a4 00000000
[  274.084000] $ 4   : c0002000 00000000 c0034548 09f2bb7e
[  274.084000] $ 8   : 8236d3e5 8236d3e5 8236d29b c08363c0
[  274.084000] $12   : 00000000 00000111 00000023 00000000
[  274.084000] $16   : 00000023 0000063b 00000025 00000025
[  274.084000] $20   : 00000023 00000002 c0002000 00000000
[  274.084000] $24   : 00000023 000003e4                  
[  274.084000] $28   : 82e30000 82e31ad0 8236d278 80014044
[  274.084000] Hi    : 0000e48c
[  274.084000] Lo    : cccd94c8
[  274.084000] epc   : 80010004 GetPureRepPrice+0x34/0x114
[  274.084000]     Not tainted
[  274.084000] ra    : 80014044 LzmaEnc_MemEncode+0x1c0c/0x2cfc
[  274.084000] Status: 1100fc03    KERNEL EXL IE 
[  274.084000] Cause : 00800008
[  274.084000] BadVA : 09f2bb7e
[  274.084000] PrId  : 00019641 (MIPS 24KEc)
[  274.084000] Modules linked in: rt2800pci rt2800mmio rt2800lib iptable_nat snd_usb_audio rt2x00pci rt2x00mmio rt2x00lib pppoe nf_nat_ipv4 nf_conntrack_ipv4 mac80211 ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda snd_usbmidi_lib pppox ppp_async nf_nat_irc nf_nat_ftp nf_nat nf_defrag_ipv4 nf_conntrack_irc nf_conntrack_ftp ltq_atm_danube iptable_raw iptable_mangle iptable_filter ipt_REJECT ip_tables drv_vmmc crc_itu_t crc_ccitt compat sg drv_dsl_cpe_api ltq_mei_danube ledtrig_usbdev ip6t_REJECT ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables nf_conntrack_ipv6 nf_conntrack nf_defrag_ipv6 pppoatm ppp_generic slhc msdos snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_timer snd_rawmidi snd_seq_device snd_hwdep snd soundcore vfat fat br2684 atm drv_tapi ipv6 eeprom_93cx6 drv_ifxos arc4 crypto_blkcipher usb_storage ohci_hcd sd_mod scsi_mod ltq_hcd_danube uhci_hcd ehci_pci ehci_platform ehci_hcd gpio_button_hotplug
[  274.084000] Process opkg (pid: 1773, threadinfo=82e30000, task=82ce0d68, tls=77996440)
[  274.084000] Stack : 8245955c 00000000 006e05ac 83a0ec00 00000001 c0032ca0 00000000 00000000
[  274.084000]       00000000 00000000 0000016b 0000016f 0000003f 000000f7 8001594c 82459000
[  274.084000]       00001000 00000000 00000002 00000002 82e31b08 00000023 00000111 8236d3e5
[  274.084000]       c0032ea0 00000002 00000002 00000000 00000c1c 00000000 c0002000 000000c9
[  274.084000]       c0002030 8236d3e4 000000da 00000002 000003e2 c0032ca0 803704e4 000003e3
[  274.084000]       ...
[  274.084000] Call Trace:
[  274.084000] [<80010004>] GetPureRepPrice+0x34/0x114
[  274.084000] [<80014044>] LzmaEnc_MemEncode+0x1c0c/0x2cfc
[  274.084000] [<8016b75c>] jffs2_lzma_compress+0x78/0xbc
[  274.084000] [<8016fd20>] jffs2_selected_compress+0xd8/0x17c
[  274.084000] [<80162888>] jffs2_compress+0x220/0x2b0
[  274.084000] [<801730d0>] jffs2_write_inode_range+0xcc/0x318
[  274.084000] [<80172e54>] jffs2_write_end+0x160/0x310
[  274.084000] [<8011bb18>] generic_file_buffered_write+0x1cc/0x310
[  274.084000] [<8003d420>] __generic_file_aio_write+0x3e0/0x478
[  274.084000] [<8011b8b8>] generic_file_aio_write+0x80/0x114
[  274.084000] [<800e9f5c>] do_sync_write+0x88/0xc0
[  274.084000] [<802f6814>] vfs_write+0xd0/0x1a8
[  274.084000] [<80028d10>] SyS_write+0x58/0xa4
[  274.084000] [<800081b0>] stack_done+0x20/0x44
[  274.084000] 
[  274.084000] 
[  274.084000] Code: 00873821  00063040  00863021 <94e30000> 94c50000  3402c328  386307ff  00052902  00031902 
[  274.392000] ---[ end trace 56c7222d902844b3 ]---

What can I do? Is there a more recent version than the stable/release 14.07 for the ARV752DPW22?

And some technical questions:
- What does change from box to box? If I make an image of my current firmware can I flash it onto another box without problems or what do I need to do? Save the board config of the new box and reflash that?
- Are the GPIO ports in the box I could easily use? I2C? SPI?

Best Regards,

Bim

(Last edited by Bim on 19 May 2015, 08:03)

Hi Bim,

I like your article!

I have an Easybox 803a for myself and tried to copy your steps, except that I use screen instead of CuteCom.

Unfortunately I am stuck at the point to load the "openwrt-lantiq-arv752dpw22_nor-u-boot" into memory via the sx command.

I got a message that 185600 bytes were sent, but when I try to go to the memory with 'Y' it just states "jump to address 0x80002000..."
and then nothing happens.

I tried the other u-boot image (openwrt-lantiq-arv752dpw22_brn-u-boot.img) and it works fine. As far as I understood the instruction, I can't / shouldn't use this image to flash u-boot as the first bootloader but only can use it as a second stage bootloader which I don't like to do.

Do you have - by any chance - any ideas for my problem or did I just miss something?

Hi all,

I tried to do all the stuff supposed here using Ubuntu 14.04, unfortunately it is my wife's laptop. As a result :-) I tried to manage all the steps given with Windows 7 64bit.

I found an alternative for almost every procedure described in linux for windows (screen / sx --> teraterm) but am sadly stuck with the brntool. Is there any way to dump my original firmware using Windows or is it as an alternative possible to use a copy of the dumped firmware which I made on the Linux machine?

Greetz
Pete

pitt71 wrote:

Unfortunately I am stuck at the point to load the "openwrt-lantiq-arv752dpw22_nor-u-boot" into memory via the sx command.

I got a message that 185600 bytes were sent, but when I try to go to the memory with 'Y' it just states "jump to address 0x80002000..."
and then nothing happens.

I tried the other u-boot image (openwrt-lantiq-arv752dpw22_brn-u-boot.img) and it works fine. As far as I understood the instruction, I can't / shouldn't use this image to flash u-boot as the first bootloader but only can use it as a second stage bootloader which I don't like to do.

You are right. The "nor_" U-Boot is not working with the brn bootloader, I forgot that... You can load and run the "brn_" version and then use that to install the "nor_" version into flash...

pitt71 wrote:

I found an alternative for almost every procedure described in linux for windows (screen / sx --> teraterm) but am sadly stuck with the brntool. Is there any way to dump my original firmware using Windows or is it as an alternative possible to use a copy of the dumped firmware which I made on the Linux machine?

brntool is a python script, thus it needs Python installed to run. You could install Python to dump the image on Windows, but you can as well use the image you created on the linux machine.

Hi Bim,

thanks a lot!

Pete

Hello guys!
I'm currently using speedtouch 780wl and I tought to buy this device(803 A) it is like 10€ big_smile
Can some explain me what do i get with openwrt ? Can i use port to PVC mapping ? I'm using it for IPTV (8*40 adsl) and 8*60 for iptv.
So if its possible please answer. smile And do you think it would be upgrade from speedtouch 780wl ? I have auto port mapping based on mac address etc.

Thank you,
Adnan

Hi all,

I managed to make a 803a to work fine with Barrier Breaker. Now I'd like to do a backup of the whole flash area using openwrt-lantiq-arv752dpw22_brn-u-boot.img and restore it on another router. Does anyone have any experience or instruction on that?

@Bim: I'd like to do a German and English instruction step by step and kindly ask to use part of your work from here
May I do so?

Greetz
Pete

(Last edited by pitt71 on 8 Jun 2015, 21:23)

Hi again,

if anyone is interested in another step by step instruction in English to flash the Arcor EasyBox 803 Astoria ARV752DPW22 with BarrierBreaker feel free to follow the instructions (Libre Office / Open Office needed) here.

If anyone needs the same instruction in German, feel free to contact me here or write an email. I'd need three weeks time, going on holiday soon.

Greetz
Pete

(Last edited by pitt71 on 29 Jul 2015, 09:24)

Hi Everyone,
The tutorials and explanations about flashing the 803A you provided here an in the wiki seem to work fine for me. Thank you.
At least with the precompiled binaries.

But now i compiled the uboot and squash image myself, uboot stucks, after uploading it to memory via brnboot.

U-Boot 2013.10-openwrt4 (Aug 12 2015 - 11:03:26) ARV752DPW22

Board: Arcadyan ARV752DPW22
SoC:   Lantiq Danube-S v1.5
CPU:   333.333 MHz
IO:    166.667 MHz
BUS:   83.333 MHz
BOOT:  NOR
DRAM:  64 MiB
Flash: 8 MiB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   Board Net Initialization Failed
ltq-eth
Hit any key to stop autoboot:  0 

How do i manage to compile a working uboot for Chaoscalmer?

Hi,
I just bricked my Easybox and I'm trying to flash the old bootloader from U-Boot (with the u-boot.asc from serial) or the full backup (I don't know how).
At the end of the flash I'm not able to get the old prompt.
Please, somebody can help me to find which is my mistake?

-I start U-boot (asc) sending it by serial

-I use tftp to download the old (original) bootloader (128K)

-I flash it with cp.b starting at 0xB0000000 ... then reboot

Thanks in advance

(Last edited by passero on 13 Aug 2015, 17:07)

In general the steps are correct, but if the area is protected, which have to be flashed with cp.b, you might unprotect and erase it with "protect off all" and "erase 0xb0000000 0xb001ffff" before you copy it.

I recommend to cross check the copied content with the CRC check and reprotect the area before you reboot .

puma14 wrote:

In general the steps are correct, but if the area is protected, which have to be flashed with cp.b, you might unprotect and erase it with "protect off all" and "erase 0xb0000000 0xb001ffff" before you copy it.

I recommend to cross check the copied content with the CRC check and reprotect the area before you reboot .

Thank you for your reply puma14.
I just recovered my router. Maybe because, as you said, I forgot to erase before flashing or maybe because I didn't remove +3.3 from pin 1 of the serial !!!!!!
Anyway I flashed the original ROM backup and now I'm starting again! :-)
Thanks

Hey Guys!

Just digged out a easybox 803a from the trash. I'm just trying to get a power-adapter for this device. I wan't to put open-wrt on it - for sure!

Just have a couple of questions about it:

1.) Is the hardware fully supported? Including e.g. the phone functions?
2.) Is there a way to "Flash to OpenWRT without opening the device" ? (See: http://wiki.openwrt.org/toh/arcadyan/ar … the_device)
3.) Anyone successfully flashed and used it as a daily driver? No problems?
4.) Nice hardware inside wink

greetings!

(Last edited by 0penwrt on 16 Aug 2015, 09:54)

0penwrt wrote:

Just have a couple of questions about it:

1.) Is the hardware fully supported? Including e.g. the phone functions?
2.) Is there a way to "Flash to OpenWRT without opening the device" ? (See: http://wiki.openwrt.org/toh/arcadyan/ar … the_device)
3.) Anyone successfully flashed and used it as a daily driver? No problems?
4.) Nice hardware inside wink

greetings!

1.) Most of the functions work. danube-voip and asterisk might work for phone functions.
2.) I would not recomment to try to flash it with the recovery tool without making a backup of your original firmware and having some experience. But once you have flashed succesfully uboot with openwrt, you can close the device and update it without openening it.
3.) I am using it as daily router and a second device as repeater with a webcam. I had no problems with the stable release Barrier Breaker until now.
4.) Yes, nice and even a cheap hardware.

You should allow time for the first steps and you might build OpenWRT by your own later.

puma14 wrote:

You should allow time for the first steps and you might build OpenWRT by your own later.

I have already some experience in flashing openwrt on 3 different routers.
- One failed (was already broken/bricked)
- One was to easy: just boot in EM-Mode and flash
- One was with soldering and do the initial flash via serial-uart

And when I read here the tutorials for flashing - this is the most complex one to flash.
Far more complexe with the 2(?) bootloader and flash partition-layouts, wifi-configs, etc....

But with the help of the tutorials and the forum it should be doable - like everything!

Greetings

BTW: Found my power-adapter for five bucks - but only together with another easybox big_smile

puma14 wrote:
0penwrt wrote:

2.) Is there a way to "Flash to OpenWRT without opening the device" ? (See: http://wiki.openwrt.org/toh/arcadyan/ar … the_device)

2.) I would not recomment to try to flash it with the recovery tool without making a backup of your original firmware and having some experience. [...]

What is the exact problem? What can go wrong? Beside that a wrong file is flashed..

For me the easiest would be to penetrate the box and reach the "brn-bootloader Recovery web interface"

http://wiki.openwrt.org/doc/techref/bootloader/brnboot

http://wiki.openwrt.org/_media/toh/arcadyan/recovering_tool.png

This "secret" recovery interface comes with an even more secret page http://192.168.1.1/undoc_upgrade.stm that does not check the firmware images before flashing them, and which even allows to flash the entire flash (including the bootloader). When the flashing is finished, the page may reload and show some garbled crap. Be sure to wait unil the flashing is finished before powercycling the device. On my IAD 4421 with 8MiB of NOR flash, a "master" flash (reflashing the entire flash, including the bootloader and the ART partition) took about 5 minutes.

And from there I can flash everything? Including the bootloader, sounds nice and easy for me! smile

But' It's not - why?

0penwrt wrote:

What is the exact problem? What can go wrong? Beside that a wrong file is flashed..

You could overwrite the wifi area for example and you will not have a chance to recover the data without having the original content. And I do not see a possibility to dump out the original firmware with the wifi data without opening the device.

Anyway, if you try let us know the result.

puma14 wrote:
0penwrt wrote:

What is the exact problem? What can go wrong? Beside that a wrong file is flashed..

You could overwrite the wifi area for example and you will not have a chance to recover the data without having the original content. And I do not see a possibility to dump out the original firmware with the wifi data without opening the device.

Anyway, if you try let us know the result.

OK, this is the tricky part. But as far as I know (the things I read): the area inside the flash where the wifi data is stored is - let's say "well known". So there is realy no way to flash a file which "just" contains the right content (bootloader, system) and does not overwrite the wifi data?

And I guess all the devices have different wifi data - but all on the same "cells" (in flash)

So for each and every device I flash I need to take care of the wifi data, right? -> Make the double backup and check via diff

This device is somehow really really complex big_smile But it look like it has power.. at least it' needs a lot of power big_smile

I report further and ask questions wink

soo long

Me again tongue

Got my box now powerd and serialed smile


Found this nice tutorial: https://clockworkbird9.wordpress.com/20 … s-openwrt/

It's a little bit "quicker" than the other ones: For example it's skipping the firmwaredump and solving the wifi issue with one universial line of code


dd if=/dev/mtdblock5 of=/lib/firmware/RT2860.eeprom bs=2 skip=520 count=256 conv=swab

Anyway... I'm right now dumping my firmware wink

f**k sh!t!

I just tried to do the next step (Upload U-Boot via serial port over xmodem protocoll) and failed hard... sad

I tried a few times because I didn't got any progress. Then probably I interrupted the process.

I had serial hooked up and went to the admin menu with 3-times space-bar and entering with "!", there I pushed "m" for upload to memory, entered 0x80002000, pressed enter. The thing was waiting for a file to be transferd.

I closed the serial-term and pushed via "sx filename.bin /dev/ttyUSB0" but here came no proper numbers. There where just some weird characters crowing. Here I stopped the process I think.

I now get weird console output via serial when powering on the easybox

=====LndootecPased.Image1] atl521, pe:0
age] at 0000,e62yxb042106 P1]R-Inc_(tia0x00_00DADDANUBE_SLE_BCU_EAAT 
   x  fr7F #BDet DiFLO i(*** La
[G LN3333euency:166666667
r4k_offset: 00028b0a(166666)
init_US_counter : 0467 , te= 0498,dff3200
...

Even so the machine is still working with stock-fw and wifi is also accessible...

How can a write to RAM overcome a reboot? I thought till here is nothing critical?

0penwrt wrote:

I closed the serial-term and pushed via "sx filename.bin /dev/ttyUSB0" but here came no proper numbers. There where just some weird characters crowing. Here I stopped the process I think.

I now get weird console output via serial when powering on the easybox

=====LndootecPased.Image1] atl521, pe:0
age] at 0000,e62yxb042106 P1]R-Inc_(tia0x00_00DADDANUBE_SLE_BCU_EAAT 
   x  fr7F #BDet DiFLO i(*** La
[G LN3333euency:166666667
r4k_offset: 00028b0a(166666)
init_US_counter : 0467 , te= 0498,dff3200
...

The command was wrong, it needs to be:

sx FILENAME.BIN < /dev/ttyUSB0 > /dev/ttyUSB0  

Doing it with the right command I get this Output:

at default address 0x80002000

Sending openwrt-lantiq-arv752dpw22_brn-u-boot.img, 1429 blocks: Give your local XMODEM receive command now.
Bytes Sent: 183040   BPS:10472                           

Transfer complete

at diffrent address 0x80500000

Sending openwrt-lantiq-arv752dpw22_nor-u-boot.img, 1449 blocks: Give your local XMODEM receive command now.
Bytes Sent: 185600   BPS:10010                           

Transfer complete

smile


When I jump to 0x80002000 I get this output:

Go to Memory Address: (default:0x80002000) : 0x
Jump to address 0x8�

U-Boot 2013.10-openwrt4 (May 28 2014 - 21:46:29) ARV752DPW22

Board: Arcadyan ARV752DPW22
SoC:   Lantiq Danube-S v1.5
CPU:   333.333 MHz
IO:    166.667 MHz
BUS:   83.333 MHz
BOOT:  NOR
DRAM:  64 MiB
Flash: 8 MiB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   Board Net Initialization Failed
ltq-eth
Hit any key to stop autoboot:  0 
ARV752DPW22 # 

The shitty thing is that Net:   Board Net Initialization Failed sad

Check the crc32:

ARV752DPW22 # crc32 0x80500000 0x0002D4E4
CRC32 for 80500000 ... 8052d4e3 ==> 498e834c

crc32 openwrt-lantiq-arv752dpw22_nor-u-boot.img
d2612108

Once again: Till now the "changes" are only in the RAM, right? When I power-off these images are gone? So than I can start a new... ?

>>> Ups, I did it again!

No the crc are the same:

ARV752DPW22 # crc32 0x80500000 0x0002D4E4
CRC32 for 80500000 ... 8052d4e3 ==> d2612108

crc32 openwrt-lantiq-arv752dpw22_nor-u-boot.img
d2612108

>>> But I still get:

Net:   Board Net Initialization Failed (it should be: Net:   bring up ebu gpio        initializing ar8216 switch... initialized)

I don't want to continue like this because I don't want to brick the machine.

Anyone any help? Appreciate it wink

(Last edited by 0penwrt on 19 Aug 2015, 10:31)