#19916: wrt1900ac kernel hang
-----------------------+------------------------
 Reporter:  anonymous  |      Owner:  developers
     Type:  defect     |     Status:  new
 Priority:  normal     |  Milestone:
Component:  toolchain  |    Version:  Trunk
 Keywords:             |
-----------------------+------------------------
 I build image for wrt1900ac with linaro gcc 4.9 and kernel hangs at
 "Starting Kernel...", and everything works when changing to linaro gcc
 4.8. It seems something wrong with linaro gcc 4.9.

 serial console log:
 BootROM 1.20
 Booting from NAND flash
 Step 1: First phase of PEX-PIPE Configuration
 Step 2: Configure the desire PIN_PHY_GEN
 Step 3 QSGMII enable
 Step 4: Configure SERDES MUXes
 Step 5: Activate the RX High Impedance Mode
 Step 6: [PEX-Only] PEX-Main configuration (X4 or X1)
 Step 6.2: [PEX-Only] PCI Express Link Capabilities
 Step 7: [PEX-X4 Only] To create PEX-Link
 Steps 7,8,9,10 and 11
 Steps 12: [PEX-Only] Last phase of PEX-PIPE ConfigurationSteps 13: Wait
 15ms before checking resultsSteps 14: [PEX-Only]  In order to
 configureSteps 15: [PEX-Only]  In order to configureSteps 16: [PEX-Only]
 Training Enablestep 17: max_if= 0x7
 step 17:  PEX0  pexUnit= 0
 ** Link is Gen1, check the EP capability
  --> 0050
 mvPexConfigRead: return addr=0x%x0050
  --> 7001
  --> 7001
  --> A005
  --> A005
  --> 0010
  --> 4C12
 Gen2 client!
 step 17:  PEX1  pexUnit= 0
 step 17:  PEX2  pexUnit= 0
 ** Link is Gen1, check the EP capability
  --> 0040
 mvPexConfigRead: return addr=0x%x0040
  --> 5001
  --> 5001
  --> 7005
  --> 7005
  --> 0010
  --> DC12
 Gen2 client!
 step 17:  PEX3  pexUnit= 0
 PEX3 : Detected No Link. Status Reg(0x0004DA64) = 0x00000001
 step 17:  PEX4  pexUnit= 1
 PEX4 : Detected No Link. Status Reg(0x00081A64) = 0x00000001
 step 17:  PEX5  pexUnit= 1
 PEX5 : Detected No Link. Status Reg(0x00085A64) = 0x00000001
 step 17:  PEX6  pexUnit= 1
 PEX6 : Detected No Link. Status Reg(0x00089A64) = 0x00000001
                                                             DDR3 Training
 Sequence - Ver 4.5.DDR3 Training Sequence - Static MC Init
 DDR3 Training Sequence - HW Training Procedure
 DDR3 Training Sequence - Switching XBAR Window to FastPath Window
 BootROM: Image checksum verification PASSED

  __   __                      _ _
 |  \/  | __ _ _ ____   _____| | |
 | |\/| |/ _` | '__\ \ / / _ \ | |
 | |  | | (_| | |   \ V /  __/ | |
 |_|  |_|\__,_|_|    \_/ \___|_|_|
          _   _     ____              _
         | | | |   | __ )  ___   ___ | |_
         | | | |___|  _ \ / _ \ / _ \| __|
         | |_| |___| |_) | (_) | (_) | |_
          \___/    |____/ \___/ \___/ \__|
  ** LOADER **


 U-Boot 2011.12 (Feb 06 2014 - 17:14:13) Marvell version: v2011.12
 2013_Q1.2

 Boot version:v1.3.25

 Board: RD-AXP-GP rev 1.0
 SoC:   MV78230 B0
        running 2 CPUs
        Custom configuration
 CPU:   Marvell PJ4B (584) v7 (Rev 2) LE
        CPU 0
        CPU    @ 1200 [MHz]
        L2     @ 600 [MHz]
        TClock @ 250 [MHz]
        DDR    @ 600 [MHz]
        DDR 32Bit Width, FastPath Memory Access
        DDR ECC Disabled
 DRAM:  256 MiB

 Map:   Code:            0x0fea7000:0x0ff5e2d4
        BSS:             0x0ffefd80
        Stack:           0x0f9a6ef8
        Heap:            0x0f9a7000:0x0fea7000

 NAND:  Spansion 1Gb(ID=F101) 128 MiB
 MMC:   MRVL_MMC: 0
 Bad block table found at page 65472, version 0x01
 Bad block table found at page 65408, version 0x01


 #### auto_recovery ####
 [u_env] get auto_recovery == off
 [u_env] get auto_recovery == off
 [u_env] get boot_part == 2
 [u_env] get boot_part_ready == 3
 auto_recovery enabled:0, boot_part:2, boot_part_ready:3

 PEX 0.0(0): Root Complex Interface, Detected Link X1, GEN 2.0
 PEX 0.1(1): Root Complex Interface, Detected Link X1, GEN 1.1
 PEX 0.2(2): Root Complex Interface, Detected Link X1, GEN 2.0
 PEX 0.3(3): Detected No Link.
 PEX 1.0(4): Detected No Link.
 PEX 1.1(5): Detected No Link.
 PEX 1.2(6): Detected No Link.

 boot_end Offset: 0x100000
 u_env_off Offset: 0x100000
 s_env_off Offset: 0x140000
 devinfo Offset: 0x900000

 ===================
 total_badCount: 0
 boot_badCount: 0
 u_env_badCount: 0
 s_env_badCount: 0
 buff_badCount: 0
 ===================

 FPU initialized to Run Fast Mode.
 USB 0: Host Mode
 USB 1: Host Mode
 USB 2: Device Mode
 Modules Detected:
 mvEthE6171SwitchBasicInit finished
 Net:   mvSysNetaInit enter
 set port 0 to rgmii enter
 set port 1 to rgmii enter
 egiga0 [PRIME], egiga1
 modify Phy Status
 auto_recovery_check changes bootcmd: run altnandboot
 Hit any key to stop autoboot:  0

 NAND read: device 0 offset 0x3200000, size 0x400000
  4194304 bytes read: OK
 ## Booting kernel from Legacy Image at 02000000 ...
    Image Name:   ARM OpenWrt Linux-3.18.16
    Created:      2015-06-19   5:04:55 UTC
    Image Type:   ARM Linux Kernel Image (uncompressed)
    Data Size:    1557921 Bytes = 1.5 MiB
    Load Address: 00008000
    Entry Point:  00008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
 OK

 Starting kernel ...

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