This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM6546 : Kernel Crash

Other Parts Discussed in Thread: AM6546

HI,

    We are developing a custom board with AM6546 using SDK7.1, SR 2.0 and while running  kernel getting crashed and the related log is attached below.

Please help to solve this kernel panic.

Error - 1

OSPI Test Passed.
OSPI Test Passed.
OSPI Test Passed.
OSPI Test Passed.
[62414.557380] Unable to handle kernel paging request at virtual address 0007f8f8b221d500
[62414.565324] Mem abort info:
[62414.568125]   ESR = 0x86000004
[62414.571186]   EC = 0x21: IABT (current EL), IL = 32 bits
[62414.576509]   SET = 0, FnV = 0
[62414.579567]   EA = 0, S1PTW = 0
[62414.582711] [0007f8f8b221d500] address between user and kernel address ranges
[62414.589844] Internal error: Oops: 86000004 [#1] PREEMPT SMP
[62414.595405] Modules linked in: xt_conntrack xt_MASQUERADE xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_tables x_tables br_netfilter bridge stp llc xfrm_user xfrm_algo sha512_generic sha512_arm64 md5 des_generic libdes cbc rpmsg_char 8250_pruss icssg_prueth ti_am335x_adc kfifo_buf icss_iep dwc3 udc_core usb_common crct10dif_ce pru_rproc irq_pruss_intc ti_k3_r5_remoteproc virtio_rpmsg_bus ti_am335x_tscadc ti_cal pruss phy_omap_usb2 dwc3_keystone ov5640 v4l2_fwnode at24 pvrsrvkm(O) sch_fq_codel jailhouse(O) cryptodev(O) ipv6
[62414.646582] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G           O      5.4.74-g9574bba32a #1
[62414.654913] Hardware name: Texas Instruments AM654 Base Board (DT)
[62414.661081] pstate: 40000005 (nZcv daif -PAN -UAO)
[62414.665865] pc : 0x7f8f8b221d500
[62414.669086] lr : 0xc207f8f8b221d500
[62414.672564] sp : ffff800010fafef0
[62414.675869] x29: ffff800010fd3868 x28: 0000000082e00018 
[62414.681170] x27: 00000000ffef44f8 x26: 0000000000000000 
[62414.686470] x25: 00000000000000e0 x24: ffff800010fdb700 
[62414.691771] x23: ffff800010fdb700 x22: 0000000000000060 
[62414.697072] x21: ffff800010fd3948 x20: 0000000000000000 
[62414.702373] x19: ffff800010fd3868 x18: 0000000000000000 
[62414.707674] x17: 0000000000000000 x16: 0000000000000000 
[62414.712975] x15: 0000000000000000 x14: 0000000000000000 
[62414.718275] x13: 00002685fa5ee380 x12: 0000000000000000 
[62414.723576] x11: 000000000000001d x10: 00000000000009e0 
[62414.728876] x9 : ffff800010fafe20 x8 : ffff800010fdc140 
[62414.734177] x7 : ffff80086ebc0000 x6 : 00000b5aa790f5c6 
[62414.739477] x5 : 00ffffffffffffff x4 : 0003197500000000 
[62414.744777] x3 : 4000000000000000 x2 : 0000000000000000 
[62414.750078] x1 : 000000000ab329c0 x0 : 00000000000000e0 
[62414.755378] Call trace:
[62414.757819]  0x7f8f8b221d500
[62414.760699] Code: bad PC value
[62414.763756] ---[ end trace 86232a8b3a47fb2e ]---
[62414.768382] Kernel panic - not syncing: Attempted to kill the idle task!
[62414.775086] SMP: stopping secondary CPUs
[62414.779013] Kernel Offset: disabled
[62414.782495] CPU features: 0x0002,2000200c
[62414.786494] Memory Limit: none
[62414.789549] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---





Error - 2

OSPI Test Passed.
OSPI Test Passed.
OSPI Test Passed.
OSPI Test Passed.
OSPI Test Passed.
OSPI Test Passed.
OSPI Test Passed.
OSPI Test Passed.
OSPI Test Passed.
OSPI Test Passed.
OSPI Test Passed.
[ 2482.406494] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
[ 2482.415289] Mem abort info:
[ 2482.418077]   ESR = 0x86000005
[ 2482.421157]   EC = 0x21: IABT (current EL), IL = 32 bits
[ 2482.426487]   SET = 0, FnV = 0
[ 2482.429534]   EA = 0, S1PTW = 0
[ 2482.432686] user pgtable: 64k pages, 48-bit VAs, pgdp=00000008c5cdee00
[ 2482.439214] [0000000000000000] pgd=0000000000000000, pud=0000000000000000
[ 2482.446010] Internal error: Oops: 86000005 [#1] PREEMPT SMP
[ 2482.451572] Modules linked in: xt_conntrack xt_MASQUERADE xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_tables x_tables br_netfilter bridge stp llc xfrm_user xfrm_algo sha512_generic sha512_arm64 md5 des_generic libdes cbc rpmsg_char 8250_pruss icssg_prueth ti_am335x_adc kfifo_buf icss_iep dwc3 udc_core usb_common crct10dif_ce pru_rproc irq_pruss_intc ti_k3_r5_remoteproc virtio_rpmsg_bus ti_am335x_tscadc at24 ov5640 ti_cal v4l2_fwnode pruss phy_omap_usb2 dwc3_keystone pvrsrvkm(O) sch_fq_codel jailhouse(O) cryptodev(O) ipv6
[ 2482.502745] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G           O      5.4.74-g9574bba32a #1
[ 2482.511078] Hardware name: Texas Instruments AM654 Base Board (DT)
[ 2482.517246] pstate: 20000005 (nzCv daif -PAN -UAO)
[ 2482.522031] pc : 0x0
[ 2482.524219] lr : __do_softirq+0x120/0x25c
[ 2482.528218] sp : ffff80001002fef0
[ 2482.531522] x29: ffff80001002fef0 x28: 0000000000000000 
[ 2482.536824] x27: 0000000000000040 x26: ffff800010fd00c0 
[ 2482.542124] x25: 0000000000000020 x24: ffff0008401b9a00 
[ 2482.547429] x23: 0000000000000101 x22: 0000000000000038 
[ 2482.552731] x21: ffff800010fd00c0 x20: ffff800010e816b0 
[ 2482.558032] x19: 0000000000000007 x18: 0000000000000000 
[ 2482.563334] x17: 0000000000000000 x16: 0000000000000000 
[ 2482.568634] x15: 0000000000000000 x14: 0000000000000000 
[ 2482.573935] x13: 0000000000000000 x12: 00000000000000af 
[ 2482.579236] x11: 000000000000012a x10: 000000000002c618 
[ 2482.584536] x9 : 00000000000000af x8 : 00000241f36aea00 
[ 2482.589837] x7 : 7fffffffffffffff x6 : 0000000040a6e1db 
[ 2482.595138] x5 : ffff80086ebe0000 x4 : 0000000000000015 
[ 2482.600438] x3 : 0000000000ca739e x2 : 000000000000f679 
[ 2482.605740] x1 : 0000000000000000 x0 : ffff800010fd00f8 
[ 2482.611043] Call trace:
[ 2482.613486]  0x0
[ 2482.615326]  irq_exit+0xb8/0xd8
[ 2482.618465]  __handle_domain_irq+0x64/0xb8
[ 2482.622553]  gic_handle_irq+0x5c/0x148
[ 2482.626294]  el1_irq+0xb8/0x180
[ 2482.629433]  arch_cpu_idle+0x10/0x18
[ 2482.633003]  do_idle+0xc0/0x140
[ 2482.636138]  cpu_startup_entry+0x20/0x68
[ 2482.640059]  secondary_start_kernel+0x148/0x180
[ 2482.644586] Code: bad PC value
[ 2482.647645] ---[ end trace 98eafd4c5a2b4c4a ]---
[ 2482.652253] Kernel panic - not syncing: Fatal exception in interrupt
[ 2482.658595] SMP: stopping secondary CPUs
[ 2482.662514] Kernel Offset: disabled
[ 2482.665993] CPU features: 0x0002,2000200c
[ 2482.669991] Memory Limit: none
[ 2482.673044] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---




Error - 3

OSPI Test Passed.
OSPI Test Passed.
OSPI Test Passed.
OSPI Test Passed.
OSPI Test Passed.
OSPI Test Passed.
OSPI Test Passed.
OSPI Test Passed.
OSPI Test Passed.
OSPI Test Passed.
[ 1952.710550] Unable to handle kernel read from unreadable memory at virtual address ffff8000101365c4
[ 1952.719594] Mem abort info:
[ 1952.722379]   ESR = 0x8600000f
[ 1952.725425]   EC = 0x21: IABT (current EL), IL = 32 bits
[ 1952.730723]   SET = 0, FnV = 0
[ 1952.733767]   EA = 0, S1PTW = 0
[ 1952.736902] swapper pgtable: 64k pages, 48-bit VAs, pgdp=0000000082df0000
[ 1952.743675] [ffff8000101365c4] pgd=00000008ffff0003, pud=00000008ffff0003, pmd=00000008fffe0003, pte=0040000082130793
[ 1952.754269] Internal error: Oops: 8600000f [#1] PREEMPT SMP
[ 1952.759829] Modules linked in: xt_conntrack xt_MASQUERADE xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_tables x_tables br_netfilter bridge stp llc xfrm_user xfrm_algo sha512_generic sha512_arm64 md5 des_generic libdes cbc rpmsg_char ti_am335x_adc kfifo_buf icssg_prueth dwc3 udc_core usb_common icss_iep 8250_pruss crct10dif_ce pru_rproc irq_pruss_intc ti_k3_r5_remoteproc virtio_rpmsg_bus ti_am335x_tscadc ti_cal pruss at24 ov5640 v4l2_fwnode phy_omap_usb2 dwc3_keystone pvrsrvkm(O) sch_fq_codel jailhouse(O) cryptodev(O) ipv6
[ 1952.811001] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G           O      5.4.74-g9574bba32a #1
[ 1952.819333] Hardware name: Texas Instruments AM654 Base Board (DT)
[ 1952.825501] pstate: 40000085 (nZcv daIf -PAN -UAO)
[ 1952.830294] pc : update_process_times+0x2c/0xb8
[ 1952.834815] lr : update_process_times+0x2c/0xb8
[ 1952.839333] sp : ffff80001004fe20
[ 1952.842638] x29: ffff80001004fe20 x28: ffff800010146938 
[ 1952.847939] x27: ffff00087fa87f00 x26: 0000000000000006 
[ 1952.853239] x25: 0000000000000001 x24: 0000000000000080 
[ 1952.858540] x23: 000001c69f13699e x22: ffff00087fa87f60 
[ 1952.863841] x21: ffff8000113efe10 x20: ffff0008401ba800 
[ 1952.869141] x19: 0000000000000000 x18: 0000000000000000 
[ 1952.874442] x17: 0000000000000000 x16: 0000000000000000 
[ 1952.879742] x15: 0000000000000000 x14: 0000000000000000 
[ 1952.885043] x13: ffff800010fd1000 x12: 0000000000000001 
[ 1952.890343] x11: ffff8000110ca000 x10: 0000000000000040 
[ 1952.895648] x9 : ffff800010fea688 x8 : ffff800010fea680 
[ 1952.900955] x7 : ffff800010feb000 x6 : 0000000100064dd6 
[ 1952.906256] x5 : ffff0008401ba800 x4 : ffff800010e8b000 
[ 1952.911557] x3 : ffffffffffffeb81 x2 : 0000000100064dd9 
[ 1952.916858] x1 : 0000000000019b51 x0 : 0000000000000000 
[ 1952.922159] Call trace:
[ 1952.924611]  update_process_times+0x2c/0xb8
[ 1952.928790]  tick_sched_handle.isra.0+0x30/0x48
[ 1952.933313]  tick_sched_timer+0x48/0x98
[ 1952.937140]  __hrtimer_run_queues+0x110/0x1b0
[ 1952.941487]  hrtimer_interrupt+0xe4/0x240
[ 1952.945493]  arch_timer_handler_phys+0x30/0x40
[ 1952.949930]  handle_percpu_devid_irq+0x80/0x140
[ 1952.954453]  generic_handle_irq+0x24/0x38
[ 1952.958454]  __handle_domain_irq+0x60/0xb8
[ 1952.962544]  gic_handle_irq+0x5c/0x148
[ 1952.966284]  el1_irq+0xb8/0x180
[ 1952.969421]  arch_cpu_idle+0x10/0x18
[ 1952.972991]  do_idle+0xc0/0x140
[ 1952.976125]  cpu_startup_entry+0x24/0x68
[ 1952.980042]  secondary_start_kernel+0x148/0x180
[ 1952.984568] Code: 97fecd31 97ffffe2 2a1303e0 97ffdaa6 (b9401280) 
[ 1952.990659] ---[ end trace bd3b8ce06aa46dc2 ]---
[ 1952.995266] Kernel panic - not syncing: Fatal exception in interrupt
[ 1953.001609] SMP: stopping secondary CPUs
[ 1953.005527] Kernel Offset: disabled
[ 1953.009008] CPU features: 0x0002,2000200c
[ 1953.013005] Memory Limit: none
[ 1953.016057] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---




Error - 4

OSPI Test Passed.
OSPI Test Passed.
OSPI Test Passed.
OSPI Test Passed.
[ 5258.893382] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
[ 5258.899489] rcu: 	1-...0: (1 GPs behind) idle=1a2/0/0x1 softirq=48324/48324 fqs=2462 
[ 5258.907306] 	(detected by 0, t=5255 jiffies, g=167721, q=649)
[ 5258.913039] Task dump for CPU 1:
[ 5258.916260] swapper/1       R  running task        0     0      1 0x0000002a
[ 5258.923297] Call trace:
[ 5258.925748]  __switch_to+0x100/0x1c0
[ 5306.513396] Unable to handle kernel paging request at virtual address 7fff8000100ede28
[ 5306.521309] Mem abort info:
[ 5306.524094]   ESR = 0x86000004
[ 5306.527140]   EC = 0x21: IABT (current EL), IL = 32 bits
[ 5306.532438]   SET = 0, FnV = 0
[ 5306.535483]   EA = 0, S1PTW = 0
[ 5306.538616] [7fff8000100ede28] address between user and kernel address ranges
[ 5306.545737] Internal error: Oops: 86000004 [#1] PREEMPT SMP
[ 5306.551297] Modules linked in: xt_conntrack xt_MASQUERADE xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_tables x_tables br_netfilter bridge stp llc xfrm_user xfrm_algo sha512_generic sha512_arm64 md5 des_generic libdes cbc rpmsg_char 8250_pruss icssg_prueth ti_am335x_adc kfifo_buf dwc3 udc_core usb_common icss_iep crct10dif_ce pru_rproc irq_pruss_intc ti_k3_r5_remoteproc virtio_rpmsg_bus ti_am335x_tscadc pruss ti_cal phy_omap_usb2 ov5640 v4l2_fwnode at24 dwc3_keystone pvrsrvkm(O) sch_fq_codel jailhouse(O) cryptodev(O) ipv6
[ 5306.602479] CPU: 0 PID: 1244 Comm: containerd Tainted: G           O      5.4.74-g9574bba32a #1
[ 5306.611160] Hardware name: Texas Instruments AM654 Base Board (DT)
[ 5306.617330] pstate: 20000085 (nzCv daIf -PAN -UAO)
[ 5306.622116] pc : 0x7fff8000100ede28
[ 5306.625604] lr : scheduler_tick+0x74/0xf8
[ 5306.629604] sp : ffff80001000fde0
[ 5306.632908] x29: ffff80001000fde0 x28: ffff800010146938 
[ 5306.638210] x27: ffff00087fa47f00 x26: 0000000000000002 
[ 5306.643511] x25: 0000000000000001 x24: 0000000000000080 
[ 5306.648812] x23: ffff00084acb1c00 x22: 0000000000000000 
[ 5306.654113] x21: ffff800010fd3b58 x20: ffff800010e8ab40 
[ 5306.659414] x19: ffff00087fa4ab40 x18: 0000000000000000 
[ 5306.664715] x17: 0000000000000000 x16: 0000000000000000 
[ 5306.670015] x15: 0000000000000000 x14: 0000000000000000 
[ 5306.675316] x13: ffff800010fd1000 x12: 0000000000000000 
[ 5306.680617] x11: ffff8000110ca000 x10: 0000000000000040 
[ 5306.685918] x9 : ffff800010fea688 x8 : ffff800010fea680 
[ 5306.691218] x7 : ffff800010feb000 x6 : 000000cd0f8d6539 
[ 5306.696519] x5 : 00ffffffffffffff x4 : 000004d059c09364 
[ 5306.701819] x3 : 7fff8000100ede28 x2 : 0000000000000000 
[ 5306.707120] x1 : ffff00084acb1c00 x0 : ffff00087fa4ab40 
[ 5306.712421] Call trace:
[ 5306.714863]  0x7fff8000100ede28
[ 5306.718000]  update_process_times+0x3c/0xb8
[ 5306.722177]  tick_sched_handle.isra.0+0x30/0x48
[ 5306.726698]  tick_sched_timer+0x48/0x98
[ 5306.730526]  __hrtimer_run_queues+0x110/0x1b0
[ 5306.734873]  hrtimer_interrupt+0xe4/0x240
[ 5306.738879]  arch_timer_handler_phys+0x30/0x40
[ 5306.743315]  handle_percpu_devid_irq+0x80/0x140
[ 5306.747839]  generic_handle_irq+0x24/0x38
[ 5306.751842]  __handle_domain_irq+0x60/0xb8
[ 5306.755931]  gic_handle_irq+0x5c/0x148
[ 5306.759671]  el1_irq+0xb8/0x180
[ 5306.762808]  futex_wait+0xc/0x208
[ 5306.766116]  do_futex+0x190/0xc98
[ 5306.769425]  __arm64_sys_futex+0x100/0x140
[ 5306.773514]  el0_svc_common.constprop.0+0x68/0x160
[ 5306.778295]  el0_svc_handler+0x20/0x80
[ 5306.782036]  el0_svc+0x8/0x204
[ 5306.785089] Code: bad PC value
[ 5306.788147] ---[ end trace 1d97ccee225730c7 ]---
[ 5306.792754] Kernel panic - not syncing: Fatal exception in interrupt
[ 5306.799097] SMP: stopping secondary CPUs
[ 5307.920058] SMP: failed to stop secondary CPUs 0-1
[ 5307.924838] Kernel Offset: disabled
[ 5307.928318] CPU features: 0x0002,2000200c
[ 5307.932316] Memory Limit: none
[ 5307.935368] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---




Thanks,

Logan

  • Hi Logan,

    Do you observe this crash on the TI Am654x Board? or this is only seen on custom boards?

    From the dumps i can not comment much as it does not have any clues. 6200 odd seconds is almost 100+ minutes.
    What processes are running on the board?

    Best Regards,
    Keerthy

  • Hi Keerthy,

                      I observed this crash in my custom board.

    Flash read/write processes are running for test.

    For remove ideal crash, i done few modification.  Please find latest kernel crash error text file which i have attached.

    Crash -  1
    
    [38962.678230] Internal error: SP/PC alignment exception: 8a000000 [#1] PREEMPT SMP
    [38962.685630] Modules linked in: xt_conntrack xt_MASQUERADE xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_tables x_tables br_netfilter bridge stp llc xfrm_user xfrm_algo sha512_generic sha512_arm64 md5 des_generic libdes cbc rpmsg_char 8250_pruss icssg_prueth ti_am335x_adc kfifo_buf icss_iep dwc3 udc_core usb_common crct10dif_ce pru_rproc irq_pruss_intc ti_k3_r5_remoteproc virtio_rpmsg_bus ti_am335x_tscadc pruss ti_cal phy_omap_usb2 ov5640 at24 v4l2_fwnode dwc3_keystone pvrsrvkm(O) sch_fq_codel jailhouse(O) cryptodev(O) ipv6
    [38962.736805] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G           O      5.4.74-g9574bba32a #8
    [38962.745138] Hardware name: Texas Instruments AM654 Base Board (DT)
    [38962.751306] pstate: 20000005 (nzCv daif -PAN -UAO)
    [38962.756092] pc : 0x71698032502
    [38962.759146] lr : __do_softirq+0x120/0x25c
    [38962.763144] sp : ffff80001004fef0
    [38962.766448] x29: ffff80001004fef0 x28: 0000000000000000
    [38962.771749] x27: 0000000000000030 x26: ffff800010fd00d0
    [38962.777050] x25: 0000000000000020 x24: ffff0008401ba800
    [38962.782351] x23: 0000000000000101 x22: 0000000000000028
    [38962.787651] x21: ffff800010fd00c0 x20: ffff800010e816b0
    [38962.792951] x19: 0000000000000007 x18: 0000000000000000
    [38962.798252] x17: 0000000000000000 x16: 0000000000000000
    [38962.803552] x15: 0000000000000000 x14: 003d090000000000
    [38962.808852] x13: 0000000000000000 x12: 00000000000000da
    [38962.814153] x11: 0000000000000202 x10: 0000000000000000
    [38962.819453] x9 : 0000000000000001 x8 : 0000004000000000
    [38962.824753] x7 : ffff00087fa86cf0 x6 : 0000000000000000
    [38962.830054] x5 : ffff80086ec00000 x4 : 0000000000000000
    [38962.835354] x3 : 0000000000000000 x2 : 000000000016e65a
    [38962.840654] x1 : 0000071698032502 x0 : ffff800010fd00f8
    [38962.845955] Call trace:
    [38962.848395]  0x71698032502
    [38962.851097]  irq_exit+0xb8/0xd8
    [38962.854235]  __handle_domain_irq+0x64/0xb8
    [38962.858322]  gic_handle_irq+0x5c/0x148
    [38962.862063]  el1_irq+0xb8/0x180
    [38962.865199]  arch_cpu_idle+0x10/0x18
    [38962.868769]  do_idle+0xc0/0x140
    [38962.871904]  cpu_startup_entry+0x24/0x68
    [38962.875822]  secondary_start_kernel+0x148/0x180
    [38962.880351] Code: bad PC value
    [38962.883409] ---[ end trace 1c5e7fe1e6a083aa ]---
    [38962.888016] Kernel panic - not syncing: Fatal exception in interrupt
    [38962.894359] SMP: stopping secondary CPUs
    [38962.898278] Kernel Offset: disabled
    [38962.901758] CPU features: 0x0002,2000200c
    [38962.905755] Memory Limit: none
    [38962.908808] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---
    
    
    
    
    crash - 2
    
    
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    [69244.754549] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
    [69244.760655] rcu: 3-...0: (1 GPs behind) idle=6ca/0/0x1 softirq=894713/894714 fqs=2387
    [69244.768644] (detected by 2, t=5255 jiffies, g=3400101, q=396)
    [69244.774464] Task dump for CPU 3:
    [69244.777683] swapper/3       R  running task        0     0      1 0x0000002a
    [69244.784720] Call trace:
    [69244.787172]  __switch_to+0x100/0x1c0
    [69307.774549] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
    [69307.780659] rcu: 3-...0: (1 GPs behind) idle=6ca/0/0x1 softirq=894713/894714 fqs=8913
    [69307.788647] (detected by 0, t=21010 jiffies, g=3400101, q=1471)
    [69307.794640] Task dump for CPU 3:
    [69307.797859] swapper/3       R  running task        0     0      1 0x0000002a
    [69307.804896] Call trace:
    [69307.807348]  __switch_to+0x100/0x1c0
    [69370.794549] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
    [69370.800658] rcu: 3-...0: (1 GPs behind) idle=6ca/0/0x1 softirq=894713/894714 fqs=15341
    [69370.808735] (detected by 0, t=36765 jiffies, g=3400101, q=2556)
    [69370.814727] Task dump for CPU 3:
    [69370.817946] swapper/3       R  running task        0     0      1 0x0000002a
    [69370.824983] Call trace:
    [69370.827434]  __switch_to+0x100/0x1c0
    [69422.174571] rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 3-... } 5514 jiffies s: 181 root: 0x8/.
    [69422.185206] rcu: blocking rcu_node structures:
    [69422.189673] Task dump for CPU 3:
    [69422.192921] swapper/3       R  running task        0     0      1 0x0000002a
    [69422.199984] Call trace:
    [69422.202437]  __switch_to+0x100/0x1c0
    [69433.814549] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
    [69433.820658] rcu: 3-...0: (1 GPs behind) idle=6ca/0/0x1 softirq=894713/894714 fqs=22229
    [69433.828734] (detected by 0, t=52520 jiffies, g=3400101, q=3897)
    [69433.834726] Task dump for CPU 3:
    [69433.837947] swapper/3       R  running task        0     0      1 0x0000002a
    [69433.844984] Call trace:
    [69433.847435]  __switch_to+0x100/0x1c0
    [69485.662572] rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 3-... } 21386 jiffies s: 181 root: 0x8/.
    [69485.673292] rcu: blocking rcu_node structures:
    [69485.677762] Task dump for CPU 3:
    [69485.681011] swapper/3       R  running task        0     0      1 0x0000002a
    [69485.688072] Call trace:
    [69485.690525]  __switch_to+0x100/0x1c0
    [69496.834550] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
    [69496.840659] rcu: 3-...0: (1 GPs behind) idle=6ca/0/0x1 softirq=894713/894714 fqs=29525
    [69496.848735] (detected by 0, t=68275 jiffies, g=3400101, q=5011)
    [69496.854728] Task dump for CPU 3:
    [69496.857948] swapper/3       R  running task        0     0      1 0x0000002a
    [69496.864985] Call trace:
    [69496.867436]  __switch_to+0x100/0x1c0
    [69549.150571] rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 3-... } 37258 jiffies s: 181 root: 0x8/.
    [69549.161291] rcu: blocking rcu_node structures:
    [69549.165759] Task dump for CPU 3:
    [69549.169005] swapper/3       R  running task        0     0      1 0x0000002a
    [69549.176066] Call trace:
    [69549.178519]  __switch_to+0x100/0x1c0
    [69559.854550] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
    [69559.860660] rcu: 3-...0: (1 GPs behind) idle=6ca/0/0x1 softirq=894713/894714 fqs=36908
    [69559.868737] (detected by 0, t=84030 jiffies, g=3400101, q=6091)
    [69559.874729] Task dump for CPU 3:
    [69559.877949] swapper/3       R  running task        0     0      1 0x0000002a
    [69559.884987] Call trace:
    [69559.887438]  __switch_to+0x100/0x1c0
    [69612.638575] rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 3-... } 53130 jiffies s: 181 root: 0x8/.
    [69612.649298] rcu: blocking rcu_node structures:
    [69612.653764] Task dump for CPU 3:
    [69612.657012] swapper/3       R  running task        0     0      1 0x0000002a
    [69612.664074] Call trace:
    [69612.666528]  __switch_to+0x100/0x1c0
    [69622.874551] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
    [69622.880660] rcu: 3-...0: (1 GPs behind) idle=6ca/0/0x1 softirq=894713/894714 fqs=44388
    [69622.888736] (detected by 1, t=99782 jiffies, g=3400101, q=7214)
    [69622.894728] Task dump for CPU 3:
    [69622.897947] swapper/3       R  running task        0     0      1 0x0000002a
    [69622.904985] Call trace:
    [69622.907435]  __switch_to+0x100/0x1c0
    [69676.126574] rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 3-... } 69002 jiffies s: 181 root: 0x8/.
    [69676.137299] rcu: blocking rcu_node structures:
    [69676.141767] Task dump for CPU 3:
    [69676.145016] swapper/3       R  running task        0     0      1 0x0000002a
    [69676.152077] Call trace:
    [69676.154530]  __switch_to+0x100/0x1c0
    [69685.894549] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
    [69685.900657] rcu: 3-...0: (1 GPs behind) idle=6ca/0/0x1 softirq=894713/894714 fqs=51787
    [69685.908732] (detected by 0, t=115540 jiffies, g=3400101, q=8319)
    [69685.914810] Task dump for CPU 3:
    [69685.918029] swapper/3       R  running task        0     0      1 0x0000002a
    [69685.925066] Call trace:
    [69685.927517]  __switch_to+0x100/0x1c0
    [69739.614571] rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 3-... } 84874 jiffies s: 181 root: 0x8/.
    [69739.625294] rcu: blocking rcu_node structures:
    [69739.629762] Task dump for CPU 3:
    [69739.633060] swapper/3       R  running task        0     0      1 0x0000002a
    [69739.640126] Call trace:
    [69739.642600]  __switch_to+0x100/0x1c0
    [69748.914548] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
    [69748.920655] rcu: 3-...0: (1 GPs behind) idle=6ca/0/0x1 softirq=894713/894714 fqs=58213
    [69748.928731] (detected by 2, t=131294 jiffies, g=3400101, q=9424)
    [69748.934811] Task dump for CPU 3:
    [69748.938030] swapper/3       R  running task        0     0      1 0x0000002a
    [69748.945067] Call trace:
    [69748.947519]  __switch_to+0x100/0x1c0
    [69803.102574] rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 3-... } 100746 jiffies s: 181 root: 0x8/.
    [69803.113390] rcu: blocking rcu_node structures:
    [69803.117857] Task dump for CPU 3:
    [69803.121104] swapper/3       R  running task        0     0      1 0x0000002a
    [69803.128165] Call trace:
    [69803.130637]  __switch_to+0x100/0x1c0
    [69811.934547] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
    [69811.940653] rcu: 3-...0: (1 GPs behind) idle=6ca/0/0x1 softirq=894713/894714 fqs=64778
    [69811.948729] (detected by 2, t=147050 jiffies, g=3400101, q=10557)
    [69811.954895] Task dump for CPU 3:
    [69811.958114] swapper/3       R  running task        0     0      1 0x0000002a
    [69811.965152] Call trace:
    [69811.967603]  __switch_to+0x100/0x1c0
    
    
    [69866.590574] rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 3-... } 116618 jiffies s: 181 root: 0x8/.
    [69866.601385] rcu: blocking rcu_node structures:
    [69866.605857] Task dump for CPU 3:
    [69866.609106] swapper/3       R  running task        0     0      1 0x0000002a
    [69866.616167] Call trace:
    [69866.618644]  __switch_to+0x100/0x1c0
    ^C^C[69874.954550] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
    [69874.960656] rcu: 3-...0: (1 GPs behind) idle=6ca/0/0x1 softirq=894713/894714 fqs=71611
    [69874.968731] (detected by 0, t=162805 jiffies, g=3400101, q=11821)
    [69874.974897] Task dump for CPU 3:
    [69874.978116] swapper/3       R  running task        0     0      1 0x0000002a
    [69874.985153] Call trace:
    [69874.987604]  __switch_to+0x100/0x1c0
    
    
    crash - 3
    
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    [80060.150151] Unable to handle kernel paging request at virtual address ffff800010050058
    [80060.158069] Mem abort info:
    [80060.160854]   ESR = 0x96000007
    [80060.163901]   EC = 0x25: DABT (current EL), IL = 32 bits
    [80060.169198]   SET = 0, FnV = 0
    [80060.172242]   EA = 0, S1PTW = 0
    [80060.175373] Data abort info:
    [80060.178244]   ISV = 0, ISS = 0x00000007
    [80060.182068]   CM = 0, WnR = 0
    [80060.185030] swapper pgtable: 64k pages, 48-bit VAs, pgdp=0000000082df0000
    [80060.191802] [ffff800010050058] pgd=00000008ffff0003, pud=00000008ffff0003, pmd=00000008fffe0003, pte=0000000000000000
    [80060.202398] Internal error: Oops: 96000007 [#1] PREEMPT SMP
    [80060.207957] Modules linked in: xt_conntrack xt_MASQUERADE xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_tables x_tables br_netfilter bridge stp llc xfrm_user xfrm_algo sha512_generic sha512_arm64 md5 des_generic libdes cbc rpmsg_char icssg_prueth 8250_pruss ti_am335x_adc kfifo_buf dwc3 udc_core usb_common icss_iep crct10dif_ce pru_rproc irq_pruss_intc ti_k3_r5_remoteproc virtio_rpmsg_bus ti_am335x_tscadc pvrsrvkm(O) ti_cal pruss dwc3_keystone phy_omap_usb2 ov5640 at24 v4l2_fwnode sch_fq_codel jailhouse(O) cryptodev(O) ipv6
    [80060.259131] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G           O      5.4.74-g9574bba32a #8
    [80060.267463] Hardware name: Texas Instruments AM654 Base Board (DT)
    [80060.273632] pstate: 80000085 (Nzcv daIf -PAN -UAO)
    [80060.278423] pc : __hrtimer_next_event_base+0x48/0xe8
    [80060.283378] lr : __hrtimer_get_next_event+0x90/0xa0
    [80060.288243] sp : ffff80001004fe90
    [80060.291548] x29: ffff80001004fe90 x28: ffff00087fa87fb8
    [80060.296849] x27: ffff00087fa87ff8 x26: ffff00087fa88038
    [80060.302150] x25: ffff00087fa87f0c x24: 0000000000000001
    [80060.307450] x23: 0000000000000000 x22: 7fffffffffffffff
    [80060.312751] x21: ffff80001004fef0 x20: 0000000000000040
    [80060.318052] x19: 0000000000000004 x18: 0000000000000000
    [80060.323352] x17: 0000000000000000 x16: 0000000000000000
    [80060.328653] x15: 0000000000000000 x14: 0000000000000000
    [80060.333954] x13: 0000000000000000 x12: 000000000000005d
    [80060.339254] x11: 00000000000003c3 x10: 0000000000017a35
    [80060.344554] x9 : 000000000000005d x8 : 000048d06d4a8e00
    [80060.349855] x7 : 7fffffffffffffff x6 : 000048d06d879700
    [80060.355156] x5 : ffff00087fa88430 x4 : ffff800010050030
    [80060.360457] x3 : 7fffffffffffffff x2 : 0000000000000050
    [80060.365757] x1 : 0000000000000000 x0 : ffff80001004fef0
    [80060.371058] Call trace:
    [80060.373501]  __hrtimer_next_event_base+0x48/0xe8
    [80060.378107]  __hrtimer_get_next_event+0x90/0xa0
    [80060.382630]  hrtimer_interrupt+0xf0/0x240
    [80060.386635]  arch_timer_handler_phys+0x30/0x40
    [80060.391071]  handle_percpu_devid_irq+0x80/0x140
    [80060.395595]  generic_handle_irq+0x24/0x38
    [80060.399597]  __handle_domain_irq+0x60/0xb8
    [80060.403684]  gic_handle_irq+0x5c/0x148
    [80060.407424]  el1_irq+0xb8/0x180
    [80060.410560]  arch_cpu_idle+0x10/0x18
    [80060.414130]  do_idle+0xc0/0x140
    [80060.417265]  cpu_startup_entry+0x20/0x68
    [80060.421181]  secondary_start_kernel+0x148/0x180
    [80060.425709] Code: aa0103f7 ab041804 0a340054 540002e0 (f9401480)
    [80060.431800] ---[ end trace 06e75d67b9ab7fdb ]---
    [80060.436408] Kernel panic - not syncing: Fatal exception in interrupt
    [80060.442751] SMP: stopping secondary CPUs
    [80060.446670] Kernel Offset: disabled
    [80060.450150] CPU features: 0x0002,2000200c
    [80060.454148] Memory Limit: none
    [80060.457200] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---
    

  • Hi Logan,

    If you have AM654-EVM. Can you run the same tests and let me know if you can reproduce the issue.
    It will help us debug faster. A similar issue was observed with long runs for a different customer board
    and it turned out to be their hardware issue. Here is the link:

    https://e2e.ti.com/support/processors/f/processors-forum/985035/am6548-crash-observed-on-am6548-sdk7-1/3648445#3648445

    Best Regards,
    Keerthy

  • Hi Keerthy,

    1. EVM Board : I did same flash read/write test in AM654-EVM board. Kernel crash happening randomly, so before find crash, got ospi read/write time out error. (EVM board not changed any anything, Downloaded & build). Please find attached "EVM_ospi_test" log file for more details. 

    EVM_ospi_test.txt

    2. Host board : Please find below mentioned ticket link. ( ospi configuration) 

    https://e2e.ti.com/support/processors/f/processors-forum/984036/am6546-ospi-flash-write-error/3651326?tisearch=e2e-sitesearch&keymatch=%20user%3A473094#3651326

    Thanks & Regards,

    Logan

  • Hi Logan,

    Couple of things:

    1) Are able to see this issue with your flash read/write test on AM654-EVM? Can you confirm that?
    2) What exact test should i be running to reproduce this issue?

    Best Regards,
    Keerthy

  • Hi Keerthy,

    Above attached EVM_ospi_test.txt log i captured in AM654 EVM board only. I can reproduce this issue.

    Below attached Flash read/write test file running for test OSPI flash.

    #!/bin/sh
    echo "Script to Write and Read from ospi multiple times."
    
    usleep 500000;
    
    while true
    do
    
    	echo "WELCOME" > /dev/mtdblock0
    
            usleep 1000000;
    	
            read=`head -n 1 /dev/mtdblock0`
    
            if [ $read == "WELCOME" ]
            then
       		echo "OSPI Test Passed."
            else
    		echo "OSPI Test Failed."
            fi
    
            usleep 1000000;
    done
    

    Thanks & Regards,

    Logan

  • Logan,

    My question was can the issue be reproduced without Flash read/write test. I believe no. Confirm that.
    And Flash read/write tests are causing the crash. I will try at my end and get back to you.

    Best Regards,
    Keerthy

  • Hi Logan,

    I ran the test case you shared for 3+ hours. I was unable to reproduce on am65-evm with SR2.0 Silicon.
    Logs: am65-ospi.txt

    How long should i run this to reproduce? How long did it take for you to reproduce?

    Best Regards,
    Keerthy

  • Hi Keerthy,

    Thanks, I kept Host device ideal 2.5 days, crash not happened. This issue reproduced only when flash read/write testing run.

    As per your link, i gave TX_pull-up resister, but issue not rectified, crash happened again. Please find the ospi_with_TX_pUP_log.txt log.

    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    [49132.003651] cadence-qspi 47040000.spi: Indirect write completion error (-110)
    [49132.010877] spi-nor spi7.0: operation failed with -110
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    [82357.566878] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
    [82357.575663] Mem abort info:
    [82357.578448]   ESR = 0x86000007
    [82357.581494]   EC = 0x21: IABT (current EL), IL = 32 bits
    [82357.586791]   SET = 0, FnV = 0
    [82357.589836]   EA = 0, S1PTW = 0
    [82357.592971] user pgtable: 64k pages, 48-bit VAs, pgdp=00000008c7090200
    [82357.599484] [0000000000000000] pgd=00000008c50b0003, pud=00000008c50b0003, pmd=00000008c5080003, pte=0000000000000000
    [82357.610078] Internal error: Oops: 86000007 [#1] PREEMPT SMP
    [82357.615638] Modules linked in: xt_conntrack xt_MASQUERADE xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_tables x_tables br_netfilter bridge stp llc xfrm_user xfrm_algo sha512_generic sha512_arm64 md5 des_generic libdes cbc rpmsg_char 8250_pruss icssg_prueth dwc3 ti_am335x_adc udc_core kfifo_buf usb_common icss_iep crct10dif_ce pru_rproc irq_pruss_intc ti_k3_r5_remoteproc virtio_rpmsg_bus ti_am335x_tscadc pruss ti_cal phy_omap_usb2 dwc3_keystone ov5640 v4l2_fwnode at24 pvrsrvkm(O) sch_fq_codel jailhouse(O) cryptodev(O) ipv6
    [82357.666812] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G           O      5.4.74-g9574bba32a #9
    [82357.675145] Hardware name: Texas Instruments AM654 Base Board (DT)
    [82357.681314] pstate: 40000085 (nZcv daIf -PAN -UAO)
    [82357.686097] pc : 0x0
    [82357.688276] lr : 0x0
    [82357.690454] sp : ffff80001000ff60
    [82357.693758] x29: 0000000000000000 x28: ffff800010e8a430 
    [82357.699059] x27: ffff00087fa48430 x26: ffff800010010000 
    [82357.704360] x25: ffff800010000000 x24: ffff800010fdb700 
    [82357.709661] x23: 0000000000000001 x22: 0000000000000003 
    [82357.714962] x21: ffff000840022180 x20: ffff800011005cb8 
    [82357.720264] x19: ffff000840041800 x18: 0000000000000000 
    [82357.725565] x17: 0000000000000000 x16: 0000000000000000 
    [82357.730865] x15: 0000000000000000 x14: 0000000000000000 
    [82357.736165] x13: 0000000000000001 x12: 0000000000000632 
    [82357.741466] x11: 0000000000000115 x10: 000000000018d97d 
    [82357.746767] x9 : 0000000000000632 x8 : 00004ae755f4b000 
    [82357.752067] x7 : 7fffffffffffffff x6 : 00000efb52cd2440 
    [82357.757368] x5 : 00ffffffffffffff x4 : 001efe9200000000 
    [82357.762669] x3 : 0000000033333333 x2 : ffff8000107dfd98 
    [82357.767969] x1 : 0000000000000007 x0 : 0000000000000001 
    [82357.773270] Call trace:
    [82357.775719] Code: bad PC value
    [82357.778775] ---[ end trace 2131ad08806e5dd6 ]---
    [82357.783383] Kernel panic - not syncing: Fatal exception in interrupt
    [82357.789723] SMP: stopping secondary CPUs
    [82357.793640] Kernel Offset: disabled
    [82357.797120] CPU features: 0x0002,2000200c
    [82357.801118] Memory Limit: none
    [82357.804169] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---
    

    Thanks & Regards,

    Logan

  • Hi Logan,

    I will try running your test case overnight & get back to you if i am able to crash or not.
    Let me know if all that is needed is the test case or you run anything else in parallel to reproduce the crash.

    Also how long do you take to see the crash?

    - Keerthy

  • Logan,

    Overnight test passed ran for 7 straight hours. I am not able to reproduce the issue with your use case on AM654x-EVM (SR2.0).

    - Keerthy

  • Hi keerthy,

    1. Its happening randomly. We are working in AM6546 custom board.

    We are using the Micron OSPI Flash Part number MT35XU512ABA1G12-0AAT.

    Customer required spi-max-frequency = 166MHz, so we configured as per below.

    &ospi0 {
        pinctrl-names = "default";
        pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;

        flash@0{
            compatible = "jedec,spi-nor";
            reg = <0x0>;
            spi-tx-bus-width = <8>;
            spi-rx-bus-width = <8>;
            spi-max-frequency = <166000000>;
            cdns,tshsl-ns = <60>;
            cdns,tsd2d-ns = <60>;
            cdns,tchsh-ns = <60>;
            cdns,tslch-ns = <60>;
            cdns,read-delay = <2>;
            cdns,phy-mode;
            #address-cells = <1>;
            #size-cells = <1>;
            partition@3fe0000 {
                label = "ospi.phypattern";
                reg = <0x3fe0000 0x20000>;
            };  
            
        };
    };

    2. Recently our am65x EVM board not working because of some hardware issue, so i can't able to  work in EVM board.

    3. Newly created sdk folder, in that noting modified in OSPI, kept as per sdk file.

    &ospi0 {
        pinctrl-names = "default";
        pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;

        flash@0{
            compatible = "jedec,spi-nor";
            reg = <0x0>;
            spi-tx-bus-width = <8>;
            spi-rx-bus-width = <8>;
            spi-max-frequency = <25000000>;
            cdns,tshsl-ns = <60>;
            cdns,tsd2d-ns = <60>;
            cdns,tchsh-ns = <60>;
            cdns,tslch-ns = <60>;
            cdns,read-delay = <0>;
            cdns,phy-mode;
            #address-cells = <1>;
            #size-cells = <1>;
            partition@3fe0000 {
                label = "ospi.phypattern";
                reg = <0x3fe0000 0x20000>;
            };
        };
    };

    From test, we not observed any OSPI timeout issue ( Not sure because before that kernel crash happened )

    I am not sure why kernel crash happening while running this ospi read/write operation. Kindly help me to solve the kernel crash.

    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    [49132.003651] cadence-qspi 47040000.spi: Indirect write completion error (-110)
    [49132.010877] spi-nor spi7.0: operation failed with -110
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    [82357.566878] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
    [82357.575663] Mem abort info:
    [82357.578448]   ESR = 0x86000007
    [82357.581494]   EC = 0x21: IABT (current EL), IL = 32 bits
    [82357.586791]   SET = 0, FnV = 0
    [82357.589836]   EA = 0, S1PTW = 0
    [82357.592971] user pgtable: 64k pages, 48-bit VAs, pgdp=00000008c7090200
    [82357.599484] [0000000000000000] pgd=00000008c50b0003, pud=00000008c50b0003, pmd=00000008c5080003, pte=0000000000000000
    [82357.610078] Internal error: Oops: 86000007 [#1] PREEMPT SMP
    [82357.615638] Modules linked in: xt_conntrack xt_MASQUERADE xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_tables x_tables br_netfilter bridge stp llc xfrm_user xfrm_algo sha512_generic sha512_arm64 md5 des_generic libdes cbc rpmsg_char 8250_pruss icssg_prueth dwc3 ti_am335x_adc udc_core kfifo_buf usb_common icss_iep crct10dif_ce pru_rproc irq_pruss_intc ti_k3_r5_remoteproc virtio_rpmsg_bus ti_am335x_tscadc pruss ti_cal phy_omap_usb2 dwc3_keystone ov5640 v4l2_fwnode at24 pvrsrvkm(O) sch_fq_codel jailhouse(O) cryptodev(O) ipv6
    [82357.666812] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G           O      5.4.74-g9574bba32a #9
    [82357.675145] Hardware name: Texas Instruments AM654 Base Board (DT)
    [82357.681314] pstate: 40000085 (nZcv daIf -PAN -UAO)
    [82357.686097] pc : 0x0
    [82357.688276] lr : 0x0
    [82357.690454] sp : ffff80001000ff60
    [82357.693758] x29: 0000000000000000 x28: ffff800010e8a430 
    [82357.699059] x27: ffff00087fa48430 x26: ffff800010010000 
    [82357.704360] x25: ffff800010000000 x24: ffff800010fdb700 
    [82357.709661] x23: 0000000000000001 x22: 0000000000000003 
    [82357.714962] x21: ffff000840022180 x20: ffff800011005cb8 
    [82357.720264] x19: ffff000840041800 x18: 0000000000000000 
    [82357.725565] x17: 0000000000000000 x16: 0000000000000000 
    [82357.730865] x15: 0000000000000000 x14: 0000000000000000 
    [82357.736165] x13: 0000000000000001 x12: 0000000000000632 
    [82357.741466] x11: 0000000000000115 x10: 000000000018d97d 
    [82357.746767] x9 : 0000000000000632 x8 : 00004ae755f4b000 
    [82357.752067] x7 : 7fffffffffffffff x6 : 00000efb52cd2440 
    [82357.757368] x5 : 00ffffffffffffff x4 : 001efe9200000000 
    [82357.762669] x3 : 0000000033333333 x2 : ffff8000107dfd98 
    [82357.767969] x1 : 0000000000000007 x0 : 0000000000000001 
    [82357.773270] Call trace:
    [82357.775719] Code: bad PC value
    [82357.778775] ---[ end trace 2131ad08806e5dd6 ]---
    [82357.783383] Kernel panic - not syncing: Fatal exception in interrupt
    [82357.789723] SMP: stopping secondary CPUs
    [82357.793640] Kernel Offset: disabled
    [82357.797120] CPU features: 0x0002,2000200c
    [82357.801118] Memory Limit: none
    [82357.804169] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---
    

    Thanks & Regards,

    logan

  • Hi Logan,

    https://e2e.ti.com/support/processors/f/791/t/984036

    Is this pointing to the same issue we are discussing here? If yes can we close the above one? This thread has all the details so i would prefer to keep this open & close the other one. Is that okay?

    - Keerthy

  • Hi Keerthy,

    Okay, https://e2e.ti.com/support/processors/f/791/t/984036 close it.

    While read/write flash through ospi, we are facing 2 issue,

    1. ospi timeout error

    [49132.003651] cadence-qspi 47040000.spi: Indirect write completion error (-110)
    [49132.010877] spi-nor spi7.0: operation failed with -110

    2. Kernel crash issue

    Our customer required spi-max-frequency = 166MHz

    For test, I created new sdk folder, in that i applied all other patches & noting modified in OSPI, kept ospi as per sdk file.

    &ospi0 {
        pinctrl-names = "default";
        pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;

        flash@0{
            compatible = "jedec,spi-nor";
            reg = <0x0>;
            spi-tx-bus-width = <8>;
            spi-rx-bus-width = <8>;
            spi-max-frequency = <25000000>;
            cdns,tshsl-ns = <60>;
            cdns,tsd2d-ns = <60>;
            cdns,tchsh-ns = <60>;
            cdns,tslch-ns = <60>;
            cdns,read-delay = <0>;
            cdns,phy-mode;
            #address-cells = <1>;
            #size-cells = <1>;
            partition@3fe0000 {
                label = "ospi.phypattern";
                reg = <0x3fe0000 0x20000>;
            };
        };
    };

    we did not observe any OSPI timeout issue ( Not sure because before that kernel crash happened )

    I am not sure why kernel crash happening while running this ospi read/write operation. Kindly help me to solve this issue.

    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    OSPI Test Passed.
    [41832.070883] Unable to handle kernel paging request at virtual address 7fff8000100e262c
    [41832.078799] Mem abort info:
    [41832.081584]   ESR = 0x86000004
    [41832.084630]   EC = 0x21: IABT (current EL), IL = 32 bits
    [41832.089928]   SET = 0, FnV = 0
    [41832.092972]   EA = 0, S1PTW = 0
    [41832.096105] [7fff8000100e262c] address between user and kernel address ranges
    [41832.103226] Internal error: Oops: 86000004 [#1] PREEMPT SMP
    [41832.108786] Modules linked in: xt_conntrack xt_MASQUERADE xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_tables x_tables br_netfilter bridge stp llc xfrm_user xfrm_algo sha512_generic sha512_arm64 md5 des_generic libdes cbc rpmsg_char icssg_prueth 8250_pruss ti_am335x_adc dwc3 kfifo_buf udc_core usb_common icss_iep crct10dif_ce pru_rproc irq_pruss_intc ti_k3_r5_remoteproc virtio_rpmsg_bus ti_am335x_tscadc ti_cal pruss dwc3_keystone phy_omap_usb2 ov5640 v4l2_fwnode at24 pvrsrvkm(O) sch_fq_codel jailhouse(O) cryptodev(O) ipv6
    [41832.159961] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G           O      5.4.74-g9574bba32a #2
    [41832.168295] Hardware name: Texas Instruments AM654 Base Board (DT)
    [41832.174463] pstate: 60000085 (nZCv daIf -PAN -UAO)
    [41832.179247] pc : 0x7fff8000100e262c
    [41832.182725] lr : 0x7fff8000100e262c
    [41832.186203] sp : ffff80001006fdb0
    [41832.189508] x29: ffff80001006fdb0 x28: ffff800010146938
    [41832.194809] x27: ffff00087faa7f00 x26: 0000000000000004
    [41832.200110] x25: 0000000000000001 x24: 0000000000000080
    [41832.205411] x23: ffff0008401bb600 x22: 0000000000000003
    [41832.210712] x21: ffff800010fd3b58 x20: ffff800010e8ab40
    [41832.216013] x19: ffff00087faaab40 x18: 0000000000000000
    [41832.221313] x17: 0000000000000000 x16: 0000000000000000
    [41832.226614] x15: 0000000000000000 x14: 0000000000000000
    [41832.231914] x13: ffff800010fd1000 x12: 0000000000000001
    [41832.237215] x11: ffff8000110ca000 x10: 0000000000000040
    [41832.242515] x9 : ffff800010fea688 x8 : ffff800010fea680
    [41832.247816] x7 : ffff800010feb000 x6 : 000007337357d979
    [41832.253117] x5 : 00ffffffffffffff x4 : 0000000000000015
    [41832.258417] x3 : 000024000809f511 x2 : 0000000000000016
    [41832.263717] x1 : 0000000000a00000 x0 : 0000260bc9b95ba9
    [41832.269019] Call trace:
    [41832.271460]  0x7fff8000100e262c
    [41832.274601]  scheduler_tick+0x5c/0xf8
    [41832.278259]  update_process_times+0x3c/0xb8
    [41832.282436]  tick_sched_handle.isra.0+0x30/0x48
    [41832.286958]  tick_sched_timer+0x48/0x98
    [41832.290786]  __hrtimer_run_queues+0x110/0x1b0
    [41832.295133]  hrtimer_interrupt+0xe4/0x240
    [41832.299138]  arch_timer_handler_phys+0x30/0x40
    [41832.303575]  handle_percpu_devid_irq+0x80/0x140
    [41832.308099]  generic_handle_irq+0x24/0x38
    [41832.312100]  __handle_domain_irq+0x60/0xb8
    [41832.316188]  gic_handle_irq+0x5c/0x148
    [41832.319929]  el1_irq+0xb8/0x180
    [41832.323067]  arch_cpu_idle+0x10/0x18
    [41832.326636]  do_idle+0xc0/0x140
    [41832.329771]  cpu_startup_entry+0x20/0x68
    [41832.333691]  secondary_start_kernel+0x148/0x180
    [41832.338219] Code: bad PC value
    [41832.341275] ---[ end trace 540456af55d5fb9a ]---
    [41832.345883] Kernel panic - not syncing: Fatal exception in interrupt
    [41832.352225] SMP: stopping secondary CPUs
    [41833.473185] SMP: failed to stop secondary CPUs 2-3
    [41833.477963] Kernel Offset: disabled
    [41833.481442] CPU features: 0x0002,2000200c
    [41833.485440] Memory Limit: none
    [41833.488492] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---

    Thanks & Regards

    Logan

  • Hi Logan,

    I checked with our OSPI expert.

    Changing spi-max-frequency to 166 MHz is not right. Leave it untouched

    Is your OSPI calibrated?

    Link: software-dl.ti.com/.../Foundational_Components_U-Boot.html

    PHY Calibration

    PHY calibration allows for higher read performance. To enable PHY, the PHY calibration pattern must be flashed to OSPI at the start of the last erase sector. For the Micron MT35XU512ABA flash, this lies at the address 0x3fe0000.

    Can you confirm if the calibration step is done? Also share the full boot log with SPL & u-boot prints.

    Best Regards,
    Keerthy

  • Hi Keerthy,

    While do PHY Calibration, we observed following error

    => sf probe
    WARN: PHY calibration failed: -2
    SF: Detected mt35xu512aba with page size 256 Bytes, erase size 128 KiB, total 64 MiB.

    plz find the attached boot log

    U-Boot SPL 2020.01-dirty (May 05 2021 - 10:08:58 +0530)
    SYSFW ABI: 3.1 (firmware rev 0x0014 '20.8.5--v2020.08b (Terrific Lla')
    Reading on-board EEPROM at 0x50 failed -1
    Trying to boot from MMC2
    
    
    U-Boot 2020.01-dirty (May 05 2021 - 10:08:58 +0530)
    
    SoC:   AM65X SR2.0
    Model: Texas Instruments AM654 Base Board
    Reading on-board EEPROM at 0x50 failed -1
    Board: AM6-COMPROCEVM rev E3
    DRAM:  4 GiB
    MMC:   sdhci@4f80000: 0, sdhci@4fa0000: 1
    Loading Environment from MMC... OK
    In:    serial
    Out:   serial
    Err:   serial
    Reading on-board EEPROM at 0x50 failed -1
    Net:   
    Warning: ethernet@46000000 using MAC address from ROM
    eth0: ethernet@46000000
    Hit any key to stop autoboot:  0 
    => 
    => sf probe
    WARN: PHY calibration failed: -2
    SF: Detected mt35xu512aba with page size 256 Bytes, erase size 128 KiB, total 64 MiB
    => fatload mmc 1 $loadaddr nor_spi_patterns.bin
    128 bytes read in 5 ms (24.4 KiB/s)
    => sf update $loadaddr 0x3fe0000 $filesize
    device 0 offset 0x3fe0000, size 0x80
    128 bytes written, 0 bytes skipped in 0.325s, speed 399 B/s
    => sf probe                                    
    WARN: PHY calibration failed: -2
    SF: Detected mt35xu512aba with page size 256 Bytes, erase size 128 KiB, total 64 MiB
    => �
    U-Boot SPL 2020.01-dirty (May 05 2021 - 10:08:58 +0530)
    SYSFW ABI: 3.1 (firmware rev 0x0014 '20.8.5--v2020.08b (Terrific Lla')
    Reading on-board EEPROM at 0x50 failed -1
    Trying to boot from MMC2
    
    
    U-Boot 2020.01-dirty (May 05 2021 - 10:08:58 +0530)
    
    SoC:   AM65X SR2.0
    Model: Texas Instruments AM654 Base Board
    Reading on-board EEPROM at 0x50 failed -1
    Board: AM6-COMPROCEVM rev E3
    DRAM:  4 GiB
    MMC:   sdhci@4f80000: 0, sdhci@4fa0000: 1
    Loading Environment from MMC... OK
    In:    serial
    Out:   serial
    Err:   serial
    Reading on-board EEPROM at 0x50 failed -1
    Net:   
    Warning: ethernet@46000000 using MAC address from ROM
    eth0: ethernet@46000000
    Hit any key to stop autoboot:  0 
    => sf probe
    WARN: PHY calibration failed: -2
    SF: Detected mt35xu512aba with page size 256 Bytes, erase size 128 KiB, total 64 MiB
    => 
    WARN: PHY calibration failed: -2
    SF: Detected mt35xu512aba with page size 256 Bytes, erase size 128 KiB, total 64 MiB
    => printenv
    addr_fit=0x90000000
    arch=arm
    args_all=setenv optargs earlycon=ns16550a,mmio32,0x02810000 ${mtdparts}
    args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=/dev/mmcblk1p2 rw rootfstype=${mmcrootfstype}
    args_ubi=setenv bootargs console=${console} ${optargs} rootfstype=ubifs root=ubi0:rootfs rw ubi.mtd=ospi.rootfs
    baudrate=115200
    board=am65x
    board_name=am65x
    boot=mmc
    boot_fdt=try
    boot_fit=0
    boot_rprocs=if test ${dorprocboot} -eq 1 && test ${boot} = mmc; then rproc init;run boot_rprocs_mmc;fi;
    boot_rprocs_mmc=env set rproc_id;env set rproc_fw;for i in ${rproc_fw_binaries} ; do if test -z "${rproc_id}" ; then env set rproc_id $i;else env set rproc_fw $i;run rproc_load_and_boot_one;env set rproce
    bootcmd=run findfdt; run envboot; run init_${boot}; run boot_rprocs; run get_kern_${boot}; run get_fdt_${boot}; run get_overlay_${boot}; run run_kern
    bootdelay=2
    bootdir=/boot
    bootenvfile=uEnv.txt
    bootm_size=0x10000000
    bootpart=1:2
    bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
    console=ttyS3,115200n8
    cpu=armv8
    dfu_alt_info_emmc=rawemmc raw 0 0x800000 mmcpart 1;rootfs part 0 1 mmcpart 0;tiboot3.bin.raw raw 0x0 0x400 mmcpart 1;tispl.bin.raw raw 0x400 0x1000 mmcpart 1;u-boot.img.raw raw 0x1400 0x2000 mmcpart 1;u-1
    dfu_alt_info_mmc=boot part 1 1;rootfs part 1 2;tiboot3.bin fat 1 1;tispl.bin fat 1 1;u-boot.img fat 1 1;uEnv.txt fat 1 1;sysfw.itb fat 1 1
    dfu_alt_info_ospi=tiboot3.bin raw 0x0 0x080000;tispl.bin raw 0x080000 0x200000;u-boot.img raw 0x280000 0x400000;u-boot-env raw 0x680000 0x020000;sysfw.itb raw 0x6c0000 0x100000;rootfs raw 0x800000 0x38000
    dfu_alt_info_ram=tispl.bin ram 0x80080000 0x100000;u-boot.img ram 0x81000000 0x100000
    dorprocboot=0
    dtboaddr=0x89000000
    envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run loadbootenv; then echo Loaded env from ${bootenvfile};run impor;
    eth1addr=fa:17:e6:33:40:e1
    eth2addr=fa:17:e6:33:40:e2
    eth3addr=fa:17:e6:33:40:e3
    eth4addr=fa:17:e6:33:40:e4
    ethaddr=64:69:4e:17:ec:b2
    fdt_addr_r=0x88000000
    fdtaddr=0x88000000
    fdtcontroladdr=fdec5e98
    findfdt=setenv name_fdt k3-am654-base-board.dtb;setenv fdtfile ${name_fdt}
    finduuid=part uuid mmc ${bootpart} uuid
    get_fdt_mmc=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${name_fdt}
    get_fdt_ubi=ubifsload ${fdtaddr} ${bootdir}/${name_fdt}
    get_fit_mmc=load mmc ${bootpart} ${addr_fit} ${bootdir}/${name_fit}
    get_kern_mmc=load mmc ${bootpart} ${loadaddr} ${bootdir}/${name_kern}
    get_kern_ubi=ubifsload ${loadaddr} ${bootdir}/${name_kern}
    get_overlay_mmc=fdt address ${fdtaddr};fdt resize 0x100000;for overlay in $name_overlays;do;load mmc ${bootpart} ${dtboaddr} ${bootdir}/${overlay};fdt apply ${dtboaddr};done;
    get_overlaystring=for overlay in $name_overlays;do;setenv overlaystring ${overlaystring}'#'${overlay};done;
    importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}
    init_mmc=run args_all args_mmc
    init_ubi=run args_all args_ubi; sf probe; ubi part ospi.rootfs; ubifsmount ubi:rootfs;
    kernel_addr_r=0x82000000
    loadaddr=0x82000000
    loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}
    loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr
    loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
    loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
    mmcboot=mmc dev ${mmcdev}; devnum=${mmcdev}; setenv devtype mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadimage; then run args_mmc; if test ${boot_fit} -eq 1; then run run_fit;
    mmcdev=1
    mmcloados=if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi;
    mmcrootfstype=ext4 rootdelay=2 rootwait
    mtdids=nor0=47040000.spi.0
    mtdparts=mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),128k(ospi.env),128k(ospi.env.backup),1m(ospi.sysfw),57216k@8m(ospi.rootfs),128k(ospi.phypattern)
    name_fit=fitImage
    name_kern=Image
    partitions=name=rootfs,start=0,size=-,uuid=${uuid_gpt_rootfs}
    pxefile_addr_r=0x80100000
    ramdisk_addr_r=0x88080000
    rd_spec=-
    rdaddr=0x88080000
    rproc_fw_binaries=0 /lib/firmware/am65x-mcu-r5f0_0-fw 1 /lib/firmware/am65x-mcu-r5f0_1-fw 
    rproc_load_and_boot_one=if load mmc ${bootpart} $loadaddr ${rproc_fw}; then if rproc load ${rproc_id} ${loadaddr} ${filesize}; then rproc start ${rproc_id};fi;fi
    run_fit=bootm ${addr_fit}#${fdtfile}${overlaystring}
    run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}
    scriptaddr=0x80000000
    soc=k3
    stdin=serial,usbkbd
    update_to_fit=setenv loadaddr ${addr_fit}; setenv bootfile ${name_fit}
    vendor=ti
    
    Environment size: 4938/131067 bytes
    => run bootcmd
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    1011 bytes read in 5 ms (197.3 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    16666632 bytes read in 672 ms (23.7 MiB/s)
    70014 bytes read in 8 ms (8.3 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 000000008feeb000, end 000000008fffffff ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 5.4.74-g9574bba32a (logan@logan-HP-Laptop-15-da0xxx) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #2 SMP PREEMPT Wed Apr1
    [    0.000000] Machine model: Texas Instruments AM654 Base Board
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002810000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 512 MiB at 0x00000000e0000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.0
    [    0.000000] percpu: Embedded 2 pages/cpu s48408 r8192 d74472 u131072
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 55976
    [    0.000000] Kernel command line: console=ttyS3,115200n8 earlycon=ns16550a,mmio32,0x02810000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),128k(ospi.env),128k(ospi.env.backut
    [    0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0xbbff0000-0xbfff0000] (64MB)
    [    0.000000] Memory: 3515712K/3586048K available (9598K kernel code, 788K rwdata, 3840K rodata, 1664K init, 683K bss, 18446744073709097664K reserved, 524288K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: no VLPI support, no direct LPI support
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @8c0800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008c00d0000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008c00e0000
    [    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x43c with crng_init=0
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000006] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008664] Console: colour dummy device 80x25
    [    0.013273] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023992] pid_max: default: 32768 minimum: 301
    [    0.028845] LSM: Security Framework initializing
    [    0.033659] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.041269] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.051721] ASID allocator initialised with 32768 entries
    [    0.057441] rcu: Hierarchical SRCU implementation.
    [    0.062740] Platform MSI: gic-its@1820000 domain created
    [    0.068513] PCI/MSI: /bus@100000/interrupt-controller@1800000/gic-its@1820000 domain created
    [    0.077752] smp: Bringing up secondary CPUs ...
    [    0.083632] Detected VIPT I-cache on CPU1
    [    0.083671] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.083685] GICv3: CPU1: using allocated LPI pending table @0x00000008c00f0000
    [    0.083737] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.085157] Detected VIPT I-cache on CPU2
    [    0.085199] GICv3: CPU2: found redistributor 100 region 0:0x00000000018c0000
    [    0.085214] GICv3: CPU2: using allocated LPI pending table @0x00000008c0100000
    [    0.085269] CPU2: Booted secondary processor 0x0000000100 [0x410fd034]
    [    0.086593] Detected VIPT I-cache on CPU3
    [    0.086627] GICv3: CPU3: found redistributor 101 region 0:0x00000000018e0000
    [    0.086639] GICv3: CPU3: using allocated LPI pending table @0x00000008c0110000
    [    0.086683] CPU3: Booted secondary processor 0x0000000101 [0x410fd034]
    [    0.086837] smp: Brought up 1 node, 4 CPUs
    [    0.167237] SMP: Total of 4 processors activated.
    [    0.172076] CPU features: detected: 32-bit EL0 Support
    [    0.177371] CPU features: detected: CRC32 instructions
    [    0.194218] CPU: All CPU(s) started at EL2
    [    0.198479] alternatives: patching kernel code
    [    0.204737] devtmpfs: initialized
    [    0.219442] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.229477] futex hash table entries: 1024 (order: 0, 65536 bytes, linear)
    [    0.237985] pinctrl core: initialized pinctrl subsystem
    [    0.244433] NET: Registered protocol family 16
    [    0.256174] DMA: preallocated 256 KiB pool for atomic allocations
    [    0.263413] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.293447] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
    [    0.300364] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
    [    0.307156] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.317116] cryptd: max_cpu_qlen set to 1000
    [    0.328325] iommu: Default domain type: Translated 
    [    0.333805] SCSI subsystem initialized
    [    0.338419] mc: Linux media interface: v0.10
    [    0.342845] videodev: Linux video capture interface: v2.00
    [    0.348506] pps_core: LinuxPPS API ver. 1 registered
    [    0.353603] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.362990] PTP clock support registered
    [    0.367042] EDAC MC: Ver: 3.0.0
    [    0.371525] FPGA manager framework
    [    0.375157] Advanced Linux Sound Architecture Driver Initialized.
    [    0.382469] clocksource: Switched to clocksource arch_sys_counter
    [    0.388995] VFS: Disk quotas dquot_6.6.0
    [    0.393130] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
    [    0.407775] thermal_sys: Registered thermal governor 'step_wise'
    [    0.407780] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.414529] NET: Registered protocol family 2
    [    0.426553] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
    [    0.435428] TCP established hash table entries: 32768 (order: 2, 262144 bytes, linear)
    [    0.443864] TCP bind hash table entries: 32768 (order: 3, 524288 bytes, linear)
    [    0.451958] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.458842] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.465847] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.473484] NET: Registered protocol family 1
    [    0.478773] RPC: Registered named UNIX socket transport module.
    [    0.484866] RPC: Registered udp transport module.
    [    0.489696] RPC: Registered tcp transport module.
    [    0.494523] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.501142] PCI: CLS 0 bytes, default 64
    [    0.506346] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
    [    0.520878] Initialise system trusted keyrings
    [    0.525689] workingset: timestamp_bits=46 max_order=16 bucket_order=0
    [    0.539173] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.545909] NFS: Registering the id_resolver key type
    [    0.551132] Key type id_resolver registered
    [    0.555431] Key type id_legacy registered
    [    0.559557] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.566712] 9p: Installing v9fs 9p2000 file system support
    [    0.592077] Key type asymmetric registered
    [    0.596292] Asymmetric key parser 'x509' registered
    [    0.601342] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.608937] io scheduler mq-deadline registered
    [    0.613588] io scheduler kyber registered
    [    0.620388] pinctrl-single 4301c000.pinmux: 70 pins, size 280
    [    0.626921] pinctrl-single 11c000.pinmux: 185 pins, size 740
    [    0.632889] pinctrl-single 11c2e8.pinmux: 9 pins, size 36
    [    0.644629] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.651001] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.661910] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.686517] brd: module loaded
    [    0.698686] loop: module loaded
    [    0.705901] libphy: Fixed MDIO Bus: probed
    [    0.710750] tun: Universal TUN/TAP device driver, 1.6
    [    0.716742] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
    [    0.724789] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.730916] sky2: driver version 1.30
    [    0.735938] VFIO - User Level meta-driver version: 0.3
    [    0.742133] i2c /dev entries driver
    [    0.747059] sdhci: Secure Digital Host Controller Interface driver
    [    0.753409] sdhci: Copyright(c) Pierre Ossman
    [    0.758435] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.765596] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.771867] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: invalid resource
    [    0.780808] optee: probing for conduit method from DT.
    [    0.786127] optee: revision 3.8 (199fca17)
    [    0.786949] optee: initialized driver
    [    0.796701] NET: Registered protocol family 17
    [    0.801453] 9pnet: Installing 9P2000 support
    [    0.805911] Key type dns_resolver registered
    [    0.810742] registered taskstats version 1
    [    0.814965] Loading compiled-in X.509 certificates
    [    0.829558] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.836088] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.848392] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: invalid resource
    [    0.856023] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: ABI: 3.1 (firmware rev 0x0014 '20.8.5--v2020.08b (Terrific Lla')
    [    0.916558] pca953x 0-0038: 0-0038 supply vcc not found, using dummy regulator
    [    0.924066] pca953x 0-0038: using no AI
    [    0.950628] random: fast init done
    [    0.954732] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.961283] omap_i2c 40b00000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.967934] pca953x 2-0021: 2-0021 supply vcc not found, using dummy regulator
    [    0.975430] pca953x 2-0021: using no AI
    [    1.003318] omap_i2c 2000000.i2c: bus 2 rev0.12 at 400 kHz
    [    1.009891] omap_i2c 2010000.i2c: bus 3 rev0.12 at 400 kHz
    [    1.016367] omap_i2c 2020000.i2c: bus 4 rev0.12 at 400 kHz
    [    1.023141] omap_i2c 2030000.i2c: bus 5 rev0.12 at 400 kHz
    [    1.029794] ti-sci-intr bus@100000:bus@28380000:bus@42040000:interrupt-controller2: Interrupt Router 156 domain created
    [    1.041080] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 100 domain created
    [    1.050031] ti-sci-intr bus@100000:navss@30800000:interrupt-controller1: Interrupt Router 182 domain created
    [    1.060443] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 179 created
    [    1.077446] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,160] sci-dev-id:195
    [    1.087476] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.094273] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66348100, num_proxies:64
    [    1.115796] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:818, gp-rings[304,464] sci-dev-id:187
    [    1.125915] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.132733] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66348100, num_proxies:64
    [    1.141372] 42300000.serial: ttyS0 at MMIO 0x42300000 (irq = 7, base_baud = 6000000) is a 8250
    [    1.151381] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 9, base_baud = 6000000) is a 8250
    [    1.161214] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 18, base_baud = 3000000) is a 8250
    [    1.170895] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 19, base_baud = 3000000) is a 8250
    [    1.179703] printk: console [ttyS3] enabled
    [    1.179703] printk: console [ttyS3] enabled
    [    1.188170] printk: bootconsole [ns16550a0] disabled
    [    1.188170] printk: bootconsole [ns16550a0] disabled
    [    1.199160] 2820000.serial: ttyS4 at MMIO 0x2820000 (irq = 20, base_baud = 3000000) is a 8250
    [    1.258488] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.266161] libphy: 46000f00.mdio: probed
    [    1.271722] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.280037] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00102, cpsw version 0x6BA80102 Ports: 2 quirks:00000000
    [    1.292923] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
    [    1.303036] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [    1.312814] mmc0: CQHCI version 5.10
    [    1.357639] mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADMA 64-bit
    [    1.379982] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    1.387005] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    1.397264] ti-udma 285c0000.dma-controller: Channels: 96 (tchan: 48, rchan: 48, gp-rflow: 48)
    [    1.420550] ti-udma 31150000.dma-controller: Channels: 267 (tchan: 119, rchan: 148, gp-rflow: 150)
    [    1.454098] spi-nor spi7.0: mt35xu512aba (65536 Kbytes)
    [    1.459410] 8 cmdlinepart partitions found on MTD device 47040000.spi.0
    [    1.466042] Creating 8 MTD partitions on "47040000.spi.0":
    [    1.471550] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    1.478731] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    1.485524] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    1.492797] 0x000000680000-0x0000006a0000 : "ospi.env"
    [    1.499678] 0x0000006a0000-0x0000006c0000 : "ospi.env.backup"
    [    1.506922] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
    [    1.512481] mmc0: Command Queue Engine enabled
    [    1.516948] mmc0: new HS400 MMC card at address 0001
    [    1.523371] mmcblk0: mmc0:0001 S0J57X 29.6 GiB 
    [    1.528213] mmcblk0boot0: mmc0:0001 S0J57X partition 1 31.5 MiB
    [    1.534739] 0x000000800000-0x000003fe0000 : "ospi.rootfs"
    [    1.540937] mmcblk0boot1: mmc0:0001 S0J57X partition 2 31.5 MiB
    [    1.547255] mmcblk0rpmb: mmc0:0001 S0J57X partition 3 4.00 MiB, chardev (240:0)
    [    1.547850] 0x000003fe0000-0x000004000000 : "ospi.phypattern"
    [    1.564809]  mmcblk0: p1
    [    1.572044] spi-nor spi8.0: cy15b104q (512 Kbytes)
    [    1.583261] spi-nor spi9.0: unrecognized JEDEC id bytes: 00 00 00 00 00 00
    [    1.590175] spi-nor: probe of spi9.0 failed with error -2
    [    1.634496] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.642162] libphy: 46000f00.mdio: probed
    [    1.647915] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.656241] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00102, cpsw version 0x6BA80102 Ports: 2 quirks:00000000
    [    1.670398] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    1.677555] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 57.4
    [    1.684877] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.691838] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [    1.703198] mmc1: CQHCI version 5.10
    [    2.383930] mmc1: SDHCI controller on 4fa0000.sdhci [4fa0000.sdhci] using ADMA 64-bit
    [    2.393330] debugfs: Directory 'pd:121' with parent 'pm_genpd' already present!
    [    2.400728] debugfs: Directory 'pd:120' with parent 'pm_genpd' already present!
    [    2.410645] input: gpio-keys as /devices/platform/gpio-keys/input/input0
    [    2.417677] hctosys: unable to open rtc device (rtc0)
    [    2.438414] ALSA device list:
    [    2.441405]   No soundcards found.
    [    2.445184] Waiting 2 sec before mounting root device...
    [    2.734569] mmc1: new ultra high speed DDR50 SDHC card at address 0001
    [    2.741945] mmcblk1: mmc1:0001 0016G 15.2 GiB 
    [    2.750831]  mmcblk1: p1 p2
    [    4.491673] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    4.499865] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    4.511898] devtmpfs: mounted
    [    4.515712] Freeing unused kernel memory: 1664K
    [    4.520337] Run /sbin/init as init process
    [    5.056855] systemd[1]: System time before build time, advancing clock.
    [    5.144151] NET: Registered protocol family 10
    [    5.149816] Segment Routing with IPv6
    [    5.188323] systemd[1]: systemd 244.3+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD )
    [    5.210628] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2020.09!
    
    [    5.263485] systemd[1]: Set hostname to <am65xx-evm>.
    [    5.673697] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/docker.sock; please update the unit .
    [    5.814635] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.821576] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [    5.833931] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [    5.846388] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    5.866759] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.875187] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    5.894630] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.902809] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    5.918914] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    [    5.942769] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R…uests to Wall Directory Watch.
    [    5.966766] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    5.982630] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    5.998600] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    6.014617] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    6.037987] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    6.058688] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    6.081019] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    6.098917] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    6.138187] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    [    6.147100] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    6.171198] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    6.187318] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    6.207049] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    6.222915] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    6.245340] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    6.268653] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    6.296950] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    6.326253] systemd[1]: Mounting Temporary Directory (/tmp)...
             Mounting Temporary Directory (/tmp)...
    [    6.349352] systemd[1]: Starting Create list of static device nodes for the current kernel...
             Starting Create list of st…odes for the current kernel...
    [    6.380876] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [    6.415593] systemd[1]: Started Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [    6.443097] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    6.458984] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
    [    6.476688] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    6.509995] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    6.539109] systemd[1]: Starting Remount Root and Kernel File Systems...
             [    6.546396] cryptodev: loading out-of-tree module taints kernel.
    Starting Remount Root and Kernel File Systems...
    [    6.567144] cryptodev: driver 1.10 loaded.
    [    6.574976] systemd[1]: Starting udev Coldplug all Devices...
             Starting udev Coldplug all Devices...
    [    6.586456] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    [    6.600958] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    6.629958] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Create list of sta… nodes for the current kernel.
    [FAILED] Failed to start Start psplash boot splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Star…progress communication helper.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
             Starting Apply Kernel Variables...
    [    6.897930] systemd-journald[175]: Received client request to flush runtime journal.
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Docker Socket for the API.
    [  OK  ] Listening on dropbear.socket.
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
    [  OK  ] Started D-Bus System Message Bus.
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.
             Starting rc.pvr.service...
             Starting Login Service...
    [  OK  ] Started Reboot and dump vmcore via kexec.
    [  OK  ] Started IPv6 Packet Filtering Framework.
    [  OK  ] Started IPv4 Packet Filtering Framework.
    [  OK  ] Reached target Network (Pre).
             Starting Network Service...
    [    8.114936] [drm] Initialized pvr 1.17.4948957 20110701 for 7000000.gpu on minor 0
    [    8.178966] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]
    [  OK  ] Started rc.pvr.service.
             Starting weston.service...
    [  OK  ] Started Network Service.
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [  OK  ] Started weston.service.
             Starting Matrix GUI...
             Starting telnetd.service...
    [  OK  ] Started Matrix GUI.
    [  OK  ] Started Login Service.
    [  OK  ] Started telnetd.service.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Simple Network Ma…ent Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [    9.118224] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    9.238665] ov5640 3-003c: 3-003c supply DOVDD not found, using dummy regulator
    [    9.389934] ov5640 3-003c: 3-003c supply AVDD not found, using dummy regulator
    [    9.424390] ov5640 3-003c: 3-003c supply DVDD not found, using dummy regulator
    [    9.466642] davinci_mdio b132400.mdio: davinci mdio revision 1.7, bus freq 1000000
    [    9.543119] ov5640 3-003c: ov5640_read_reg: error: reg=300a
    [    9.544410] libphy: b132400.mdio: probed
    [    9.550557] random: crng init done
    [    9.556193] random: 7 urandom warning(s) missed due to ratelimiting
    [    9.578553] ov5640 3-003c: ov5640_check_chip_id: failed to read chip identifier
    [    9.632921] ov5640: probe of 3-003c failed with error -121
    [    9.687535] davinci_mdio b132400.mdio: phy[0]: device b132400.mdio:00, driver TI DP83867
    [  OK  ] Started Load/Save Random Seed.
    [    9.854573] davinci_mdio b132400.mdio: phy[1]: device b132400.mdio:01, driver TI DP83867
    [   10.012565] davinci_mdio b232400.mdio: davinci mdio revision 1.7, bus freq 1000000
    [   10.038760] libphy: b232400.mdio: probed
    [   10.186826] davinci_mdio b232400.mdio: phy[0]: device b232400.mdio:00, driver TI DP83867
    [   10.282684] davinci_mdio b232400.mdio: phy[1]: device b232400.mdio:01, driver TI DP83867
    [   10.600202] TI DP83867 46000f00.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=46000f00.mdio:00, irq=POLL)
    [   10.620541] am65-cpsw-nuss 46000000.ethernet eth0: Link is Down
    [  OK  ] Started Simple Network Man…ement Protocol (SNMP) Daemon..
    [   10.875826] platform 41000000.r5f: configured R5F for remoteproc mode
    [   10.942672] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [   10.987782] remoteproc remoteproc0: 41000000.r5f is available
    [   11.024566] remoteproc remoteproc0: powering up 41000000.r5f
    [   11.030609] remoteproc remoteproc0: Booting fw image am65x-mcu-r5f0_0-fw, size 85036
    [   11.044151] platform 41000000.r5f: booting R5F core using boot addr = 0x0
    [   11.070598]  remoteproc0#vdev0buffer: assigned reserved memory node r5f-dma-memory@a0000000
    [   11.083695] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   11.088685] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [   11.097239] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [   11.099518]  remoteproc0#vdev0buffer: registered virtio0 (type 7)
    [   11.126535] remoteproc remoteproc0: remote processor 41000000.r5f is now up
    [  OK  ] Created slice system-systemd\x2dcoredump.slice.
    [  OK  ] Started Process Core Dump (PID 523/UID 0).
    [   12.513110] remoteproc remoteproc1: b034000.pru is available
    [  OK  ] Created slice system-systemd\x2dfsck.slice.
    [   12.667628] pru-rproc b034000.pru: PRU rproc node /bus@100000/icssg@b000000/pru@34000 probed successfully
    [   12.927138] remoteproc remoteproc2: b004000.rtu is available
    [   12.939910] pru-rproc b004000.rtu: PRU rproc node /bus@100000/icssg@b000000/rtu@4000 probed successfully
    [   12.995283] pru-rproc b00a000.txpru: IRQ vring not found
    [   13.039364] pru-rproc b00a000.txpru: IRQ kick not found
    [   13.059380] remoteproc remoteproc3: b00a000.txpru is available
    [   13.135232] pru-rproc b00a000.txpru: PRU rproc node /bus@100000/icssg@b000000/txpru@a000 probed successfully
    [   13.193222] remoteproc remoteproc4: b038000.pru is available
    [   13.298688] pru-rproc b038000.pru: PRU rproc node /bus@100000/icssg@b000000/pru@38000 probed successfully
    [   13.433530] remoteproc remoteproc5: b006000.rtu is available
    [   13.519848] pru-rproc b006000.rtu: PRU rproc node /bus@100000/icssg@b000000/rtu@6000 probed successfully
    [   13.691021] pru-rproc b00c000.txpru: IRQ vring not found
    [   13.754554] pru-rproc b00c000.txpru: IRQ kick not found
    [   13.822728] remoteproc remoteproc6: b00c000.txpru is available
    [   13.928978] pru-rproc b00c000.txpru: PRU rproc node /bus@100000/icssg@b000000/txpru@c000 probed successfully
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            bash-dev
            bash
            bc
            binutils
            cifs-utils
            coreutils-stdbuf
            coreutils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            gettext
            glmark2
            gstreamer1.0-libav
            gzip
            less
            libasm1
            libbfd
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm6
            libgettextlib
            libgettextsrc
            libgmp10
            libidn2-0
            libmpc3
            libmpfr6
            libreadline-dev
            libreadline8
            libunistring2
            m4-dev
            m4
            make
            nettle
            parted
            pdm-anomaly-detection
            tar
            which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a depen[   14.183877] remoteproc remoteproc7: b134000.pru is available
    dency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [   14.285303] pru-rproc b134000.pru: PRU rproc node /bus@100000/icssg@b100000/pru@34000 probed successfully
    [   14.391059] remoteproc remoteproc8: b104000.rtu is available
    [   14.415260] pru-rproc b104000.rtu: PRU rproc node /bus@100000/icssg@b100000/rtu@4000 probed successfully
    [   14.533361] pru-rproc b10a000.txpru: IRQ vring not found
    [   14.587268] pru-rproc b10a000.txpru: IRQ kick not found
    [   14.615112] remoteproc remoteproc9: b10a000.txpru is available
    [   14.648114] pru-rproc b10a000.txpru: PRU rproc node /bus@100000/icssg@b100000/txpru@a000 probed successfully
    [   14.725328] remoteproc remoteproc10: b138000.pru is available
    [   14.806249] pru-rproc b138000.pru: PRU rproc node /bus@100000/icssg@b100000/pru@38000 probed successfully
    [   14.855756] remoteproc remoteproc11: b106000.rtu is available
    [   14.934840] pru-rproc b106000.rtu: PRU rproc node /bus@100000/icssg@b100000/rtu@6000 probed successfully
    [   15.042921] pru-rproc b10c000.txpru: IRQ vring not found
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://a[   15.074531] pru-rproc b10c000.txpru: IRQ kick not found
    rago-project.org am65xx-evm ttyS3
    
    Arago 2020.09 am65xx-evm ttyS3
    
    am65xx-evm login: [   15.102780] remoteproc remoteproc12: b10c000.txpru is available
    [   15.134676] pru-rproc b10c000.txpru: PRU rproc node /bus@100000/icssg@b100000/txpru@c000 probed successfully
    [   15.167148] remoteproc remoteproc13: b234000.pru is available
    [   15.202771] pru-rproc b234000.pru: PRU rproc node /bus@100000/icssg@b200000/pru@34000 probed successfully
    [   15.219642] remoteproc remoteproc14: b204000.rtu is available
    [   15.251476] pru-rproc b204000.rtu: PRU rproc node /bus@100000/icssg@b200000/rtu@4000 probed successfully
    [   15.290888] pru-rproc b20a000.txpru: IRQ vring not found
    [   15.296353] pru-rproc b20a000.txpru: IRQ kick not found
    [   15.312263] remoteproc remoteproc15: b20a000.txpru is available
    [   15.354794] pru-rproc b20a000.txpru: PRU rproc node /bus@100000/icssg@b200000/txpru@a000 probed successfully
    [   15.372675] remoteproc remoteproc16: b238000.pru is available
    [   15.385542] pru-rproc b238000.pru: PRU rproc node /bus@100000/icssg@b200000/pru@38000 probed successfully
    [   15.407281] remoteproc remoteproc17: b206000.rtu is available
    [   15.418713] pru-rproc b206000.rtu: PRU rproc node /bus@100000/icssg@b200000/rtu@6000 probed successfully
    [   15.435025] pru-rproc b20c000.txpru: IRQ vring not found
    [   15.442364] pru-rproc b20c000.txpru: IRQ kick not found
    [   15.454812] remoteproc remoteproc18: b20c000.txpru is available
    [   15.462825] pru-rproc b20c000.txpru: PRU rproc node /bus@100000/icssg@b200000/txpru@c000 probed successfully
    [   15.468667] dwc3 4030000.usb: Failed to get clk 'ref': -2
    [   15.610863] b128000.serial: ttyS5 at MMIO 0xb128000 (irq = 1337, base_baud = 12000000) is a 16550A
    [   15.690703] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    [   15.736096] icssg-prueth pruss1_eth: TI PRU ethernet driver initialized: dual EMAC mode
    [   16.141677] icssg-prueth pruss2_eth: TI PRU ethernet driver initialized: dual EMAC mode
    [   16.619948] remoteproc remoteproc16: powering up b238000.pru
    [   16.629243] remoteproc remoteproc16: Booting fw image ti-pruss/am65x-sr2-pru1-prueth-fw.elf, size 35824
    [   16.646756] pru-rproc b238000.pru: configured system_events[159-0] = 00000000,00000000,00000000,00000000,02000000
    [   16.666564] pru-rproc b238000.pru: configured intr_channels = 0x00000002 host_intr = 0x00000008
    [   16.677896] remoteproc remoteproc16: remote processor b238000.pru is now up
    [   16.684964] remoteproc remoteproc17: powering up b206000.rtu
    [   16.701900] remoteproc remoteproc17: Booting fw image ti-pruss/am65x-sr2-rtu1-prueth-fw.elf, size 27900
    [   16.711393] remoteproc remoteproc17: remote processor b206000.rtu is now up
    [   16.722549] remoteproc remoteproc18: powering up b20c000.txpru
    [   16.733648] remoteproc remoteproc18: Booting fw image ti-pruss/am65x-sr2-txpru1-prueth-fw.elf, size 30264
    [   16.746542] remoteproc remoteproc18: remote processor b20c000.txpru is now up
    [   16.763939] TI DP83867 b232400.mdio:01: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b232400.mdio:01, irq=POLL)
    [   16.778797] net eth4: started
    [   16.826558] remoteproc remoteproc7: powering up b134000.pru
    [   16.834584] remoteproc remoteproc7: Booting fw image ti-pruss/am65x-sr2-pru0-prueth-fw.elf, size 35548
    [   16.844123] pru-rproc b134000.pru: configured system_events[159-0] = 00000000,00000000,00000000,00000000,01000000
    [   16.858584] pru-rproc b134000.pru: configured intr_channels = 0x00000001 host_intr = 0x00000004
    [   16.870531] remoteproc remoteproc7: remote processor b134000.pru is now up
    [   16.877576] remoteproc remoteproc8: powering up b104000.rtu
    [   16.888693] remoteproc remoteproc8: Booting fw image ti-pruss/am65x-sr2-rtu0-prueth-fw.elf, size 28664
    [   16.898102] remoteproc remoteproc8: remote processor b104000.rtu is now up
    [   16.910552] remoteproc remoteproc9: powering up b10a000.txpru
    [   16.918709] remoteproc remoteproc9: Booting fw image ti-pruss/am65x-sr2-txpru0-prueth-fw.elf, size 31620
    [   16.934565] remoteproc remoteproc9: remote processor b10a000.txpru is now up
    [   16.945989] TI DP83867 b132400.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b132400.mdio:00, irq=POLL)
    [   16.958632] net eth1: started
    [   17.009643] remoteproc remoteproc10: powering up b138000.pru
    [   17.026788] remoteproc remoteproc10: Booting fw image ti-pruss/am65x-sr2-pru1-prueth-fw.elf, size 35824
    [   17.036477] pru-rproc b138000.pru: configured system_events[159-0] = 00000000,00000000,00000000,00000000,02000000
    [   17.054577] pru-rproc b138000.pru: configured intr_channels = 0x00000002 host_intr = 0x00000008
    [   17.063374] remoteproc remoteproc10: remote processor b138000.pru is now up
    [   17.074539] remoteproc remoteproc11: powering up b106000.rtu
    [   17.080618] remoteproc remoteproc11: Booting fw image ti-pruss/am65x-sr2-rtu1-prueth-fw.elf, size 27900
    [   17.094555] remoteproc remoteproc11: remote processor b106000.rtu is now up
    [   17.101602] remoteproc remoteproc12: powering up b10c000.txpru
    [   17.107681] remoteproc remoteproc12: Booting fw image ti-pruss/am65x-sr2-txpru1-prueth-fw.elf, size 30264
    [   17.122524] remoteproc remoteproc12: remote processor b10c000.txpru is now up
    [   17.135744] TI DP83867 b132400.mdio:01: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b132400.mdio:01, irq=POLL)
    [   17.150748] net eth2: started
    [   17.162681] remoteproc remoteproc13: powering up b234000.pru
    [   17.168829] remoteproc remoteproc13: Booting fw image ti-pruss/am65x-sr2-pru0-prueth-fw.elf, size 35548
    [   17.183191] pru-rproc b234000.pru: configured system_events[159-0] = 00000000,00000000,00000000,00000000,01000000
    [   17.193560] pru-rproc b234000.pru: configured intr_channels = 0x00000001 host_intr = 0x00000004
    [   17.202573] remoteproc remoteproc13: remote processor b234000.pru is now up
    [   17.209639] remoteproc remoteproc14: powering up b204000.rtu
    [   17.215548] remoteproc remoteproc14: Booting fw image ti-pruss/am65x-sr2-rtu0-prueth-fw.elf, size 28664
    [   17.230530] remoteproc remoteproc14: remote processor b204000.rtu is now up
    [   17.237572] remoteproc remoteproc15: powering up b20a000.txpru
    [   17.243657] remoteproc remoteproc15: Booting fw image ti-pruss/am65x-sr2-txpru0-prueth-fw.elf, size 31620
    [   17.258523] remoteproc remoteproc15: remote processor b20a000.txpru is now up
    [   17.271813] TI DP83867 b232400.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=b232400.mdio:00, irq=POLL)
    [   17.286529] net eth3: started
    
    am65xx-evm login: root
    Last login: Wed Nov 25 15:19:31 UTC 2020
    root@am65xx-evm:~# [   21.887457] icssg-prueth pruss2_eth eth4: Link is Up - 1Gbps/Full - flow control off
    [   21.895366] IPv6: ADDRCONF(NETDEV_CHANGE): eth4: link becomes ready
    [   22.083431] icssg-prueth pruss1_eth eth1: Link is Up - 1Gbps/Full - flow control off
    [   22.091316] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    
    

    Thanks & Regards,

    logan

  • Hi Logan,

    That means phy is not calibrated.

    Can you please use the attached zip file: 8664.nor_spi_patterns.zip

    Unzip & copy nor_spi_patterns.bin to boot partition of SD card.

    Then try the below commands:

    sf probe
    fatload mmc 1 $loadaddr nor_spi_patterns.bin
    sf update $loadaddr 0x3fe0000 $filesize

    And see if that "WARN: PHY calibration failed: -2" Message goes away.

    Best Regards,
    Keerthy

  • Hi Keerthy,

    I followed above steps, but again PHY calibration failed

    Hit any key to stop autoboot:  0
    => sf probe
    WARN: PHY calibration failed: -2
    SF: Detected mt35xu512aba with page size 256 Bytes, erase size 128 KiB, total 64 MiB
    => fatload mmc 1 $loadaddr nor_spi_patterns.bin
    128 bytes read in 5 ms (24.4 KiB/s)
    => sf update $loadaddr 0x3fe0000 $filesize
    device 0 offset 0x3fe0000, size 0x80
    0 bytes written, 128 bytes skipped in 0.5s, speed 16384 B/s
    => sf probe                                    
    WARN: PHY calibration failed: -2
    SF: Detected mt35xu512aba with page size 256 Bytes, erase size 128 KiB, total 64 MiB
    =>

    Thanks & Regards,

    Logan

  • Hi Logan,

    Can you now try to restart and boot in OSPI boot mode and see if you still see this warning?

    Best Regards,
    Keerthy

  • HI keerthy,

    Host device boot from SD card,

    for boot from OSPI , Flashing Images to OSPI (SDK7.1 notes : 3.1.1.8.1. AM654/J721E Support ) steps given, but getting following error.

    => sf probe
    WARN: PHY calibration failed: -2
    SF: Detected mt35xu512aba with page size 256 Bytes, erase size 128 KiB, total 64 MiB
    => tftp ${loadaddr} tiboot3.bin
    ethernet@46000000 Waiting for PHY auto negotiation to complete.............................................................................................................................................!
    phy_startup failed
    am65_cpsw_start end error
    => sf update $loadaddr 0x0 $filesize
    device 0 whole chip
    67108864 bytes written, 0 bytes skipped in 53.230s, speed 1315860 B/s

    Thanks  & Regards,

    Logan

  • Hi Keerthy,

    PHY calibration failed, i tried to flash image to OSPI for boot from ospi boot. I followed SDK7.1 notes : 3.1.1.8.1. AM654/J721E Support  steps, but we got error while copying. Please check previous post.

    Thanks & Regards,

    logan

  • Hi Logan,

    Apologies for the delay in responding. I reproduced the calibration failed issue and am checking internally on the expected behavior.

    Best Regards,
    Keerthy

  • Hi Logan,

    Our internal team has reproduced the calibration issue on 7.1 SDK. They are checking if that is already fixed in the latest code.
    Another Issue is that i am not able to reproduce the crash with the script you provided after overnight testing.

    Any other way I can me reproduce the crash?

    Best Regards,
    Keerthy