I have a problem with jetson nano’s Sdmmc interface. About development environment:
- I use Jetson Nano Production Module(P3448 rev.B01)
- Baseboard is own production. (We use Emmc for Jetpack Image, Sdmmc Interface for extra storage).
- JetPack 4.3 with kernel 4.9.
- I tried different brands and models of sd cards.
The problem is when I try to write big chunks of data to sd card(with UI or dd command) the kernel hung and reset the board with the error below. Smaller data writes (less than 120 seconds) gives no error.
[ 242.842083] INFO: task kworker/1:2:1576 blocked for more than 120 seconds.
[ 242.849437] Not tainted 4.9.140-tegra #1
[ 242.854052] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 242.862291] Kernel panic - not syncing: hung_task: blocked tasks
[ 242.868290] CPU: 3 PID: 587 Comm: khungtaskd Not tainted 4.9.140-tegra #1
[ 242.875072] Hardware name: NVIDIA Jetson Nano Developer Kit (DT)
[ 242.881078] Call trace:
[ 242.883539]  dump_backtrace+0x0/0x198
[ 242.888963]  show_stack+0x24/0x30
[ 242.894046]  dump_stack+0x98/0xc0
[ 242.899107]  panic+0x11c/0x298
[ 242.903894]  watchdog+0x300/0x3b8
[ 242.908963]  kthread+0xec/0xf0
[ 242.913784]  ret_from_fork+0x10/0x40
[ 242.919105] SMP: stopping secondary CPUs
[ 242.923082] Kernel Offset: disabled
[ 242.926565] Memory Limit: none
[ 242.939129] Rebooting in 5 seconds…
I attached dmesg output and dts file below. Also we produce dtsi file based on these nvidia topics.(Latest dts which I attached could not include all patches below but I tried all of them with different combinations.)
Could you please help me with this issue.