Hi,
In our carrier board, I210 in UPHY1 is used. I need flash the external SPI flash. However, when I run the flash cmd, SError occurs.
Please help me to point the reason.
failed log shown below:
01:00.0 -r temp.txtop:~/yaccor$ sudo …/flashrom -VVVV -p nicintel_spi:pci=00010
flashrom on Linux 4.9.140-tegra (aarch64)
flashrom is free software, get the source code at https://flashrom.org
flashrom was built with libpci 3.6.2, GCC 7.4.0, little endian
Command line (5 args): …/flashrom -VVVV -p nicintel_spi:pci=0001:01:00.0 -r tet
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Initializing nicintel_spi programmer
Found “Intel I210 Gigabit Network Connection Unprogrammed” (8086:1531, BDF 01:0.
PCI header type 0x00
Requested BAR is of type MEMMEM BAR access requested, but device has MEM space .
, 32bit, not prefetchable
PCI header type 0x00
Requested BAR is of type MEMMEM BAR access requested, but device has MEM space .
, 32bit, not prefetchable
page_size=1000
pre-rounding: start=0x0000000040012000, len=0x1000, end=0x0000000040013000
post-rounding: start=0x0000000040012000, len=0x1000, end=0x0000000040013000
[ 57.897433] CPU0: SError detected, daif=140, spsr=0x80000000, mpidr=800000000
[ 57.897459] CPU3: SError detected, daif=1c0, spsr=0x80c000c5, mpidr=800001010
[ 57.897477] CPU1: SError detected, daif=1c0, spsr=0x80c000c5, mpidr=800000010
[ 57.897490] CPU2: SError detected, daif=1c0, spsr=0x80c000c5, mpidr=800001000
[ 57.897719] ras_ccplex_serr_callback: Scanning CCPLEX Error Records for Uncos
[ 57.897775] **************************************
[ 57.897784] RAS Error in SCF:SNOC, ERRSELR_EL1=1026:
[ 57.897788] Status = 0xf400a20d
[ 57.897795] IERR = Uncorrectable Carveout Error: 0xa2
[ 57.897802] SERR = Illegal address (software fault): 0xd
[ 57.897806] Uncorrectable (this is fatal)
[ 57.897824] MISC0 = 0x804
[ 57.897828] MISC1 = 0x2992800000800
[ 57.897885] ADDR = 0x800000004001201c
[ 57.897985] **************************************
[ 57.898013] ras_corecluster_serr_callback:Scanning CoreCluster Error Recordss
[ 57.898035] **************************************
[ 57.898039] RAS Error in L2, ERRSELR_EL1=512:
[ 57.898043] Status = 0xf400640d
[ 57.898048] IERR = SCF to L2 Decode Error Read: 0x64
[ 57.898052] SERR = Illegal address (software fault): 0xd
[ 57.898055] Uncorrectable (this is fatal)
[ 57.898076] MISC0 = 0x80000000100000
[ 57.898079] MISC1 = 0x20240000002
[ 57.898128] ADDR = 0x800000004001201c
[ 57.898171] **************************************
[ 57.898239] ras_core_serr_callback: Scanning Core Error Records for Uncorrecs
[ 57.898383] Bad mode in Error handler detected on CPU3, code 0xbe000000 – Sr
[ 57.898393] Internal error: Oops - bad mode: 0 [#1] PREEMPT SMP
[ 57.898456] Modules linked in: bnep fuse overlay zram nvgpu bluedroid_pm ip_s
[ 57.898514] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.9.140-tegra #1
[ 57.898519] Hardware name: Jetson-AGX (DT)
[ 57.898528] task: ffffffc3ee3c4600 task.stack: ffffffc3ee3d8000
[ 57.898554] PC is at t19x_cpu_enter_state+0x4c/0x118
[ 57.898559] LR is at t19x_cpu_enter_state+0x1c/0x118
[ 57.898564] pc : [] lr : [] pstate: 80c05
[ 57.898568] sp : ffffffc3ee3dbe80
[ 57.898578] x29: ffffffc3ee3dbe80 x28: 0000000000000001
[ 57.898588] x27: ffffff8009e56000 x26: ffffff8009821a48
[ 57.898598] x25: 0000000000000000 x24: 0000000d7acbb480
[ 57.898607] x23: ffffff8009fca820 x22: ffffffc3ffdeea50
[ 57.898617] x21: ffffff8009fca838 x20: ffffff800a195870
[ 57.898626] x19: 0000000000000000 x18: 0000000000000000
[ 57.898635] x17: 0000007fb66b4748 x16: ffffff80082b2758
[ 57.898645] x15: 0000000000000000 x14: 0000000000322c65
[ 57.898656] x13: 000000000000c1cb x12: 071c71c71c71c71c
[ 57.898666] x11: 000000000000000b x10: 0101010101010101
[ 57.898677] x9 : fffffffffffffffe x8 : 7f7f7f7f7f7f7f7f
[ 57.898686] x7 : fefefeff646c606d x6 : 00170401e9e1acf4
[ 57.898696] x5 : 742c616901041700 x4 : 8080808000000000
[ 57.898706] x3 : b34b234b0963a000 x2 : 000000000000000b
[ 57.898715] x1 : 0000000000000000 x0 : 0000000000000000
[ 57.898719]
[ 57.898745] Process swapper/3 (pid: 0, stack limit = 0xffffffc3ee3d8000)
[ 57.898750] Call trace:
[ 57.898761] [] t19x_cpu_enter_state+0x4c/0x118
[ 57.898773] [] cpuidle_enter_state+0x84/0x380
[ 57.898780] [] cpuidle_enter+0x34/0x48
[ 57.898792] ras_ccplex_serr_callback: Scanning CCPLEX Error Records for Uncos
[ 57.898805] [] call_cpuidle+0x44/0x70
[ 57.898812] [] cpu_startup_entry+0x1b0/0x200
[ 57.898826] [] secondary_start_kernel+0x190/0x1f8
[ 57.898831] [<0000000080f4f1a4>] 0x80f4f1a4
[ 57.898858] ras_corecluster_serr_callback:Scanning CoreCluster Error Recordss
[ 57.898878] —[ end trace 4d0b70969ae1c7ae ]—
[ 57.901366] ras_core_serr_callback: Scanning Core Error Records for Uncorrecs
[ 57.901650] ras_ccplex_serr_callback: Scanning CCPLEX Error Records for Uncos
[ 57.901699] ras_corecluster_serr_callback:Scanning CoreCluster Error Recordss
[ 57.901760] ras_core_serr_callback: Scanning Core Error Records for Uncorrecs
[ 57.911999] Kernel panic - not syncing: Attempted to kill the idle task!
[ 57.912018] SMP: stopping secondary CPUs
[ 57.912105] Kernel Offset: disabled
[ 57.912111] Memory Limit: none
[ 58.291475] trusty-log panic notifier - trusty version Built: 21:17:12 Aug 1
[ 58.291478] Rebooting in 5 seconds…
Thanks
BR