[U-Boot] Crash observed while running U-Boot on LS1088 SD-boot

Ashish Kumar ashish.kumar at nxp.com
Mon Feb 19 06:19:28 UTC 2018


Hello York,

This fixes the crash on LS1088 sd-boot.

Regards
Ashish 

> -----Original Message-----
> From: York Sun
> Sent: Friday, February 16, 2018 9:21 PM
> To: Ashish Kumar <ashish.kumar at nxp.com>; u-boot at lists.denx.de
> Cc: Pankit Garg <pankit.garg at nxp.com>; Maxime Ripard
> <maxime.ripard at bootlin.com>
> Subject: Re: Crash observed while running U-Boot on LS1088 SD-boot
> 
> Ashish,
> 
> Please check if this fixes it https://patchwork.ozlabs.org/patch/870653/
> 
> York
> 
> On 02/16/2018 02:57 AM, Ashish Kumar wrote:
> > Hello all,
> >
> > I am seeing u-boot crash, while I run the latest u-boot on LS1088 for SD-
> Boot(ls1088aqds_sdcard_qspi_defconfig).
> > There were some changes related to passing env-parameters introduced by
> commit
> > "8a3a7e2270b39f14c1778a574bb815068d8c74d4     env: Pass additional
> parameters to the env lookup function".
> >
> > Did anyone face similar issue?
> > I reached this commit("8a3a7e22") after running git bisect.
> >
> > Log embedded in below mail chain.
> >
> > Regards
> > Ashish
> >> -----Original Message-----
> >> From: Ashish Kumar
> >> Sent: Thursday, February 8, 2018 3:51 PM
> >> To: Maxime Ripard <maxime.ripard at bootlin.com>; York Sun
> >> <york.sun at nxp.com>
> >> Cc: Pankit Garg <pankit.garg at nxp.com>
> >> Subject: RE: Crash observed while running Uboot
> >>
> >> Hello York, Maxime,
> >>
> >> I am seeing this u-boot crash on top of the tree of denx.de.
> >> After running git bisect, I found this commit
> >> "8a3a7e2270b39f14c1778a574bb815068d8c74d4     env: Pass additional
> >> " introduces it. Any idea how to fix?
> >>
> >> Logs below:
> >> U-Boot 2018.03-rc1-00185-g9b2cfe2 (Feb 08 2018 - 15:45:34 +0530)
> >>
> >> SoC:  LS1088AE Rev1.0 (0x87030010)
> >> Clock Configuration:
> >>        CPU0(A53):1600 MHz  CPU1(A53):1600 MHz  CPU2(A53):1600 MHz
> >>        CPU3(A53):1600 MHz  CPU4(A53):1600 MHz  CPU5(A53):1600 MHz
> >>        CPU6(A53):1600 MHz  CPU7(A53):1600 MHz
> >>        Bus:      700  MHz  DDR:      2100 MT/s
> >> Reset Configuration Word (RCW):
> >>        00000000: 4000541c 00000040 00000000 00000000
> >>        00000010: 00000000 000a0000 00300000 00000000
> >>        00000020: 01001150 00002580 00000000 00000040
> >>        00000030: 00000c5b 00000000 00000000 00000000
> >>        00000040: 00000000 00000000 00000000 00000000
> >>        00000050: 00000000 00000000 00000000 00000000
> >>        00000060: 00000000 00000000 00000011 000009e7
> >>        00000070: 44110000 00009555
> >> I2C:   ready
> >> DRAM:  Initializing DDR....using SPD
> >> Detected UDIMM 18ASF1G72AZ-2G1A1
> >> 7.9 GiB
> >> DDR    7.9 GiB (DDR4, 64-bit, CL=15, ECC on)
> >> FSL_SDHC: 0
> >> SEC Firmware: config-1: no such config SEC Firmware: error (-2) SEC
> >> Firmware: Failed to load image
> >> WARN: pls set popts->cpo_sample = 0x6a in <board>/ddr.c to optimize
> >> cpo Waking secondary cores to start from fbd51000 All (8) cores are up.
> >> Using SERDES1 Protocol: 29 (0x1d)
> >> Using SERDES2 Protocol: 13 (0xd)
> >> NAND:  0 MiB
> >> MMC:   Loading Environment from MMC... OK
> >> EEPROM: Invalid ID (ff ff ff ff)
> >> In:    serial
> >> Out:   serial
> >> Err:   serial
> >> Model: NXP Layerscape 1088a QDS Board
> >> Board: LS1088A-QDS, Board Arch: V1, Board version: B, boot from SD
> >> card
> >> vBank: 0
> >> FPGA: v6 (LS1088AQDS_2016_0818_1311), build 75 on Thu Aug 18 18:11:20
> >> 2016
> >> SERDES1 Reference : Clock1 = 100MHz Clock2 = 156.25MHz
> >> SERDES2 Reference : Clock1 = 100MHz Clock2 = 100MHz SATA link 0 timeout.
> >> AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
> >> flags: 64bit ncq pm clo only pmp fbss pio slum part ccc apst Found 0 device(s).
> >> SCSI:  Net:   qds: WRIOP: Supported SerDes1 Protocol 0x1d
> >> PCIe0: pcie at 3400000 Root Complex: no link
> >> PCIe1: pcie at 3500000 Root Complex: no link
> >> PCIe2: pcie at 3600000 Root Complex: x1 gen1
> >> e1000: 00:1b:21:39:30:86
> >>        DPMAC1 at xgmii
> >> Warning: DPMAC1 at xgmii (eth0) using random MAC address -
> >> fe:89:69:1c:38:4f , DPMAC2 at xgmii
> >> Warning: DPMAC2 at xgmii (eth1) using random MAC address -
> >> 96:82:07:2f:7f:b0 , DPMAC3 at qsgmii
> >> Warning: DPMAC3 at qsgmii (eth2) using random MAC address -
> >> 92:ba:99:eb:1b:fd , DPMAC4 at qsgmii
> >> Warning: DPMAC4 at qsgmii (eth3) using random MAC address -
> >> fa:b1:f7:d8:5c:02 , DPMAC5 at qsgmii
> >> Warning: DPMAC5 at qsgmii (eth4) using random MAC address -
> >> c2:ea:0a:78:b5:0a , DPMAC6 at qsgmii
> >> Warning: DPMAC6 at qsgmii (eth5) using random MAC address -
> >> ca:e2:23:02:39:06 , DPMAC7 at qsgmii
> >> Warning: DPMAC7 at qsgmii (eth6) using random MAC address -
> >> 92:1f:76:1e:82:97 , DPMAC8 at qsgmii
> >> Warning: DPMAC8 at qsgmii (eth7) using random MAC address -
> >> 9a:17:5f:64:0e:9b , DPMAC9 at qsgmii
> >> Warning: DPMAC9 at qsgmii (eth8) using random MAC address -
> >> a2:4c:a2:c4:e7:93 , DPMAC10 at qsgmii
> >> Warning: DPMAC10 at qsgmii (eth9) using random MAC address -
> >> aa:44:8b:be:6b:9f , e1000#0 [PRIME]
> >> Device: FSL_SDHC
> >> Manufacturer ID: 74
> >> OEM: 4a45
> >> Name: SDC
> >> Bus Speed: 50000000
> >> Mode : SD High Speed (50MHz)
> >> card capabilities: widths [4, 1] modes [SD Legacy, SD High Speed
> >> (50MHz)] host
> >> capabilities: widths [8, 4, 1] modes [MMC legacy, SD Legacy, MMC High
> >> Speed (26MHz), SD High Speed (50MHz), MMC High Speed (52MHz)] Rd
> >> Block Len: 512 SD version 3.0 High Capacity: Yes
> >> Capacity: 3.7 GiB
> >> Bus Width: 4-bit
> >> Erase Group Size: 512 Bytes
> >>
> >> MMC read: dev # 0, block # 20480, count 2048 ... 2048 blocks read: OK
> >>
> >> MMC read: dev # 0, block # 28672, count 2048 ... 2048 blocks read: OK
> >> crc32+ "Synchronous Abort" handler, esr 0x96000045
> >> ELR:     80462fac
> >> LR:      8043cde8
> >> x0 : 0000008240000000 x1 : 00000000800000c8
> >> x2 : 00000000000d0f68 x3 : 0000000000000000
> >> x4 : 000000000001a1ed x5 : 00000000000d0f68
> >> x6 : 60c7847000e08070 x7 : 0000000000000003
> >> x8 : 0000000000000084 x9 : 000000000000000c
> >> x10: 00000000fbb4ab5c x11: 0000000080000000
> >> x12: 000000000000005b x13: 00000000000d1080
> >> x14: 00000000fbb4ab7c x15: 0000000080000000
> >> x16: 00000000fbdbf35f x17: 00000000fbdcf7e5
> >> x18: 00000000fbb4cd88 x19: 0000008240000000
> >> x20: 00000000000d0f68 x21: 0000000000000007
> >> x22: 0000000080100000 x23: 00000000fbde5e54
> >> x24: 0000000000000005 x25: 0000000000000000
> >> x26: 0000000000000000 x27: 0000000000000000
> >> x28: 00000000fbb57520 x29: 00000000fbb4ac40
> >>
> >>> -----Original Message-----
> >>> From: Pankit Garg
> >>> Sent: Tuesday, February 6, 2018 11:03 AM
> >>> To: Maxime Ripard <maxime.ripard at bootlin.com>
> >>> Cc: Ashish Kumar <ashish.kumar at nxp.com>
> >>> Subject: RE: Crash observed while running Uboot
> >>>
> >>> Hi Maxime Ripard,
> >>>
> >>> We are using ls1088aqds_sdcard_qspi_defconfig.
> >>> When we are trying to read from mmc we are getting this error.
> >>>
> >>> Best Regards,
> >>> Pankit Garg.
> >>>
> >>> -----Original Message-----
> >>> From: Maxime Ripard [mailto:maxime.ripard at bootlin.com]
> >>> Sent: Monday, February 5, 2018 7:24 PM
> >>> To: Pankit Garg <pankit.garg at nxp.com>
> >>> Cc: Ashish Kumar <ashish.kumar at nxp.com>
> >>> Subject: Re: Crash observed while running Uboot
> >>>
> >>> Hi Pankit,
> >>>
> >>> On Mon, Feb 05, 2018 at 01:07:48PM +0000, Pankit Garg wrote:
> >>>> I am getting crash while running Uboot(cloned code from Upstream
> >>>> Repo) on LS1088aqds board .
> >>>>
> >>>> I ran git bisect and find below commit id as Bad patch.
> >>>>
> >>>> 8a3a7e2270b39f14c1778a574bb815068d8c74d4     env: Pass additional
> >>> parameters to
> >>>> the env lookup function
> >>>>
> >>>> Any idea ,what is going wrong or how I can proceed further ?
> >>>
> >>> Which configuration are you using?
> >>>
> >>> Thanks!
> >>> Maxime
> >>>
> >>> --
> >>> Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and
> >>> Kernel engineering http://bootlin.com
> >



More information about the U-Boot mailing list