Hi NXP,
We use the same code in mx25l51245g and mx25l25635g QSPI Flash
It can work normally mx25l51245g, but there are error messages “Unhandled fault: external abort on non-linefetch (0x1008) at 0xa1000000” in mx25l25635g
Please help us to solve this issue
Error message:
[ 8.788623] sctp: Hash tables configured (established 16384 bind 16384)
[ 8.810096] Loading modules backported from Linux version wt-2016-05-12-0-g7a54796
[ 8.817990] Backport generated by backports.git backports-20160216-0-ge3c56e4
[ 8.832777] lib80211: common routines for IEEE802.11 drivers
[ 8.840912] lib80211_crypt_tkip: Unknown symbol backport_crypto_alloc_skcipher (err 0)
[ 8.875365] lib80211_crypt_wep: Unknown symbol backport_crypto_alloc_skcipher (err 0)
[ 8.909829] nf_conntrack version 0.5.0 (7994 buckets, 31976 max)
[ 8.992476] Netfilter messages via NETLINK v0.30.
[ 9.006474] usbcore: registered new interface driver usbhid
[ 9.012081] usbhid: USB HID core driver
[ 9.045653] xt_time: kernel timezone is -0000
[ 9.053019] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 9.067926] lib80211_crypt_tkip: Unknown symbol backport_crypto_alloc_skcipher (err 0)
[ 9.105524] lib80211_crypt_wep: Unknown symbol backport_crypto_alloc_skcipher (err 0)
[ 9.141709] ctnetlink v0.93: registering with nfnetlink.
[ 9.152567] lib80211_crypt_tkip: Unknown symbol backport_crypto_alloc_skcipher (err 0)
[ 9.185672] lib80211_crypt_wep: Unknown symbol backport_crypto_alloc_skcipher (err 0)
[ 9.215681] lib80211_crypt_tkip: Unknown symbol backport_crypto_alloc_skcipher (err 0)
[ 9.245593] lib80211_crypt_wep: Unknown symbol backport_crypto_alloc_skcipher (err 0)
[ 13.773465] Unhandled fault: external abort on non-linefetch (0x1008) at 0xa1000000
[ 13.781148] pgd = 985cc000
[ 13.783870] [a1000000] *pgd=9c335811, *pte=60d00653, *ppte=60d00453
[ 13.790210] Internal error: : 1008 [#1] PREEMPT SMP ARM
[ 13.795446] Modules linked in: iptable_nat nf_nat_ipv4 nf_conntrack_netlink nf_conntrack_ipv4 iptable_raw iptable_mangle iptable_filter ipt_REJECT ipt_MASQUERADE ip_tables xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT x_tables usbhid ts_kmp ts_fsm ts_bm nfnetlink nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_log_common nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack lib80211_crypt_ccmp lib80211 hid_generic crc7 crc_itu_t crc_ccitt compat evdev i2c_algo_bit gpio_pca953x i2c_mux sctp libcrc32c configfs xts md5 hmac cbc usb_storage leds_gpio phy_mxs_usb ci_hdrc_imx usbmisc_imx ci_hdrc udc_core sd_mod gpio_button_hotplug
[ 13.861276] CPU: 0 PID: 1331 Comm: mount_root Not tainted 4.1.15 #2
[ 13.867555] Hardware name: Freescale i.MX6 Ultralite (Device Tree)
[ 13.873751] task: 98551c00 ti: 9857e000 task.ti: 9857e000
[ 13.879175] PC is at memcpy+0x8c/0x330
[ 13.882947] LR is at fsl_qspi_read+0x104/0x11c
[ 13.887411] pc : [<8001262c>] lr : [<802d1918>] psr: 00000013
[ 13.887411] sp : 9857fd7c ip : 0000001c fp : 9857fdc4
[ 13.898903] r10: 9857fe90 r9 : 00000000 r8 : 00d00000
[ 13.904142] r7 : 00000000 r6 : 00000000 r5 : 00000004 r4 : 9c1fb010
[ 13.910683] r3 : 00000000 r2 : ffffffe4 r1 : a1000000 r0 : 98577a40
[ 13.917225] Flags: nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 13.924373] Control: 10c53c7d Table: 985cc06a DAC: 00000015
[ 13.930132] Process mount_root (pid: 1331, stack limit = 0x9857e210)
[ 13.936500] Stack: (0x9857fd7c to 0x98580000)
[ 13.940872] fd60: 00000004
[ 13.949070] fd80: 00000000 00000000 00d00000 98577a40 9c1fb010 802d1918 00000000 00000000
[ 13.957270] fda0: 9c1fb9b0 00d00000 00000000 00d00000 00000000 981a3000 9857fdf4 9857fdc8
[ 13.965468] fdc0: 802cfdd4 802d1820 00000004 9857fe90 98577a40 00000000 981a3000 00000000
[ 13.973666] fde0: 00000000 9857ff80 9857fe2c 9857fdf8 802cb550 802cfd80 00000004 9857fe90
[ 13.981864] fe00: 98577a40 00000026 982e8780 00800000 00000000 98577a40 981a3000 00000000
[ 13.990063] fe20: 9857fe6c 9857fe30 802c91a0 802cb50c 00000004 9857fe90 98577a40 7e910df4
[ 13.998263] fe40: 9857fe6c 983f7300 00000004 98577a40 9857ff80 981a3000 7e910df4 00000000
[ 14.006462] fe60: 9857fee4 9857fe70 802cdbd8 802c9140 00000004 9857fe90 98577a40 9c0d6000
[ 14.014661] fe80: 9857e030 00000000 9c306e50 98577a00 00000000 00000004 00080040 00000001
[ 14.022859] fea0: 9857ff5c ffffff9c 9c0d6000 80009d24 9857e000 00000000 9857ff4c 983f7300
[ 14.031058] fec0: 802cdaa0 9857ff80 00000004 80009d24 9857e000 00000000 9857ff4c 9857fee8
[ 14.039257] fee0: 800cefb0 802cdaac 9857ff14 9857fef8 802cd82c 80016d08 7e910c48 983e0ed8
[ 14.047456] ff00: 983f7300 40084d06 9857ff7c 9857ff18 800df000 802cd7f8 9c0d6000 983f7308
[ 14.055654] ff20: 00000020 00000000 7e910df4 983f7300 7e910df4 983f7300 9857ff80 00000004
[ 14.063853] ff40: 9857ff7c 9857ff50 800cf68c 800cef88 800e80d4 800e8050 983f7300 983f7300
[ 14.072052] ff60: 7e910df4 00000004 80009d24 9857e000 9857ffa4 9857ff80 800cfe44 800cf60c
[ 14.080248] ff80: 00000000 00000000 00000000 00000000 00000000 00000003 00000000 9857ffa8
[ 14.088444] ffa0: 80009b80 800cfe00 00000000 00000000 00000003 7e910df4 00000004 00000000
[ 14.096639] ffc0: 00000000 00000000 00000000 00000003 00000020 00000000 00000001 00000000
[ 14.104837] ffe0: 7e910db0 7e910d9c 76f02bb4 76f02080 60000010 00000003 00000000 00000000
[ 14.113021] Backtrace:
[ 14.115515] [<802d1814>] (fsl_qspi_read) from [<802cfdd4>] (spi_nor_read+0x60/0x7c)
[ 14.123184] r10:981a3000 r9:00000000 r8:00d00000 r7:00000000 r6:00d00000 r5:9c1fb9b0
[ 14.131110] r4:00000000 r3:00000000
[ 14.134744] [<802cfd74>] (spi_nor_read) from [<802cb550>] (part_read+0x50/0x88)
[ 14.142064] r7:9857ff80 r6:00000000 r5:00000000 r4:981a3000
[ 14.147814] [<802cb500>] (part_read) from [<802c91a0>] (mtd_read+0x6c/0xa4)
[ 14.154784] r9:00000000 r8:981a3000 r6:98577a40 r5:00000000 r4:00800000
[ 14.161594] [<802c9134>] (mtd_read) from [<802cdbd8>] (mtdchar_read+0x138/0x200)
[ 14.168997] r10:00000000 r9:7e910df4 r8:981a3000 r7:9857ff80 r6:98577a40 r5:00000004
[ 14.176923] r4:983f7300
[ 14.179500] [<802cdaa0>] (mtdchar_read) from [<800cefb0>] (__vfs_read+0x34/0xd8)
[ 14.186906] r10:00000000 r9:9857e000 r8:80009d24 r7:00000004 r6:9857ff80 r5:802cdaa0
[ 14.194832] r4:983f7300
[ 14.197406] [<800cef7c>] (__vfs_read) from [<800cf68c>] (vfs_read+0x8c/0xf4)
[ 14.204463] r7:00000004 r6:9857ff80 r5:983f7300 r4:7e910df4
[ 14.210213] [<800cf600>] (vfs_read) from [<800cfe44>] (SyS_read+0x50/0x90)
[ 14.217096] r9:9857e000 r8:80009d24 r7:00000004 r6:7e910df4 r5:983f7300 r4:983f7300
[ 14.224953] [<800cfdf4>] (SyS_read) from [<80009b80>] (ret_fast_syscall+0x0/0x3c)
[ 14.232444] r7:00000003 r6:00000000 r5:00000000 r4:00000000
[ 14.238192] Code: e4915004 e4916004 e4917004 e4918004 (e491e004)
[ 14.244302] ---[ end trace 647820c3c5423df4 ]---
[ 14.735138] fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet:01, irq=-1)
[ 14.776616] device eth0 entered promiscuous mode
[ 14.801597] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
BRs
Aaron Kuo
Hi Aaron
since mx25l25635g is twice less memory size it may not fit
image which worked for mx25l51245g.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------