1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

BRICKED ROUTER: Boot program checksum is invalid

Discussion in 'ASUS Wireless' started by GNUton, Jan 22, 2020.

  1. GNUton

    GNUton Regular Contributor

    Joined:
    Mar 28, 2019
    Messages:
    97
    Location:
    Italy
    Hi there,
    I have an issue with my Asus DSL-AC68U.
    I built and flashed a bad image on my router and it's bricked now.

    I have access to serial port and what I see is that the image fails to boot with a "Boot program checksum is invalid".

    -----FULL LOG----

    ADDR

    0000000000111111111122222222223333333333444444444455555555556666
    0123456789012345678901234567890123456789012345678901234567890123
    00 +++++++++++++++++++++++S+++++++X++++++++++++++++++++++++++++++++

    Decompressing...done
    Detect CPU turbo button...

    CFE version 6.37.14.86 (r456083) based on BBP 1.0.37 for BCM947XX (32bit,SP,)
    Build Date: Wed Jun 11 15:46:50 CST 2014 ([email protected])
    Copyright (C) 2000-2008 Broadcom Corporation.

    Init Arena
    Init Devs.
    Boot partition size = 262144(0x40000)
    DDR Clock: 666 MHz
    Info: DDR frequency set from clkfreq=800,*666*
    et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.37.14.86 (r456083)
    CPU type 0x0: 800MHz
    Tot mem: 262144 KBytes

    CFE mem: 0x00F00000 - 0x01795580 (9000320)
    Data: 0x00F4DBE0 - 0x00F4E0AC (1228)
    BSS: 0x00F4E0B8 - 0x00F93580 (283848)
    Heap: 0x00F93580 - 0x01793580 (8388608)
    Stack: 0x01793580 - 0x01795580 (8192)
    Text: 0x00F00000 - 0x00F442A4 (279204)

    Device eth0: hwaddr XX-XX-XX-XX-XX-XX, ipaddr 192.168.1.1, mask 255.255.255.0
    gateway not set, nameserver not set
    Null Rescue Flag.
    boot the image...
    Boot program checksum is invalid
    Hello!! Enter Rescue Mode: (Check error)

    -----------------------
    I flashed different TRXs but I always get the same error message.
    Is there anything I can do to fix this?

    When I flash the firmware via TFTP the console says everything is fine:

    ------ SERIAL CONSOLE LOG AFTER TFTP FIRMWARE UPLOAD---
    TFTP Server.
    ..tftp retry wait 0
    - last blk -
    - Last block -
    Done. 30141107 bytes read
    Download of 0x1cbeab3 bytes completed
    Write kernel and filesystem binary to FLASH
    Programming...copysize=30141107, amtcopy=30141107
    done. 30141107 bytes written
    ----------------------------------------------------------------------------------------
     
  2. GNUton

    GNUton Regular Contributor

    Joined:
    Mar 28, 2019
    Messages:
    97
    Location:
    Italy
    Side note:
    I used tftp to upload the trx image. Is anything wrong in the way I'm recovering it?
    # tftp
    tftp > connect 192.168.1.1
    tftp > put my_file.trx
     
  3. GNUton

    GNUton Regular Contributor

    Joined:
    Mar 28, 2019
    Messages:
    97
    Location:
    Italy
    Problem found.
    Data was not transmitted in binary mode.
    So this works
    # tftp
    tftp > connect 192.168.1.1
    tftp > mode binary
    tftp > put my_file.trx
     
    ika, Grisu, oso2276 and 3 others like this.