cancel
Showing results for 
Search instead for 
Did you mean: 

stm32mp157caa3 galcore.ko

Ara.1
Senior

Time out check load galcore module expired

whay are we getting this, how to fix this, ?

1 ACCEPTED SOLUTION

Accepted Solutions

I make a try just now, and now it works.

It's not enough to compile the kernel, you also need to compile the module. And you must follow the steps on the wiki.

But "Time out check load galcore module expired" still exits, which results in the USB network card and screen restart. This is too bad.

0693W00000GZ9DXQA1.pnglog

[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Daily apt download activities.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[   11.595874] stm32-crc32 58009000.crc: Initialized
[   11.647514] galcore: disagrees about version of symbol module_layout
[   11.759060] Bluetooth: HCI UART driver ver 2.3
[   11.762136] Bluetooth: HCI UART protocol H4 registered
[  OK  ] Listening on dropbear.socket.
[   11.805211] Bluetooth: HCI UART protocol Broadcom registered
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Kernel Logging Service.
[  OK  ] Started System Logging Service.
[  OK  ] Started D-Bus System Message Bus.

View solution in original post

7 REPLIES 7
Olivier GALLIEN
ST Employee

Hi @Ara.1​ 

You are giving too few informations about your setup and application to provide pertinent answer.

Please add further detail about what you are doing.

which board ? Custom build ? from Distri, Developper pack etc...

Thx

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Complete boot log and traces around galcore failure is also a must

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Hi Olivier,

attached is the current log,

I did rebuild all my custom image once again from wiki st link steps followed, the distro is openst-weston-wayland.

now i can able to see Galcore getting probed.

[  11.165705] galcore: loading out-of-tree module taints kernel.

[  11.235260] Galcore version 6.2.4.190076

how can i test STM32MP1 GPU/galcore.ko functionality ?

Hi,

you need the mesa library which will use the galcore driver.

https://wiki.st.com/stm32mpu/wiki/DRM_KMS_overview#kmscube_-28DRM-2FKMS_OpenGLES_GPU_test_tool-29

I have also encountered this problem, which has bothered me for a long time. Can you describe the solution in detail? Thank you very much! The first picture is the normal startup log, and the second picture is the uimage startup log compiled by myself. It may be certain that the problem is in galcore which makes many modules and functions unusable.

normal

[   11.601229] galcore: loading out-of-tree module taints kernel.
[   11.631800] Bluetooth: HCI UART protocol Broadcom registered
[  OK  ] Listening on dropbear.socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[   11.750629] Galcore version 6.4.3.279124
[  OK  ] Started Kernel Logging Service.
[  OK  ] Started System Logging Service.
[  OK  ] Started D-Bus System Message Bus.
[   12.037074] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   12.074804] Bluetooth: hci0: BCM: chip id 94
[   12.078493] Bluetooth: hci0: BCM: features 0x2e
[   12.083789] Bluetooth: hci0: BCM43430A1
[   12.086265] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0000
[   12.100257] Bluetooth: hci0: BCM43430A1 'brcm/BCM43430A1.hcd' Patch
[   12.248575] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[  OK  ] Started GENIVI DLT logging daemon.

error

[   11.488579] galcore: disagrees about version of symbol module_layout
[   11.519854] brcmutil: disagrees about version of symbol module_layout
[   11.525627] brcmutil: disagrees about version of symbol module_layout
[   11.572800] typec: disagrees about version of symbol module_layout
[  OK  ] Listening on dropbear.socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Kernel Logging Service.
[  OK  ] Started System Logging Service.
[  OK  ] Started D-Bus System Message Bus.
[   11.984871] soundcore: disagrees about version of symbol module_layout

error

[   11.488579] galcore: disagrees about version of symbol module_layout
[   11.519854] brcmutil: disagrees about version of symbol module_layout
[   11.525627] brcmutil: disagrees about version of symbol module_layout
[   11.572800] typec: disagrees about version of symbol module_layout
[  OK  ] Listening on dropbear.socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Kernel Logging Service.
[  OK  ] Started System Logging Service.
[  OK  ] Started D-Bus System Message Bus.
[   11.984871] soundcore: disagrees about version of symbol module_layout

i could able to to get finaly SGTL5000 onm i2c,

[  31.408194] stm32-dwmac 5800a000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported

[  31.431276] stm32-dwmac 5800a000.ethernet eth0: registered PTP clock

