#20456: Trunk does not boot on WDR4900 compiled with GCC 5.2.0
-----------------------+------------------------
 Reporter:  anonymous  |      Owner:  developers
     Type:  defect     |     Status:  new
 Priority:  normal     |  Milestone:
Component:  packages   |    Version:  Trunk
 Keywords:             |
-----------------------+------------------------
 Trunk r46779 for target mpc85xx and router WDR4900 does not boot with GCC
 5.2.0 enabled. Log from serial console:

 {{{
 U-Boot 2010.12-svn19826 (Apr 24 2013 - 20:01:21)

 CPU:   P1014, Version: 1.0, (0x80f10110)
 Core:  E500, Version: 5.1, (0x80212151)
 Clock Configuration:
        CPU0:800  MHz,
        CCB:400  MHz,
        DDR:333.333 MHz (666.667 MT/s data rate) (Asynchronous), IFC:100
 MHz
 L1:    D-cache 32 kB enabled
        I-cache 32 kB enabled
 Board: P1014RDB
 SPI:   ready
 DRAM:  128 MiB
 L2:    256 KB enabled
 Using default environment

 PCIe1: Root Complex of mini PCIe Slot, x1, regs @ 0xffe0a000
   01:00.0     - 168c:abcd - Network controller
 PCIe1: Bus 00 - 01
 PCIe2: Root Complex of PCIe Slot, x1, regs @ 0xffe09000
   03:00.0     - 168c:0033 - Network controller
 PCIe2: Bus 02 - 03
 In:    serial
 Out:   serial
 Err:   serial
 Net:   initialization for Atheros AR8327/AR8328
 eTSEC1
 auto update firmware: is_auto_upload_firmware = 0!
 Autobooting in 1 seconds
 => tftpboot 0x1000000 openwrt.bin
 Check for phy link status
 Speed: 1000, full duplex
 Using eTSEC1 device
 TFTP from server 192.168.0.104; our IP address is 192.168.0.136
 Filename 'openwrt.bin'.
 Load address: 0x1000000
 Loading: T
 #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          ########################################################
 done
 Bytes transferred = 10354692 (9e0004 hex)
 => sf probe 0
 SF: Detected S25FL128S_64K with page size 256, total 16 MiB
 16384 KiB S25FL128S_64K at 0:0 is now current device
 => sf erase 0x60000 0xf80000
 SPI flash erase successful
 => sf write 0x1000000 0x60000 0xf80000
 SPI flash write successful
 => reset
 =>

 U-Boot 2010.12-svn19826 (Apr 24 2013 - 20:01:21)

 CPU:   P1014, Version: 1.0, (0x80f10110)
 Core:  E500, Version: 5.1, (0x80212151)
 Clock Configuration:
        CPU0:800  MHz,
        CCB:400  MHz,
        DDR:333.333 MHz (666.667 MT/s data rate) (Asynchronous), IFC:100
 MHz
 L1:    D-cache 32 kB enabled
        I-cache 32 kB enabled
 Board: P1014RDB
 SPI:   ready
 DRAM:  128 MiB
 L2:    256 KB enabled
 Using default environment

 PCIe1: Root Complex of mini PCIe Slot, x1, regs @ 0xffe0a000
   01:00.0     - 168c:abcd - Network controller
 PCIe1: Bus 00 - 01
 PCIe2: Root Complex of PCIe Slot, x1, regs @ 0xffe09000
   03:00.0     - 168c:0033 - Network controller
 PCIe2: Bus 02 - 03
 In:    serial
 Out:   serial
 Err:   serial
 Net:   initialization for Atheros AR8327/AR8328
 eTSEC1
 auto update firmware: is_auto_upload_firmware = 0!
 Autobooting in 1 seconds
 SF: Detected S25FL128S_64K with page size 256, total 16 MiB
 16384 KiB S25FL128S_64K at 0:0 is now current device
 SPI flash read successful
 SPI flash read successful
 ## Booting kernel from Legacy Image at 02000000 ...
    Image Name:   Linux-4.1.6
    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
    Data Size:    1899999 Bytes = 1.8 MiB
    Load Address: 01000000
    Entry Point:  0100052c
    Verifying Checksum ... OK
 ## Flattened Device Tree blob at 03000000
    Booting using the fdt blob at 0x3000000
    Uncompressing Kernel Image ... OK
    Loading Device Tree to 00ffa000, end 00ffffff ... OK
 Machine check in kernel mode.
 Caused by (from mcsr): mcsr = 0x00000000
 NIP: 00000000 XER: 20000000 LR: 01001EC8 REGS: 013b1c4c TRAP: 0200 DAR:
 00000000
 MSR: 00000000 EE: 0 PR: 0 FP: 0 ME: 0 IR/DR: 00

 GPR00: 01002C04 013B1D3C 07EBFF4C 01009910 00000340 01009910 013B1D74
 00002F80
 GPR08: 00002770 013B211C 0000034B 04000000 82042028 00000000 00000000
 00000000
 GPR16: 00000000 07FF3980 00000000 00000000 07FF75B8 07FC42BC 07FF7370
 07FF7030
 GPR24: 07FF70D0 00000001 07FF3980 00000000 00000000 013B1D74 01012964
 013BE100
 MCSR=0x00000000         MCSRR0=0x00000000
 MCSRR1=0x00000000       MCAR=0x00000000
 Call backtrace:
 00000000 01002C04 01003614 010036BC 01000244 01000624
 Returning back to 0x00000000
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/20456>
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