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.

Linux/AM5728: Kernel crash issue

Part Number: AM5728
Other Parts Discussed in Thread: TMP102, TMDSEVM572X, TLV320AIC3104

Tool/software: Linux

The kernel crash issue on AM5728+Linux platform:

Hi, I'm david, I made a board based on AM5728 platform, and running Linux on that, but system crash problem hasbeen bothering me.

I modified the content in TI standard SDK(version 4.0.0.4) as follows:

1. U-Boot: modified board id related parts, because my board has no eeprom(include board info), It seems that U-Boot booting is normal.

2. Linux Kernel: arch\arm\mach-omap2\pm.c

int __init omap2_common_pm_late_init(void)

{

......

 /* Init the voltage layer */

omap_pmic_late_init();

#if 0

omap_voltage_late_init();

 /* Initialize the voltages */

omap3_init_voltages();

omap4_init_voltages();

#endif

 /* Smartreflex device init */

omap_devinit_smartreflex();

#if 0

 /* cpufreq dummy device instantiation */

omap_init_cpufreq();

#endif

 return 0;

}

3. Device Tree(am57xx-evm-rev3a.dtb): A little Modification, disable some hardware, because my board use different RTC chip,  has no LCD and temperature sensor(tmp102).

Help me,please!

Part of the startup information content as shown below:

......

