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.

AM57x GC320 driver load fails



Dear Champs,

My customer tried to load GC320 driver(galcore) using insmode, but failed as below.

Could you please check and let me know how they can resolve this issue?

They found gc320 driver in 'sdk/board-support/extra-driver/ti-gc320-driver-5.0.11.p7', and build it as below.

make ti-gc320-driver

They found 'galcore.ko' was generated, and tried to load it as below using insmod, but got 'error -22'.

root@am57xx-evm:~# insmod /mnt/galcore.ko

[  930.874861] GC320 IRQ: 337

[  930.877749] Galcore version 5.0.11.33433

[  930.919018] galcore: probe of 59000000.bb2d failed with error -22

And also, is there example source for GC320 driver?  could you please let me know when it will be released if there is not now?

Thanks and Best Regards,

SI.

  • The video experts have been notified. They will respond here.
  • Hi SI,
    I have tried GC320 testcases on DRA7x( SDK 3.01) with below command and it has worked.

    insmod galcore.ko baseAddress=0x80000000 physSize=0x60000000

    Check if your targetfs has GC320 tests in /usr/bin/GC320/tests/unit_test/
    if present cd to this directory and run these to execute sample tests.

    export LD_LIBRARY_PATH=$PWD
    ./runtest.sh

    You can build sample test from the source code
    git.ti.com/.../ti-5.0.11.p7
  • Hi,

    In addition to the above responses.

    Which SDK are they using? Is the driver built against the kernel version used?
    Note that they may experience some problems if they've rebuilt the kernel & haven't rebuilt the driver against the current zImage build.

    Best Regards,
    Yordan
  • Hi,

    Even when they tried as below, they found error and the below is their error log.
    please check below log and let me know what is the issue.
    Their SW is psdk 03.01.00.06.

    they load it as you recommended,
    insmod galcore.ko baseAddress=0x80000000 physSize=0x60000000

    But their error log is...
    root@am57xx-evm:~# [ 43.836055] GPU[0](ChipModel=0x320 ChipRevision=0x5301):
    [ 43.843016] **************************
    [ 43.846779] *** MMU ERROR DUMP ***
    [ 43.850593] **************************
    [ 43.854403] MMU status = 0x00000000
    [ 43.858083] GPU[0](ChipModel=0x320 ChipRevision=0x5301):
    [ 43.864202] **************************
    [ 43.867969] *** GPU STATE DUMP ***
    [ 43.871766] **************************
    [ 43.875573] axi = 0x00000031
    [ 43.879142] idle = 0x7FFFFFFE
    [ 43.882663] FE not idle
    [ 43.885471] DMA appears to be stuck at this address:
    [ 43.890659] 0x7E58D010
    [ 43.893422] dmaLow = 0x00000000
    [ 43.896920] dmaHigh = 0x00000000
    [ 43.900450] dmaState = 0x00000000
    [ 43.903995] command state = 0 (PAR_IDLE_ST)
    [ 43.909108] command DMA state = 0 (CMD_IDLE_ST)
    [ 43.914201] command fetch state = 0 (FET_IDLE_ST)
    [ 43.919327] DMA request state = 0 (REQ_IDLE_ST)
    [ 43.924443] cal state = 0 (CAL_IDLE_ST)
    [ 43.929563] VE request state = 0 (VER_IDLE_ST)
    [ 43.934660] Debug registers of pipe[0]:
    [ 43.938721] RA debug registers:
    [ 43.942268] [0x00] 0x00000000
    [ 43.945768] [0x01] 0x00000000
    [ 43.949297] [0x02] 0x00000000
    [ 43.952843] [0x03] 0x00000000
    [ 43.956342] [0x04] 0x00000000
    [ 43.959888] [0x05] 0x00000000
    [ 43.963429] [0x06] 0x00000000
    [ 43.966929] [0x07] 0x00000000
    [ 43.970552] [0x08] 0x00000000
    [ 43.974100] [0x09] 0x00000000
    [ 43.977600] [0x0A] 0x00000000
    [ 43.981131] [0x0B] 0x00000000
    [ 43.984679] [0x0C] 0x00000000
    [ 43.988185] [0x0D] 0x00000000
    [ 43.991719] [0x0E] 0x00000000
    [ 43.995259] [0x0F] 0x00000000
    [ 43.998939] [0x10] 0x00000000
    [ 44.002499] [0x11] 0x00000000
    [ 44.006008] [0x12] 0x00000000
    [ 44.009596] [0x13] 0x00000000
    [ 44.013180] [0x14] 0x00000000
    [ 44.016690] [0x15] 0x00000000
    [ 44.020263] [0x16] 0x00000000
    [ 44.023839] [0x17] 0x00000000
    [ 44.027348] [0x18] 0x00000000
    [ 44.031113] [0x19] 0x00000000
    [ 44.034685] [0x1A] 0x00000000
    [ 44.038201] [0x1B] 0x00000000
    [ 44.041804] [0x1C] 0x00000000
    [ 44.045466] [0x1D] 0x00000000
    [ 44.049009] [0x1E] 0x00000000
    [ 44.052587] [0x1F] 0x00000000
    [ 44.056753] failed to obtain the signature (read 0x00000000).
    [ 44.063110] TX debug registers:
    [ 44.066671] [0x00] 0x00000000
    [ 44.070284] [0x01] 0x00000000
    [ 44.073793] [0x02] 0x00000000
    [ 44.077294] [0x03] 0x00000000
    [ 44.080834] [0x04] 0x00000000
    [ 44.084337] [0x05] 0x00000000
    [ 44.087844] [0x06] 0x00000000
    [ 44.091388] [0x07] 0x00000000
    [ 44.094889] [0x08] 0x00000000
    [ 44.098429] [0x09] 0x00000000
    [ 44.101931] [0x0A] 0x00000000
    [ 44.105439] [0x0B] 0x00000000
    [ 44.108992] [0x0C] 0x00000000
    [ 44.112494] [0x0D] 0x00000000
    [ 44.115995] [0x0E] 0x00000000
    [ 44.119540] [0x0F] 0x00000000
    [ 44.123043] [0x10] 0x00000000
    [ 44.126549] [0x11] 0x00000000
    [ 44.130100] [0x12] 0x00000000
    [ 44.133608] [0x13] 0x00000000
    [ 44.137118] [0x14] 0x00000000
    [ 44.140663] [0x15] 0x00000000
    [ 44.144166] [0x16] 0x00000000
    [ 44.147667] [0x17] 0x00000000
    [ 44.151203] [0x18] 0x00000000
    [ 44.154712] [0x19] 0x00000000
    [ 44.158218] [0x1A] 0x00000000
    [ 44.161769] [0x1B] 0x00000000
    [ 44.165271] [0x1C] 0x00000000
    [ 44.168813] [0x1D] 0x00000000
    [ 44.172322] [0x1E] 0x00000000
    [ 44.175828] [0x1F] 0x00000000
    [ 44.180023] failed to obtain the signature (read 0x00000000).
    [ 44.186315] FE debug registers:
    [ 44.189885] [0x00] 0x00000000
    [ 44.193395] [0x01] 0x00000000
    [ 44.196897] [0x02] 0x00000000
    [ 44.200441] [0x03] 0x00000000
    [ 44.203951] [0x04] 0x00000000
    [ 44.207457] [0x05] 0x00000000
    [ 44.211007] [0x06] 0x00000000
    [ 44.214509] [0x07] 0x00000000
    [ 44.218010] [0x08] 0x00000000
    [ 44.221564] [0x09] 0x00000000
    [ 44.225079] [0x0A] 0x00000000
    [ 44.228616] [0x0B] 0x00000000
    [ 44.232119] [0x0C] 0x00000000
    [ 44.235619] [0x0D] 0x00000000
    [ 44.239165] [0x0E] 0x00000000
    [ 44.242674] [0x0F] 0x00000000
    [ 44.246174] [0x10] 0x00000000
    [ 44.249710] [0x11] 0x00000000
    [ 44.253213] [0x12] 0x00000000
    [ 44.256719] [0x13] 0x00000000
    [ 44.260275] [0x14] 0x00000000
    [ 44.263778] [0x15] 0x00000000
    [ 44.267278] [0x16] 0x00000000
    [ 44.270820] [0x17] 0x00000000
    [ 44.274330] [0x18] 0x00000000
    [ 44.277830] [0x19] 0x00000000
    [ 44.281371] [0x1A] 0x00000000
    [ 44.284873] [0x1B] 0x00000000
    [ 44.288412] [0x1C] 0x00000000
    [ 44.291921] [0x1D] 0x00000000
    [ 44.295421] [0x1E] 0x00000000
    [ 44.298992] [0x1F] 0x00000000
    [ 44.303148] failed to obtain the signature (read 0x00000000).
    [ 44.309493] PE debug registers:
    [ 44.312997] [0x00] 0x00000000
    [ 44.316497] [0x01] 0x00000000
    [ 44.320036] [0x02] 0x00000000
    [ 44.323546] [0x03] 0x00000000
    [ 44.327052] [0x04] 0xA40004F1
    [ 44.330595] [0x05] 0xABC54001
    [ 44.334098] [0x06] 0xBC000086
    [ 44.337605] [0x07] 0xCDE80040
    [ 44.341149] [0x08] 0xD0000000
    [ 44.344652] [0x09] 0x00000000
    [ 44.348152] [0x0A] 0x00000000
    [ 44.351718] [0x0B] 0x00000000
    [ 44.355230] [0x0C] 0xBABEF00D
    [ 44.358818] [0x0D] 0xBABEF00D
    [ 44.362327] [0x0E] 0xBABEF00D
    [ 44.365843] [0x0F] 0xBABEF00D
    [ 44.369413] [0x10] 0x00000000
    [ 44.372928] [0x11] 0x00000000
    [ 44.376450] [0x12] 0x00000000
    [ 44.380023] [0x13] 0x00000000
    [ 44.383533] [0x14] 0xA40004F1
    [ 44.387048] [0x15] 0xABC54001
    [ 44.390656] [0x16] 0xBC000086
    [ 44.394165] [0x17] 0xCDE80040
    [ 44.397681] [0x18] 0xD0000000
    [ 44.401255] [0x19] 0x00000000
    [ 44.404764] [0x1A] 0x00000000
    [ 44.408473] [0x1B] 0x00000000
    [ 44.411982] [0x1C] 0xBABEF00D
    [ 44.415489] [0x1D] 0xBABEF00D
    [ 44.419021] [0x1E] 0xBABEF00D
    [ 44.422528] [0x1F] 0xBABEF00D
    [ 44.426032] [0x20] 0x00000000
    [ 44.429560] [0x21] 0x00000000
    [ 44.433061] [0x22] 0x00000000
    [ 44.436560] [0x23] 0x00000000
    [ 44.440093] [0x24] 0xA40004F1
    [ 44.443597] [0x25] 0xABC54001
    [ 44.447096] [0x26] 0xBC000086
    [ 44.450623] [0x27] 0xCDE80040
    [ 44.454124] [0x28] 0xD0000000
    [ 44.457630] [0x29] 0x00000000
    [ 44.461169] [0x2A] 0x00000000
    [ 44.464669] [0x2B] 0x00000000
    [ 44.468167] [0x2C] 0xBABEF00D
    [ 44.471764] [0x2D] 0xBABEF00D
    [ 44.475271] [0x2E] 0xBABEF00D
    [ 44.478804] [0x2F] 0xBABEF00D
    [ 44.482305] signature = 0xBABEF00D (1 read attempt(s))
    [ 44.487983] DE debug registers:
    [ 44.491515] [0x00] 0x00000000
    [ 44.495016] [0x01] 0x00000000
    [ 44.498543] [0x02] 0x00000000
    [ 44.502044] [0x03] 0x00000000
    [ 44.505543] [0x04] 0x00000000
    [ 44.509084] [0x05] 0x00000000
    [ 44.512585] [0x06] 0x00000000
    [ 44.516082] [0x07] 0x00000000
    [ 44.519610] [0x08] 0x00000000
    [ 44.523115] [0x09] 0x00000000
    [ 44.526619] [0x0A] 0x00000000
    [ 44.530145] [0x0B] 0x00000000
    [ 44.533645] [0x0C] 0x00000000
    [ 44.537143] [0x0D] 0x00000000
    [ 44.540678] [0x0E] 0x00000000
    [ 44.544177] [0x0F] 0x00000000
    [ 44.547676] [0x10] 0x00000000
    [ 44.551202] [0x11] 0x00000000
    [ 44.554703] [0x12] 0x00000000
    [ 44.558208] [0x13] 0x00000000
    [ 44.561744] [0x14] 0x00000000
    [ 44.565244] [0x15] 0x00000000
    [ 44.568771] [0x16] 0x00000000
    [ 44.572272] [0x17] 0x00000000
    [ 44.575778] [0x18] 0x00000000
    [ 44.579306] [0x19] 0x00000000
    [ 44.582807] [0x1A] 0x00000000
    [ 44.586306] [0x1B] 0x00000000
    [ 44.589841] [0x1C] 0x00000000
    [ 44.593346] [0x1D] 0x00000000
    [ 44.596846] [0x1E] 0x00000000
    [ 44.600373] [0x1F] 0x00000000
    [ 44.604393] failed to obtain the signature (read 0x00000000).
    [ 44.610724] SH debug registers:
    [ 44.614225] [0x00] 0x00000000
    [ 44.617723] [0x01] 0x00000000
    [ 44.621252] [0x02] 0x00000000
    [ 44.624758] [0x03] 0x00000000
    [ 44.628284] [0x04] 0x00000000
    [ 44.631783] [0x05] 0x00000000
    [ 44.635282] [0x06] 0x00000000
    [ 44.638809] [0x07] 0x00000000
    [ 44.642317] [0x08] 0x00000000
    [ 44.645817] [0x09] 0x00000000
    [ 44.649342] [0x0A] 0x00000000
    [ 44.652843] [0x0B] 0x00000000
    [ 44.656342] [0x0C] 0x00000000
    [ 44.659885] [0x0D] 0x00000000
    [ 44.663386] [0x0E] 0x00000000
    [ 44.666885] [0x0F] 0x00000000
    [ 44.670411] [0x10] 0x00000000
    [ 44.673917] [0x11] 0x00000000
    [ 44.677417] [0x12] 0x00000000
    [ 44.680945] [0x13] 0x00000000
    [ 44.684445] [0x14] 0x00000000
    [ 44.687944] [0x15] 0x00000000
    [ 44.691476] [0x16] 0x00000000
    [ 44.694976] [0x17] 0x00000000
    [ 44.698503] [0x18] 0x00000000
    [ 44.702003] [0x19] 0x00000000
    [ 44.705502] [0x1A] 0x00000000
    [ 44.709043] [0x1B] 0x00000000
    [ 44.712543] [0x1C] 0x00000000
    [ 44.716041] [0x1D] 0x00000000
    [ 44.719588] [0x1E] 0x00000000
    [ 44.723088] [0x1F] 0x00000000
    [ 44.727114] failed to obtain the signature (read 0x00000000).
    [ 44.733435] PA debug registers:
    [ 44.736935] [0x00] 0x00000000
    [ 44.740467] [0x01] 0x00000000
    [ 44.743973] [0x02] 0x00000000
    [ 44.747472] [0x03] 0x00000000
    [ 44.751000] [0x04] 0x00000000
    [ 44.754500] [0x05] 0x00000000
    [ 44.758005] [0x06] 0x00000000
    [ 44.761539] [0x07] 0x00000000
    [ 44.765039] [0x08] 0x00000000
    [ 44.768565] [0x09] 0x00000000
    [ 44.772066] [0x0A] 0x00000000
    [ 44.775572] [0x0B] 0x00000000
    [ 44.779098] [0x0C] 0x00000000
    [ 44.782599] [0x0D] 0x00000000
    [ 44.786097] [0x0E] 0x00000000
    [ 44.789623] [0x0F] 0x00000000
    [ 44.793130] [0x10] 0x00000000
    [ 44.796630] [0x11] 0x00000000
    [ 44.800165] [0x12] 0x00000000
    [ 44.803670] [0x13] 0x00000000
    [ 44.807179] [0x14] 0x00000000
    [ 44.810755] [0x15] 0x00000000
    [ 44.814260] [0x16] 0x00000000
    [ 44.817763] [0x17] 0x00000000
    [ 44.821298] [0x18] 0x00000000
    [ 44.824812] [0x19] 0x00000000
    [ 44.828337] [0x1A] 0x00000000
    [ 44.831837] [0x1B] 0x00000000
    [ 44.835335] [0x1C] 0x00000000
    [ 44.838864] [0x1D] 0x00000000
    [ 44.842370] [0x1E] 0x00000000
    [ 44.845870] [0x1F] 0x00000000
    [ 44.849933] failed to obtain the signature (read 0x00000000).
    [ 44.856222] SE debug registers:
    [ 44.859764] [0x00] 0x00000000
    [ 44.863263] [0x01] 0x00000000
    [ 44.866762] [0x02] 0x00000000
    [ 44.870291] [0x03] 0x00000000
    [ 44.873797] [0x04] 0x00000000
    [ 44.877316] [0x05] 0x00000000
    [ 44.880847] [0x06] 0x00000000
    [ 44.884347] [0x07] 0x00000000
    [ 44.887846] [0x08] 0x00000000
    [ 44.891378] [0x09] 0x00000000
    [ 44.894887] [0x0A] 0x00000000
    [ 44.898415] [0x0B] 0x00000000
    [ 44.901915] [0x0C] 0x00000000
    [ 44.905414] [0x0D] 0x00000000
    [ 44.908956] [0x0E] 0x00000000
    [ 44.912455] [0x0F] 0x00000000
    [ 44.915953] [0x10] 0x00000000
    [ 44.919506] [0x11] 0x00000000
    [ 44.923005] [0x12] 0x00000000
    [ 44.926510] [0x13] 0x00000000
    [ 44.930038] [0x14] 0x00000000
    [ 44.933538] [0x15] 0x00000000
    [ 44.937036] [0x16] 0x00000000
    [ 44.940570] [0x17] 0x00000000
    [ 44.944074] [0x18] 0x00000000
    [ 44.947573] [0x19] 0x00000000
    [ 44.951100] [0x1A] 0x00000000
    [ 44.954600] [0x1B] 0x00000000
    [ 44.958104] [0x1C] 0x00000000
    [ 44.961644] [0x1D] 0x00000000
    [ 44.965144] [0x1E] 0x00000000
    [ 44.968724] [0x1F] 0x00000000
    [ 44.972744] failed to obtain the signature (read 0x00000000).
    [ 44.979074] MC debug registers:
    [ 44.982575] [0x00] 0x00000000
    [ 44.986073] [0x01] 0x00000000
    [ 44.989601] [0x02] 0x00000017
    [ 44.993107] [0x03] 0x00000000
    [ 44.996605] [0x04] 0x12345678
    [ 45.000133] [0x05] 0x12345678
    [ 45.003633] [0x06] 0x12345678
    [ 45.007137] [0x07] 0x12345678
    [ 45.010676] [0x08] 0x12345678
    [ 45.014177] [0x09] 0x12345678
    [ 45.017675] [0x0A] 0x12345678
    [ 45.021203] [0x0B] 0x12345678
    [ 45.024708] [0x0C] 0x12345678
    [ 45.028211] [0x0D] 0x12345678
    [ 45.031740] [0x0E] 0x12345678
    [ 45.035240] [0x0F] 0x12345678
    [ 45.038787] [0x10] 0x00000000
    [ 45.042293] [0x11] 0x00000000
    [ 45.045796] [0x12] 0x00000000
    [ 45.049323] [0x13] 0x00000000
    [ 45.052824] [0x14] 0x12345678
    [ 45.056323] [0x15] 0x12345678
    [ 45.059865] [0x16] 0x12345678
    [ 45.063371] [0x17] 0x12345678
    [ 45.066887] [0x18] 0x12345678
    [ 45.070416] [0x19] 0x12345678
    [ 45.073921] [0x1A] 0x12345678
    [ 45.077424] [0x1B] 0x12345678
    [ 45.080964] [0x1C] 0x12345678
    [ 45.084465] [0x1D] 0x12345678
    [ 45.087964] [0x1E] 0x12345678
    [ 45.091496] [0x1F] 0x12345678
    [ 45.095002] signature = 0x12345678 (1 read attempt(s))
    [ 45.100710] HI debug registers:
    [ 45.104212] [0x00] 0x00000000
    [ 45.107716] [0x01] 0x00000000
    [ 45.111262] [0x02] 0x00000000
    [ 45.114762] [0x03] 0xAAAAAAAA
    [ 45.118290] [0x04] 0xAAAAAAAA
    [ 45.121790] [0x05] 0xAAAAAAAA
    [ 45.125294] [0x06] 0xAAAAAAAA
    [ 45.128826] [0x07] 0xAAAAAAAA
    [ 45.132325] [0x08] 0xAAAAAAAA
    [ 45.135824] [0x09] 0xAAAAAAAA
    [ 45.139384] [0x0A] 0xAAAAAAAA
    [ 45.142903] [0x0B] 0xAAAAAAAA
    [ 45.146410] [0x0C] 0xAAAAAAAA
    [ 45.149941] [0x0D] 0xAAAAAAAA
    [ 45.153442] [0x0E] 0xAAAAAAAA
    [ 45.156941] [0x0F] 0xAAAAAAAA
    [ 45.160485] [0x10] 0x00000000
    [ 45.163991] [0x11] 0x00000000
    [ 45.167489] [0x12] 0x00000000
    [ 45.171016] [0x13] 0xAAAAAAAA
    [ 45.174521] [0x14] 0xAAAAAAAA
    [ 45.178025] [0x15] 0xAAAAAAAA
    [ 45.181552] [0x16] 0xAAAAAAAA
    [ 45.185052] [0x17] 0xAAAAAAAA
    [ 45.188576] [0x18] 0xAAAAAAAA
    [ 45.192105] [0x19] 0xAAAAAAAA
    [ 45.195609] [0x1A] 0xAAAAAAAA
    [ 45.199139] [0x1B] 0xAAAAAAAA
    [ 45.202640] [0x1C] 0xAAAAAAAA
    [ 45.206139] [0x1D] 0xAAAAAAAA
    [ 45.209678] [0x1E] 0xAAAAAAAA
    [ 45.213185] [0x1F] 0xAAAAAAAA
    [ 45.216685] signature = 0xAAAAAAAA (1 read attempt(s))
    [ 45.222391] Other Registers:
    [ 45.225635] [0x0040] 0x00000013
    [ 45.229343] [0x0044] 0x00000000
    [ 45.233017] [0x004C] 0x00000000
    [ 45.236690] [0x0050] 0x00000000
    [ 45.240395] [0x0054] 0x00000000
    [ 45.244075] [0x0058] 0x0000000C
    [ 45.247752] [0x005C] 0x00000005
    [ 45.251454] [0x0060] 0x00000005
    [ 45.255128] [0x043C] 0x00000000
    [ 45.258843] [0x0440] 0x00000000
    [ 45.262522] [0x0444] 0x00000000
    [ 45.266195] [0x0414] 0x3C000000
    [ 45.269895] MMU status from MC[0]:
    [ 45.273657] GPU[0](ChipModel=0x320 ChipRevision=0x5301):
    [ 45.279021] **************************
    [ 45.282780] *** MMU ERROR DUMP ***
    [ 45.286539] **************************
    [ 45.290326] MMU status = 0x00000000
    [ 45.294004] **************************
    [ 45.297768] ***** SW COUNTERS *****
    [ 45.301555] **************************
    [ 45.305317] Execute Count = 0x00000002
    [ 45.309465] Execute Addr = 0xFE58D000
    [ 45.313580] End Addr = 0xFE74B020
    [ 45.317692] CPU: 0 PID: 1215 Comm: galcore daemon Tainted: G O 4.4.19-gdb0b54cdad #3
    [ 45.326684] Hardware name: Generic DRA74X (Flattened Device Tree)
    [ 45.332798] Backtrace:
    [ 45.335268] [<c00130e4>] (dump_backtrace) from [<c00132e0>] (show_stack+0x18/0x1c)
    [ 45.342864] r7:bf477ae0 r6:60080013 r5:00000000 r4:c0940d8c
    [ 45.348573] [<c00132c8>] (show_stack) from [<c02b37cc>] (dump_stack+0x8c/0xa0)
    [ 45.355854] [<c02b3740>] (dump_stack) from [<bf45bc18>] (gckOS_DumpCallStack+0x10/0x18 [galcore])
    [ 45.364758] r7:bf477ae0 r6:bf47496c r5:00000000 r4:00000414
    [ 45.370503] [<bf45bc08>] (gckOS_DumpCallStack [galcore]) from [<bf47230c>] (gckHARDWARE_DumpGPUState+0x7a4/0x958 [galcore])
    [ 45.381715] [<bf471b68>] (gckHARDWARE_DumpGPUState [galcore]) from [<bf46933c>] (gckEVENT_Notify+0x464/0x514 [galcore])
    [ 45.392538] r10:40000000 r9:00000000 r8:00000000 r7:bf455824 r6:d2740800 r5:00000000
    [ 45.400427] r4:d2740000
    [ 45.403011] [<bf468ed8>] (gckEVENT_Notify [galcore]) from [<bf46ee18>] (gckHARDWARE_Interrupt+0x68/0x88 [galcore])
    [ 45.413398] r10:00000000 r9:00000000 r8:00000000 r7:bf455824 r6:ec87c400 r5:d2740800
    [ 45.421286] r4:d2740000
    [ 45.423868] [<bf46edb0>] (gckHARDWARE_Interrupt [galcore]) from [<bf457020>] (gckKERNEL_Notify+0x28/0x2c [galcore])
    [ 45.434342] r5:ec87c4d0 r4:ec87c400
    [ 45.437975] [<bf456ff8>] (gckKERNEL_Notify [galcore]) from [<bf455850>] (threadRoutine+0x2c/0x78 [galcore])
    [ 45.447774] [<bf455824>] (threadRoutine [galcore]) from [<c004f8b8>] (kthread+0xe4/0xfc)
    [ 45.455893] r5:d0201500 r4:00000000
    [ 45.459493] [<c004f7d4>] (kthread) from [<c000fac8>] (ret_from_fork+0x14/0x2c)
    [ 45.466740] r7:00000000 r6:00000000 r5:c004f7d4 r4:d0201500



    Thanks and Best Regards,
    SI.
  • Hi Ramprasad,

    Is it possible to share your galcore.ko file to my customer?


    Thanks and Best Regards,
    SI.
  • Hello,

    I am using PSDK 3.1.

    Could you check with :

    root@am57xx-evm:~#  insmod /lib/modules/4.4.19-gdb0b54cdad/extra/galcore.ko baseAddress=0x80000000 physSize=0x80000000

    [   32.840722] GC320 IRQ: 337

    [   32.843455] Galcore version 5.0.11.33433

    And follow Ram Prasad's steps:

    root@am57xx-evm:~# cd /usr/bin/GC320/tests/unit_test/
    root@am57xx-evm:/usr/bin/GC320/tests/unit_test# export LD_LIBRARY_PATH=$PWD
    root@am57xx-evm:/usr/bin/GC320/tests/unit_test# ./runtest.sh
    ./galRunTest2 ./libgal2DClear001.so -c ./galTestCommon.cfg
    Begin to render gal2DClear001 frame 0 ...
    Rendering gal2DClear001 frame 0 ... succeed
    Begin to render gal2DClear001 frame 1 ...
    Rendering gal2DClear001 frame 1 ... succeed
    ./galRunTest2 ./libgal2DClear002.so -c ./galTestCommon.cfg
    Begin to render gal2DClear002 frame 0 ...
    Rendering gal2DClear002 frame 0 ... succeed
    root@am57xx-evm:/usr/bin/GC320/tests/unit_test# ls
    320_240_A1R5G5B5_VIRTUAL.ini  600_400_B4G4R4A4_DEFAULT.ini  640_480_R5G5B5A1_VIRTUAL.ini  libgal2DClear001.so
    320_240_A4R4G4B4_VIRTUAL.ini  640_480_A4B4G4R4_VIRTUAL.ini  640_480_R8G8B8A8_VIRTUAL.ini  libgal2DClear002.so
    320_240_A8R8G8B8_DEFAULT.ini  640_480_A8R8G8B8_DEFAULT.ini  galRunTest2                   libgalUtil.so
    320_240_A8R8G8B8_VIRTUAL.ini  640_480_B5G6R5_VIRTUAL.ini    galTestCommon.cfg             result
    320_240_R5G6B5_SYSTEM.ini     640_480_B8G8R8A8_VIRTUAL.ini  galTestCommon.ini             runtest.sh
    root@am57xx-evm:/usr/bin/GC320/tests/unit_test# cd result/
    root@am57xx-evm:/usr/bin/GC320/tests/unit_test/result# ls
    gal2DClear001.log      gal2DClear001_000.bmp  gal2DClear002.log      gal2DClear002_000.bmp
    gal2DClear001.rlt      gal2DClear001_001.bmp  gal2DClear002.rlt




    BR
    Margarita

  • Hi,

    Thanks for your response.
    They are using am57xx-evm-reva3.dtb for their EVM, and is there any possibility this issue caused by this?


    Thanks and Best Regards,
    SI.
  • Hello,

    Is this command :
    root@am57xx-evm:~# insmod /lib/modules/4.4.19-gdb0b54cdad/extra/galcore.ko baseAddress=0x80000000 physSize=0x80000000
    working ?
    I was using the default PSDK 3.1.

    BR
    Margarita
  • Are the values "baseAddress=0x80000000 physSize=0x80000000"  same for inserting galcore on Jacinto6 (Using PSDKLA 3.01.00.03) ?

  • Hi Srinivas,

    Yes, this command is applicable on J6 to insert galcore but PSDKLA3.01 filesystem is missing galcore and GC320 libraries.

    Ramprasad