Tegra X1 custom board kernel issue

Hi all,
I’ve a custom board for tegra X1. And only major things removed on custom board are HDMI and gpio expansion header on I2C.
I’ve compiled kernel using https://github.com/jetsonhacks/buildJetsonTX1Kernel (Thanks to author).

I’ve attached dmesg here https://jpst.it/OHUX

Kernel boots and then oops at
[ 12.039621] WARNING: at drivers/platform/tegra/mc/mc.c:304 tegra_mc_flush+0x1c0/0x230()
[ 12.039625] tegra_mc_flush flush 2 timeout
[ 12.039629] Modules linked in: bcmdhd cfg80211 bluedroid_pm
[ 12.039644] CPU: 1 PID: 654 Comm: Xorg Not tainted 3.10.96-andor #10
[ 12.039649] Call trace:

After 30 - 40 sec (default kernel panic duration) i get ubuntu prompt on serial and after that it works normally. I can ssh too.

I need help figuring out the reason of this oop.

It is likely the delays built into the failsafe upstart script at /etc/init/failsafe.conf

In my case I decreased or removed all the sleeps to skip waiting for plymouth and networking.

Thanks NatorGator, but it didn’t help in my case.

Maybe i didn’t mention clearly before that same kernel boots properly on TX1 dev kit and not on my custom board.

One more question, do i need to program EEPROM (as U11 on dev kit) ?

Here is my kernel config which yields same result on custom board. https://jpst.it/OJfs

Hello,
Sorry that I cannot access the log you pasted. (would you put that in google driver?)
From the script, I noticed that it only copies Image. Have you copied DTB file as well?

br
Chenjian

Hi Chenjian,

can you view now: http://pasted.co/ea5a783c
My google domain restricts sharing outside.

Anyway my kernel is booting up properly now. Only issue was JTAG_TRST_N pin 0ohm resistor with 1V8. Forgot to remove that for normal operation.

Please check log if you can, and tell me if you see other issues.

About DTB, yes i edited script to copy new DTB in /boot

Thanks

Hello, ss_
Glad to hear that your system is up.

I can see the log you pasted in pasted.co
But it still shows a warning message
[ 12.039594] ------------[ cut here ]------------
[ 12.039621] WARNING: at drivers/platform/tegra/mc/mc.c:304 tegra_mc_flush+0x1c0/0x230()
[ 12.039625] tegra_mc_flush flush 2 timeout
[ 12.039629] Modules linked in: bcmdhd cfg80211 bluedroid_pm
[ 12.039644] CPU: 1 PID: 654 Comm: Xorg Not tainted 3.10.96-andor #10
[ 12.039649] Call trace:
[ 12.039659] [] dump_backtrace+0x0/0xf4
[ 12.039664] [] show_stack+0x14/0x1c

It’s better to figure out why this happens.

br
Chenjian