booting-record.txt

  • The software team have been notified. They will respond here.
  • Hi, Biser, Thanks!
    Best Regards
    David. Jo.
  • Hi David,

    From the log file you have provided, the crash seems to be caused by rootfs misconfiguration, not linux kernel problem.

    Arago 2017.05 am57xx-evm ttyS2

    am57xx-evm login: [   23.526690] omap_hwmod: mmu1_dsp1: _wait_target_disable failed

    [   23.540650] omap_hwmod: mmu0_dsp1: _wait_target_disable failed

    [   24.173551] omap_hwmod: mmu1_dsp2: _wait_target_disable failed

    [   24.187060] omap_hwmod: mmu0_dsp2: _wait_target_disable failed

    [   24.624750] BUG: Bad page state in process php-cgi  pfn:efd6a

    [   24.630533] page:efd5c2e8 count:0 mapcount:0 mapping:  (null) index:0x1

    [   24.637183] flags: 0x80000000()

    [   24.640335] page dumped because: page still charged to cgroup

    [   24.646104] page->mem_cgroup:062d0634

    [   24.649778] Modules linked in: usbhid xhci_plat_hcd xhci_hcd sha512_generic sha512_arm sha256_generic usbcore sha1_generic sha1_arm_neon sha1_arm dwc3 md5 cbc xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp)

    [   24.714271] CPU: 0 PID: 870 Comm: php-cgi Tainted: G           O    4.9.28-geed43d1050 #1

     

    The error seems to be related to the below exe file:

    tisdk-rootfs-image-am57xx-evm/usr/bin/php-cgi

     

    Have you made any modifications of the AM57x rootfs? Can you check with the default one that come with PSDKv4.00?

    ti-processor-sdk-linux-am57xx-evm-04.00.00.04/filesystem/tisdk-rootfs-image-am57xx-evm/

     

    Can you also check what will be the result of the booting process if you use arago minimal rootfs?

    ti-processor-sdk-linux-am57xx-evm-04.00.00.04/filesystem/arago-base-tisdk-image-am57xx-evm/

     

    Regards,
    Pavel

  • Hi, Pavel

    First of all, thank you for your patience.

    But I can tell you that I have never modified file system,and I use full file system(tisdk-rootfs-image-am57xx-evm).

    I use SDK_PATH/bin/create-sdcard.sh script to generate booting SD card,and at this point, I selected default file system(prebuilt-image), so I don't think the problem is in the file system.

    I've been doing experiments with the old version(V3.3.0.4) these days,booting process(include weston and matrix-gui-2.0) was good,but some examples of Matrix (such as OpenCL samples) running caused system crash too.

    I'm wondering about two points:

    1. There maybe some problem with in Device Tree File.

    2.  There may be hardware problems,But I'm not sure...

    Thanks

    Best Regards,

    David. Jo.

  • David,

    Can you also check what will be the result of the booting process if you use arago minimal rootfs?

    ti-processor-sdk-linux-am57xx-evm-04.00.00.04/filesystem/arago-base-tisdk-image-am57xx-evm/

    If you can not crash the kernel with that arago rootfs, then most probably the issue is not related to kernel and/or DTS.

    processors.wiki.ti.com/.../Processor_SDK_Linux_Filesystem
    processors.wiki.ti.com/.../Customization

    You can also check for DDR3 issue, running DDR3 memory tests.

    Regards,
    Pavel
  • Hi, Pavel

    I think your suggestion is very good,but I never changed the file system,except for the applications I wrote.

    I  've checked the result with minimal rootfs follow your advice, booting process is good, but minimal system has no graphical tools ,such as weston,matrix. etc.

    These two days, I did a series of experiments as follows:

    1. I decided to use old SDK version(3.3.0.4), I only modified some files of u-boot  and DTS file according to my custom board.

    The System(SD card) booting are well in both the TI development board(TMDSEVM572X) and my custom board. It's exciting to see that the Weston and Matrix app are starting up normally.

    That means the old version(3.3.0.4) is more stable than newer version(4.0 and 4.1), at least for my board.

    2. But...Some of the matrix-gui sample programs are running normally,but some are not(causing the system to crash).

    Some samples of Matrix(ARM,3D,Power, Qt...) are running normally.

    But some samples failed, and even caused the system to crash. <Open CL / Vector Addition> is one of them.

    And My App(reading the USB camera)  also caused the system to crash, but it works well in the TI development board.

    Here is the print message at runtime of <Matrix / Open CL / Vector Addition>:

    root@am57xx-evm:~# 
    root@am57xx-evm:~# [  526.289166] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [  526.295083] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [  526.301081] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
    [  526.315367] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [  526.321274] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [  526.327516] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [  527.696448] EXT4-fs error (device mmcblk0p2): ext4_map_blocks:555: inode #277174: block 500833: comm clocl: lblock 316 mapped to illegal pblock (length 11)
    [  527.710524] Unable to handle kernel paging request at virtual address ff00047c
    [  527.717778] pgd = d2b51c40
    [  527.720494] [ff00047c] *pgd=80000080007003, *pmd=00000000
    [  527.725935] Internal error: Oops: 206 [#1] PREEMPT SMP ARM
    [  527.731442] Modules linked in: usbhid bc_example(O) rpmsg_pru rpmsg_proto rpmsg_rpc xhci_plat_hcd xhci_hcd usbcore cbc drbg pru_rproc pruss_intc xfrm_user dwc3 udc_core virtio_rpmsg_bus xfrm4_tunnel i)
    [  527.795399] CPU: 1 PID: 1240 Comm: clocl Tainted: G           O    4.4.41-gf9f6f0db2d #2
    [  527.803523] Hardware name: Generic DRA74X (Flattened Device Tree)
    [  527.809642] task: eca44800 ti: d391e000 task.ti: d391e000
    [  527.815071] PC is at _raw_spin_lock_irqsave+0x34/0x70
    [  527.820147] LR is at try_to_wake_up+0x30/0x328
    [  527.824609] pc : [<c06749d0>]    lr : [<c0058628>]    psr: 800f0193
    [  527.824609] sp : d391f8b0  ip : d391f8c0  fp : d391f8bc
    [  527.836134] r10: 00000001  r9 : 00000002  r8 : 00000003
    [  527.841380] r7 : 00000000  r6 : eed45400  r5 : ff00047c  r4 : ff000000
    [  527.847933] r3 : d391e000  r2 : ff00047c  r1 : 00000003  r0 : 800f0193
    [  527.854488] Flags: Nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [  527.861740] Control: 30c5387d  Table: 92b51c40  DAC: 55555555
    [  527.867508] Process clocl (pid: 1240, stack limit = 0xd391e210)
    [  527.873451] Stack: (0xd391f8b0 to 0xd3920000)
    [  527.877825] f8a0:                                     d391f8f4 d391f8c0 c0058628 c06749a8
    [  527.886037] f8c0: d391f90c d391f8d0 c008ff0c eed40be4 ee31009c eed45400 c09286d0 d391e000
    [  527.894250] f8e0: 00000002 00000001 d391f904 d391f8f8 c0058938 c0058604 d391f92c d391f908
    [  527.902462] f900: c0047504 c005892c c02b0194 c0674dac ee31009c eed45400 eea76100 c09286d0
    [  527.910674] f920: d391f96c d391f930 c0047678 c0047498 ed41b658 edbc8d10 00000025 eed40bc0
    [  527.918887] f940: d391f97c 00000000 00000002 eea76100 ee3100ac 00000000 d391fd28 d391f9d8
    [  527.927099] f960: d391f994 d391f970 c0047b24 c0047558 c004a8e4 c008fb80 00000000 ee31009c
    [  527.935311] f980: 00000002 eea76100 d391f9c4 d391f998 c004a9f0 c0047a88 d391f9d4 600f0193
    [  527.943522] f9a0: c028f428 d391f9d8 ee310000 00000001 600f0113 d391fd18 d391f9d4 d391f9c8
    [  527.951734] f9c0: c0290198 c004a9a4 d391fa14 d391f9d8 c0293f90 c0290164 d391f9d8 d391f9d8
    [  527.959945] f9e0: d391f9e0 d391f9e0 00000000 00000002 00000002 00000000 7fffffff c0671b08
    [  527.968157] fa00: edb96400 c09286d0 d391fa34 d391fa18 c0670980 c0293d8c 00000002 00000002
    [  527.976369] fa20: d391fa84 eeda1b38 d391fa4c d391fa38 c0671b20 c0670944 d391fa78 00000002
    [  527.984581] fa40: d391fa74 d391fa50 c0671684 c0671b14 ee51e100 00000002 c0671b08 00000002
    [  527.992793] fa60: eca44800 edb96400 d391fabc d391fa78 c067178c c0671604 ee51e100 00000002
    [  528.001004] fa80: 00000000 00000000 eca44800 c00705b0 eeda1b3c eeda1b3c d391facc ee51e100
    [  528.009216] faa0: 00000000 00001411 c09284b4 ee51e100 d391facc d391fac0 c014e3b4 c06716c8
    [  528.017429] fac0: d391faec d391fad0 c0152938 c014e394 ee293400 00002d6c c09285c0 c09284b4
    [  528.025642] fae0: d391fb2c d391faf0 c019e93c c0152878 002f43ec 00000000 d391fb2c 00000001
    [  528.033853] fb00: c019cf14 d3f7c890 c0687a58 ee293400 00000000 0000022b 00000000 00000001
    [  528.042065] fb20: d391fb7c d391fb30 c019ed68 c019e774 00043ab6 d17c44c0 0007a461 00000000
    [  528.050277] fb40: eca44bfc d391fb50 00000000 d391fb8c c0818d4c d391fb4c d391fc70 d391fc70
    [  528.058489] fb60: d3f7c890 0007a461 00000000 0000022b d391fbbc d391fb80 c018e228 c019ecf8
    [  528.066700] fb80: 0007a461 00000000 c0818d4c 0000013c 0000000b 08000000 d3f7c890 d391fc70
    [  528.074911] fba0: d3f7c890 00000000 00000000 0000000b d391fc14 d391fbc0 c018e83c c018e1b8
    [  528.083122] fbc0: 0007a461 00000000 00000001 0000000b d391fbec d391fbe0 c00ddf9c 00000000
    [  528.091334] fbe0: 00000000 d391fbf0 00000000 00000000 00000000 00000000 0000013c 00000000
    [  528.099545] fc00: 00000001 00000001 d391fcf4 d391fc18 c01c8518 c018e710 c01c80e8 c09b4e4c
    [  528.107758] fc20: ee422200 c018ecf0 00001000 00000000 00000000 00000000 d3f7c974 024000c0
    [  528.115969] fc40: 0000000c 00000000 0000128c 00000000 d391fd10 0000000b 0000000b d3f7c890
    [  528.124181] fc60: 00000001 efd0e8a0 00000147 00000000 0007a461 00000000 0000013c 0000000b
    [  528.132392] fc80: 00000020 c0928660 c0926e38 000001c1 00000000 d391fca0 024213ca c097ea00
    [  528.140603] fca0: 000001c1 000418a3 00000000 c097ea00 00000034 c09285d8 c0812a94 c097ea00
    [  528.148814] fcc0: 00000000 c097e180 00000002 c018dbb0 00000020 00000020 0000000b 0000128b
    [  528.157026] fce0: d3f7c974 efd84fb0 d391fd04 d391fcf8 c018dbf4 c01c817c d391fd5c d391fd08
    [  528.165237] fd00: c00dc6b0 c018dbbc ed5d7f00 d3f7c978 efd0ec38 efd0e6bc d391fd18 d391fd18
    [  528.173448] fd20: d391fd20 d391fd20 d391fd28 d391fd28 c00d78c8 00000000 00000000 00000141
    [  528.181660] fd40: d3f7c890 ed5d7f00 00000a88 00151000 d391fdb4 d391fd60 c00d1ca8 c00dc554
    [  528.189872] fd60: 00000008 d391fd70 c001d318 c001ccdc 00000141 00000000 d38a79c0 d391fddc
    [  528.198084] fd80: d3f7c974 efd84f8c 00000000 d3f7c878 d38a79c0 d391fddc 00150000 d3912a88
    [  528.206296] fda0: 00000a88 00151000 d391fdd4 d391fdb8 c0194c28 c00d187c 00000000 c09af880
    [  528.214508] fdc0: ec3ff880 00150000 d391fe0c d391fdd8 c00f512c c0194c00 00000180 00000054
    [  528.222718] fde0: 00000141 00151000 00000000 00000000 00150000 d3912a88 d38a79c0 c09af880
    [  528.230931] fe00: d391feac d391fe10 c00f9274 c00f50f4 00000000 d391fe64 c0096ec8 c04eccac
    [  528.239142] fe20: 3cd74568 001ec9e7 d3912000 0000007a ec3ff8b8 00000000 01239000 d3912a88
    [  528.247354] fe40: c092b644 00000000 d390e000 00000040 00000141 00000000 00000054 00e00000
    [  528.255565] fe60: c00f1d88 00000054 00000140 00150000 d391fed4 d391fe80 0000014f d3912a80
    [  528.263777] fe80: d391feac d391ffb0 eca44800 ec3ff880 80000207 00151c94 ec3ff8bc 00000054
    [  528.271989] fea0: d391fefc d391feb0 c001ca64 c00f8970 d38a7720 00000024 015d0000 015f4000
    [  528.280200] fec0: d38a7720 00000000 00000000 00000000 c00fcb1c c092cf04 00000207 c001c7dc
    [  528.288411] fee0: 00151c94 d391ffb0 013004dc 012ffaf8 d391ffac d391ff00 c0009350 c001c7e8
    [  528.296623] ff00: d38a7960 015f4000 00000024 ec3ff880 d391ff7c d391ff20 c00fdc34 c00c93d0
    [  528.304834] ff20: 00100073 00000000 00000000 000015d0 00000000 00000000 000015d0 00100073
    [  528.313046] ff40: d38a7960 d38a7970 015d0000 ec3ff880 d391ff7c 015f4000 ec3ff880 015d0000
    [  528.321257] ff60: ec3ff8bc 015f4000 d391e000 00000000 d391ffa4 d391ff80 c00fde90 c0077560
    [  528.329469] ff80: 015d0000 012b5960 00024000 00151c94 200f0010 ffffffff 30c5387d 30c5387d
    [  528.337682] ffa0: 00000000 d391ffb0 c00142a0 c0009324 bef4f648 012c0270 00006bd8 01332ab0
    [  528.345893] ffc0: 012c0270 bef4f650 bef4f648 00008d48 012c09a0 013004dc 012ffaf8 00000000
    [  528.354104] ffe0: 00000008 bef4f638 00a33800 00151c94 200f0010 ffffffff ff000000 ff000000
    [  528.362313] Backtrace: 
    [  528.364781] [<c067499c>] (_raw_spin_lock_irqsave) from [<c0058628>] (try_to_wake_up+0x30/0x328)
    [  528.373521] [<c00585f8>] (try_to_wake_up) from [<c0058938>] (wake_up_process+0x18/0x1c)
    [  528.381557]  r10:00000001 r9:00000002 r8:d391e000 r7:c09286d0 r6:eed45400 r5:ee31009c
    [  528.389458]  r4:eed40be4
    [  528.392013] [<c0058920>] (wake_up_process) from [<c0047504>] (insert_work+0x78/0xc0)
    [  528.399792] [<c004748c>] (insert_work) from [<c0047678>] (__queue_work+0x12c/0x2d0)
    [  528.407479]  r7:c09286d0 r6:eea76100 r5:eed45400 r4:ee31009c
    [  528.413195] [<c004754c>] (__queue_work) from [<c0047b24>] (__queue_delayed_work+0xa8/0x17c)
    [  528.421579]  r10:d391f9d8 r9:d391fd28 r8:00000000 r7:ee3100ac r6:eea76100 r5:00000002
    [  528.429482]  r4:00000000
    [  528.432036] [<c0047a7c>] (__queue_delayed_work) from [<c004a9f0>] (mod_delayed_work_on+0x58/0x70)
    [  528.440943]  r7:eea76100 r6:00000002 r5:ee31009c r4:00000000
    [  528.446664] [<c004a998>] (mod_delayed_work_on) from [<c0290198>] (blk_run_queue_async+0x40/0x44)
    [  528.455484]  r8:d391fd18 r7:600f0113 r6:00000001 r5:ee310000 r4:d391f9d8
    [  528.462259] [<c0290158>] (blk_run_queue_async) from [<c0293f90>] (blk_flush_plug_list+0x210/0x214)
    [  528.471260] [<c0293d80>] (blk_flush_plug_list) from [<c0670980>] (io_schedule_timeout+0x48/0xb4)
    [  528.480080]  r10:c09286d0 r9:edb96400 r8:c0671b08 r7:7fffffff r6:00000000 r5:00000002
    [  528.487981]  r4:00000002
    [  528.490533] [<c0670938>] (io_schedule_timeout) from [<c0671b20>] (bit_wait_io+0x18/0x64)
    [  528.498655]  r7:eeda1b38 r6:d391fa84 r5:00000002 r4:00000002
    [  528.504368] [<c0671b08>] (bit_wait_io) from [<c0671684>] (__wait_on_bit+0x8c/0xc4)
    [  528.511966]  r5:00000002 r4:d391fa78
    [  528.515572] [<c06715f8>] (__wait_on_bit) from [<c067178c>] (out_of_line_wait_on_bit+0xd0/0xd8)
    [  528.524217]  r9:edb96400 r8:eca44800 r7:00000002 r6:c0671b08 r5:00000002 r4:ee51e100
    [  528.532039] [<c06716bc>] (out_of_line_wait_on_bit) from [<c014e3b4>] (__wait_on_buffer+0x2c/0x30)
    [  528.540946]  r8:ee51e100 r7:c09284b4 r6:00001411 r5:00000000 r4:ee51e100
    [  528.547719] [<c014e388>] (__wait_on_buffer) from [<c0152938>] (__sync_dirty_buffer+0xcc/0xf8)
    [  528.556286] [<c015286c>] (__sync_dirty_buffer) from [<c019e93c>] (ext4_commit_super+0x1d4/0x2a0)
    [  528.565105]  r7:c09284b4 r6:c09285c0 r5:00002d6c r4:ee293400
    [  528.570826] [<c019e768>] (ext4_commit_super) from [<c019ed68>] (__ext4_error_inode+0x7c/0x14c)
    [  528.579472]  r10:00000001 r9:00000000 r8:0000022b r7:00000000 r6:ee293400 r5:c0687a58
    [  528.587370]  r4:d3f7c890
    [  528.589923] [<c019ecec>] (__ext4_error_inode) from [<c018e228>] (__check_block_validity.constprop.15+0x7c/0x88)
    [  528.600050]  r8:0000022b r7:00000000 r6:0007a461 r5:d3f7c890 r4:d391fc70
    [  528.606820] [<c018e1ac>] (__check_block_validity.constprop.15) from [<c018e83c>] (ext4_map_blocks+0x138/0x44c)
    [  528.616862]  r8:0000000b r7:00000000 r6:00000000 r5:d3f7c890 r4:d391fc70
    [  528.623635] [<c018e704>] (ext4_map_blocks) from [<c01c8518>] (ext4_mpage_readpages+0x3a8/0x740)
    [  528.632368]  r9:00000001 r8:00000001 r7:00000000 r6:0000013c r5:00000000 r4:00000000
    [  528.640186] [<c01c8170>] (ext4_mpage_readpages) from [<c018dbf4>] (ext4_readpages+0x44/0x48)
    [  528.648657]  r10:efd84fb0 r9:d3f7c974 r8:0000128b r7:0000000b r6:00000020 r5:00000020
    [  528.656559]  r4:c018dbb0
    [  528.659113] [<c018dbb0>] (ext4_readpages) from [<c00dc6b0>] (__do_page_cache_readahead+0x168/0x238)
    [  528.668203] [<c00dc548>] (__do_page_cache_readahead) from [<c00d1ca8>] (filemap_fault+0x438/0x4f0)
    [  528.677198]  r10:00151000 r9:00000a88 r8:ed5d7f00 r7:d3f7c890 r6:00000141 r5:00000000
    [  528.685098]  r4:00000000
    [  528.687652] [<c00d1870>] (filemap_fault) from [<c0194c28>] (ext4_filemap_fault+0x34/0x48)
    [  528.695862]  r10:00151000 r9:00000a88 r8:d3912a88 r7:00150000 r6:d391fddc r5:d38a79c0
    [  528.703761]  r4:d3f7c878
    [  528.706313] [<c0194bf4>] (ext4_filemap_fault) from [<c00f512c>] (__do_fault+0x44/0xa0)
    [  528.714259]  r7:00150000 r6:ec3ff880 r5:c09af880 r4:00000000
    [  528.719975] [<c00f50e8>] (__do_fault) from [<c00f9274>] (handle_mm_fault+0x910/0x12f4)
    [  528.727921]  r5:c09af880 r4:d38a79c0
    [  528.731529] [<c00f8964>] (handle_mm_fault) from [<c001ca64>] (do_page_fault+0x288/0x358)
    [  528.739652]  r10:00000054 r9:ec3ff8bc r8:00151c94 r7:80000207 r6:ec3ff880 r5:eca44800
    [  528.747553]  r4:d391ffb0
    [  528.750105] [<c001c7dc>] (do_page_fault) from [<c0009350>] (do_PrefetchAbort+0x38/0x9c)
    [  528.758140]  r10:012ffaf8 r9:013004dc r8:d391ffb0 r7:00151c94 r6:c001c7dc r5:00000207
    [  528.766040]  r4:c092cf04
    [  528.768592] [<c0009318>] (do_PrefetchAbort) from [<c00142a0>] (ret_from_exception+0x0/0x20)
    [  528.776977] Exception stack(0xd391ffb0 to 0xd391fff8)
    [  528.782049] ffa0:                                     bef4f648 012c0270 00006bd8 01332ab0
    [  528.790260] ffc0: 012c0270 bef4f650 bef4f648 00008d48 012c09a0 013004dc 012ffaf8 00000000
    [  528.798471] ffe0: 00000008 bef4f638 00a33800 00151c94 200f0010 ffffffff
    [  528.805111]  r8:30c5387d r7:30c5387d r6:ffffffff r5:200f0010 r4:00151c94
    [  528.811879] Code: e5931004 e2811001 e5831004 f592f000 (e1923f9f) 
    [  528.818001] ---[ end trace 382e1441e8885002 ]---
    [  528.822638] note: clocl[1240] exited with preempt_count 3
    [  528.838316] Unable to handle kernel paging request at virtual address ff000024
    [  528.845576] pgd = d1b74dc0
    [  528.848294] [ff000024] *pgd=80000080007003, *pmd=00000000
    [  528.853733] Internal error: Oops: 206 [#2] PREEMPT SMP ARM
    [  528.859241] Modules linked in: usbhid bc_example(O) rpmsg_pru rpmsg_proto rpmsg_rpc xhci_plat_hcd xhci_hcd usbcore cbc drbg pru_rproc pruss_intc xfrm_user dwc3 udc_core virtio_rpmsg_bus xfrm4_tunnel i)
    [  528.923203] CPU: 0 PID: 1205 Comm: Qt HTTP thread Tainted: G      D    O    4.4.41-gf9f6f0db2d #2
    [  528.932112] Hardware name: Generic DRA74X (Flattened Device Tree)
    [  528.938230] task: dfe1e600 ti: d32ca000 task.ti: d32ca000
    [  528.943656] PC is at __qdisc_calculate_pkt_len+0xc/0x9c
    [  528.948906] LR is at __dev_queue_xmit+0x134/0x4e0
    [  528.953630] pc : [<c0585e8c>]    lr : [<c056787c>]    psr: a0030013
    [  528.953630] sp : d32cbb58  ip : d32cbb80  fp : d32cbb7c
    [  528.965155] r10: 02080020  r9 : edb9f768  r8 : 000001bd
    [  528.970400] r7 : eeb3c400  r6 : ee812800  r5 : edb9f700  r4 : d006d8b8
    [  528.976953] r3 : dfd1bf40  r2 : 00000000  r1 : ff000000  r0 : d006d8b8
    [  528.983508] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [  528.990673] Control: 30c5387d  Table: 91b74dc0  DAC: fffffffd
    [  528.996441] Process Qt HTTP thread (pid: 1205, stack limit = 0xd32ca210)
    [  529.003169] Stack: (0xd32cbb58 to 0xd32cc000)
    [  529.007542] bb40:                                                       d006d8b8 edb9f700
    [  529.015755] bb60: ee812800 eeb3c400 000001bd edb9f768 d32cbbbc d32cbb80 c056787c c0585e8c
    [  529.023968] bb80: dfe1e600 00000000 00000000 fffffff4 ec858600 ed70008c d006d8b8 ed700000
    [  529.032180] bba0: 00000000 0000000e ec89fc80 02080020 d32cbbcc d32cbbc0 c0567c3c c0567754
    [  529.040392] bbc0: d32cbbfc d32cbbd0 c059d7b4 c0567c34 ed75c540 0100007f 00000000 d006d8b8
    [  529.048603] bbe0: c0976580 ecb7b180 0000ffff 0002c280 d32cbc34 d32cbc00 c059f3d4 c059d638
    [  529.056815] bc00: ed75c6c0 c0976580 bac15558 d006d8b8 c0976580 ecb7b180 ee812800 0002c280
    [  529.065028] bc20: ec89fc80 02080020 d32cbc84 d32cbc38 c059fef4 c059f274 c059f544 c059d5cc
    [  529.073239] bc40: 00610d23 00000000 c34ae382 00000004 d32cbc84 d32cbc60 c0076ec4 c008815c
    [  529.081452] bc60: d006d8b8 c0976580 ecb7b180 00000000 0002c280 ec89fc80 d32cbca4 d32cbc88
    [  529.089663] bc80: c059f600 c059fe38 d006d8b8 ecb7b180 ecb7b3c8 00000000 d32cbce4 d32cbca8
    [  529.097875] bca0: c059f8fc c059f5cc d32cbccc d32cbcb8 c0551930 c0976580 ecb7b180 ecb7b180
    [  529.106086] bcc0: d006d8b8 00000000 00000000 0002c280 0002c280 02080020 d32cbd2c d32cbce8
    [  529.114298] bce0: c05b7738 c059f7c8 00000002 00000000 00000000 00005964 000058d6 00000000
    [  529.122511] bd00: ecb7b180 ecb7b180 d006d800 00040000 0000017b 00005bc0 5072850c c092a230
    [  529.130722] bd20: d32cbd94 d32cbd30 c05b7db4 c05b7300 dfe1e600 dfe1aa00 00000001 00000001
    [  529.138933] bd40: d32cbdd4 000346db 00010001 c0928100 00000000 00000002 00000005 00000000
    [  529.147145] bd60: 00000000 00005bc0 024000c0 ecb7b180 d006d800 00000000 ecb7b180 00000040
    [  529.155356] bd80: 50728687 d006d800 d32cbdb4 d32cbd98 c05b8e54 c05b7bc8 02080020 c02c4290
    [  529.163568] bda0: 00000000 ecb7b180 d32cbddc d32cbdb8 c05a7ad8 c05b8e24 0000017b d006d800
    [  529.171779] bdc0: 0000017b 00005bc0 d32cbe8c ecb7b180 d32cbe54 d32cbde0 c05ab628 c05a7a18
    [  529.179990] bde0: 00005bc0 001a81e0 001a83f0 001a8600 00000000 d32ca000 00000001 00000000
    [  529.188203] be00: d32cbe18 00000000 ecb7b290 00000000 00005bc0 0000017b 00006000 00005bc0
    [  529.196413] be20: 00000000 00002000 00000000 ecb7b180 bc7ba6a4 d32cbe8c 0000017b ed75c540
    [  529.204625] be40: d3e2d500 00000000 d32cbe74 d32cbe58 c05d3be0 c05aae44 d32cbef4 00000000
    [  529.212837] be60: 00000000 00000000 d32cbe84 d32cbe78 c054ad98 c05d3b44 d32cbedc d32cbe88
    [  529.221048] be80: c054ae30 c054ad88 dfe1e600 00000000 00000000 00000001 00000000 00000000
    [  529.229260] bea0: d32cbef4 00000000 00000000 00000000 00000040 d32cbf08 ed75c540 00000000
    [  529.237471] bec0: 0000017b d32cbf80 00000000 00000000 d32cbf4c d32cbee0 c011f8dc c054adb4
    [  529.245682] bee0: 0000017b 00000001 d32cbf04 0067d580 0000017b 00000001 00000000 0000017b
    [  529.253894] bf00: d32cbeec 00000001 ed75c540 00000000 00000000 00000000 00000000 00000000
    [  529.262106] bf20: 00000000 00000000 ed75c540 0000017b 0067d580 d32cbf80 c000fbc4 d32ca000
    [  529.270317] bf40: d32cbf7c d32cbf50 c01200c8 c011f834 c013ad9c c013ac9c d32cbf7c ed75c540
    [  529.278530] bf60: ed75c541 0067d580 0000017b c000fbc4 d32cbfa4 d32cbf80 c0120938 c012003c
    [  529.286742] bf80: 00000000 00000000 00000001 0000000e 0067d580 00000004 00000000 d32cbfa8
    [  529.294954] bfa0: c000fa20 c01208f8 00000001 0000000e 0000000e 0067d580 0000017b 00000000
    [  529.303165] bfc0: 00000001 0000000e 0067d580 00000004 006e0cd8 003bf3e0 b4ac203c 0020e058
    [  529.311375] bfe0: 00000000 ae42b718 00000000 b4425c00 80030030 0000000e ff5f382d ff63382d
    [  529.319584] Backtrace: 
    [  529.322052] [<c0585e80>] (__qdisc_calculate_pkt_len) from [<c056787c>] (__dev_queue_xmit+0x134/0x4e0)
    [  529.331309]  r9:edb9f768 r8:000001bd r7:eeb3c400 r6:ee812800 r5:edb9f700 r4:d006d8b8
    [  529.339132] [<c0567748>] (__dev_queue_xmit) from [<c0567c3c>] (dev_queue_xmit+0x14/0x18)
    [  529.347256]  r10:02080020 r9:ec89fc80 r8:0000000e r7:00000000 r6:ed700000 r5:d006d8b8
    [  529.355157]  r4:ed70008c
    [  529.357714] [<c0567c28>] (dev_queue_xmit) from [<c059d7b4>] (ip_finish_output2+0x188/0x3ac)
    [  529.366104] [<c059d62c>] (ip_finish_output2) from [<c059f3d4>] (ip_finish_output+0x16c/0x214)
    [  529.374662]  r8:0002c280 r7:0000ffff r6:ecb7b180 r5:c0976580 r4:d006d8b8
    [  529.381436] [<c059f268>] (ip_finish_output) from [<c059fef4>] (ip_output+0xc8/0x134)
    [  529.389210]  r10:02080020 r9:ec89fc80 r8:0002c280 r7:ee812800 r6:ecb7b180 r5:c0976580
    [  529.397111]  r4:d006d8b8
    [  529.399664] [<c059fe2c>] (ip_output) from [<c059f600>] (ip_local_out+0x40/0x44)
    [  529.407001]  r9:ec89fc80 r8:0002c280 r7:00000000 r6:ecb7b180 r5:c0976580 r4:d006d8b8
    [  529.414822] [<c059f5c0>] (ip_local_out) from [<c059f8fc>] (ip_queue_xmit+0x140/0x3b8)
    [  529.422682]  r7:00000000 r6:ecb7b3c8 r5:ecb7b180 r4:d006d8b8
    [  529.428400] [<c059f7bc>] (ip_queue_xmit) from [<c05b7738>] (tcp_transmit_skb+0x444/0x8c8)
    [  529.436610]  r10:02080020 r9:0002c280 r8:0002c280 r7:00000000 r6:00000000 r5:d006d8b8
    [  529.444511]  r4:ecb7b180
    [  529.447063] [<c05b72f4>] (tcp_transmit_skb) from [<c05b7db4>] (tcp_write_xmit+0x1f8/0xfe0)
    [  529.455359]  r10:c092a230 r9:5072850c r8:00005bc0 r7:0000017b r6:00040000 r5:d006d800
    [  529.463260]  r4:ecb7b180
    [  529.465813] [<c05b7bbc>] (tcp_write_xmit) from [<c05b8e54>] (__tcp_push_pending_frames+0x3c/0xa4)
    [  529.474720]  r10:d006d800 r9:50728687 r8:00000040 r7:ecb7b180 r6:00000000 r5:d006d800
    [  529.482620]  r4:ecb7b180
    [  529.485174] [<c05b8e18>] (__tcp_push_pending_frames) from [<c05a7ad8>] (tcp_push+0xcc/0x138)
    [  529.493644]  r4:ecb7b180
    [  529.496198] [<c05a7a0c>] (tcp_push) from [<c05ab628>] (tcp_sendmsg+0x7f0/0xa7c)
    [  529.503536]  r7:ecb7b180 r6:d32cbe8c r5:00005bc0 r4:0000017b
    [  529.509256] [<c05aae38>] (tcp_sendmsg) from [<c05d3be0>] (inet_sendmsg+0xa8/0xc8)
    [  529.516768]  r10:00000000 r9:d3e2d500 r8:ed75c540 r7:0000017b r6:d32cbe8c r5:bc7ba6a4
    [  529.524667]  r4:ecb7b180
    [  529.527222] [<c05d3b38>] (inet_sendmsg) from [<c054ad98>] (sock_sendmsg+0x1c/0x2c)
    [  529.534821]  r7:00000000 r6:00000000 r5:00000000 r4:d32cbef4
    [  529.540540] [<c054ad7c>] (sock_sendmsg) from [<c054ae30>] (sock_write_iter+0x88/0xbc)
    [  529.548409] [<c054ada8>] (sock_write_iter) from [<c011f8dc>] (__vfs_write+0xb4/0xe4)
    [  529.556182]  r9:00000000 r8:00000000 r7:d32cbf80 r6:0000017b r5:00000000 r4:ed75c540
    [  529.564003] [<c011f828>] (__vfs_write) from [<c01200c8>] (vfs_write+0x98/0x174)
    [  529.571342]  r9:d32ca000 r8:c000fbc4 r7:d32cbf80 r6:0067d580 r5:0000017b r4:ed75c540
    [  529.579162] [<c0120030>] (vfs_write) from [<c0120938>] (SyS_write+0x4c/0xa8)
    [  529.586237]  r8:c000fbc4 r7:0000017b r6:0067d580 r5:ed75c541 r4:ed75c540
    [  529.593010] [<c01208ec>] (SyS_write) from [<c000fa20>] (ret_fast_syscall+0x0/0x34)
    [  529.600610]  r7:00000004 r6:0067d580 r5:0000000e r4:00000001
    [  529.606326] Code: e89da830 e1a0c00d e92ddbf0 e24cb004 (e5918024) 
    [  529.612447] ---[ end trace 382e1441e8885003 ]---
    [  529.617082] Kernel panic - not syncing: Fatal exception in interrupt
    [  529.623464] CPU1: stopping
    [  529.626187] CPU: 1 PID: 1240 Comm: clocl Tainted: G      D    O    4.4.41-gf9f6f0db2d #2
    [  529.634310] Hardware name: Generic DRA74X (Flattened Device Tree)
    [  529.640426] Backtrace: 
    [  529.642898] [<c00130f8>] (dump_backtrace) from [<c00132f4>] (show_stack+0x18/0x1c)
    [  529.650499]  r7:d391f588 r6:200f0193 r5:00000000 r4:c0952e4c
    [  529.656220] [<c00132dc>] (show_stack) from [<c02b46ac>] (dump_stack+0x8c/0xa0)
    [  529.663476] [<c02b4620>] (dump_stack) from [<c0016420>] (handle_IPI+0x184/0x198)
    [  529.670900]  r7:d391f588 r6:00000000 r5:00000001 r4:c0922424
    [  529.676617] [<c001629c>] (handle_IPI) from [<c00094c4>] (gic_handle_irq+0x78/0x7c)
    [  529.684216]  r7:fa212000 r6:d391f588 r5:fa21200c r4:c09288dc
    [  529.689933] [<c000944c>] (gic_handle_irq) from [<c0013dc0>] (__irq_svc+0x40/0x74)
    [  529.697446] Exception stack(0xd391f588 to 0xd391f5d0)
    [  529.702518] f580:                   edb8f340 00000000 0000ff00 00000000 d3e6aca0 edb8f340
    [  529.710731] f5a0: 00080040 00080060 d3e6ac38 00000010 ec8b86c8 d391f5e4 d391f5e8 d391f5d8
    [  529.718942] f5c0: c00f2244 c0674920 200f0113 ffffffff
    [  529.724010]  r9:00000010 r8:d3e6ac38 r7:d391f5bc r6:ffffffff r5:200f0113 r4:c0674920
    [  529.731833] [<c06748d0>] (_raw_spin_lock) from [<c00f2244>] (list_lru_add+0x1c/0xcc)
    [  529.739612] [<c00f2228>] (list_lru_add) from [<c0135134>] (dput+0x1f4/0x290)
    [  529.746687]  r5:d3e6ac88 r4:d3e6ac38
    [  529.750294] [<c0134f40>] (dput) from [<c01211d8>] (__fput+0x130/0x1d0)
    [  529.756846]  r10:ec8b86c8 r9:00000010 r8:d3e6ac38 r7:ee2b1490 r6:00000000 r5:d3f7cb30
    [  529.764747]  r4:ec8b86c0 r3:00002710
    [  529.768353] [<c01210a8>] (__fput) from [<c01212d8>] (____fput+0x10/0x14)
    [  529.775079]  r10:c080414c r9:c0804144 r8:ec3ff8bc r7:eca44800 r6:00000000 r5:c0983820
    [  529.782980]  r4:eca44c60
    [  529.785534] [<c01212c8>] (____fput) from [<c004df04>] (task_work_run+0x98/0xcc)
    [  529.792876] [<c004de6c>] (task_work_run) from [<c003743c>] (do_exit+0x300/0x9b8)
    [  529.800300]  r7:d391f6a0 r6:00000001 r5:eca44c78 r4:eca44800
    [  529.806015] [<c003713c>] (do_exit) from [<c0013544>] (die+0x24c/0x424)
    [  529.812567]  r7:00000001
    [  529.815124] [<c00132f8>] (die) from [<c00217ec>] (__do_kernel_fault.part.0+0x6c/0x1ec)
    [  529.823072]  r10:00000001 r9:80807003 r8:c0003000 r7:ec3ff880 r6:00000206 r5:d391f860
    [  529.830971]  r4:ff00047c
    [  529.833525] [<c0021780>] (__do_kernel_fault.part.0) from [<c001cbc8>] (do_translation_fault+0x0/0x108)
    [  529.842868]  r7:ec3ff880 r4:d391f860
    [  529.846474] [<c001cb34>] (do_bad_area) from [<c001cc34>] (do_translation_fault+0x6c/0x108)
    [  529.854770]  r7:000000ff r6:fffff000 r5:00000000 r4:c0007000
    [  529.860484] [<c001cbc8>] (do_translation_fault) from [<c0009298>] (do_DataAbort+0x38/0xb8)
    [  529.868780]  r9:00000002 r8:d391f860 r7:ff00047c r6:c001cbc8 r5:00000206 r4:c092cef4
    [  529.876596] [<c0009260>] (do_DataAbort) from [<c0013d58>] (__dabt_svc+0x38/0x60)
    [  529.884021] Exception stack(0xd391f860 to 0xd391f8a8)
    [  529.889094] f860: 800f0193 00000003 ff00047c d391e000 ff000000 ff00047c eed45400 00000000
    [  529.897307] f880: 00000003 00000002 00000001 d391f8bc d391f8c0 d391f8b0 c0058628 c06749d0
    [  529.905516] f8a0: 800f0193 ffffffff
    [  529.909015]  r8:00000003 r7:d391f894 r6:ffffffff r5:800f0193 r4:c06749d0
    [  529.915789] [<c067499c>] (_raw_spin_lock_irqsave) from [<c0058628>] (try_to_wake_up+0x30/0x328)
    [  529.924528] [<c00585f8>] (try_to_wake_up) from [<c0058938>] (wake_up_process+0x18/0x1c)
    [  529.932561]  r10:00000001 r9:00000002 r8:d391e000 r7:c09286d0 r6:eed45400 r5:ee31009c
    [  529.940462]  r4:eed40be4
    [  529.943017] [<c0058920>] (wake_up_process) from [<c0047504>] (insert_work+0x78/0xc0)
    [  529.950795] [<c004748c>] (insert_work) from [<c0047678>] (__queue_work+0x12c/0x2d0)
    [  529.958481]  r7:c09286d0 r6:eea76100 r5:eed45400 r4:ee31009c
    [  529.964197] [<c004754c>] (__queue_work) from [<c0047b24>] (__queue_delayed_work+0xa8/0x17c)
    [  529.972581]  r10:d391f9d8 r9:d391fd28 r8:00000000 r7:ee3100ac r6:eea76100 r5:00000002
    [  529.980485]  r4:00000000
    [  529.983039] [<c0047a7c>] (__queue_delayed_work) from [<c004a9f0>] (mod_delayed_work_on+0x58/0x70)
    [  529.991945]  r7:eea76100 r6:00000002 r5:ee31009c r4:00000000
    [  529.997667] [<c004a998>] (mod_delayed_work_on) from [<c0290198>] (blk_run_queue_async+0x40/0x44)
    [  530.006487]  r8:d391fd18 r7:600f0113 r6:00000001 r5:ee310000 r4:d391f9d8
    [  530.013261] [<c0290158>] (blk_run_queue_async) from [<c0293f90>] (blk_flush_plug_list+0x210/0x214)
    [  530.022261] [<c0293d80>] (blk_flush_plug_list) from [<c0670980>] (io_schedule_timeout+0x48/0xb4)
    [  530.031081]  r10:c09286d0 r9:edb96400 r8:c0671b08 r7:7fffffff r6:00000000 r5:00000002
    [  530.038985]  r4:00000002
    [  530.041537] [<c0670938>] (io_schedule_timeout) from [<c0671b20>] (bit_wait_io+0x18/0x64)
    [  530.049658]  r7:eeda1b38 r6:d391fa84 r5:00000002 r4:00000002
    [  530.055374] [<c0671b08>] (bit_wait_io) from [<c0671684>] (__wait_on_bit+0x8c/0xc4)
    [  530.062972]  r5:00000002 r4:d391fa78
    [  530.066578] [<c06715f8>] (__wait_on_bit) from [<c067178c>] (out_of_line_wait_on_bit+0xd0/0xd8)
    [  530.075223]  r9:edb96400 r8:eca44800 r7:00000002 r6:c0671b08 r5:00000002 r4:ee51e100
    [  530.083046] [<c06716bc>] (out_of_line_wait_on_bit) from [<c014e3b4>] (__wait_on_buffer+0x2c/0x30)
    [  530.091954]  r8:ee51e100 r7:c09284b4 r6:00001411 r5:00000000 r4:ee51e100
    [  530.098727] [<c014e388>] (__wait_on_buffer) from [<c0152938>] (__sync_dirty_buffer+0xcc/0xf8)
    [  530.107291] [<c015286c>] (__sync_dirty_buffer) from [<c019e93c>] (ext4_commit_super+0x1d4/0x2a0)
    [  530.116111]  r7:c09284b4 r6:c09285c0 r5:00002d6c r4:ee293400
    [  530.121829] [<c019e768>] (ext4_commit_super) from [<c019ed68>] (__ext4_error_inode+0x7c/0x14c)
    [  530.130473]  r10:00000001 r9:00000000 r8:0000022b r7:00000000 r6:ee293400 r5:c0687a58
    [  530.138375]  r4:d3f7c890
    [  530.140929] [<c019ecec>] (__ext4_error_inode) from [<c018e228>] (__check_block_validity.constprop.15+0x7c/0x88)
    [  530.151057]  r8:0000022b r7:00000000 r6:0007a461 r5:d3f7c890 r4:d391fc70
    [  530.157829] [<c018e1ac>] (__check_block_validity.constprop.15) from [<c018e83c>] (ext4_map_blocks+0x138/0x44c)
    [  530.167869]  r8:0000000b r7:00000000 r6:00000000 r5:d3f7c890 r4:d391fc70
    [  530.174641] [<c018e704>] (ext4_map_blocks) from [<c01c8518>] (ext4_mpage_readpages+0x3a8/0x740)
    [  530.183372]  r9:00000001 r8:00000001 r7:00000000 r6:0000013c r5:00000000 r4:00000000
    [  530.191188] [<c01c8170>] (ext4_mpage_readpages) from [<c018dbf4>] (ext4_readpages+0x44/0x48)
    [  530.199660]  r10:efd84fb0 r9:d3f7c974 r8:0000128b r7:0000000b r6:00000020 r5:00000020
    [  530.207560]  r4:c018dbb0
    [  530.210116] [<c018dbb0>] (ext4_readpages) from [<c00dc6b0>] (__do_page_cache_readahead+0x168/0x238)
    [  530.219206] [<c00dc548>] (__do_page_cache_readahead) from [<c00d1ca8>] (filemap_fault+0x438/0x4f0)
    [  530.228200]  r10:00151000 r9:00000a88 r8:ed5d7f00 r7:d3f7c890 r6:00000141 r5:00000000
    [  530.236102]  r4:00000000
    [  530.238655] [<c00d1870>] (filemap_fault) from [<c0194c28>] (ext4_filemap_fault+0x34/0x48)
    [  530.246864]  r10:00151000 r9:00000a88 r8:d3912a88 r7:00150000 r6:d391fddc r5:d38a79c0
    [  530.254764]  r4:d3f7c878
    [  530.257315] [<c0194bf4>] (ext4_filemap_fault) from [<c00f512c>] (__do_fault+0x44/0xa0)
    [  530.265263]  r7:00150000 r6:ec3ff880 r5:c09af880 r4:00000000
    [  530.270978] [<c00f50e8>] (__do_fault) from [<c00f9274>] (handle_mm_fault+0x910/0x12f4)
    [  530.278927]  r5:c09af880 r4:d38a79c0
    [  530.282533] [<c00f8964>] (handle_mm_fault) from [<c001ca64>] (do_page_fault+0x288/0x358)
    [  530.290655]  r10:00000054 r9:ec3ff8bc r8:00151c94 r7:80000207 r6:ec3ff880 r5:eca44800
    [  530.298554]  r4:d391ffb0
    [  530.301104] [<c001c7dc>] (do_page_fault) from [<c0009350>] (do_PrefetchAbort+0x38/0x9c)
    [  530.309139]  r10:012ffaf8 r9:013004dc r8:d391ffb0 r7:00151c94 r6:c001c7dc r5:00000207
    [  530.317038]  r4:c092cf04
    [  530.319590] [<c0009318>] (do_PrefetchAbort) from [<c00142a0>] (ret_from_exception+0x0/0x20)
    [  530.327975] Exception stack(0xd391ffb0 to 0xd391fff8)
    [  530.333047] ffa0:                                     bef4f648 012c0270 00006bd8 01332ab0
    [  530.341260] ffc0: 012c0270 bef4f650 bef4f648 00008d48 012c09a0 013004dc 012ffaf8 00000000
    [  530.349471] ffe0: 00000008 bef4f638 00a33800 00151c94 200f0010 ffffffff
    [  530.356110]  r8:30c5387d r7:30c5387d r6:ffffffff r5:200f0010 r4:00151c94
    [  530.362882] ---[ end Kernel panic - not syncing: Fatal exception in interrupt
    

      This is let me down, hope you help me pointing out the problem

      Thanks!

      Best Regards

      David. Jo

     

     

  • david3c said:

    Here is the print message at runtime of <Matrix / Open CL / Vector Addition>:

    root@am57xx-evm:~# 
    root@am57xx-evm:~# [  526.289166] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
    [  526.295083] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [  526.301081] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
    [  526.315367] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [  526.321274] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [  526.327516] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [  527.696448] EXT4-fs error (device mmcblk0p2): ext4_map_blocks:555: inode #277174: block 500833: comm clocl: lblock 316 mapped to illegal pblock (length 11)
    [  527.710524] Unable to handle kernel paging request at virtual address ff00047c
    [  527.717778] pgd = d2b51c40
    [  527.720494] [ff00047c] *pgd=80000080007003, *pmd=00000000
    [  527.725935] Internal error: Oops: 206 [#1] PREEMPT SMP ARM
    [  527.731442] Modules linked in: usbhid bc_example(O) rpmsg_pru rpmsg_proto rpmsg_rpc xhci_plat_hcd xhci_hcd usbcore cbc drbg pru_rproc pruss_intc xfrm_user dwc3 udc_core virtio_rpmsg_bus xfrm4_tunnel i)
    [  527.795399] CPU: 1 PID: 1240 Comm: clocl Tainted: G           O    4.4.41-gf9f6f0db2d #2
    [  527.803523] Hardware name: Generic DRA74X (Flattened Device Tree)
    [  527.809642] task: eca44800 ti: d391e000 task.ti: d391e000

    From what I understand, this sample application (Matrix / Open CL / Vector Addition) runs fine on the AM572x TI EVM but fails on your custom board.

    Could you please provide more info regarding this sample application? Do you take it from some place or you made it?

    What are the HW differences between AM572x TI EVM and your custom board?

    I would suggest you to start with DDR3 memory tests. Check the below e2e threads for pointers:

    Regards,
    Pavel

  • Hi,Pavel

    Thank you for your quick response,Your understanding is correct.

    This sample(Standard examples provided by TI SDK, path: OpenCL->veadd example)runs fine on the AM572x TI EVM but fails on my custom board.

    HW differences between AM572x TI EVM and my custom board are as follows:

    - my board has no LCD, EEPROM, TLV320AIC3104,PCIE,thernet 2.

    - use RTC chip-PCF8563T instead of MCP79140.

    - No use USB hub chip, usb power chip is different.

    Can you recommend a good way to test DDR3?

    The attached files are my modified DTS files(Most of them only are disable some functions)

    Thanks.

    Regards

    David. Jo.

    /*
     * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
     *
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public License version 2 as
     * published by the Free Software Foundation.
     */
    /dts-v1/;
    
    #include "dra74x.dtsi"
    #include <dt-bindings/gpio/gpio.h>
    #include <dt-bindings/interrupt-controller/irq.h>
    
    / {
    	model = "TI AM5728 BeagleBoard-X15";
    	compatible = "ti,am572x-beagle-x15", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7";
    
    	aliases {
    		/*rtc0 = &pcf8563_rtc;*/
    		/*rtc0 = &mcp_rtc;*/
    		rtc1 = &tps659038_rtc;
    		rtc2 = &rtc;
    		display0 = &hdmi0;
    
    		/*sound0 = &sound0;
    		sound1 = &hdmi;*/
    	};
    
    	memory {
    		device_type = "memory";
    		reg = <0x0 0x80000000 0x0 0x80000000>;
    	};
    
    	reserved-memory {
    		#address-cells = <2>;
    		#size-cells = <2>;
    		ranges;
    
    		ipu2_cma_pool: ipu2_cma@95800000 {
    			compatible = "shared-dma-pool";
    			reg = <0x0 0x95800000 0x0 0x3800000>;
    			reusable;
    			status = "okay";
    		};
    
    		dsp1_cma_pool: dsp1_cma@99000000 {
    			compatible = "shared-dma-pool";
    			reg = <0x0 0x99000000 0x0 0x4000000>;
    			reusable;
    			status = "okay";
    		};
    
    		ipu1_cma_pool: ipu1_cma@9d000000 {
    			compatible = "shared-dma-pool";
    			reg = <0x0 0x9d000000 0x0 0x2000000>;
    			reusable;
    			status = "okay";
    		};
    
    		dsp2_cma_pool: dsp2_cma@9f000000 {
    			compatible = "shared-dma-pool";
    			reg = <0x0 0x9f000000 0x0 0x800000>;
    			reusable;
    			status = "okay";
    		};
    	};
    
    	vdd_3v3: fixedregulator-vdd_3v3 {
    		compatible = "regulator-fixed";
    		regulator-name = "vdd_3v3";
    		vin-supply = <&regen1>;
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    	};
    
    	aic_dvdd: fixedregulator-aic_dvdd {
    		compatible = "regulator-fixed";
    		regulator-name = "aic_dvdd_fixed";
    		vin-supply = <&vdd_3v3>;
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    	};
    
    	vtt_fixed: fixedregulator-vtt {
    		/* TPS51200 */
    		compatible = "regulator-fixed";
    		regulator-name = "vtt_fixed";
    		vin-supply = <&smps3_reg>;
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		regulator-always-on;
    		regulator-boot-on;
    		enable-active-high;
    		gpio = <&gpio7 11 GPIO_ACTIVE_HIGH>;
    	};
    /*
    	leds {
    		compatible = "gpio-leds";
    		led@0 {
    			label = "beagle-x15:usr0";
    			gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>;
    			linux,default-trigger = "heartbeat";
    			default-state = "off";
    		};
    
    		led@1 {
    			label = "beagle-x15:usr1";
    			gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
    			linux,default-trigger = "cpu0";
    			default-state = "off";
    		};
    
    		led@2 {
    			label = "beagle-x15:usr2";
    			gpios = <&gpio7 14 GPIO_ACTIVE_HIGH>;
    			linux,default-trigger = "mmc0";
    			default-state = "off";
    		};
    
    		led@3 {
    			label = "beagle-x15:usr3";
    			gpios = <&gpio7 15 GPIO_ACTIVE_HIGH>;
    			linux,default-trigger = "ide-disk";
    			default-state = "off";
    		};
    	};
    */
    	gpio_fan: gpio_fan {
    		/* Based on 5v 500mA AFB02505HHB */
    		compatible = "gpio-fan";
    		gpios =  <&tps659038_gpio 2 GPIO_ACTIVE_HIGH>;
    		gpio-fan,speed-map = <0     0>,
    				     <13000 1>;
    		#cooling-cells = <2>;
    	};
    
    	hdmi0: connector {
    		compatible = "hdmi-connector";
    		label = "hdmi";
    
    		type = "a";
    
    		port {
    			hdmi_connector_in: endpoint {
    				remote-endpoint = <&tpd12s015_out>;
    			};
    		};
    	};
    
    	tpd12s015: encoder {
    		compatible = "ti,tpd12s015";
    
    		gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>,	/* gpio7_10, CT CP HPD */
    			<&gpio6 28 GPIO_ACTIVE_HIGH>,	/* gpio6_28, LS OE */
    			<&gpio7 12 GPIO_ACTIVE_HIGH>;	/* gpio7_12/sp1_cs2, HPD */
    
    		ports {
    			#address-cells = <1>;
    			#size-cells = <0>;
    
    			port@0 {
    				reg = <0>;
    
    				tpd12s015_in: endpoint {
    					remote-endpoint = <&hdmi_out>;
    				};
    			};
    
    			port@1 {
    				reg = <1>;
    
    				tpd12s015_out: endpoint {
    					remote-endpoint = <&hdmi_connector_in>;
    				};
    			};
    		};
    	};
    
    /*	sound0: sound@0 {
    		compatible = "simple-audio-card";
    		simple-audio-card,name = "BeagleBoard-X15";
    		simple-audio-card,widgets =
    			"Line", "Line Out",
    			"Line", "Line In";
    		simple-audio-card,routing =
    			"Line Out",	"LLOUT",
    			"Line Out",	"RLOUT",
    			"MIC2L",	"Line In",
    			"MIC2R",	"Line In";
    		simple-audio-card,format = "dsp_b";
    		simple-audio-card,bitclock-master = <&sound0_master>;
    		simple-audio-card,frame-master = <&sound0_master>;
    		simple-audio-card,bitclock-inversion;
    
    		simple-audio-card,cpu {
    			sound-dai = <&mcasp3>;
    		};
    
    		sound0_master: simple-audio-card,codec {
    			sound-dai = <&tlv320aic3104>;
    			clocks = <&clkout2_clk>;
    		};
    	}; */
    };
    
    &i2c1 {
    	status = "okay";
    	clock-frequency = <400000>;
    
    	tps659038: tps659038@58 {
    		compatible = "ti,tps659038";
    		reg = <0x58>;
    		interrupt-parent = <&gpio1>;
    		interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
    
    		#interrupt-cells = <2>;
    		interrupt-controller;
    
    		ti,system-power-controller;
    		ti,palmas-override-powerhold;
    
    		tps659038_pmic {
    			compatible = "ti,tps659038-pmic";
    
    			regulators {
    				smps12_reg: smps12 {
    					/* VDD_MPU */
    					regulator-name = "smps12";
    					regulator-min-microvolt = < 850000>;
    					regulator-max-microvolt = <1250000>;
    					regulator-always-on;
    					regulator-boot-on;
    				};
    
    				smps3_reg: smps3 {
    					/* VDD_DDR */
    					regulator-name = "smps3";
    					regulator-min-microvolt = <1350000>;
    					regulator-max-microvolt = <1350000>;
    					regulator-always-on;
    					regulator-boot-on;
    				};
    
    				smps45_reg: smps45 {
    					/* VDD_DSPEVE, VDD_IVA, VDD_GPU */
    					regulator-name = "smps45";
    					regulator-min-microvolt = < 850000>;
    					regulator-max-microvolt = <1250000>;
    					regulator-always-on;
    					regulator-boot-on;
    				};
    
    				smps6_reg: smps6 {
    					/* VDD_CORE */
    					regulator-name = "smps6";
    					regulator-min-microvolt = <850000>;
    					regulator-max-microvolt = <1150000>;
    					regulator-always-on;
    					regulator-boot-on;
    				};
    
    				/* SMPS7 unused */
    
    				smps8_reg: smps8 {
    					/* VDD_1V8 */
    					regulator-name = "smps8";
    					regulator-min-microvolt = <1800000>;
    					regulator-max-microvolt = <1800000>;
    					regulator-always-on;
    					regulator-boot-on;
    				};
    
    				/* SMPS9 unused */
    
    				ldo1_reg: ldo1 {
    					/* VDD_SD / VDDSHV8  */
    					regulator-name = "ldo1";
    					regulator-min-microvolt = <1800000>;
    					regulator-max-microvolt = <3300000>;
    					regulator-boot-on;
    					regulator-always-on;
    				};
    
    				ldo2_reg: ldo2 {
    					/* VDD_SHV5 */
    					regulator-name = "ldo2";
    					regulator-min-microvolt = <3300000>;
    					regulator-max-microvolt = <3300000>;
    					regulator-always-on;
    					regulator-boot-on;
    				};
    
    				ldo3_reg: ldo3 {
    					/* VDDA_1V8_PHYA */
    					regulator-name = "ldo3";
    					regulator-min-microvolt = <1800000>;
    					regulator-max-microvolt = <1800000>;
    					regulator-always-on;
    					regulator-boot-on;
    				};
    
    				ldo4_reg: ldo4 {
    					/* VDDA_1V8_PHYB */
    					regulator-name = "ldo4";
    					regulator-min-microvolt = <1800000>;
    					regulator-max-microvolt = <1800000>;
    					regulator-always-on;
    					regulator-boot-on;
    				};
    
    				ldo9_reg: ldo9 {
    					/* VDD_RTC */
    					regulator-name = "ldo9";
    					regulator-min-microvolt = <1050000>;
    					regulator-max-microvolt = <1050000>;
    					regulator-always-on;
    					regulator-boot-on;
    				};
    
    				ldoln_reg: ldoln {
    					/* VDDA_1V8_PLL */
    					regulator-name = "ldoln";
    					regulator-min-microvolt = <1800000>;
    					regulator-max-microvolt = <1800000>;
    					regulator-always-on;
    					regulator-boot-on;
    				};
    
    				ldousb_reg: ldousb {
    					/* VDDA_3V_USB: VDDA_USBHS33 */
    					regulator-name = "ldousb";
    					regulator-min-microvolt = <3300000>;
    					regulator-max-microvolt = <3300000>;
    					regulator-boot-on;
    				};
    
    				regen1: regen1 {
    					/* VDD_3V3_ON */
    					regulator-name = "regen1";
    					regulator-boot-on;
    					regulator-always-on;
    				};
    			};
    		};
    
    		tps659038_rtc: tps659038_rtc {
    			compatible = "ti,palmas-rtc";
    			interrupt-parent = <&tps659038>;
    			interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
    			wakeup-source;
    		};
    
    		tps659038_pwr_button: tps659038_pwr_button {
    			compatible = "ti,palmas-pwrbutton";
    			interrupt-parent = <&tps659038>;
    			interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
    			wakeup-source;
    			ti,palmas-long-press-seconds = <12>;
    		};
    
    		tps659038_gpio: tps659038_gpio {
    			compatible = "ti,palmas-gpio";
    			gpio-controller;
    			#gpio-cells = <2>;
    		};
    
    		extcon_usb2: tps659038_usb {
    			compatible = "ti,palmas-usb-vid";
    			ti,enable-vbus-detection;
    			vbus-gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
    		};
    
    	};
    /*
    	tmp102: tmp102@48 {
    		compatible = "ti,tmp102";
    		reg = <0x48>;
    		interrupt-parent = <&gpio7>;
    		interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
    		#thermal-sensor-cells = <1>;
    	};
    
    */
    
    	/*tlv320aic3104: tlv320aic3104@18 {
    		#sound-dai-cells = <0>;
    		compatible = "ti,tlv320aic3104";
    		reg = <0x18>;
    
    		assigned-clocks = <&clkoutmux2_clk_mux>;
    		assigned-clock-parents = <&sys_clk2_dclk_div>;
    
    		adc-settle-ms = <40>;
    		AVDD-supply = <&vdd_3v3>;
    		IOVDD-supply = <&vdd_3v3>;
    		DRVDD-supply = <&vdd_3v3>;
    		DVDD-supply = <&aic_dvdd>;
    
    		status = "okay";
    	};*/
    };
    
    &dra7_pmx_core {
    	mmc1_pins_default: mmc1_pins_default {
    		pinctrl-single,pins = <
    			DRA7XX_CORE_IOPAD(0x3754, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc1_clk.clk */
    			DRA7XX_CORE_IOPAD(0x3758, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc1_cmd.cmd */
    			DRA7XX_CORE_IOPAD(0x375c, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc1_dat0.dat0 */
    			DRA7XX_CORE_IOPAD(0x3760, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc1_dat1.dat1 */
    			DRA7XX_CORE_IOPAD(0x3764, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc1_dat2.dat2 */
    			DRA7XX_CORE_IOPAD(0x3768, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc1_dat3.dat3 */
    		>;
    	};
    
    	mmc2_pins_default: mmc2_pins_default {
    		pinctrl-single,pins = <
    			DRA7XX_CORE_IOPAD(0x349c, (PIN_INPUT_PULLUP | MUX_MODE1)) /* gpmc_a23.mmc2_clk */
    			DRA7XX_CORE_IOPAD(0x34b0, (PIN_INPUT_PULLUP | MUX_MODE1)) /* gpmc_cs1.mmc2_cmd */
    			DRA7XX_CORE_IOPAD(0x34a0, (PIN_INPUT_PULLUP | MUX_MODE1)) /* gpmc_a24.mmc2_dat0 */
    			DRA7XX_CORE_IOPAD(0x34a4, (PIN_INPUT_PULLUP | MUX_MODE1)) /* gpmc_a25.mmc2_dat1 */
    			DRA7XX_CORE_IOPAD(0x34a8, (PIN_INPUT_PULLUP | MUX_MODE1)) /* gpmc_a26.mmc2_dat2 */
    			DRA7XX_CORE_IOPAD(0x34ac, (PIN_INPUT_PULLUP | MUX_MODE1)) /* gpmc_a27.mmc2_dat3 */
    			DRA7XX_CORE_IOPAD(0x348c, (PIN_INPUT_PULLUP | MUX_MODE1)) /* gpmc_a19.mmc2_dat4 */
    			DRA7XX_CORE_IOPAD(0x3490, (PIN_INPUT_PULLUP | MUX_MODE1)) /* gpmc_a20.mmc2_dat5 */
    			DRA7XX_CORE_IOPAD(0x3494, (PIN_INPUT_PULLUP | MUX_MODE1)) /* gpmc_a21.mmc2_dat6 */
    			DRA7XX_CORE_IOPAD(0x3498, (PIN_INPUT_PULLUP | MUX_MODE1)) /* gpmc_a22.mmc2_dat7 */
    		>;
    	};
    };
    
    &mmc1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&mmc1_pins_default>;
    };
    
    &mmc2 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&mmc2_pins_default>;
    };
    
    /*
    &i2c3 {
    	status = "okay";
    	clock-frequency = <400000>;
    
    	pcf8563_rtc: rtc@51 {
    		compatible = "nxp,pcf8563";
    		reg = <0x51>;
    	};
    
    	mcp_rtc: rtc@6f {
    		compatible = "microchip,mcp7941x";
    		reg = <0x6f>;
    		interrupts-extended = <&crossbar_mpu GIC_SPI 2 IRQ_TYPE_EDGE_RISING>,
    				      <&dra7_pmx_core 0x424>;
    		interrupt-names = "irq", "wakeup";
    
    		vcc-supply = <&vdd_3v3>;
    		wakeup-source;
    	};
    
    };
    */
    
    &gpio7 {
    	ti,no-reset-on-init;
    	ti,no-idle-on-init;
    };
    
    &uart3 {
    	status = "okay";
    	interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
    			      <&dra7_pmx_core 0x3f8>;
    };
    
    &mac {
    	status = "okay";
    	dual_emac;
    };
    
    &cpsw_emac0 {
    	phy_id = <&davinci_mdio>, <1>;
    	phy-mode = "rgmii";
    	dual_emac_res_vlan = <1>;
    };
    
    &cpsw_emac1 {
    	phy_id = <&davinci_mdio>, <2>;
    	phy-mode = "rgmii";
    	dual_emac_res_vlan = <2>;
    };
    
    &mmc1 {
    	status = "okay";
    
    	vmmc-supply = <&ldo1_reg>;
    	bus-width = <4>;
    	cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
    };
    
    &mmc2 {
    	status = "okay";
    
    	vmmc-supply = <&vdd_3v3>;
    	bus-width = <8>;
    	ti,non-removable;
    	cap-mmc-dual-data-rate;
    };
    
    &sata {
    	status = "okay";
    };
    
    &usb2_phy1 {
    	phy-supply = <&ldousb_reg>;
    };
    
    &usb2_phy2 {
    	phy-supply = <&ldousb_reg>;
    };
    
    &usb1 {
    	dr_mode = "host";
    };
    
    &omap_dwc3_2 {
    	extcon = <&extcon_usb2>;
    };
    
    &usb2 {
    	/*
    	 * Stand alone usage is peripheral only.
    	 * However, with some resistor modifications
    	 * this port can be used via expansion connectors
    	 * as "host" or "dual-role". If so, provide
    	 * the necessary dr_mode override in the expansion
    	 * board's DT.
    	 */
    	dr_mode = "peripheral";
    };
    
    &cpu_trips {
    	cpu_alert1: cpu_alert1 {
    		temperature = <50000>; /* millicelsius */
    		hysteresis = <2000>; /* millicelsius */
    		type = "active";
    	};
    };
    
    &cpu_cooling_maps {
    	map1 {
    		trip = <&cpu_alert1>;
    		cooling-device = <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
    	};
    };
    
    /*
    &thermal_zones {
    	board_thermal: board_thermal {
    		polling-delay-passive = <1250>; 
    		polling-delay = <1500>; 
    
    		thermal-sensors = <&tmp102     0>;
    
    		board_trips: trips {
    			board_alert0: board_alert {
    				temperature = <40000>; 
    				hysteresis = <2000>; 
    				type = "active";
    			};
    
    			board_crit: board_crit {
    				temperature = <105000>;
    				hysteresis = <0>; 
    				type = "critical";
    			};
    		};
    
    		board_cooling_maps: cooling-maps {
    			map0 {
    				trip = <&board_alert0>;
    				cooling-device =
    				  <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
    			};
    		};
           };
    };
    */
    
    &oppdm_mpu {
    	vdd-supply = <&smps12_reg>;
    };
    
    &oppdm_dspeve {
    	vdd-supply = <&smps45_reg>;
    };
    
    &oppdm_gpu {
    	vdd-supply = <&smps45_reg>;
    };
    
    &oppdm_ivahd {
    	vdd-supply = <&smps45_reg>;
    };
    
    &oppdm_core {
    	vdd-supply = <&smps6_reg>;
    };
    
    &dss {
    	status = "ok";
    
    	vdda_video-supply = <&ldoln_reg>;
    };
    
    &bb2d {
    	status = "okay";
    };
    
    &hdmi {
    	status = "ok";
    	vdda-supply = <&ldo4_reg>;
    
    	port {
    		hdmi_out: endpoint {
    			remote-endpoint = <&tpd12s015_in>;
    		};
    	};
    };
    
    &mcasp3 {
    	#sound-dai-cells = <0>;
    	assigned-clocks = <&mcasp3_ahclkx_mux>;
    	assigned-clock-parents = <&sys_clkin2>;
    	status = "okay";
    
    	op-mode = <0>;	/* MCASP_IIS_MODE */
    	tdm-slots = <2>;
    	/* 4 serializers */
    	serial-dir = <	/* 0: INACTIVE, 1: TX, 2: RX */
    		1 2 0 0
    	>;
    	tx-num-evt = <32>;
    	rx-num-evt = <32>;
    };
    
    &mailbox3 {
    	status = "okay";
    	mbox_pru1_0: mbox_pru1_0 {
    		status = "okay";
    	};
    	mbox_pru1_1: mbox_pru1_1 {
    		status = "okay";
    	};
    };
    
    &mailbox4 {
    	status = "okay";
    	mbox_pru2_0: mbox_pru2_0 {
    		status = "okay";
    	};
    	mbox_pru2_1: mbox_pru2_1 {
    		status = "okay";
    	};
    };
    
    &mailbox5 {
    	status = "okay";
    	mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
    		status = "okay";
    	};
    	mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
    		status = "okay";
    	};
    };
    
    &mailbox6 {
    	status = "okay";
    	mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
    		status = "okay";
    	};
    	mbox_dsp2_ipc3x: mbox_dsp2_ipc3x {
    		status = "okay";
    	};
    };
    
    &mmu0_dsp1 {
    	status = "okay";
    };
    
    &mmu1_dsp1 {
    	status = "okay";
    };
    
    &mmu0_dsp2 {
    	status = "okay";
    };
    
    &mmu1_dsp2 {
    	status = "okay";
    };
    
    &mmu_ipu1 {
    	status = "okay";
    };
    
    &mmu_ipu2 {
    	status = "okay";
    };
    
    &ipu2 {
    	status = "okay";
    	memory-region = <&ipu2_cma_pool>;
    	mboxes = <&mailbox6 &mbox_ipu2_ipc3x>;
    	timers = <&timer3>;
    	watchdog-timers = <&timer4>, <&timer9>;
    };
    
    &ipu1 {
    	status = "okay";
    	memory-region = <&ipu1_cma_pool>;
    	mboxes = <&mailbox5 &mbox_ipu1_ipc3x>;
    	timers = <&timer11>;
    };
    
    &dsp1 {
    	status = "okay";
    	memory-region = <&dsp1_cma_pool>;
    	mboxes = <&mailbox5 &mbox_dsp1_ipc3x>;
    	timers = <&timer5>;
    };
    
    &dsp2 {
    	status = "okay";
    	memory-region = <&dsp2_cma_pool>;
    	mboxes = <&mailbox6 &mbox_dsp2_ipc3x>;
    	timers = <&timer6>;
    };
    
    &pruss1 {
    	status = "okay";
    	pru1_0: pru0@4b234000 {
    		interrupt-parent = <&pruss1_intc>;
    		interrupts = <16>, <17>;
    		interrupt-names = "vring", "kick";
    		status = "okay";
    	};
    
    	pru1_1: pru1@4b238000 {
    		interrupt-parent = <&pruss1_intc>;
    		interrupts = <18>, <19>;
    		interrupt-names = "vring", "kick";
    		status = "okay";
    	};
    };
    
    &pruss2 {
    	status = "okay";
    	pru2_0: pru0@4b2b4000 {
    		interrupt-parent = <&pruss2_intc>;
    		interrupts = <16>, <17>;
    		interrupt-names = "vring", "kick";
    		status = "okay";
    	};
    
    	pru2_1: pru1@4b2b8000 {
    		interrupt-parent = <&pruss2_intc>;
    		interrupts = <18>, <19>;
    		interrupt-names = "vring", "kick";
    		status = "okay";
    	};
    };
    
    

    /*
     * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/
     *
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public License version 2 as
     * published by the Free Software Foundation.
     */
    
    #include <dt-bindings/gpio/gpio.h>
    #include <dt-bindings/input/input.h>
    
    / {
    	compatible = "ti,am5728-evm", "ti,am572x-beagle-x15", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7";
    /*
    	gpio_keys {
    		compatible = "gpio-keys";
    		#address-cells = <1>;
    		#size-cells = <0>;
    		autorepeat;
    
    		USER1 {
    			label = "Up";
    			linux,code = <KEY_UP>;
    			gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
    		};
    
    		USER2 {
    			label = "Down";
    			linux,code = <KEY_DOWN>;
    			gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
    		};
    
    		USER3 {
    			label = "Left";
    			linux,code = <KEY_LEFT>;
    			gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
    		};
    
    		USER4 {
    			label = "Right";
    			linux,code = <KEY_RIGHT>;
    			gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
    		};
    
    		USER5 {
    			label = "Home";
    			linux,code = <KEY_HOME>;
    			gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
    		};
    	};
    */
    
    	aliases {
    /*		display1 = &lcd0;*/
    		display0 = &hdmi0;
    	};
    
    
    /*
    	lcd0: display {
    		compatible = "osddisplays,osd070t1718-19ts", "panel-dpi";
    
    		label = "lcd";
    
    		backlight = <&lcd_bl>;
    
    		enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
    
    		panel-timing {
    			clock-frequency = <33000000>;
    			hactive = <800>;
    			vactive = <480>;
    			hfront-porch = <210>;
    			hback-porch = <16>;
    			hsync-len = <30>;
    			vback-porch = <10>;
    			vfront-porch = <22>;
    			vsync-len = <13>;
    			hsync-active = <0>;
    			vsync-active = <0>;
    			de-active = <1>;
    			pixelclk-active = <1>;
    		};
    
    		port {
    			lcd_in: endpoint {
    				remote-endpoint = <&dpi_out>;
    			};
    		};
    	};
    
    
    	lcd_bl: backlight {
    		compatible = "pwm-backlight";
    		pwms = <&ehrpwm1 0 50000 0>;
    
    		brightness-levels = <0 243 245 247 249 251 252 253 255>;
    
    		default-brightness-level = <8>;
    	};
    */
    	vmmcwl_fixed: fixedregulator-mmcwl {
    		compatible = "regulator-fixed";
    		regulator-name = "vmmcwl_fixed";
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    		gpio = <&gpio5 8 GPIO_ACTIVE_HIGH>;
    		enable-active-high;
    	};
    };
    
    /*
    &dss {
    	ports {
    		#address-cells = <1>;
    		#size-cells = <0>;
    
    		port {
    			reg = <0>;
    
    			dpi_out: endpoint {
    				remote-endpoint = <&lcd_in>;
    				data-lines = <24>;
    			};
    		};
    	};
    };
    */
    
    
    &i2c5 {
    	status = "okay";
    	clock-frequency = <400000>;
    
    	mt9t11x@3C {
    		compatible = "aptina,mt9t111";
    		reg = <0x3C>;
    
    		reset-gpios = <&gpio4 17 GPIO_ACTIVE_LOW>;
    		oscen-gpios = <&gpio5 10 GPIO_ACTIVE_HIGH>;
    		powerdown-gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
    		bufen-gpios = <&gpio5 12 GPIO_ACTIVE_LOW>;
    		camen-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
    
    		port {
    			cam: endpoint {
    				remote-endpoint = <&vin3a>;
    				hsync-active = <1>;
    				vsync-active = <1>;
    				pclk-sample = <0>;
    				input-clock-freq = <32000000>;
    				pixel-clock-freq = <96000000>;
    			};
    		};
    	};
    
    };
    
    
    
    &vip2 {
    	status = "okay";
    };
    
    
    
    &vin3a {
    	status = "okay";
    
    	endpoint {
    		slave-mode;
    		remote-endpoint = <&cam>;
    	};
    
    };
    
    &pcie1_rc {
    	status = "okay";
    	gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
    };
    
    &pcie1_ep {
    	gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
    };
    
    &epwmss1 {
    	status = "okay";
    };
    
    &ehrpwm1 {
    	status = "okay";
    };
    
    /*
    &i2c5 {
    	status = "okay";
    	clock-frequency = <400000>;
    
    	pixcir_ts@5c {
    		compatible = "pixcir,pixcir_tangoc";
    		reg = <0x5c>;
    		interrupt-parent = <&gpio2>;
    		interrupts = <4 0>;
    
    		attb-gpio = <&gpio2 4 GPIO_ACTIVE_HIGH>;
    		reset-gpio = <&gpio2 6 GPIO_ACTIVE_HIGH>;
    
    		touchscreen-size-x = <1024>;
    		touchscreen-size-y = <600>;
    	};
    };*/
    
    &uart8 {
    	status = "okay";
    };
    
    /*
    &mmc3 {
    	status = "okay";
    	vmmc-supply = <&vmmcwl_fixed>;
    	bus-width = <4>;
    	pinctrl-names = "default";
    	cap-power-off-card;
    	keep-power-in-suspend;
    	ti,non-removable;
    	pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50";
    	pinctrl-0 = <&mmc3_pins_default>;
    	pinctrl-1 = <&mmc3_pins_hs>;
    	pinctrl-2 = <&mmc3_pins_sdr12>;
    	pinctrl-3 = <&mmc3_pins_sdr25>;
    	pinctrl-4 = <&mmc3_pins_sdr50 &mmc3_iodelay_manual1_conf>;
    
    	#address-cells = <1>;
    	#size-cells = <0>;
    	wlcore: wlcore@0 {
    		compatible = "ti,wl1835";
    		reg = <2>;
    		interrupt-parent = <&gpio5>;
    		interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
    	};
    };*/
    

  • Hi, Pavel

    I'm looking forward to your help. The results of memory test on the custom board are as follows:

    I've used memtester tool:

    target# memtester 1G 1

    TI standard kit board runs well during the test:

    root@am57xx-evm:~# memtester 1G 1 memtester version 4.3.0 (32-bit) Copyright (C) 2001-2012 Charles Cazabon. Licensed under the GNU General Public License version 2 (only). pagesize is 4096 pagesizemask is 0xfffff000 want 1024MB (1073741824 bytes) got 1024MB (1073741824 bytes), trying mlock ...locked. Loop 1/1: Stuck Address : testing 0 ok Random Value : ok Compare XOR : ok Compare SUB : ok Compare MUL : ok Compare DIV : ok Compare OR : ok Compare AND : ok Sequential Increment: ok Solid Bits : ok Block Sequential : setting 132[ 316.638002] EXT4-fs (mmcblk1p2): error count since last fsck: 496 [ 316.644134] EXT4-fs (mmcblk1p2): initial error at time 2: ext4_lookup:1583: inode 2 [ 316.651895] EXT4-fs (mmcblk1p2): last error at time 1498682173: ext4_lookup:1611: inode 2 ok Checkerboard : ok Bit Spread : ok Bit Flip : ok Walking Ones : ok Walking Zeroes : ok Done.

    But my custom board is'nt well...

    root@am57xx-evm:~# memtester 1G 1
    memtester version 4.3.0 (32-bit)
    Copyright (C) 2001-2012 Charles Cazabon.
    Licensed under the GNU General Public License version 2 (only).
    
    pagesize is 4096
    pagesizemask is 0xfffff000
    want 1024MB (1073741824 bytes)
    got  1024MB (1073741824 bytes), trying mlock ...
    
    [   36.738818] Unhandled fault: synchronous external abort (0x210) at 0xbf2088e4
    [   36.748779] Unhandled fault: synchronous abort (translation table walk) (0x217) at 0x05ee04aa
    
    

    The system crashed before the test started

    And I've measured the voltage of DDR3. It's normal.

    I found that once the memory test started in the TI development board, the voltage of the DDR3 dropped a little bit,but there was no change in my board.

    Do you think this is a H/W problem or a S/W problem?

    Thanks!

    Best Regards

    David. Jo

  • David,

    Could you please clarify what are the difference in DDR3 design ans size between AM572x TI EVM and your custom board?

    Please go through the below links for more info regarding DDR3 config:

    www.ti.com/.../spraca1.pdf
    www.ti.com/.../sprac36a.pdf

    Regards,
    Pavel