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.

66AK2G12: Rootfs Crashing

Part Number: 66AK2G12

HI,

I've customize my rootfs using yocto with the help of training series of TI.  I've booted my board using this customised images. 

Now im running dsp application by loading using mpmcl command.

But as soon as i start running application using "mpmcl run dsp0" within 2-3 min my entire system getting crashed and i'm getting the error log as follows.

please help me to reslove this.

[ 254.591343] UBIFS error (ubi0:0 pid 310): ubifs_read_node: bad node type (221 but expected 1)
[ 254.616922] UBIFS error (ubi0:0 pid 310): ubifs_read_node: bad node at LEB 10 2:157080, LEB mapping status 1
[ 254.648268] Not a node, first 24 bytes:
[ 254.648277] 00000000: dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd d d dd dd dd dd dd ........................
[ 254.699530] CPU: 0 PID: 310 Comm: sshd Tainted: G O 4.19.94-gb e5389fd85 #1
[ 254.723987] Hardware name: Keystone
[ 254.734399] Backtrace:
[ 254.741705] [<c020ca30>] (dump_backtrace) from [<c020cd68>] (show_stack+0x18/ 0x1c)
[ 254.764342] r7:00000066 r6:600f0013 r5:00000000 r4:c1243e9c
[ 254.781261] [<c020cd50>] (show_stack) from [<c09ea340>] (dump_stack+0x9c/0xb0 )
[ 254.802863] [<c09ea2a4>] (dump_stack) from [<c0492164>] (ubifs_read_node+0x24 c/0x250)
[ 254.826277] r7:00000066 r6:ffffffea r5:00026598 r4:cfd9c000
[ 254.843200] [<c0491f18>] (ubifs_read_node) from [<c04adcbc>] (ubifs_tnc_read_ node+0xd0/0xd4)
[ 254.868436] r10:00000018 r9:00000000 r8:cfd9c0cc r7:cfd9c000 r6:ed102000 r5: 00000001
[ 254.891848] r4:cfdb8980
[ 254.899407] [<c04adbec>] (ubifs_tnc_read_node) from [<c0495260>] (ubifs_tnc_l ocate.part.2+0xc8/0x1e8)
[ 254.926982] r7:ed279ce0 r6:00000001 r5:c1204c48 r4:cfd9c000
[ 254.943902] [<c0495198>] (ubifs_tnc_locate.part.2) from [<c049539c>] (ubifs_t nc_locate+0x1c/0x24)
[ 254.970437] r10:00000014 r9:00000a7e r8:ed102000 r7:c1204c48 r6:eff3c50c r5: 00021d0c
[ 254.993848] r4:ee601000
[ 255.001406] [<c0495380>] (ubifs_tnc_locate) from [<c0487aec>] (do_readpage+0x 10c/0x3cc)
[ 255.025342] [<c04879e0>] (do_readpage) from [<c0488d58>] (ubifs_readpage+0x54 /0x518)
[ 255.048498] r10:ee601000 r9:00000013 r8:00000014 r7:00000000 r6:cfd9c000 r5: eff3c50c
[ 255.071910] r4:c1204c48
[ 255.079472] [<c0488d04>] (ubifs_readpage) from [<c02e1908>] (filemap_fault+0x 39c/0x6a8)
[ 255.103408] r10:00080001 r9:ed6ce300 r8:00000014 r7:00000000 r6:ee6010fc r5: 006200ca
[ 255.126821] r4:eff3c50c
[ 255.134379] [<c02e156c>] (filemap_fault) from [<c030f010>] (__do_fault+0x54/0 x150)
[ 255.157014] r10:c02df94c r9:b6f41000 r8:ed279e30 r7:00000d73 r6:ed24a138 r5: ed279e30
[ 255.180425] r4:c1204c48
[ 255.187983] [<c030efbc>] (__do_fault) from [<c031452c>] (handle_mm_fault+0x8b 4/0xde8)
[ 255.211397] r7:00000d73 r6:0000001f r5:00000040 r4:c1204c48
[ 255.228314] [<c0313c78>] (handle_mm_fault) from [<c0214dd4>] (do_page_fault+0 x124/0x33c)
[ 255.252509] r10:cfe4b83c r9:ed24a138 r8:80000207 r7:b6f41164 r6:cfe4b800 r5: ed032f40
[ 255.275920] r4:ed279fb0
[ 255.283476] [<c0214cb0>] (do_page_fault) from [<c021529c>] (do_PrefetchAbort+ 0x48/0xc4)
[ 255.307412] r10:00000004 r9:00000003 r8:ed279fb0 r7:b6f41164 r6:c1209cdc r5: 00000207
[ 255.330824] r4:c1204c48
[ 255.338380] [<c0215254>] (do_PrefetchAbort) from [<c0201f60>] (ret_from_excep tion+0x0/0x20)
[ 255.363353] Exception stack(0xed279fb0 to 0xed279ff8)
[ 255.378448] 9fa0: 00595428 00000000 00000 136 00000001
[ 255.402903] 9fc0: b6f5e524 b6f5e060 00595428 00000001 0057bc24 00000003 00000 004 0059a578
[ 255.427356] 9fe0: bed861c0 bed86120 b6f422f8 b6f41164 20070010 ffffffff
[ 255.447131] r9:00000003 r8:30c5387d r7:30c5387d r6:ffffffff r5:20070010 r4:b 6f41164
[ 255.482911] UBIFS error (ubi0:0 pid 310): do_readpage: cannot read page 20 of inode 2686, error -22
[ 255.517636] UBIFS error (ubi0:0 pid 310): ubifs_read_node: bad node type (221 but expected 1)
[ 255.544445] UBIFS error (ubi0:0 pid 310): ubifs_read_node: bad node at LEB 10 2:157080, LEB mapping status 1
[ 255.574389] Not a node, first 24 bytes:
[ 255.574397] 00000000: dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd d d dd dd dd dd dd ........................
[ 255.625540] CPU: 0 PID: 310 Comm: sshd Tainted: G O 4.19.94-gb e5389fd85 #1
[ 255.649997] Hardware name: Keystone
[ 255.660411] Backtrace:
[ 255.667717] [<c020ca30>] (dump_backtrace) from [<c020cd68>] (show_stack+0x18/ 0x1c)
[ 255.690353] r7:00000066 r6:600f0013 r5:00000000 r4:c1243e9c
[ 255.707272] [<c020cd50>] (show_stack) from [<c09ea340>] (dump_stack+0x9c/0xb0 )
[ 255.728871] [<c09ea2a4>] (dump_stack) from [<c0492164>] (ubifs_read_node+0x24 c/0x250)
[ 255.752287] r7:00000066 r6:ffffffea r5:00026598 r4:cfd9c000
[ 255.769210] [<c0491f18>] (ubifs_read_node) from [<c04adcbc>] (ubifs_tnc_read_ node+0xd0/0xd4)
[ 255.794445] r10:00000018 r9:00000000 r8:cfd9c0cc r7:cfd9c000 r6:ed102000 r5: 00000001
[ 255.817859] r4:cfdb8980
[ 255.825419] [<c04adbec>] (ubifs_tnc_read_node) from [<c0495260>] (ubifs_tnc_l ocate.part.2+0xc8/0x1e8)
[ 255.852993] r7:ed279ce0 r6:00000001 r5:c1204c48 r4:cfd9c000
[ 255.869913] [<c0495198>] (ubifs_tnc_locate.part.2) from [<c049539c>] (ubifs_t nc_locate+0x1c/0x24)
[ 255.896448] r10:00000014 r9:00000a7e r8:ed102000 r7:c1204c48 r6:eff3c50c r5: 00021d0c
[ 255.919859] r4:ee601000
[ 255.927418] [<c0495380>] (ubifs_tnc_locate) from [<c0487aec>] (do_readpage+0x 10c/0x3cc)
[ 255.951356] [<c04879e0>] (do_readpage) from [<c0488d58>] (ubifs_readpage+0x54 /0x518)
[ 255.974512] r10:ee601000 r9:00000014 r8:00000014 r7:00000000 r6:cfd9c000 r5: eff3c50c
[ 255.997924] r4:c1204c48
[ 256.005484] [<c0488d04>] (ubifs_readpage) from [<c02e16d8>] (filemap_fault+0x 16c/0x6a8)
[ 256.029419] r10:00080001 r9:ed6ce300 r8:00000014 r7:00000000 r6:ee6010fc r5: ee601000
[ 256.052831] r4:eff3c50c
[ 256.060390] [<c02e156c>] (filemap_fault) from [<c030f010>] (__do_fault+0x54/0 x150)
[ 256.083025] r10:c02df94c r9:b6f41000 r8:ed279e30 r7:00000d73 r6:ed24a138 r5: ed279e30
[ 256.106436] r4:c1204c48
[ 256.113994] [<c030efbc>] (__do_fault) from [<c031452c>] (handle_mm_fault+0x8b 4/0xde8)
[ 256.137409] r7:00000d73 r6:0000001f r5:00000040 r4:c1204c48
[ 256.154326] [<c0313c78>] (handle_mm_fault) from [<c0214dd4>] (do_page_fault+0 x124/0x33c)
[ 256.178520] r10:cfe4b83c r9:ed24a138 r8:80000207 r7:b6f41164 r6:cfe4b800 r5: ed032f40
[ 256.201932] r4:ed279fb0
[ 256.209488] [<c0214cb0>] (do_page_fault) from [<c021529c>] (do_PrefetchAbort+ 0x48/0xc4)
[ 256.233422] r10:00000004 r9:00000003 r8:ed279fb0 r7:b6f41164 r6:c1209cdc r5: 00000207
[ 256.256833] r4:c1204c48
[ 256.264390] [<c0215254>] (do_PrefetchAbort) from [<c0201f60>] (ret_from_excep tion+0x0/0x20)
[ 256.289362] Exception stack(0xed279fb0 to 0xed279ff8)
[ 256.304457] 9fa0: 00595428 00000000 00000 136 00000001
[ 256.328911] 9fc0: b6f5e524 b6f5e060 00595428 00000001 0057bc24 00000003 00000 004 0059a578
[ 256.353364] 9fe0: bed861c0 bed86120 b6f422f8 b6f41164 20070010 ffffffff
[ 256.373139] r9:00000003 r8:30c5387d r7:30c5387d r6:ffffffff r5:20070010 r4:b 6f41164
[ 256.401552] UBIFS error (ubi0:0 pid 310): do_readpage: cannot read page 20 of inode 2686, error -22
[ 256.442408] UBIFS error (ubi0:0 pid 970): ubifs_read_node: bad node type (221 but expected 9)
[ 256.469272] UBIFS error (ubi0:0 pid 970): ubifs_read_node: bad node at LEB 13 0:119424, LEB mapping status 1
[ 256.499262] Not a node, first 24 bytes:
[ 256.499269] 00000000: dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd d d dd dd dd dd dd ........................
[ 256.550408] CPU: 0 PID: 970 Comm: kworker/u2:0 Tainted: G O 4. 19.94-gbe5389fd85 #1
[ 256.576946] Hardware name: Keystone
[ 256.587359] Backtrace:
[ 256.594665] [<c020ca30>] (dump_backtrace) from [<c020cd68>] (show_stack+0x18/ 0x1c)
[ 256.617303] r7:00000082 r6:600f0013 r5:00000000 r4:c1243e9c
[ 256.634223] [<c020cd50>] (show_stack) from [<c09ea340>] (dump_stack+0x9c/0xb0 )
[ 256.655822] [<c09ea2a4>] (dump_stack) from [<c0492164>] (ubifs_read_node+0x24 c/0x250)
[ 256.679238] r7:00000082 r6:ffffffea r5:0001d280 r4:cfd9c000
[ 256.696160] [<c0491f18>] (ubifs_read_node) from [<c04ad878>] (ubifs_load_znod e+0x94/0x408)
[ 256.720876] r10:0001d280 r9:00000082 r8:cfda4c68 r7:ed121cc0 r6:000000bc r5: ed2d2200
[ 256.744289] r4:cfd9c000
[ 256.751848] [<c04ad7e4>] (ubifs_load_znode) from [<c0495060>] (ubifs_lookup_l evel0+0xc8/0x200)
[ 256.777605] r10:c1204c48 r9:00000000 r8:ed27ddc0 r7:00000000 r6:00000100 r5: cfd9c000
[ 256.801017] r4:ed27dcf8
[ 256.808577] [<c0494f98>] (ubifs_lookup_level0) from [<c04951f8>] (ubifs_tnc_l ocate.part.2+0x60/0x1e8)
[ 256.836154] r10:00000018 r9:00000000 r8:cfd9c0cc r7:ed27ddc0 r6:00000000 r5: c1204c48
[ 256.859565] r4:cfd9c000
[ 256.867124] [<c0495198>] (ubifs_tnc_locate.part.2) from [<c0495b14>] (ubifs_t nc_lookup_nm+0x40/0x140)
[ 256.894701] r10:ed27ddc0 r9:00000944 r8:cfe26200 r7:ed27dda4 r6:cfd9c000 r5: 70888ae6
[ 256.918113] r4:c1204c48
[ 256.925673] [<c0495ad4>] (ubifs_tnc_lookup_nm) from [<c04b3db0>] (ubifs_xattr _get+0xc4/0x210)
[ 256.951168] r10:ed27de54 r9:00000944 r8:ee65eb40 r7:cfe26200 r6:cfd9c000 r5: 70888ae6
[ 256.974579] r4:c1204c48
[ 256.982139] [<c04b3cec>] (ubifs_xattr_get) from [<c04b3f24>] (xattr_get+0x28/ 0x2c)
[ 257.004775] r10:cfdf69b0 r9:c1204c48 r8:c120c578 r7:ed27de54 r6:edbf6110 r5: c04b3efc
[ 257.028187] r4:ee65eb40
[ 257.035748] [<c04b3efc>] (xattr_get) from [<c036c7ac>] (__vfs_getxattr+0x60/0 x70)
[ 257.058122] r5:c04b3efc r4:ee65eb40
[ 257.068802] [<c036c74c>] (__vfs_getxattr) from [<c04dff60>] (get_vfs_caps_fro m_disk+0x6c/0x180)
[ 257.094817] r7:ed2d2100 r6:c1204c48 r5:ed27dea8 r4:cfdf6980
[ 257.111733] [<c04dfef4>] (get_vfs_caps_from_disk) from [<c04e0210>] (cap_bprm _set_creds+0x19c/0x540)
[ 257.139048] r8:c0c01c8c r7:ed2d2100 r6:00000001 r5:cfdf6200 r4:cfdf6980
[ 257.159086] [<c04e0074>] (cap_bprm_set_creds) from [<c034bd28>] (prepare_binp rm+0x138/0x18c)
[ 257.184322] r10:00000001 r9:00000000 r8:ed2a4d04 r7:00000000 r6:ee65eb40 r5: c1204c48
[ 257.207733] r4:ed2d2100
[ 257.215290] [<c034bbf0>] (prepare_binprm) from [<c034cfa0>] (__do_execve_file +0x478/0x738)
[ 257.240005] r8:ed2a4d04 r7:00000000 r6:ed2d2100 r5:ed452000 r4:c1204c48
[ 257.260041] [<c034cb28>] (__do_execve_file) from [<c034d2c8>] (do_execve+0x30 /0x38)
[ 257.282935] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5: ed2a4d40
[ 257.306346] r4:cfdf6200
[ 257.313905] [<c034d298>] (do_execve) from [<c0235134>] (call_usermodehelper_e xec_async+0x198/0x1c8)
[ 257.340963] [<c0234f9c>] (call_usermodehelper_exec_async) from [<c02010d8>] ( ret_from_fork+0x14/0x3c)
[ 257.368536] Exception stack(0xed27dfb0 to 0xed27dff8)
[ 257.383631] dfa0: 00000000 00000000 00000 000 00000000
[ 257.408085] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000 000 00000000
[ 257.432538] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 257.452311] r7:00000000 r6:00000000 r5:c0234f9c r4:ed2a4d40
[ 257.481575] Invalid argument reading file caps for /lib/systemd/systemd-cored ump
[ 257.513270] Core dump to |/lib/systemd/systemd-coredump 310 0 0 7 1638956255 4294967295 k2g-evm sshd pipe failed
[ 261.915946] UBIFS error (ubi0:0 pid 308): ubifs_read_node: bad node type (221 but expected 1)
[ 261.941654] UBIFS error (ubi0:0 pid 308): ubifs_read_node: bad node at LEB 10 2:157080, LEB mapping status 1
[ 261.972704] Not a node, first 24 bytes:
[ 261.972712] 00000000: dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd d d dd dd dd dd dd ........................
[ 262.023961] CPU: 0 PID: 308 Comm: sshd Tainted: G O 4.19.94-gb e5389fd85 #1
[ 262.048418] Hardware name: Keystone
[ 262.058831] Backtrace:
[ 262.066136] [<c020ca30>] (dump_backtrace) from [<c020cd68>] (show_stack+0x18/ 0x1c)
[ 262.088773] r7:00000066 r6:600f0013 r5:00000000 r4:c1243e9c
[ 262.105693] [<c020cd50>] (show_stack) from [<c09ea340>] (dump_stack+0x9c/0xb0 )
[ 262.127293] [<c09ea2a4>] (dump_stack) from [<c0492164>] (ubifs_read_node+0x24 c/0x250)
[ 262.150710] r7:00000066 r6:ffffffea r5:00026598 r4:cfd9c000
[ 262.167630] [<c0491f18>] (ubifs_read_node) from [<c04adcbc>] (ubifs_tnc_read_ node+0xd0/0xd4)
[ 262.192867] r10:00000018 r9:00000000 r8:cfd9c0cc r7:cfd9c000 r6:ed102000 r5: 00000001
[ 262.216280] r4:cfdb8980
[ 262.223841] [<c04adbec>] (ubifs_tnc_read_node) from [<c0495260>] (ubifs_tnc_l ocate.part.2+0xc8/0x1e8)
[ 262.251417] r7:ed249ce0 r6:00000001 r5:c1204c48 r4:cfd9c000
[ 262.268336] [<c0495198>] (ubifs_tnc_locate.part.2) from [<c049539c>] (ubifs_t nc_locate+0x1c/0x24)
[ 262.294871] r10:00000014 r9:00000a7e r8:ed102000 r7:c1204c48 r6:eff3c50c r5: 00021d0c
[ 262.318282] r4:ee601000
[ 262.325841] [<c0495380>] (ubifs_tnc_locate) from [<c0487aec>] (do_readpage+0x 10c/0x3cc)
[ 262.349779] [<c04879e0>] (do_readpage) from [<c0488d58>] (ubifs_readpage+0x54 /0x518)
[ 262.372934] r10:ee601000 r9:00000014 r8:00000014 r7:ed208368 r6:cfd9c000 r5: eff3c50c
[ 262.396346] r4:c1204c48
[ 262.403907] [<c0488d04>] (ubifs_readpage) from [<c02e16d8>] (filemap_fault+0x 16c/0x6a8)
[ 262.427844] r10:c02df94c r9:ed208300 r8:00000014 r7:ed208368 r6:80000022 r5: ee601000
[ 262.451256] r4:eff3c50c
[ 262.458815] [<c02e156c>] (filemap_fault) from [<c030f010>] (__do_fault+0x54/0 x150)
[ 262.481450] r10:c02df94c r9:b6f6b000 r8:ed249e30 r7:00000d73 r6:ed238138 r5: ed249e30
[ 262.504862] r4:c1204c48
[ 262.512418] [<c030efbc>] (__do_fault) from [<c031452c>] (handle_mm_fault+0x8b 4/0xde8)
[ 262.535834] r7:00000d73 r6:00000018 r5:00000040 r4:c1204c48
[ 262.552751] [<c0313c78>] (handle_mm_fault) from [<c0214dd4>] (do_page_fault+0 x124/0x33c)
[ 262.576946] r10:cfe4b43c r9:ed238138 r8:80000207 r7:b6f6b164 r6:cfe4b400 r5: ed033600
[ 262.600358] r4:ed249fb0
[ 262.607914] [<c0214cb0>] (do_page_fault) from [<c021529c>] (do_PrefetchAbort+ 0x48/0xc4)
[ 262.631850] r10:00000004 r9:00000003 r8:ed249fb0 r7:b6f6b164 r6:c1209cdc r5: 00000207
[ 262.655262] r4:c1204c48
[ 262.662819] [<c0215254>] (do_PrefetchAbort) from [<c0201f60>] (ret_from_excep tion+0x0/0x20)
[ 262.687792] Exception stack(0xed249fb0 to 0xed249ff8)
[ 262.702887] 9fa0: 004acdf8 00000000 00000 134 00000001
[ 262.727342] 9fc0: b6f88524 b6f88060 004acdf8 00000001 00493c24 00000003 00000 004 004b0f18
[ 262.751795] 9fe0: be9221c0 be922120 b6f6c2f8 b6f6b164 20070010 ffffffff
[ 262.771570] r9:00000003 r8:30c5387d r7:30c5387d r6:ffffffff r5:20070010 r4:b 6f6b164
[ 262.801621] UBIFS error (ubi0:0 pid 308): do_readpage: cannot read page 20 of inode 2686, error -22
[ 262.840427] UBIFS error (ubi0:0 pid 972): ubifs_read_node: bad node type (221 but expected 9)
[ 262.866994] UBIFS error (ubi0:0 pid 972): ubifs_read_node: bad node at LEB 13 0:119424, LEB mapping status 1
[ 262.897078] Not a node, first 24 bytes:
[ 262.897085] 00000000: dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd d d dd dd dd dd dd ........................
[ 262.948213] CPU: 0 PID: 972 Comm: kworker/u2:0 Tainted: G O 4. 19.94-gbe5389fd85 #1
[ 262.974751] Hardware name: Keystone
[ 262.985164] Backtrace:
[ 262.992470] [<c020ca30>] (dump_backtrace) from [<c020cd68>] (show_stack+0x18/ 0x1c)
[ 263.015108] r7:00000082 r6:600f0013 r5:00000000 r4:c1243e9c
[ 263.032026] [<c020cd50>] (show_stack) from [<c09ea340>] (dump_stack+0x9c/0xb0 )
[ 263.053627] [<c09ea2a4>] (dump_stack) from [<c0492164>] (ubifs_read_node+0x24 c/0x250)
[ 263.077042] r7:00000082 r6:ffffffea r5:0001d280 r4:cfd9c000
[ 263.093963] [<c0491f18>] (ubifs_read_node) from [<c04ad878>] (ubifs_load_znod e+0x94/0x408)
[ 263.118680] r10:0001d280 r9:00000082 r8:cfda4c68 r7:ed121d80 r6:000000bc r5: ed2d2300
[ 263.142093] r4:cfd9c000
[ 263.149652] [<c04ad7e4>] (ubifs_load_znode) from [<c0495060>] (ubifs_lookup_l evel0+0xc8/0x200)
[ 263.175409] r10:c1204c48 r9:00000000 r8:ed2addc0 r7:00000000 r6:00000106 r5: cfd9c000
[ 263.198821] r4:ed2adcf8
[ 263.206380] [<c0494f98>] (ubifs_lookup_level0) from [<c04951f8>] (ubifs_tnc_l ocate.part.2+0x60/0x1e8)
[ 263.233955] r10:00000018 r9:00000000 r8:cfd9c0cc r7:ed2addc0 r6:00000000 r5: c1204c48
[ 263.257366] r4:cfd9c000
[ 263.264925] [<c0495198>] (ubifs_tnc_locate.part.2) from [<c0495b14>] (ubifs_t nc_lookup_nm+0x40/0x140)
[ 263.292501] r10:ed2addc0 r9:00000944 r8:cfe26000 r7:ed2adda4 r6:cfd9c000 r5: 70888ae6
[ 263.315912] r4:c1204c48
[ 263.323471] [<c0495ad4>] (ubifs_tnc_lookup_nm) from [<c04b3db0>] (ubifs_xattr _get+0xc4/0x210)
[ 263.348966] r10:ed2ade54 r9:00000944 r8:ee65eb40 r7:cfe26000 r6:cfd9c000 r5: 70888ae6
[ 263.372378] r4:c1204c48
[ 263.379935] [<c04b3cec>] (ubifs_xattr_get) from [<c04b3f24>] (xattr_get+0x28/ 0x2c)
[ 263.402570] r10:cfdf69b0 r9:c1204c48 r8:c120c578 r7:ed2ade54 r6:edbf6110 r5: c04b3efc
[ 263.425980] r4:ee65eb40
[ 263.433542] [<c04b3efc>] (xattr_get) from [<c036c7ac>] (__vfs_getxattr+0x60/0 x70)
[ 263.455915] r5:c04b3efc r4:ee65eb40
[ 263.466595] [<c036c74c>] (__vfs_getxattr) from [<c04dff60>] (get_vfs_caps_fro m_disk+0x6c/0x180)
[ 263.492609] r7:ed2d2200 r6:c1204c48 r5:ed2adea8 r4:cfdf6980
[ 263.509526] [<c04dfef4>] (get_vfs_caps_from_disk) from [<c04e0210>] (cap_bprm _set_creds+0x19c/0x540)
[ 263.536839] r8:c0c01c8c r7:ed2d2200 r6:00000001 r5:cfdf6200 r4:cfdf6980
[ 263.556878] [<c04e0074>] (cap_bprm_set_creds) from [<c034bd28>] (prepare_binp rm+0x138/0x18c)
[ 263.582113] r10:00000001 r9:00000000 r8:ed2a4e84 r7:00000000 r6:ee65eb40 r5: c1204c48
[ 263.605524] r4:ed2d2200
[ 263.613081] [<c034bbf0>] (prepare_binprm) from [<c034cfa0>] (__do_execve_file +0x478/0x738)
[ 263.637796] r8:ed2a4e84 r7:00000000 r6:ed2d2200 r5:ed452000 r4:c1204c48
[ 263.657833] [<c034cb28>] (__do_execve_file) from [<c034d2c8>] (do_execve+0x30 /0x38)
[ 263.680728] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5: ed2a4c40
[ 263.704139] r4:cfdf6200
[ 263.711697] [<c034d298>] (do_execve) from [<c0235134>] (call_usermodehelper_e xec_async+0x198/0x1c8)
[ 263.738755] [<c0234f9c>] (call_usermodehelper_exec_async) from [<c02010d8>] ( ret_from_fork+0x14/0x3c)
[ 263.766330] Exception stack(0xed2adfb0 to 0xed2adff8)
[ 263.781422] dfa0: 00000000 00000000 00000 000 00000000
[ 263.805877] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000 000 00000000
[ 263.830329] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 263.850105] r7:00000000 r6:00000000 r5:c0234f9c r4:ed2a4c40
[ 263.871558] Invalid argument reading file caps for /lib/systemd/systemd-cored ump
[ 263.911028] Core dump to |/lib/systemd/systemd-coredump 308 0 0 7 1638956261 4294967295 k2g-evm sshd pipe failed

  • Hi,

    Do you use TI Processor SDK for K2G? If so, which version?

  • Hi Bin,

    i'm using customized one. I've customized with the help of this training series.

    https://training.ti.com/customizing-yocto-based-linux-distribution-production

    Regards

    Asif

  • Hi Asif,

    To figure out what causes the crash, can you please try a few tests?

    - Can you please use the K2G Processor SDK for Linux release v6.3 on ti.com to see if the crash also happens?

    - Does you platform have any other interface other than NAND to boot from? I'd like to see if the crash still happens if NAND is not used.

  • HI Bin,

    I've tested as suggested,

    1) With the K2G Processor SDK for Linux release v6.3 also it Crashes.

    2)I'm not using NAND btw, I'm using NOR. Apart from NOR  I've tried  booting  from  SD card. Still crashes.

    Things to note here is. 

    My dsp application is simple uart printing. Even after my OS crashes the dsp application is still running as it is keep printing on serial console.

    root@k2g-evm:~# mpmcl reset dsp0
    reset succeeded
    root@k2g-evm:~# mpmcl load dsp0 C66_A15.out
    load succeeded
    root@k2g-evm:~# mpmcl run dsp0

    After mpmcl run dsp0, dsp application is starting running and printing at serial console and at the same time OS crashes and it getting disconnected from SSH. 

    Regards

    Asif

  • Hi Asif,

    Can you please attach here the Linux crash log while booting from SD card?

    Can you please try to modify your DSP application to not use UART module at all to see if Linux still crashes?

  • Hi Bin,

    I'm attaching The linux crash log while booting from SD card.

    I've modified my dsp application and I've  observed that it's crashing when the gpio_init() is included. Upto board_init(); it is working fine.

    Refer the application below, if i'm including anything from commented part it creates same problem of crashing. 

    int main(void)
    {

    confg = BOARD_INIT_PLL | BOARD_INIT_MODULE_CLOCK | BOARD_INIT_UNLOCK_MMR | BOARD_INIT_PINMUX_CONFIG ; //| BOARD_INIT_UART_STDIO ;
    Board_init(confg);

    /*
    GPIO_Init();
    UARTInit();

    UARTConfigPutc(uartBaseAddr, 'A');

    return 0;

    */


    }

    If i say more specific so the OS is not completely crashed but it's loses it's ip address and it loses it ssh connection (The SD card is remounting but in Read Only mode as you can see in the error log attached below). but at the same type dsp application is running. 

    I've tried to monitor the OS from both SSH and Serial console. As it loses it ip it disconnected from SSH but OS is still running at Serial console and 

    When i'm pinging the same ip address from Serial console it gives me error as below. (Remounting SD CARD in Read Only Mode After DSP application starts running)

    root@k2g-evm:~# ping 172.24.36.2
    [ 1039.449174] sdhci-omap 23000000.mmc: error -110 requesting status
    [ 1039.455305] mmcblk0: recovery failed!
    [ 1039.458968] print_req_error: I/O error, dev mmcblk0, sector 56721975
    [ 1039.473385] sdhci-omap 23000000.mmc: error -110 requesting status
    [ 1039.479471] mmcblk0: recovery failed!
    [ 1039.484449] print_req_error: I/O error, dev mmcblk0, sector 56721975
    -sh: /bin/ping: Input/output error

    I'm also attaching gpio_init(); function.

    Regards

    Asif 

    [  171.362031] sdhci-omap 23000000.mmc: error -110 requesting status
    [  171.400230] mmc0: tried to HW reset card, got error -110
    [  171.405589] mmcblk0: recovery failed!
    [  171.409252] print_req_error: I/O error, dev mmcblk0, sector 22919
    [  171.415429] Aborting journal on device mmcblk0p2-8.
    [  171.426485] sdhci-omap 23000000.mmc: error -110 requesting status
    [  171.432615] mmcblk0: recovery failed!
    [  171.436276] print_req_error: I/O error, dev mmcblk0, sector 16951
    [  171.442400] Buffer I/O error on dev mmcblk0p2, logical block 1545, lost sync page write
    [  171.453087] JBD2: Error -5 detected when updating journal superblock for mmcblk0p2-8.
    [  184.727606] sdhci-omap 23000000.mmc: error -110 requesting status
    [  184.733720] mmcblk0: recovery failed!
    [  184.737381] print_req_error: I/O error, dev mmcblk0, sector 4591
    [  184.743417] Buffer I/O error on dev mmcblk0p2, logical block 0, lost sync page write
    [  184.753033] EXT4-fs (mmcblk0p2): I/O error while writing superblock
    [  184.759297] EXT4-fs error (device mmcblk0p2): ext4_journal_check_start:61: Detected aborted journal
    2020 Apr 19 02:42:36 k2g-evm [  [  184.771988] EXT4-fs (mmcblk0p2): Remounting filesystem read-only
    184.759297] EXT4-fs error (device mmcblk0p2): ext4_journal_check_start:61: Detec[  184.784569] sdhci-omap 23000000.mmc: error -110 requesting status
    ted aborted jour[  184.791299] mmcblk0: recovery failed!
    nal
    2020 Apr 19[  184.796429] print_req_error: I/O error, dev mmcblk0, sector 4591
     02:42:36 k2g-ev[  184.803781] Buffer I/O error on dev mmcblk0p2, logical block 0, lost sync page write
    m [  184.771988] EXT4-fs (mmcblk0p2): Remounting[  184.815611] EXT4-fs (mmcblk0p2): I/O error while writing superblock
     filesystem read[  184.824370] EXT4-fs (mmcblk0p2): ext4_writepages: jbd2_start: 4096 pages, ino 1102804; err -30
    -only
    2020 Apr 19 02:42:36 k2g-evm [  184.824370] EXT4-fs (mmcblk0p2): ext4_writepages: jbd2_start: 4096 pages, ino 1102804; err -30
    2020 Apr 19 02:42:36 k2g-evm EXT4-fs error (device mmcblk0p2): ext4_journal_check_start:61: Detected aborted journal
    2020 Apr 19 02:42:36 k2g-evm EXT4-fs (mmcblk0p2): Remounting filesystem read-only
    2020 Apr 19 02:42:36 k2g-evm EXT4-fs error (device mmcblk0p2): ext4_journal_check_start:61: Detected aborted journal
    2020 Apr 19 02:42:36 k2g-evm EXT4-fs (mmcblk0p2): Remounting filesystem read-only
    2020 Apr 19 02:42:36 k2g-evm EXT4-fs (mmcblk0p2): ext4_writepages: jbd2_start: 4096 pages, ino 1102804; err -30
    2020 Apr 19 02:42:36 k2g-evm EXT4-fs (mmcblk0p2): ext4_writepages: jbd2_start: 4096 pages, ino 1102804; err -30
    [  189.847762] sdhci-omap 23000000.mmc: error -110 requesting status
    [  189.853874] mmcblk0: recovery failed!
    [  189.857541] print_req_error: I/O error, dev mmcblk0, sector 33034751
    [  189.863936] Buffer I/O error on dev mmcblk0p2, logical block 4128770, lost async page write
    [  189.880028] sdhci-omap 23000000.mmc: error -110 requesting status
    [  189.886196] mmcblk0: recovery failed!
    [  189.889889] print_req_error: I/O error, dev mmcblk0, sector 34607871
    [  189.896283] Buffer I/O error on dev mmcblk0p2, logical block 4325410, lost async page write
    [  189.910541] sdhci-omap 23000000.mmc: error -110 requesting status
    [  189.916828] mmcblk0: recovery failed!
    [  189.920522] print_req_error: I/O error, dev mmcblk0, sector 34607911
    [  189.926935] Buffer I/O error on dev mmcblk0p2, logical block 4325415, lost async page write
    [  189.941603] sdhci-omap 23000000.mmc: error -110 requesting status
    [  189.947691] mmcblk0: recovery failed!
    [  189.951382] print_req_error: I/O error, dev mmcblk0, sector 35134439
    [  189.957785] Buffer I/O error on dev mmcblk0p2, logical block 4391231, lost async page write
    [  189.972125] sdhci-omap 23000000.mmc: error -110 requesting status
    [  189.978213] mmcblk0: recovery failed!
    [  189.982395] print_req_error: I/O error, dev mmcblk0, sector 35394047
    [  189.988744] Buffer I/O error on dev mmcblk0p2, logical block 4423682, lost async page write
    

    
    void GPIO_Init()
    {
        kickUnlock();
        //configure pull-ups/pulldowns'
        bootcfgregs->PADCONFIG0 = 0; //GPMC_AD0
        bootcfgregs->PADCONFIG1 = 0; //GPMC_AD1
        bootcfgregs->PADCONFIG2 = 0;
        bootcfgregs->PADCONFIG3 = 0;
        bootcfgregs->PADCONFIG4 = 0;
        bootcfgregs->PADCONFIG5 = 0;
        bootcfgregs->PADCONFIG6 = 0;
        bootcfgregs->PADCONFIG7 = 0;
        bootcfgregs->PADCONFIG8 = 0;
        bootcfgregs->PADCONFIG9 = 0;
        bootcfgregs->PADCONFIG10 = 0;
        bootcfgregs->PADCONFIG11 = 0;
        bootcfgregs->PADCONFIG12 = 0;
        bootcfgregs->PADCONFIG13 = 0;
        bootcfgregs->PADCONFIG14 = 0;
        bootcfgregs->PADCONFIG15 = 0;//GPMC_AD15
        bootcfgregs->PADCONFIG16 = 0;//GPMC_CLK
        bootcfgregs->PADCONFIG17 = 0;//GPMC_ADVn_ALE
        bootcfgregs->PADCONFIG18 = 0;//GPMC_OEn_REn
        bootcfgregs->PADCONFIG19 = 0;//GPMC_WEn
        bootcfgregs->PADCONFIG20 = 0;//GPMC_BEn0_CLE
        bootcfgregs->PADCONFIG21 = 0;//GPMC_BEn1
        bootcfgregs->PADCONFIG22 = 0;//GPMC_WAIT0
        bootcfgregs->PADCONFIG23 = 0;//GPMC_WAIT1
        bootcfgregs->PADCONFIG24 = 0;//GPMC_WPn
        bootcfgregs->PADCONFIG25 = 0;//GPMC_DIR
        bootcfgregs->PADCONFIG26 = 0;//GPMC_CSn0
        bootcfgregs->PADCONFIG27 = 0;//GPMC_CSn1
        bootcfgregs->PADCONFIG28 = 3;//0->GPMC_CSn2 //GPIO FOR TESTING  GPIO0_28
        bootcfgregs->PADCONFIG29 = 3;//0->GPMC_CSn3 //GPIO FOR TESTING  GPIO0_29
        bootcfgregs->PADCONFIG30 = 1;//GPMC_A24
        bootcfgregs->PADCONFIG31 = 1;//GPMC_23
        bootcfgregs->PADCONFIG32 = 1;//GPMC_22
        bootcfgregs->PADCONFIG33 = 1;
        bootcfgregs->PADCONFIG34 = 1;
        bootcfgregs->PADCONFIG35 = 1;
        bootcfgregs->PADCONFIG36 = 1;
        bootcfgregs->PADCONFIG37 = 1;
        bootcfgregs->PADCONFIG38 = 1;
        bootcfgregs->PADCONFIG39 = 1;
        bootcfgregs->PADCONFIG40 = 1;
        bootcfgregs->PADCONFIG41 = 1;
        bootcfgregs->PADCONFIG42 = 1;
        bootcfgregs->PADCONFIG43 = 1;
        bootcfgregs->PADCONFIG44 = 1;
        bootcfgregs->PADCONFIG45 = 1;
        bootcfgregs->PADCONFIG46 = 1;
        bootcfgregs->PADCONFIG47 = 1;
        bootcfgregs->PADCONFIG48 = 1;
        bootcfgregs->PADCONFIG49 = 1;
        bootcfgregs->PADCONFIG50 = 1;
        bootcfgregs->PADCONFIG51 = 1;
        bootcfgregs->PADCONFIG52 = 1;
        bootcfgregs->PADCONFIG53 = 1;//GPMC_A1
        bootcfgregs->PADCONFIG54 = 1;//GPMC_A25
        bootcfgregs->PADCONFIG55 = 1;//GPMC_A26
        bootcfgregs->PADCONFIG56 = 1;//GPMC_A27
        bootcfgregs->PADCONFIG57 = 1;//GPMC_A0
        bootcfgregs->PADCONFIG58 = 3;//3->GPIO(need to assign )
        bootcfgregs->PADCONFIG59 = 3;
        bootcfgregs->PADCONFIG60 = 3;
        bootcfgregs->PADCONFIG61 = 3;
        bootcfgregs->PADCONFIG62 = 3;
        bootcfgregs->PADCONFIG63 = 3;
        bootcfgregs->PADCONFIG64 = 3;
        bootcfgregs->PADCONFIG65 = 3;
        bootcfgregs->PADCONFIG66 = 3;
        bootcfgregs->PADCONFIG67 = 3;
        bootcfgregs->PADCONFIG68 = 3;
        bootcfgregs->PADCONFIG69 = 3;
        bootcfgregs->PADCONFIG70 = 3;
        bootcfgregs->PADCONFIG71 = 3;
        bootcfgregs->PADCONFIG72 = 0;//MII_RXCLK , can be used as gpio if RMII is used
        bootcfgregs->PADCONFIG73 = 3;//GPIO
        bootcfgregs->PADCONFIG74 = 3;//GPIO
        bootcfgregs->PADCONFIG75 = 3;//GPIO
        bootcfgregs->PADCONFIG76 = 3;//GPIO
        bootcfgregs->PADCONFIG77 = 0;//MII_RXD3
        bootcfgregs->PADCONFIG78 = 0;//MII_RXD2
        bootcfgregs->PADCONFIG79 = 2;//RMII_RXD1 (0->MII_RXD1)
        bootcfgregs->PADCONFIG80 = 2;//RMII_RXD0 (0->MII_RXD0)
        bootcfgregs->PADCONFIG81 = 0;//MII_RXDV
        bootcfgregs->PADCONFIG82 = 2;//RMII_RXER (0->MII_RXER)
        bootcfgregs->PADCONFIG83 = 0;//MII_COL
        bootcfgregs->PADCONFIG84 = 2;//RMII_CRS_DV (0->MII_CRS)
        bootcfgregs->PADCONFIG85 = 0;//MII_TXCLK
        bootcfgregs->PADCONFIG86 = 1;//SPI3_SCSn0
        bootcfgregs->PADCONFIG87 = 1;//SPI3_SCSn1
        bootcfgregs->PADCONFIG88 = 1;//SPI3_CLK
        bootcfgregs->PADCONFIG89 = 1;//SPI3_SOMI
        bootcfgregs->PADCONFIG90 = 1;//SPI3_SIMO
        bootcfgregs->PADCONFIG91 = 0;//MII_TXD3
        bootcfgregs->PADCONFIG92 = 0;//MII_TXD2
        bootcfgregs->PADCONFIG93 = 2;//RMII_TXD1 (0->MII_TXD1)
        bootcfgregs->PADCONFIG94 = 2;//RMII_TXD0 (0->MII_TXD0)
        bootcfgregs->PADCONFIG95 = 2;//RMII_TXEN (0->MII_TXEN)
        bootcfgregs->PADCONFIG96 = 0;//MII_TXER
        bootcfgregs->PADCONFIG97 = 0;//RMII_REFCLK
        bootcfgregs->PADCONFIG98 = 0;//MDIO_DATA
        bootcfgregs->PADCONFIG99 = 0;//MDIO_CLK
        bootcfgregs->PADCONFIG100 = 0;//SPI0_SCSn0
        bootcfgregs->PADCONFIG101 = 0;//SPI0_SCSn1
        bootcfgregs->PADCONFIG102 = 0;//SPI0_CLK
        bootcfgregs->PADCONFIG103 = 0;//SPI0_SOMI
        bootcfgregs->PADCONFIG104 = 0;//SPI0_SIMO
        bootcfgregs->PADCONFIG105 = 0;//SPI1_SCSn0
        bootcfgregs->PADCONFIG106 = 0;//SPI1_SCSn1
        bootcfgregs->PADCONFIG107 = 0;//SPI1_CLK
        bootcfgregs->PADCONFIG108 = 0;//SPI1_SOMI
        bootcfgregs->PADCONFIG109 = 0;//SPI1_SIMO
        bootcfgregs->PADCONFIG110 = 0;//SPI2_SCSn0
        bootcfgregs->PADCONFIG111 = 0;//SPI2_SCSn1
        bootcfgregs->PADCONFIG112 = 0;//SPI2_CLK
        bootcfgregs->PADCONFIG113 = 0;//SPI2_SOMI
        bootcfgregs->PADCONFIG114 = 0;//SPI2_SIMO
    
        bootcfgregs->PADCONFIG115 = 0;//UART0_RXD
        bootcfgregs->PADCONFIG116 = 0;//UART0_TXD
    
    
        bootcfgregs->PADCONFIG117 = 0;//UART0_CTSn// 3->GPIO(for testing)
        bootcfgregs->PADCONFIG118 = 0;//UART0_RTSn
        bootcfgregs->PADCONFIG119 = 0;//UART1_RXD
        bootcfgregs->PADCONFIG120 = 0;//UART1_TXD
        bootcfgregs->PADCONFIG121 = 0;//UART1_CTSn
        bootcfgregs->PADCONFIG122 = 0;//UART1_RTSn
        bootcfgregs->PADCONFIG123 = 0;//UART2_RXD
        bootcfgregs->PADCONFIG124 = 0;//UART2_TXD
        bootcfgregs->PADCONFIG125 = 0;//UART2_CTSn
        bootcfgregs->PADCONFIG126 = 0;//UART2_RTSn
        bootcfgregs->PADCONFIG127 = 3;//GPIO'S
        bootcfgregs->PADCONFIG128 = 3;
        bootcfgregs->PADCONFIG129 = 3;
        bootcfgregs->PADCONFIG130 = 3;
        bootcfgregs->PADCONFIG131 = 3;
        bootcfgregs->PADCONFIG132 = 3;
        bootcfgregs->PADCONFIG133 = 3;
        bootcfgregs->PADCONFIG134 = 3;
        bootcfgregs->PADCONFIG135 = 3;
        bootcfgregs->PADCONFIG136 = 1;//CLKOUT
        bootcfgregs->PADCONFIG137 = 3;
        bootcfgregs->PADCONFIG138 = 3;
        bootcfgregs->PADCONFIG139 = 3;
        bootcfgregs->PADCONFIG140 = 3;
        bootcfgregs->PADCONFIG141 = 3;
        bootcfgregs->PADCONFIG142 = 3;
        bootcfgregs->PADCONFIG143 = 3;
        bootcfgregs->PADCONFIG144 = 3;
        bootcfgregs->PADCONFIG145 = 3;
        bootcfgregs->PADCONFIG146 = 3;
        bootcfgregs->PADCONFIG147 = 3;
        bootcfgregs->PADCONFIG148 = 3;
        bootcfgregs->PADCONFIG149 = 3;
        bootcfgregs->PADCONFIG150 = 3;
        bootcfgregs->PADCONFIG151 = 3;
        bootcfgregs->PADCONFIG152 = 3;
        bootcfgregs->PADCONFIG153 = 3;
        bootcfgregs->PADCONFIG154 = 3;
        bootcfgregs->PADCONFIG155 = 3;
        bootcfgregs->PADCONFIG156 = 3;
        bootcfgregs->PADCONFIG157 = 3;
        bootcfgregs->PADCONFIG158 = 3;
        bootcfgregs->PADCONFIG159 = 3;
        bootcfgregs->PADCONFIG160 = 3;
        bootcfgregs->PADCONFIG161 = 3;
        bootcfgregs->PADCONFIG162 = 3;
        bootcfgregs->PADCONFIG163 = 3;
        bootcfgregs->PADCONFIG164 = 3;
        bootcfgregs->PADCONFIG165 = 3;
        bootcfgregs->PADCONFIG166 = 3;
        bootcfgregs->PADCONFIG167 = 3;
        bootcfgregs->PADCONFIG168 = 3;
        bootcfgregs->PADCONFIG169 = 3;
        bootcfgregs->PADCONFIG170 = 3;
        bootcfgregs->PADCONFIG171 = 3;
        bootcfgregs->PADCONFIG172 = 3;
        bootcfgregs->PADCONFIG173 = 3;
        bootcfgregs->PADCONFIG174 = 3;
        bootcfgregs->PADCONFIG175 = 3;
        bootcfgregs->PADCONFIG176 = 3;
        bootcfgregs->PADCONFIG177 = 3;
        bootcfgregs->PADCONFIG178 = 3;
        bootcfgregs->PADCONFIG179 = 3;
        bootcfgregs->PADCONFIG180 = 3;
        bootcfgregs->PADCONFIG181 = 3;
        bootcfgregs->PADCONFIG182 = 3;
        bootcfgregs->PADCONFIG183 = 3;
        bootcfgregs->PADCONFIG184 = 3;
        bootcfgregs->PADCONFIG185 = 3;
        bootcfgregs->PADCONFIG186 = 3;
        bootcfgregs->PADCONFIG187 = 3;
        bootcfgregs->PADCONFIG188 = 3;
        bootcfgregs->PADCONFIG189 = 3;
        bootcfgregs->PADCONFIG190 = 3;
        bootcfgregs->PADCONFIG191 = 3;
        bootcfgregs->PADCONFIG192 = 3;
        bootcfgregs->PADCONFIG193 = 3;
        bootcfgregs->PADCONFIG194 = 3;
        bootcfgregs->PADCONFIG195 = 3;
        bootcfgregs->PADCONFIG196 = 3;
        bootcfgregs->PADCONFIG197 = 3;
        bootcfgregs->PADCONFIG198 = 3;
        bootcfgregs->PADCONFIG199 = 3;
        bootcfgregs->PADCONFIG200 = 3;
        bootcfgregs->PADCONFIG201 = 3;
        bootcfgregs->PADCONFIG202 = 3;
        bootcfgregs->PADCONFIG203 = 3;
        bootcfgregs->PADCONFIG204 = 3;
        bootcfgregs->PADCONFIG205 = 3;
        bootcfgregs->PADCONFIG206 = 3;
        bootcfgregs->PADCONFIG207 = 3;
        bootcfgregs->PADCONFIG208 = 3;
        bootcfgregs->PADCONFIG209 = 3;
        bootcfgregs->PADCONFIG210 = 3;
        bootcfgregs->PADCONFIG211 = 3;
        bootcfgregs->PADCONFIG212 = 3;
        bootcfgregs->PADCONFIG213 = 3;
        bootcfgregs->PADCONFIG214 = 3;
        bootcfgregs->PADCONFIG215 = 3;
        bootcfgregs->PADCONFIG216 = 3;
        bootcfgregs->PADCONFIG217 = 3;
        bootcfgregs->PADCONFIG218 = 3;
        bootcfgregs->PADCONFIG219 = 3;
        bootcfgregs->PADCONFIG220 = 3;
        bootcfgregs->PADCONFIG221 = 3;
        bootcfgregs->PADCONFIG222 = 3;
        bootcfgregs->PADCONFIG229 = 0;//NMIn
        bootcfgregs->PADCONFIG230 = 0;//LRESETn
        bootcfgregs->PADCONFIG231 = 0;//LRESETNMIENn
        bootcfgregs->PADCONFIG235 = 0;//RESETSTATn
        bootcfgregs->PADCONFIG236 = 0;//BOOTCOMPLETE
        bootcfgregs->PADCONFIG237 = 0;//SYSCLKOUT
        bootcfgregs->PADCONFIG238 = 0;//OBSPLL_LOCK
        bootcfgregs->PADCONFIG258 = 0;//usb0_drvvbus
        bootcfgregs->PADCONFIG259 = 0;//USB1_DRVVBUS
        //gpioregs->BANK[3].DIR &= ~(0x00000400);
        gpioregs->BANK[3].DIR = ((gpioregs->BANK[3].DIR) & ~(0x00000400u));//CTRL1_485
        gpioregs->BANK[0].DIR = ((gpioregs->BANK[0].DIR) & ~(0x10000000u));//ADC_PD
        gpioregs->BANK[0].DIR = ((gpioregs->BANK[0].DIR) & ~(0x20000000u));//ADC_RESET
    
    
        // CSL_FINS(gpioregs->BANK[3].DIR,GPIO_DIR_DIR10,CSL_GPIO_DIR_DIR_OUT);
       // CLR_CTRL1_485;
    
        kickLock();
    }