#19742: ar71xx: filed to boot from factory image
-------------------------+----------------------------------
 Reporter:  christian@…  |      Owner:  developers
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:  Chaos Calmer (trunk)
Component:  base system  |    Version:  Trunk
 Keywords:               |
-------------------------+----------------------------------
 After reset the uboot hangs in a recovery state, where it tries to
 download a special file. I interrupted this code by pressing ctl+c.

 {{{
 U-Boot 1.1.4 (Jun 17 2013 - 12:31:57)

 U-boot DB120


 DRAM:  128 MB
 id read 0x100000ff
 flash size 8MB, sector count = 128
 Flash:  8 MB
 Using default environment

 PCIe Reset OK!!!!!!
 In:    serial
 Out:   serial
 Err:   serial
 Net:   ag934x_enet_initialize...
 No valid address in Flash. Using fixed address
  wasp  reset mask:c03300
 WASP  ----> S17 PHY *
 : cfg1 0x7 cfg2 0x7114
 eth0: ba:be:fa:ce:08:41
 athrs17_reg_init: complete
 eth0 up
 eth0
 Autobooting in 1 seconds
 db12x> setenv serverip 10.0.1.18
 db12x> setenv ipaddr 10.0.1.123
 db12x> tftpboot 0x81000000 openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-
 factory.bin
 dup 1 speed 1000
 Using eth0 device
 TFTP from server 10.0.1.18; our IP address is 10.0.1.123
 Filename 'openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-factory.bin'.
 Load address: 0x81000000
 Loading: T T
 Abort
 db12x> tftpboot 0x81000000 openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-
 factory.bin
 eth0 link down
 Using eth0 device
 TFTP from server 10.0.1.18; our IP address is 10.0.1.123
 Filename 'openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-factory.bin'.
 Load address: 0x81000000
 Loading: T
 #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          ############################
 done
 Bytes transferred = 8126464 (7c0000 hex)
 db12x> erase 0x9f020000 +7c0000

 First 0x2 last 0x7d sector size 0x10000
 125
 Erased 124 sectors
 db12x> cp.b 0x81000000 0x9f020000 0x7c0000
 Copy to Flash... write addr: 9f020000
 done
 db12x> reset

 U-Boot 1.1.4 (Jun 17 2013 - 12:31:57)

 U-boot DB120


 DRAM:  128 MB
 id read 0x100000ff
 flash size 8MB, sector count = 128
 Flash:  8 MB
 Using default environment

 PCIe Reset OK!!!!!!
 In:    serial
 Out:   serial
 Err:   serial
 Net:   ag934x_enet_initialize...
 No valid address in Flash. Using fixed address
  wasp  reset mask:c03300
 WASP  ----> S17 PHY *
 : cfg1 0x7 cfg2 0x7114
 eth0: ba:be:fa:ce:08:41
 athrs17_reg_init: complete
 eth0 up
 eth0
 dup 1 speed 1000
 Using eth0 device
 TFTP from server 192.168.0.66; our IP address is 192.168.0.86
 Filename 'wdr4300v1_tp_recovery.bin'.
 Load address: 0x80060000
 Loading: T T T
 Abort
 original_product_id = 43000001
  original_product_ver = 01
  recovery_product_id = 2af7eaa4
  recovery_product_ver = aaa7ea91
  auto update firmware: product id verify fail!
 Autobooting in 1 seconds
 ## Booting image at 9f020000 ...
    Uncompressing Kernel Image ... OK

 Starting kernel ...

 [    0.000000] Linux version 3.18.14 (c@black) (gcc version 4.8.3
 (OpenWrt/Linaro GCC 4.8-2014.04 r45458) ) #5 Wed May 27 15:16:28 CEST 2015
 [    0.000000] bootconsole [early0] enabled
 [    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
 [    0.000000] SoC: Atheros AR9344 rev 2
 [    0.000000] Determined physical RAM map:
 [    0.000000]  memory: 08000000 @ 00000000 (usable)
 [    0.000000] Initrd not found or empty - disabling initrd
 ...
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/19742>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to