rvalles / brntool Goto Github PK
View Code? Open in Web Editor NEWInterface brnboot bootloader via serial port to backup firmware.
License: GNU General Public License v3.0
Interface brnboot bootloader via serial port to backup firmware.
License: GNU General Public License v3.0
Hi, the tool was successfully tested on a Arcadyan ARV7519RW22-A-LT (AKA Livebox 2.1).
https://openwrt.org/toh/arcadyan/arv7519
Regards.
Daniel
Hello good Sir,
I have problems using your brntool for my router ARV752DPW22 EasyBox 803A.
It gets stuck at "waiting for a prompt...".
After you are sending " !" in function get2menu you wait for "]" and ":" to receive.
I wrote a whole block of 1000 chars and that was the result:
b' \n\r\n\r======================\n\r [#] Set Serial Number\n\r [2] Use Normal Firmware\n\r [3] Use ART-Testing Firmware\n\r [9] Taggle ART Firmware Enable/Disable\n\r [A] Set MAC Address\n\r [B] Set WPA Key\n\r [E] Erase Flash\n\r [G] Run Runtime Code\n\r [H] Set Options\n\r [M] Upload to Memory\n\r [P] Print Boot Params \n\r [R] Read from Memory\n\r [T] Memory Test\n\r [U] Upload to Flash\n\r [V] Set Board Version\n\r [W] Write to Memory\n\r [Y] Go to Memory\n\r [Z] Dump DDR Ram Register\n\r======================\n\r\n\r[DANUBE Boot]: \n\r\n\r======================\n\r [#] Set Serial Number\n\r [2] Use Normal Firmware\n\r [3] Use ART-Testing Firmware\n\r [9] Taggle ART Firmware Enable/Disable\n\r [A] Set MAC Address\n\r [B] Set WPA Key\n\r [E] Erase Flash\n\r [G] Run Runtime Code\n\r [H] Set Options\n\r [M] Upload to Memory\n\r [P] Print Boot Params \n\r [R] Read from Memory\n\r [T] Memory Test\n\r [U] Upload to Flash\n\r [V] Set Board Version\n\r [W] Write to Memory\n\r [Y] Go to Memory\n\r [Z] Dump DDR Ram Register\n\r======================\n\r\n\r[DANUBE Boot]: \n\r\n\r======='
So reading and writing works, but I guess the Menu is different?
Here you can see the menu as shown when using the tool screen to connect
http://i.imgur.com/8NKhnQo.png
Greetings from Germany
Hi,
unsing Manjaro Linux
python: 3.5.2
python-pyserial: 3.1.1-1
brntool.py from 08/13/2016
connect the Serial Console with minicom
sudo minicom -b 115200 -D /dev/ttyUSB1
Power ON the O2 Box 6431 / Arcadyan VGV7510KW22
press multible SPACE
see the Menu:
ROM VER: 1.1.4
CFG 01
Tuning DDR begin
DDR Access auto data-eye tuning Rev 0.3a
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...
=======================================================================
Wireless VDSL Gateway VR9 Loader V1.08.02 build Mar 12 2014 14:36:08
Arcadyan Technology Corporation
=======================================================================
BSP_RCU_RST_STAT : 70240000
Global GPHY0 GPHY1 reset ...
MXIC MX29GL128EL top boot 16-bit mode found
Copying boot params.....DONE
Press Space Bar 3 times to enter command mode ...123
Yes, Enter command mode ...
[VR9 Boot]:
then exit minicom with CNRTL+A Z q
run brntool.py
sudo ./brntool.py --serial=/dev/ttyUSB1 --read=boot.brntool_dump --addr=0xB0000000 --verbose --size=0x40000
got this:
Waiting for a prompt...
Ok.
Traceback (most recent call last):
File "./brntool.py", line 94, in
main()
File "./brntool.py", line 91, in main
memread(ser,options.read,int(options.addr,0),int(options.size,0),options.verbose)
File "./brntool.py", line 68, in memread
memreadblock2file(ser,fd,addr,bs)
File "./brntool.py", line 52, in memreadblock2file
buf=memreadblock(ser,addr,size)
File "./brntool.py", line 45, in memreadblock
buf+=bytes(m.group(1)[1:].split(' '))
TypeError: 'str' object cannot be interpreted as an integer
What did i wrong ?
Thanks
I have ZTE ZXV10H201L it has AMAZON_S # prompt, when I start the tool it just hangs and write
sudo python brntool.py --read=ZTE.dump --verbose --serial=/dev/ttyACM0 --addr=0xB0000000 --size=0x800000
[sudo] password for slobodan:
Waiting for a prompt...
I found no other way to reach you. This is just to let you know ubootwrite exists. I hope you're ok with the "fork"... If not, please let me know.
Best Regards,
Bim
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.