Multi Source Translation Content

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Multi Source Translation Content

Discussions

Sort by:
MCIMX6D6AVT10ACの境界スキャン用BSDLファイルを探しています こんにちは、 デバイス「MCIMX6D6AVT10AC」のBSDLファイルをダウンロードできるチャネルはありますか?
View full article
Looking for boundary scan, BSDL file for MCIMX6D6AVT10AC Hi,  Is there any channel to download the BSDL file for device "MCIMX6D6AVT10AC"?
View full article
S32K322およびS32K312:CMU割り込み、リセット反応、検出レイテンシに関するクエリ 故障 イベント情報 を それぞれの CMU インスタンス(CMU0、 CMU1、 CMU2) に マッピング していただけますか? 割り込み ドキュメント には 合計 7回 の 割り込み が記載 されています が、 各 CMU インスタンス が どの 障害 イベント情報 と それに対応する 障害 アクション を 処理 しているかは 明確 ではありません 。 添付画像をご覧ください system clock monitoring.pngシステムクロックの監視.png Interruptmapping.pngInterruptmapping.png 「リセット 反応 割り込み 」 の 正確な 意味 は 何 ですか ? この 割り込み は 破壊的な リセット の前に 生成 され、 リセット が 起こる 前に ソフトウェア が 介入 できるように なるのでしょうか? The clock monitoring レイテンシ can be configured from 1 µs to 1 ms. レイ テンシ を 低 くすることで 、 デバウンスやフィルタリング の時間を 短縮 し、 クロック 障害検出 の 感度 や速度 が 向上 するのでしょうか? Re: S32K322 and S32K312 : Queries Regarding CMU Interrupts, Reset Reaction, and Detection Latency こんにちは、@ WadkarY 1. 障害発生 イベント情報 と それぞれ の CMU インスタンス (CMU0、 CMU1、 CMU2 ) と の マッピング を 提供していただけ ます か ? image.pngimage.png image.pngimage.png ご覧のとおり、CMU_FC_0、CMU_FM_1、CMU_FM_2のみが割り込みとして設定可能です。その他の割り込みは、標準のCMU割り込みとしてではなく、デフォルトでは破壊的なリセットの発生源として扱われるべきです。 CMU_FC_0->CMU0 CMU_FM_1->CMU1 CMU_FM_2->CMU2 CMU_FC_3->CORE_CLK_FAIL CMUリセット反応割り込み CMU_FC_4->AIPS_PLAT_CLK_FAIL CMUリセット反応割り込み CMU_FC_5->HSE_CLK_FAIL CMUリセット反応割り込み CMU_FC_6->CM7_CORE_CLK_FAIL CMUリセット反応割り込み 2. この 割り込み は 破壊的な リセット の前に 生成 され、 リセット が 起こる 前に ソフトウェア の 介入 を可能にする のか? いいえ、MC_RGM/DCM破壊リセット割り込みバイパスが意図的に構成されていない限り、破壊リセット動作が予想されます。 以下にその例をご紹介します。 1. CMU_FC_4 は、AIPS_PLAT_CLK 周波数がしきい値を超えていることを検出します。 ↓ 破壊的リセットが主張され、同時にIRQ 215が発行されました。 ↓ ほぼ瞬時に MCUのリセット → リセットベクターからの再起動 ↓ ソフトウェアはMC_RGMを読みます。DES[AIPS_PLAT_CLK_FAIL]でリセット原因を特定します 3. レイテンシを低く設定することで、デバウンス/フィルタリング時間を効果的に短縮し、クロック障害の検出感度や検出速度を向上させることができますか? このパラメータはREF_CNTに関連しています。 •RCCR[REF_CNT]の値が高いほど測定ウィンドウが長くなり、監視対象のクロックチェックの精度が向上します。 ・RCCR[REF_CNT]の値が低いと測定ウィンドウが短くなり、FHHおよびFLLの反応が速くなりますが、報告結果の誤差が高まります。
View full article
正在查找 MCIMX6D6AVT10AC 的边界扫描 BSDL 文件 你好, 是否有渠道可以下载设备“ MCIMX6D6AVT10AC”的BSDL文件?
View full article
MPC5775B – 应用程序到 RAppID 引导加载程序的转换 您好,NXP团队,我正在使用带有RAppID引导加载程序的MPC5775B进行CAN烧录。 我没有 RAppID FBL 源代码,因此无法修改现有的 FBL。 运行中的应用程序是否有支持的机制来请求现有的 RAppID FBL 进入编程模式? 如果需要,MPC5775B 的应用程序 → FBL 入口顺序是什么? 这是否需要特定的 RESET/启动机制,或者 RAppID 是否提供了其他方式从应用程序请求 FBL? Re: MPC5775B – Application to RAppID Bootloader transition 你好, RAppID FBL 中没有内置的、有文档记录的 API,供正在运行的应用程序以编程方式请求 FBL 条目。适用于 MPC57xx 的 RAppID 引导加载程序是一个闭源二进制的、驻留在闪存中的引导加载程序(以预编译的 .rbf 文件形式分发)。文件)未提供源代码,也无法修改。 触发该功能的标准机制是重置 + 启动时标志检查,而不是应用程序的运行时调用。 顺祝商祺! Peter
View full article
MPC5775B – Application to RAppID Bootloader transition Hello NXP Team, I am using MPC5775B with RAppID Bootloader for CAN flashing. I do not have the RAppID FBL source code, so I cannot modify the existing FBL. Is there a supported mechanism for the running application to request the existing RAppID FBL to enter programming mode? If yes, what is the required Application → FBL entry sequence for MPC5775B? Does this require a specific reset/boot mechanism, or does RAppID provide another way to request FBL from the application? Re: MPC5775B – Application to RAppID Bootloader transition Hello, There is no built-in, documented API in the RAppID FBL for the running application to programmatically request FBL entry. The RAppID bootloader for MPC57xx is a closed-binary, flash-resident bootloader (distributed as a pre-compiled .rbf file) with no source code provided and no modification possible. The standard mechanism to trigger it is a reset + boot-time flag check, not a runtime call from the application. Best regards, Peter
View full article
USB init failed: -22 Hi , I have been trying to flash my wic.b2z image to an emmc using uuc tool through a usb port.While flashing an USB init failed: -22 error occured.I am using an imx8mp porcessor. Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi; Hit any key to stop autoboot: 0 ## Checking Image at 43800000 ... Unknown image format! Run fastboot ... USB init failed: -22 u-boot=>     i.MX 8 Family | i.MX 8QuadMax (8QM) | 8QuadPlus Re: USB init failed: -22 Hello,  Please share the complete process and the boot config of your board to analyze what can cause the issue.   Re: USB init failed: -22 U-Boot SPL 2024.04-lf_v2024.04+g6c4545203d1+p0 (Nov 15 2024 - 04:02:13 +0000) DDRINFO: start DRAM init DDRINFO: DRAM rate 4000MTS DDRINFO:ddrphy calibration done DDRINFO: ddrmix config done SEC0:  RNG instantiated Normal Boot Trying to boot from BOOTROM Boot Stage: USB boot Find img info 0x48022fa0, size 1064 Need continue download 1024 NOTICE:  Do not release JR0 to NS as it can be used by HAB NOTICE:  BL31: v2.10.0  (release):automotive-15.0.0_1.1.0 NOTICE:  BL31: Built : 08:52:12, Nov  4 2024 U-Boot 2024.04-lf_v2024.04+g6c4545203d1+p0 (Nov 15 2024 - 04:02:13 +0000) CPU:   i.MX8MP Lite[4] rev1.1 1600 MHz (running at 1200 MHz) CPU:   Industrial temperature grade (-40C to 105C) at 35C Reset cause: POR Model: NXP i.MX8MPlus LPDDR4 EVK board DRAM:  6 GiB tcpc_init: Can't find device id=0x50 setup_typec: tcpc port2 init failed, err=-19 tcpc_init: Can't find device id=0x50 setup_typec: tcpc port1 init failed, err=-19 Core:  284 devices, 36 uclasses, devicetree: separate MMC:   FSL_SDHC: 1, FSL_SDHC: 2 Loading Environment from nowhere... OK [*]-Video Link 0adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c fail to probe panel device adv7535@3d fail to get display timings probe video device failed, ret -19         [0] lcd-controller@32e80000, video         [1] mipi_dsi@32e60000, video_bridge         [2] adv7535@3d, panel adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c fail to probe panel device adv7535@3d fail to get display timings probe video device failed, ret -19 In:    serial Out:   serial Err:   serial SEC0:  RNG instantiated MMC: no card present Detect USB boot. Will enter fastboot mode! Net:   Could not get PHY for FEC0: addr 1 Could not get PHY for FEC0: addr 1 eth1: ethernet@30bf0000 [PRIME] Fastboot: Normal Boot from USB for mfgtools *** Warning - Use default environment for                                mfgtools , using default environment Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi; Hit any key to stop autoboot:  0 ## Checking Image at 43800000 ... Unknown image format! Run fastboot ... USB init failed: -22 u-boot=>
View full article
バグ:iMX8QM:HDMI経由のオーディオが音声停止時にカーネルパニックを引き起こす こんにちは、 これは当時Maxが作成したThreadのフォローアップです。 彼が提供したパッチは、lf-6.18.y には含まれていないため、最終的に適用されなかったようです。 現在、オーディオが停止するとカーネルパニックが発生しています。 root@apalis-imx8-15304854:~# aplay -D sysdefault:CARD=imxaudiohdmitx sound/Gong.wav Playing WAVE 'sound/Gong.wav' : [ 100.599725] [drm] pclkc 533250 is not supported! Signed 16 bit Little Endian, Rate 44100 Hz, Stereo ^CAborted by signal Interrupt... [ 102.674593] SError Interrupt on CPU3, code 0x00000000bf000002 -- SError [ 102.674642] CPU: 3 UID: 0 PID: 630 Comm: aplay Tainted: G M 6.18.39+ #115 PREEMPT [ 102.674664] Tainted: [M]=MACHINE_CHECK [ 102.674671] Hardware name: Toradex Apalis iMX8QM V1.1 on Apalis Evaluation Board V1.2 (DT) [ 102.674680] pstate: 20000005 (nzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 102.674694] pc : cdns_mhdp_bus_write+0x0/0xe4 [cdns_mhdp_drmcore] [ 102.674744] lr : cdns_mhdp_audio_stop+0x40/0x180 [cdns_mhdp_drmcore] [ 102.674769] sp : ffff80009290bc70 [ 102.674774] x29: ffff80009290bc70 x28: ffff00080e893240 x27: 0000000000000000 [ 102.674801] x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 [ 102.674818] x23: 0000000000000000 x22: ffff0008090f1880 x21: ffff000801114a00 [ 102.674837] x20: ffff000809a34b78 x19: ffff000809a34080 x18: 0000000000000000 [ 102.674856] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 [ 102.674874] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 [ 102.674892] x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000 [ 102.674910] x8 : ffff80009290bd78 x7 : 0000000000000000 x6 : 0000000000000000 [ 102.674927] x5 : ffff00080905a880 x4 : ffff00080905a918 x3 : ffff000801150e80 [ 102.674946] x2 : 000000000003004c x1 : ffff000809a34080 x0 : 0000000000000000 [ 102.674968] Kernel panic - not syncing: Asynchronous SError Interrupt [ 102.674978] CPU: 3 UID: 0 PID: 630 Comm: aplay Tainted: G M 6.18.39+ #115 PREEMPT [ 102.674995] Tainted: [M]=MACHINE_CHECK [ 102.675000] Hardware name: Toradex Apalis iMX8QM V1.1 on Apalis Evaluation Board V1.2 (DT) [ 102.675009] Call trace: [ 102.675016] show_stack+0x28/0x7c (C) [ 102.675046] dump_stack_lvl+0x60/0x80 [ 102.675070] dump_stack+0x18/0x24 [ 102.675088] vpanic+0xf8/0x2b4 [ 102.675106] abort+0x0/0x4 [ 102.675120] add_taint+0x0/0xbc [ 102.675145] arm64_serror_panic+0x70/0x80 [ 102.675166] do_serror+0x34/0x74 [ 102.675184] el1h_64_error_handler+0x38/0x60 [ 102.675206] el1h_64_error+0x6c/0x70 [ 102.675222] cdns_mhdp_bus_write+0x0/0xe4 [cdns_mhdp_drmcore] (P) [ 102.675250] audio_shutdown+0x20/0x40 [cdns_mhdp_drmcore] [ 102.675276] hdmi_codec_shutdown+0x58/0x7c [snd_soc_hdmi_codec] [ 102.675302] snd_soc_dai_shutdown+0x54/0x80 [ 102.675327] soc_pcm_clean.isra.0+0x5c/0x1c8 [ 102.675345] soc_pcm_close+0x34/0x58 [ 102.675360] snd_pcm_release_substream.part.0+0x3c/0xc0 [ 102.675378] snd_pcm_release+0x58/0xe0 [ 102.675392] __fput+0xc8/0x2cc [ 102.675408] fput_close_sync+0x38/0x114 [ 102.675423] __arm64_sys_close+0x38/0x7c [ 102.675443] invoke_syscall.constprop.0+0x48/0xc0 [ 102.675464] do_el0_svc+0x3c/0xc0 [ 102.675480] el0_svc+0x40/0x170 [ 102.675495] el0t_64_sync_handler+0xa0/0xe4 [ 102.675511] el0t_64_sync+0x198/0x19c [ 102.675529] SMP: stopping secondary CPUs [ 102.675547] Kernel Offset: 0x4f62f0a00000 from 0xffff800080000000 [ 102.675555] PHYS_OFFSET: 0xfff1000080000000 [ 102.675560] CPU features: 0x100000,00025800,40004001,0400420b [ 102.675571] Memory Limit: none [ 102.952968] ---[ end Kernel panic - not syncing: Asynchronous SError Interrupt ]--- このバグは、 https://github.com/nxp-imx/linux-imx/commit/bbdf7c86aa79c9ead532a2779920a0ac68db4863で導入されました。 この修正は次のBSPリリースに組み込めますか? @Zhiming_Liu  敬具 フランツ・シュナイダー Re: Bug: iMX8QM: Audio over HDMI Creates a Kernel Panic When Audio Stops こんにちは、 内部のCASEはすでにフォローアップして、返答を待っておいてください。 よろしくお願いします、 志明
View full article
Bug: iMX8QM: Audio over HDMI Creates a Kernel Panic When Audio Stops Hello, This is a follow up from the thread Max created back then. It seems that the patch he provided was at the end not applied as it's not present in lf-6.18.y. Currently, there is a kernel Panic when Audio stops. root@apalis-imx8-15304854:~# aplay -D sysdefault:CARD=imxaudiohdmitx sound/Gong.wav Playing WAVE 'sound/Gong.wav' : [ 100.599725] [drm] pclkc 533250 is not supported! Signed 16 bit Little Endian, Rate 44100 Hz, Stereo ^CAborted by signal Interrupt... [ 102.674593] SError Interrupt on CPU3, code 0x00000000bf000002 -- SError [ 102.674642] CPU: 3 UID: 0 PID: 630 Comm: aplay Tainted: G M 6.18.39+ #115 PREEMPT [ 102.674664] Tainted: [M]=MACHINE_CHECK [ 102.674671] Hardware name: Toradex Apalis iMX8QM V1.1 on Apalis Evaluation Board V1.2 (DT) [ 102.674680] pstate: 20000005 (nzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 102.674694] pc : cdns_mhdp_bus_write+0x0/0xe4 [cdns_mhdp_drmcore] [ 102.674744] lr : cdns_mhdp_audio_stop+0x40/0x180 [cdns_mhdp_drmcore] [ 102.674769] sp : ffff80009290bc70 [ 102.674774] x29: ffff80009290bc70 x28: ffff00080e893240 x27: 0000000000000000 [ 102.674801] x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 [ 102.674818] x23: 0000000000000000 x22: ffff0008090f1880 x21: ffff000801114a00 [ 102.674837] x20: ffff000809a34b78 x19: ffff000809a34080 x18: 0000000000000000 [ 102.674856] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 [ 102.674874] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 [ 102.674892] x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000 [ 102.674910] x8 : ffff80009290bd78 x7 : 0000000000000000 x6 : 0000000000000000 [ 102.674927] x5 : ffff00080905a880 x4 : ffff00080905a918 x3 : ffff000801150e80 [ 102.674946] x2 : 000000000003004c x1 : ffff000809a34080 x0 : 0000000000000000 [ 102.674968] Kernel panic - not syncing: Asynchronous SError Interrupt [ 102.674978] CPU: 3 UID: 0 PID: 630 Comm: aplay Tainted: G M 6.18.39+ #115 PREEMPT [ 102.674995] Tainted: [M]=MACHINE_CHECK [ 102.675000] Hardware name: Toradex Apalis iMX8QM V1.1 on Apalis Evaluation Board V1.2 (DT) [ 102.675009] Call trace: [ 102.675016] show_stack+0x28/0x7c (C) [ 102.675046] dump_stack_lvl+0x60/0x80 [ 102.675070] dump_stack+0x18/0x24 [ 102.675088] vpanic+0xf8/0x2b4 [ 102.675106] abort+0x0/0x4 [ 102.675120] add_taint+0x0/0xbc [ 102.675145] arm64_serror_panic+0x70/0x80 [ 102.675166] do_serror+0x34/0x74 [ 102.675184] el1h_64_error_handler+0x38/0x60 [ 102.675206] el1h_64_error+0x6c/0x70 [ 102.675222] cdns_mhdp_bus_write+0x0/0xe4 [cdns_mhdp_drmcore] (P) [ 102.675250] audio_shutdown+0x20/0x40 [cdns_mhdp_drmcore] [ 102.675276] hdmi_codec_shutdown+0x58/0x7c [snd_soc_hdmi_codec] [ 102.675302] snd_soc_dai_shutdown+0x54/0x80 [ 102.675327] soc_pcm_clean.isra.0+0x5c/0x1c8 [ 102.675345] soc_pcm_close+0x34/0x58 [ 102.675360] snd_pcm_release_substream.part.0+0x3c/0xc0 [ 102.675378] snd_pcm_release+0x58/0xe0 [ 102.675392] __fput+0xc8/0x2cc [ 102.675408] fput_close_sync+0x38/0x114 [ 102.675423] __arm64_sys_close+0x38/0x7c [ 102.675443] invoke_syscall.constprop.0+0x48/0xc0 [ 102.675464] do_el0_svc+0x3c/0xc0 [ 102.675480] el0_svc+0x40/0x170 [ 102.675495] el0t_64_sync_handler+0xa0/0xe4 [ 102.675511] el0t_64_sync+0x198/0x19c [ 102.675529] SMP: stopping secondary CPUs [ 102.675547] Kernel Offset: 0x4f62f0a00000 from 0xffff800080000000 [ 102.675555] PHYS_OFFSET: 0xfff1000080000000 [ 102.675560] CPU features: 0x100000,00025800,40004001,0400420b [ 102.675571] Memory Limit: none [ 102.952968] ---[ end Kernel panic - not syncing: Asynchronous SError Interrupt ]--- This bug has been introduced with https://github.com/nxp-imx/linux-imx/commit/bbdf7c86aa79c9ead532a2779920a0ac68db4863 Can the fix be included to the next BSP release? @Zhiming_Liu  Kind regards Franz Schnyder Re: Bug: iMX8QM: Audio over HDMI Creates a Kernel Panic When Audio Stops Hi, Already follow up the internal case, wait for reply. Best Regards, Zhiming
View full article
USB初期化失敗: -22 こんにちは、 USBポート経由でuucツールを使用してwic.b2zイメージをeMMCに書き込もうとしています。書き込み中にUSB初期化失敗:-22エラーが発生しました。imx8mpプロセッサを使用しています。 bootcmd_mfg を実行します: mfgtool_args を実行します。iminfo が${initrd_addr}の場合、test が${tee}の場合、bootm が${tee_addr} ${initrd_addr} ${fdt_addr}の場合、booti が${loadaddr} ${initrd_addr} ${fdt_addr}の場合、fi を実行します。それ以外の場合は、echo "fastboot を実行します..." を実行します。fastboot 0 を実行します。fi を実行します。 自動起動を停止するには、任意のキーを押してください: 0 ## 43800000 番地の画像を確認中... 不明な画像フォーマット! fastbootを実行... USB初期化失敗: -22 u-boot=>     i.MX 8ファミリ | i.MX 8QuadMax (8QM) | 8QuadPlus Re: USB init failed: -22 こんにちは、 問題の原因を分析するために、ボードの起動設定と全過程を共有してください。 Re: USB init failed: -22 U-Boot SPL 2024.04-lf_v2024.04+g6c4545203d1+p0(2024年11月15日 - 04:02:13 +0000) DDRINFO: DRAM initを起動 DDRINFO:DRAMレート4000MTS DDRINFO:ddrphyのキャリブレーション完了 DDRINFO: ddrmix設定完了 第0節:RNGのインスタンス化 ノーマルブート BOOTROMからの起動を試みています 起動段階:USB起動 img info 0x48022fa0、サイズ1064を探せます ダウンロードを続ける必要があります 1024 注意:JR0はHABで使用可能なのでNSにリリースしないでください 通知:BL31: v2.10.0(リリース):オートモーティブ-15.0.0_1.1.0 お知らせ:BL31:製造日時:2024年11月4日 08:52:12 U-Boot 2024.04-lf_v2024.04+g6c4545203d1+p0(2024年11月15日 - 04:02:13 +0000) CPU:i.MX8MP Lite[4] rev1.1 1600 MHz(1200 MHzで動作) CPU:インダストリアル温度グレード(-40°Cから105°C)で35°Cに対応 リセット原因:POR(POR) モデル:NXP i.MX8MPlus LPDDR4 EVKボード DRAM:6 GiB tcpc_init: デバイスIDが見つからない=0x50 setup_typec: tcpc port2 init 失敗、err=-19 tcpc_init: デバイスIDが見つからない=0x50 setup_typec: tcpc port1 init 失敗、err=-19 コア:284デバイス、36 uクラス、デバイスツリー:別々 MMC: FSL_SDHC: 1, FSL_SDHC: 2 どこからともなく環境を読み込む...了解 [*]-ビデオリンク0adv7535_mipi2hdmi adv7535@3d:cecデバイスID=0x3cが見つかりません プローブ失敗 パネル装置adv7535@3d 表示タイミングが取得できない プローブ映像装置故障、退位-19 [0] LCD-controller@32e80000、ビデオ [1] mipi_dsi@32e60000、video_bridge [2] adv7535@3d、パネル adv7535_mipi2hdmi adv7535@3d: cecデバイスIDが見つからない=0x3c プローブ失敗 パネル装置adv7535@3d 表示タイミングが取得できない プローブ映像装置故障、退位-19 出演:連続ドラマ 終了:連続ドラマ えっと:連続 第0節:RNGのインスタンス化 MMC:カードは提示されていません USB起動検出。Fastbootモードに入る! ネット:FEC0のPHYが取得できませんでした:addr 1 FEC0: addr 1のPHYが取得できませんでした eth1:ethernet@30bf0000【プライム】 速攻:通常 mfgtoolsのUSBから起動 警告 - mfgtoolsのデフォルト環境をご利用ください 、デフォルト環境を使用 実行bootcmd_mfg:実行mfgtool_args;もし情報が ${initrd_addr}なら;もしテストなら ${tee} =はい;次にbootm ${tee_addr} ${initrd_addr} ${fdt_addr};そうでなければbooti ${loadaddr} ${initrd_addr} ${fdt_addr};fi;そうでなければエコー「Run fastboot ...";ファストブート0;FI; どのキーを押してもオートブートを止める:0 ## 43800000で画像確認中... 不明な画像フォーマット! fastbootを実行... USB初期化失敗: -22 u-boot=>
View full article
漏洞:iMX8QM:通过HDMI传输音频时,音频停止会导致内核崩溃 你好, 这是对Max 当时创建的帖子的后续讨论。 看来他提供的补丁最终并没有应用,因为 lf-6.18.y 中没有这个补丁。 目前,音频停止播放时会发生内核崩溃。 root@apalis-imx8-15304854:~# aplay -D sysdefault:CARD=imxaudiohdmitx sound/Gong.wav Playing WAVE 'sound/Gong.wav' : [ 100.599725] [drm] pclkc 533250 is not supported! Signed 16 bit Little Endian, Rate 44100 Hz, Stereo ^CAborted by signal Interrupt... [ 102.674593] SError Interrupt on CPU3, code 0x00000000bf000002 -- SError [ 102.674642] CPU: 3 UID: 0 PID: 630 Comm: aplay Tainted: G M 6.18.39+ #115 PREEMPT [ 102.674664] Tainted: [M]=MACHINE_CHECK [ 102.674671] Hardware name: Toradex Apalis iMX8QM V1.1 on Apalis Evaluation Board V1.2 (DT) [ 102.674680] pstate: 20000005 (nzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 102.674694] pc : cdns_mhdp_bus_write+0x0/0xe4 [cdns_mhdp_drmcore] [ 102.674744] lr : cdns_mhdp_audio_stop+0x40/0x180 [cdns_mhdp_drmcore] [ 102.674769] sp : ffff80009290bc70 [ 102.674774] x29: ffff80009290bc70 x28: ffff00080e893240 x27: 0000000000000000 [ 102.674801] x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 [ 102.674818] x23: 0000000000000000 x22: ffff0008090f1880 x21: ffff000801114a00 [ 102.674837] x20: ffff000809a34b78 x19: ffff000809a34080 x18: 0000000000000000 [ 102.674856] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 [ 102.674874] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 [ 102.674892] x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000 [ 102.674910] x8 : ffff80009290bd78 x7 : 0000000000000000 x6 : 0000000000000000 [ 102.674927] x5 : ffff00080905a880 x4 : ffff00080905a918 x3 : ffff000801150e80 [ 102.674946] x2 : 000000000003004c x1 : ffff000809a34080 x0 : 0000000000000000 [ 102.674968] Kernel panic - not syncing: Asynchronous SError Interrupt [ 102.674978] CPU: 3 UID: 0 PID: 630 Comm: aplay Tainted: G M 6.18.39+ #115 PREEMPT [ 102.674995] Tainted: [M]=MACHINE_CHECK [ 102.675000] Hardware name: Toradex Apalis iMX8QM V1.1 on Apalis Evaluation Board V1.2 (DT) [ 102.675009] Call trace: [ 102.675016] show_stack+0x28/0x7c (C) [ 102.675046] dump_stack_lvl+0x60/0x80 [ 102.675070] dump_stack+0x18/0x24 [ 102.675088] vpanic+0xf8/0x2b4 [ 102.675106] abort+0x0/0x4 [ 102.675120] add_taint+0x0/0xbc [ 102.675145] arm64_serror_panic+0x70/0x80 [ 102.675166] do_serror+0x34/0x74 [ 102.675184] el1h_64_error_handler+0x38/0x60 [ 102.675206] el1h_64_error+0x6c/0x70 [ 102.675222] cdns_mhdp_bus_write+0x0/0xe4 [cdns_mhdp_drmcore] (P) [ 102.675250] audio_shutdown+0x20/0x40 [cdns_mhdp_drmcore] [ 102.675276] hdmi_codec_shutdown+0x58/0x7c [snd_soc_hdmi_codec] [ 102.675302] snd_soc_dai_shutdown+0x54/0x80 [ 102.675327] soc_pcm_clean.isra.0+0x5c/0x1c8 [ 102.675345] soc_pcm_close+0x34/0x58 [ 102.675360] snd_pcm_release_substream.part.0+0x3c/0xc0 [ 102.675378] snd_pcm_release+0x58/0xe0 [ 102.675392] __fput+0xc8/0x2cc [ 102.675408] fput_close_sync+0x38/0x114 [ 102.675423] __arm64_sys_close+0x38/0x7c [ 102.675443] invoke_syscall.constprop.0+0x48/0xc0 [ 102.675464] do_el0_svc+0x3c/0xc0 [ 102.675480] el0_svc+0x40/0x170 [ 102.675495] el0t_64_sync_handler+0xa0/0xe4 [ 102.675511] el0t_64_sync+0x198/0x19c [ 102.675529] SMP: stopping secondary CPUs [ 102.675547] Kernel Offset: 0x4f62f0a00000 from 0xffff800080000000 [ 102.675555] PHYS_OFFSET: 0xfff1000080000000 [ 102.675560] CPU features: 0x100000,00025800,40004001,0400420b [ 102.675571] Memory Limit: none [ 102.952968] ---[ end Kernel panic - not syncing: Asynchronous SError Interrupt ]--- 此错误是由https://github.com/nxp-imx/linux-imx/commit/bbdf7c86aa79c9ead532a2779920a0ac68db4863引入的。 能否将此修复程序包含在下一个 BSP 版本中? @刘志明 此致敬礼 弗朗茨·施奈德 Re: Bug: iMX8QM: Audio over HDMI Creates a Kernel Panic When Audio Stops 你好, 已跟进内部案件,等待回复。 此致, 志明
View full article
USB 初始化失败:-22 您好, 我尝试使用 uuc 工具通过 USB 端口将 wic.b2z 镜像刷入 eMMC 存储。刷写过程中出现 USB 初始化失败:-22 错误。我使用的是 imx8mp 处理器。 运行 bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr} ; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr} ; else booti ${loadaddr} ${initrd_addr} ${fdt_addr} ; fi; else echo "运行 fastboot ..."; fastboot 0; fi; 按任意键停止自动启动:0 正在检查 43800000 处的图像... 未知图像格式! 运行 fastboot... USB 初始化失败:-22 u-boot=>     i.MX 8 系列 | i.MX 8QuadMax (8QM) | 8QuadPlus Re: USB init failed: -22 你好, 请提供完整的操作流程和主板的启动配置,以便我们分析问题原因。 Re: USB init failed: -22 U-Boot SPL 2024.04-lf_v2024.04+g6c4545203d1+p0(2024年11月15日 - 04:02:13 +0000) DDRINFO:启动 DRAM 初始化 DDRINFO:DRAM 速率 4000MTS DDRINFO:DDRPHY 校准完成 DDRINFO:ddrmix 配置完成 SEC0:RNG 实例化 正常启动 尝试从 BOOTROM 启动 启动阶段:USB 启动 查找图像信息 0x48022fa0,大小 1064 需要继续下载 1024 注意:请勿将 JR0 释放给 NS,因为它可能被 HAB 使用。 注意:BL31:v2.10.0(版本):automotive-15.0.0_1.1.0 通知:BL31:构建时间:2024年11月4日 08:52:12 U-Boot 2024.04-lf_v2024.04+g6c4545203d1+p0(2024年11月15日 - 04:02:13 +0000) CPU:i.MX8MP Lite[4] rev1.1 1600 MHz(运行频率为 1200 MHz) CPU:工业级耐温等级(-40℃至105℃),工作温度35℃ 复位原因:POR 型号:NXP i.MX8MPlus LPDDR4 EVK 板 动态随机存取存储器(DRAM):6 GiB tcpc_init:找不到设备 ID=0x50 setup_typec:tcpc port2 初始化失败,错误代码=-19 tcpc_init:找不到设备 ID=0x50 setup_typec:tcpc port1 初始化失败,错误代码=-19 核心:284 个设备,36 个微类,设备树:独立 MMC:FSL_SDHC:1,FSL_SDHC:2 环境正在加载,但不知从何而来……好的 [*]-视频链接 0adv7535_mipi2hdmi adv7535@3d:找不到 CEC 设备 ID=0x3c 探测面板设备 adv7535@3d 失败 无法获取显示时序 探测视频设备故障,返回码 -19 [0] lcd-controller@32e80000,视频 [1] mipi_dsi@32e60000,视频桥 [2] adv7535@3d,面板 adv7535_mipi2hdmi adv7535@3d:找不到 CEC 设备 ID=0x3c 探测面板设备 adv7535@3d 失败 无法获取显示时序 探测视频设备故障,返回码 -19 输入:串行 输出:串口 错误:串行 SEC0:RNG 实例化 MMC:未持有卡片 检测 USB 启动。即将进入fastboot模式! 网络:无法获取 FEC0 的 PHY:地址 1 无法获取 FEC0 的 PHY:地址 1 eth1:以太网@30bf0000 [PRIME] Fastboot:正常 从 USB 启动 mfgtools *** 警告 - 请使用 mfgtools 的默认环境 使用默认环境 运行 bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr} ; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr} ; else booti ${loadaddr} ${initrd_addr} ${fdt_addr} ; fi; else echo "运行 fastboot ..."; fastboot 0; fi; 按任意键停止自动启动:0 ## 正在检查 43800000 处的图像... 未知图像格式! 运行 fastboot... USB 初始化失败:-22 u-boot=>
View full article
S32K312 Freertos build issue for the FreeRTOS_Toggle_Led_Example_S32K312 Hi Team, I have downloaded the following RTD and FreeRTOS packages from the NXP website: SW32K3_RTD_R23-11_7.0.1_P02_D2603_DesignStudio_updatesite.tar SW32K3_FreeRTOS_11.1.0_0.8.0_CD1_D2603_DesignStudio_updatesite.tar I am using a Windows system and have successfully imported/opened the FreeRTOS_Toggle_Led_Example_S32K312 project in S32 Design Studio (V3.6.10). However, when I try to build the application, I encounter the error #include "FreeRTOSConfig.h file not found as shown in the attached screenshot (BE1). Additionally, when I open the project's .mex file, Config Tools displays the following error (Refer attached Mex file) "The tool does not support the selected processor." Could you please guide me on the following points? Is there any specific version of S32 Design Studio required for these RTD and FreeRTOS packages? Are there any additional updates, plugins, or device support packages that need to be installed for S32K312? What is the correct procedure to build and run the FreeRTOS_Toggle_Led_Example_S32K312 sample application? My end goal is to run FreeRTOS on the S32K312 EVB. Could you please advise on the recommended setup and installation steps? I have attached the build error screenshots (BE1 and Mex) for reference. Thank you for your support. Best regards, Pramod Jadhav Re: S32K312 Freertos build issue for the FreeRTOS_Toggle_Led_Example_S32K312 Thanks for the quick update the given RTD version is resolved my issue. Re: S32K312 Freertos build issue for the FreeRTOS_Toggle_Led_Example_S32K312 Hi, the SW32K3_RTD_R23-11_7.0.1_P02_D2603_DesignStudio_updatesite.zip includes just Crypto driver. You need to install based RTD package first before adding FreeRTOS one. PetrS_0-1788946493548.pngPetrS_0-1788946493548.png Once you have RTD & FreeRTOS sucesfully installed, just create new project from example PetrS_1-1788946542398.pngPetrS_1-1788946542398.png After it is loaded, open mex file and click on Update Code button. It should add missing drivers etc.  Then you can Build the demo You can also right click on project in Project Explorer window and select Update Code and Build Project. PetrS_0-1788946711279.pngPetrS_0-1788946711279.png BR, Petr
View full article
Gui-guider 2.0的一些建议 希望Gui-guider 2.0在设置中增加一个选项来控制开启或者关闭生成的文件中时间戳. 然后生成的每一个页面(screen)都会有相应的gg_event_screen.c,哪怕我的页面没有使用注册任何事件, 希望在没有注册任何事件的时候不要生成事件的任何内容. 另外希望能有一个机制能选择把一些没有显示的图片或者资源打包进项目,虽然目前可以在幽灵页上放图片和字体的方式包含进工程项目,但是不太优雅. 关于字体,目前在设置中有一个控制所有字体的默认生成范围的设置,希望未来能控制所有字体的生成的范围. 致谢 回复: Gui-guider 2.0的一些建议 Hi @Xu_556678 , 非常感谢您的反馈,这些建议对我们非常宝贵,我们将在未来release中考虑进行相应的优化和改进。 希望GUI Guider 能够帮助到您的工作,未来如有任何问题和建议都欢迎您反馈。 Best Regards, Wenbin
View full article
Some suggestions for Gui-guider 2.0 I hope Gui-guider 2.0 will add an option in the settings to control whether timestamps in the generated files are enabled or disabled. Then each generated page (screen) will have a corresponding gg_event_screen.c file, even if my page does not register any events. We want to prevent any event content from being generated when no events are registered. Additionally, I would like a mechanism to selectively include some images or resources that are not currently displayed in the project. Although it is possible to include images and fonts from the ghost page into the project, it is not very elegant. Regarding fonts, there is currently a setting in the settings to control the default generation range of all fonts. Hopefully, in the future, we can control the generation range of all fonts. Acknowledgments 回复: Gui-guider 2.0的一些建议 Hi @Xu_556678 , Thank you very much for your feedback. These suggestions are invaluable to us, and we will consider making corresponding optimizations and improvements in future releases. We hope the GUI Guider will be helpful to your work. Please feel free to provide any feedback or suggestions you may have in the future. Best Regards, Wenbin
View full article
spi: spi_nxp_lpspi: DMA モード、-EIO または破損したデータを返します こんにちは、みんな 最近、SPI DMAのマルチセンサー通信で問題が発生しました。SPIトランザクションが-EIOで返却されるか、データが破損している場合です。私が見つけたドライバに掘り下げると、spi_nxp_lpspi転送開始時に両方のLPSPI DMA要求有効ビットを有効にしますが、転送の最後には1ビットだけが無効になります。2つのDMAチャネルのうち2番目に終了するものが、自身のDERビットをクリアせずにSPIコンテキストを完了するため、各転送は次のリクエストに1つのEnable Leakを送ります。 In ドライバ/spi/spi_nxp_lpspi/spi_nxp_lpspi_dma.c, 両方のビットがtransceive_dma()(:346)で同時に有効化されています: if (channel == dma_data->dma_tx.channel) { spi_mcux_issue_TCR(spi_dev); dma_data->state = LPSPI_TRANSFER_STATE_TX_DONE; base->DER &= ~LPSPI_DER_TDDE_MASK; } else { dma_data->state = LPSPI_TRANSFER_STATE_RX_DONE; base->DER &= ~LPSPI_DER_RDDE_MASK; } lpspi_dma_callback()では、最初に終了するチャネルが自分のビットをクリアします(:249–:253): if (channel == dma_data->dma_tx.channel) { spi_mcux_issue_TCR(spi_dev); dma_data->state = LPSPI_TRANSFER_STATE_TX_DONE; base->DER &= ~LPSPI_DER_TDDE_MASK; } else { dma_data->state = LPSPI_TRANSFER_STATE_RX_DONE; base->DER &= ~LPSPI_DER_RDDE_MASK; } 両方のビットをクリアすると、すべてのトランザクションが警告なしに通過するようです。以下は私が使用したパッチです。 @@ lpspi_dma_callback() case LPSPI_TRANSFER_STATE_TX_DONE: case LPSPI_TRANSFER_STATE_RX_DONE: dma_data->state = LPSPI_TRANSFER_STATE_RX_TX_DONE; /* TX and RX both done here. */ + base->DER &= ~(LPSPI_DER_TDDE_MASK | LPSPI_DER_RDDE_MASK); spi_context_complete(ctx, spi_dev, 0); spi_context_cs_control(ctx, false); break; @@ error: + base->DER &= ~(LPSPI_DER_TDDE_MASK | LPSPI_DER_RDDE_MASK); LOG_ERR("DMA callback error with channel %d.", channel); spi_context_complete(ctx, spi_dev, ret); spi_context_cs_control(ctx, false); 添付は私が使ったテストアプリケーションです。上記の解決策がアプリに組み込まれています。 私の質問は、ドライバーが片方だけクリアして両方がクリアされない理由があるのでしょうか?
View full article
TJA1410 - TXはフルスイングしません 私はカスタム基板上でTJ1410Aを使用しています。このPMDチップと連携できるMacを評価中です。データが差動線でこのPMDチップに送信されると、データフレームは3線式RX(MACに対するRX)でMACに送信されます。TJ1410チップに供給されるVCCは3.3Vで、RX(3.3Vでハイレベル)に何らかの動作が見られます。現在は、活動が3.2Vから2Vの間で変動する(以前は3.3Vから0Vの間で変動していた)。そのためMacはこれをRXハイと認識し、静かだと思い込んでしまいます。電圧振幅が正しくないのはなぜですか?(オシロスコープのキャプチャ画面を添付します)。また、この部品(TJ1410)のデータシートをお持ちでしたら、ぜひ共有してください。 bitmasker_0-1788968416352.png Re: TJA1410 - TX does not have full swing こんにちはビットマスク 良い一日! VIOピンの接続を確認してもらえますか?VIOが電源に接続されているか確認してください。TJA1410AはVIOで1.8Vから3.3Vまで対応しています。VCCで3.3Vを供給しているのにVIOが開いたまままたは接続されていない場合、RX出力がグラウンドにスイングできません。 データシートは公式ウェブサイト TJA1410「ドキュメント > Secure」セクションでご覧いただけます。 残念ながら、これは機密ファイルなので、アクセスするには当事務所とのNDAが必要です。NDAに署名したい旨を伝えるサポートチケットを開くことをお勧めします。そうすれば、適切なチームにリクエストが回されるようにしましょう。 RafaR_1-1788987187012.pngRafaR_1-1788987187012.png この情報がお役に立てば幸いです。他に何かご不明な点がありましたら、お気軽にお問い合わせください。 良い一日をお過ごしください。幸運を祈ります。
View full article
GUI-Guider 1.9.1 こんにちは、NXPサポートの皆さん、 GUI-Guider 1.9.1 GA Windows インストーラー+オフラインテンプレートzipパッケージの公式ダウンロードリンクを教えていただけませんか?ありがとう。 eGUI Re: GUI‑Guider 1.9.1 こんにちは、 @Leo_China さん。 GUI Guider v1.9.1のインストーラーは提供されなくなりました。 しかし、すでにGUI Guider v1.9.xでプロジェクトを作成している場合は、GUI Guider v1.10.xを利用できます既存のプロジェクトを直接インポートできます。 よろしくお願いします、 パブロ
View full article
TJA1410 - TX does not have full swing I am using TJ1410A on a custom board. I am evaluating  mac to work with this PMD chip. When data is sent to this PMD chip on differential wire, it then sends the data frame to MAC on 3-wire RX (RX with respect to mac). The VCC provided to TJ1410 chip is 3.3 V and I see some activity on RX (which was high at 3.3V). Now the activity fluctuates from 3.2 V to 2V (instead of 3.3 to 0V). So the mac sees this as RX high and thinks that it is silent. Why is the voltage swing not correct (attaching a scope capture screenshot). Also do you have a datasheet on this part (TJ1410) - please share.  bitmasker_0-1788968416352.png Re: TJA1410 - TX does not have full swing Hello bitmasker Good day! Could you verify your VIO pin connection, confirm VIO is connected to your supply. The TJA1410A supports 1.8 V to 3.3 V on VIO. If you are supplying 3.3 V on VCC but VIO is left open or unconnected, the RX output cannot swing to ground. You can find the datasheet on our official website TJA1410 under the "Documentation > Secure" section. Unfortunately, it is a confidential file, so you must have an NDA in place with us to access it. I recommend opening a support ticket stating that you wish to sign an NDA so that your request can be routed to the appropriate team. RafaR_1-1788987187012.pngRafaR_1-1788987187012.png I hope this information has helped you, please let me know if you need help with anything else. Have a great day and best of luck.
View full article
GUI‑Guider 1.9.1 Hello NXP support, could you please provide the official download link for GUI‑Guider 1.9.1 GA Windows installer + offline template zip package. Thanks. eGUI Re: GUI‑Guider 1.9.1 Hi @Leo_China, The GUI Guider v1.9.1 installer is no longer provided. However, if you already have a project created with GUI Guider v1.9.x, you can use GUI Guider v1.10.x directly and import your existing project. Best Regards, Pablo
View full article