[  31.718851] CPU1 killed.

[  35.598792] stm32-dwmac 5800a000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx

[ 130.569888] sound/soc/stm/stm32_i2s.c stm32_i2s_startup:916

[ 130.569942] sound/soc/generic/audio-graph-card.c asoc_graph_card_startup::75 ret 0

[ 130.569951] sound/soc/generic/audio-graph-card.c asoc_graph_card_startup::80 ret 0

[ 130.573105] sound/soc/generic/audio-graph-card.c asoc_graph_card_hw_params::110 ret 0

[ 130.573120] sound/soc/generic/audio-graph-card.c asoc_graph_card_hw_params::120 ret 4096000 8000 512

[ 130.573131] sound/soc/codecs/sgtl5000.c sgtl5000_set_dai_sysclk::696 ret 0  0

[ 130.573138] sound/soc/generic/audio-graph-card.c asoc_graph_card_hw_params::125 ret 0

[ 130.573146] sound/soc/stm/stm32_i2s.c stm32_i2s_set_sysclk:717

[ 130.573167] st,stm32-i2s 44004000.audio-controller: ****************I2S MCLK frequency is 4096000Hz. mode: master, dir: output

[ 130.573176] sound/soc/stm/stm32_i2s.c stm32_i2s_set_sysclk:723 freq 4096000 dir 1

[ 130.573182] sound/soc/stm/stm32_i2s.c stm32_i2s_set_sysclk:732

[ 130.573193] mclk..get current.....24573875

[ 130.573199] i2s->i2smclk ee9c7d00 --- 4096000

[ 130.573219] st,stm32-i2s 44004000.audio-controller: Divider: 2*3(div)+0(odd) = 6

[ 130.573231] st,stm32-i2s 44004000.audio-controller: Rate not accurate. requested (4096000), actual (4095645)

[ 130.573244] st,stm32-i2s 44004000.audio-controller: Could not set mclk rate

[ 130.573252] sound/soc/generic/audio-graph-card.c asoc_graph_card_hw_params::132 ret -16

[ 130.573259] sound/soc/generic/audio-graph-card.c asoc_graph_card_hw_params::147 ret -16

[ 130.573270] asoc-audio-graph-card sound@0: ASoC: machine hw_params...... failed: -16

[ 130.574670] sound/soc/stm/stm32_i2s.c stm32_i2s_shutdown:1059

[ 271.996087] sound/soc/stm/stm32_i2s.c stm32_i2s_startup:916

[ 271.996142] sound/soc/generic/audio-graph-card.c asoc_graph_card_startup::75 ret 0

[ 271.996151] sound/soc/generic/audio-graph-card.c asoc_graph_card_startup::80 ret 0

following geting on aplay -l

root@mp1som:~# aplay -D hw:0,0 /run/media/sda1/file_example_WAV_1MG.wav

Playing WAVE '/run/media/sda1/file_example_WAV_1MG.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Stereo

aplay: set_params:1403: Unable to install hw params:

ACCESS: RW_INTERLEAVED

FORMAT: S16_LE

SUBFORMAT: STD

SAMPLE_BITS: 16

FRAME_BITS: 32

CHANNELS: 2

RATE: 8000

PERIOD_TIME: 125000

PERIOD_SIZE: 1000

PERIOD_BYTES: 4000

PERIODS: 4

BUFFER_TIME: 500000

BUFFER_SIZE: 4000

BUFFER_BYTES: 16000

TICK_TIME: 0

root@mp1som:~# dmesg | grep i2s

I make a try just now, and now it works.

It's not enough to compile the kernel, you also need to compile the module. And you must follow the steps on the wiki.

But "Time out check load galcore module expired" still exits, which results in the USB network card and screen restart. This is too bad.

0693W00000GZ9DXQA1.pnglog

[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Daily apt download activities.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[   11.595874] stm32-crc32 58009000.crc: Initialized
[   11.647514] galcore: disagrees about version of symbol module_layout
[   11.759060] Bluetooth: HCI UART driver ver 2.3
[   11.762136] Bluetooth: HCI UART protocol H4 registered
[  OK  ] Listening on dropbear.socket.
[   11.805211] Bluetooth: HCI UART protocol Broadcom registered
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Kernel Logging Service.
[  OK  ] Started System Logging Service.
[  OK  ] Started D-Bus System Message Bus.