Giter Site home page Giter Site logo

brntool's People

Contributors

baumfaust avatar jplitza avatar rafacouto avatar rvalles avatar stefre avatar xdarklight avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

brntool's Issues

Entering Menu fails on ARV752DPW22 EasyBox 803A

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

brntool.py crash - Arcadyan VGV7510KW22 / o2 Box 6431

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

Does not want to read dump from AMAZON_S #

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...

ubootwrite

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.