Multi Source Translation Content

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Multi Source Translation Content

讨论

排序依据:
ls1021a eTSEC 送信タイムアウト 私はLS1021A IoTと、このCPUをベースにしたプロトタイプ基板を持っています。どちらの場合も、弊社独自のブートローダーを使用しています。 IOTボードでは完璧に動作しますが、私のボードではイーサネットポートで送信タイムアウトが発生します。数回のpingが送信され、その後送信タイムアウトが発生し、さらにpingが送信されます。このため、TFTPはほとんど利用できません。 もちろん、ハードウェアの違いはあります。私たちのMACはBCM54616Sに接続され、その後LAN9514に接続されています。自動交渉の上限は100FDです。ループバックモードでもTXタイムアウトが発生します。 データを送信するためには、ボードのTBI PHYでビットSGMII_ANビットを設定しなければなりませんでしたが、IOTでは不要でした(IOTは1000FDで交渉可能です)。 なぜTXがこんなに断続的に起こるのか分かりません。この速度制限と関係があるのでしょうか? Re: ls1021a eTSEC tx timeout こんにちは、 100FD SGMIIの場合、プロトタイプ基板上のブートローダーで以下の項目を確認してください。 LS1021AのeTSECをSGMII 100Mbpsに設定する ECNTRL[TBIM] = 1 ECNTRL[SGMIIM] = 1 ECNTRL[R100M] = 1 MACCFG2[I/F Mode] = 01 (10/100モードの場合) LS1021Aのリファレンスマニュアルには、SGMII 100Mbpsの場合、 R100M = 1 設定することが明記されています。 内部のTBI PHYをリセットしプログラムするRMは、SGMIIがTBIレジスタセットを使用していること、そしてSGMIIを含むすべてのインターフェースモードでTBIをリセットすることが重要であると述べています。 SGMII_AN ビットは設定したままにしてください。TBI の SGMII_AN ビットは「1 に設定する必要があります」と記載されています。このビットを設定した後にしか基板が送信しないのは驚くことではありません。このPHY/MACモードのブートローダー初期化が不完全であることを示唆しています。 100 Mbps での 1G スタイルの SGMII AN 動作に頼らないでください。LS1021A では、100 Mbps SGMII 動作時に「SGMII リンクが正常ではありません」というメッセージが表示されたり、リンクのサイクル後に断続的にパケットが送信されないという報告が知られていますが、1G 動作では問題ありません。それは、あなたのTXタイムアウトの正確な根本原因を証明するものではありませんが、100FD SGMIIの設定が有力な容疑者であることを示唆しています。 ループバックの結果が重要です。もし「ループバックモード」が外部PHYループバックやSGMII側ループバックであれば、100FDのSGMII/TBIセットアップは関与可能です。内部MAC/eTSECループバックの場合、外部BCM54616S/LAN9514パスはほとんど関係ないので、eTSECの初期化、ディスクリプタリングの処理、キャッシュの一貫性、およびTXの停止/エラー状態に焦点を当てます。 デバッグを行うには、タイムアウトが発生したときにeTSEC TXの停止状態を確認してください。RMは、eTSECがTxBDリングからの送信フレームを処理しなくなったときに送信停止ビットを設定すると述べています。繰り返し可能な原因には、バスエラー、無効なBD/データアドレス、修正不能なBD/データ読み取りエラー、長さ 0 の Ready = 1 などのTxBDプログラミングエラーなどがあります。また、見ているかどうかも確認してください IEVENT_BSY ;NXPの資料では、BSYはバッファ不足やソフトウェアがBDリングに十分速く対応できないことによるRXフレームのドロップと説明されており、これは純粋なSGMIIの電気的症状ではなくソフトウェア/BDリングの症状です。 推奨される分離シーケンス: 1. 必要に 応じて、 外部 PHY を 100FD に 強制し 、 銅線に対する自動ネゴシエーションを無効にします 。2. LS1021Aの MAC / eTSEC を SGMII 100Mbps に 強制的に設定する : TBIM = 1 、 SGMIIM = 1 、 R100M = 1 、 MACCFG2 I / F モード = 10 / 100。3. SGMII モードを設定した後、 TBIを リセット / 再初期化します 。4. TBI SGMII_AN = 1 に設定します 。 5. TBI リンク / AN ステータス 、 eTSEC ECNTRL / MACCFG2 、 および PHY SGMII 側 ステータス を確認します 。6.タイムアウト時に、 IEVENT 、 TXハルトレジスタ、 DMAステータス、およびTXBDリングの内容をダンプします。 敬具 Re: ls1021a eTSEC tx timeout 言い忘れていましたが、私のポートはSGMIIモードに設定されています。 Re: ls1021a eTSEC tx timeout こんにちは、 詳細な調査結果をありがとうございます。ご指摘いただいた回避策(1ミリ秒の遅延、手動によるDMAフラッシュ、 dma-coherent 削除)の組み合わせは、キャッシュエイリアスの問題の典型的なパターンです。以下に、根本原因の説明と推奨される解決方法を示します。 根本原因:TX記述子領域上のキャッシュされた仮想エイリアス LS1021A ENET DMAはキャッシュ整合性のないバス・マスタであり、CPUキャッシュの可視性を持たずにDDRを直接読み込みます。LS1021A上のgianfarの正しい運用モデルは、非コヒーレントなソフトウェア管理モデルです。すなわち、ディスクリプタをキャッシュされていないメモリに割り当て、CPUがディスクリプタフィールドを更新するたびに明示的な dma_sync_* 呼び出しを行います。 LPAEの変更によって最も可能性が高いのは、記述子の物理アドレス範囲のページテーブルエントリに、誤ったキャッシュ属性(デバイスまたは通常のキャッシュ不可ではなく、通常のライトバック)が付与されたことです。これにより、同じ物理メモリに対して異なるキャッシュ性を持つ2つの仮想エイリアスが作成されます。割り当てパス( dma_alloc_noncoherent 経由)はキャッシュされていない状態をマッピングしますが、send関数のパケットごとのTXディスクリプタ更新パスはキャッシュされたエイリアス経由でアクセスします。CPUは更新されたディスクリプタフィールドをキャッシュラインに書き込みますが、それらはDDRに到達せず、ENET DMAは古いデータを読み取ってアンダーランを起こします。 なぜあなたの3つの回避策はすべて同じ欠陥を隠蔽しているのか 1 ms遅延/メッセージ挿入:低負荷時にCPU書き込みバッファが自然に消耗する十分なレイテンシを追加します。タイミング依存で、トラフィックや周波数の変化により故障します。 send 関数で dma_flush 手動で指定すると、DMA がディスクリプタを読み取る前に、PoC へのキャッシュのクリーンアップが強制されます。これは正しい動作ですが、領域が実際にキャッシュされていない場合は不要です。 enet デバイス ノードから dma-coherent 削除すると、カーネルは送信前に各 TX ディスクリプタに対して dma_map_single() / dma_sync_single_for_device() を呼び出し、明示的にキャッシュをクリアします。これも正しく、LS1021A-IOT が送信パスのフラッシュなしで確実に動作した理由を説明しています。 送信パスのフラッシュがないことが、欠けている要素です。LS1021A-IOTは dma-coherent 削除しても動作しました。これは、カーネルのDMAマッピングレイヤーが同期を自動的に挿入したためです。一方、プロトタイプにはそのパスがありません。LPAEの変更により、同期を再導入することなく記述子領域のキャッシュ属性が変更されたためです。 DDR3LとDDR4/周波数の違い これは根本原因ではありません。異なるDRAMの種類や周波数が書き込みレイテンシやバッファのドレインタイミングを変えるため、プロトタイプでは故障がより目立つのですが、根本的な欠陥はアーキテクチャ的なもので、十分な負荷がかかると両方の基板に存在します。 推奨される修正方法 正しく、かつ矛盾のない解決策は、以下の2つを組み合わせることです。 enetデバイスノードから dma-coherent 離しておきましょう(非コヒーレントモデル)。これにより、カーネルDMAレイヤーは、 dma_alloc_noncoherent を介して割り当てられたディスクリプタのDMA所有権が転送される前に、 dma_sync_single_for_device() 自動的に発行します。 TX 送信パスにおいて、各パケットに TX 記述子フィールド ( status 、 data_length 、 data_pointer ) が書き込まれる箇所に、明示的な dma_sync_single_for_device() 呼び出しを追加します。これは手動で追加したフラッシュですが、 TDAR を書く前に正式には dma_sync_single_for_device(dev, desc_dma_addr, sizeof(txbd), DMA_TO_DEVICE) として配置する必要があります。これにより、MMUがディスクリプタ領域をどのように属性付けしても、モデルは明示的かつ正確になります。 別途、ENET記述子に使用される物理アドレス範囲に割り当てられた AttrIndx / TEX+C+B フィールドについて、LPAE MMUライブラリの変更を監査します。ディスクリプタプールは、Device-nGnRnE(厳密な順序付け)またはNormal Non-cacheableとしてマッピングする必要があります。Normal Writebackは使用しないでください。カーネルの ptdump デバッグインターフェースで、割り当て後にディスクリプタプールの仮想アドレスを確認することで、実際に使われている属性を検証できます。 あなたが追加したDMAフラッシュは回避策ではなく、正しい仕組みです。本当の欠陥は、そもそも送信パスにそれが存在していなかったことであり、LPAEの変更によってその領域の実効的なキャッシュ可能性が変わったため、この欠陥が露呈した。   よろしくお願いします。 Re: ls1021a eTSEC tx timeout 送信機能にメッセージを追加したり、1ミリ秒の遅延を設けたりすることで、データの損失なく正しく転送することが可能になります。 送信関数内のTXディスクリプタにDMAフラッシュを追加したところ、改善されました。ただし、ディスクリプタはキャッシュされていないメモリに割り当てられるため、これは必要ないはずです。LPAEサポートを追加したMMUライブラリの欠陥かもしれません。 そういえば、ずいぶん前にenetデバイスノードのdma-coherentプロパティを削除したところ、LS1021A-IOTが動作するようになったことを思い出しました。これは、ディスクリプタ用にキャッシュされていないメモリを割り当てながら、DMAフラッシュを強制的に実行します。しかし、送信関数には、各パケットのTX記述子を更新するキャッシュフラッシュ機能がありませんでした。なぜ私のプロトタイプでは動作しないのか分かりません(周波数の違い、DDR3LとDDR4の違い,...)
查看全文
PN7221 fails to detect ISO 14443-3B We ported PN7221 in accordance with the document AN14880 PN7160/PN7220 - Android 16 porting guide. During testing, ISO 14443-3B (NfcB) cards cannot be detected. Moreover, after tapping such a card, the NFC function malfunctions and fails to recognize any cards. It is necessary to toggle NFC off and on again to restore normal operation. Relevant logs are attached below for your analysis. ❯ 07-16 09:24:28.515 530 6384 D NxpTml : PN72xx - I2C Read successful..... 07-16 09:24:28.515 530 6384 D NxpNciR : len = 26 > 61051701010001FF010C0B00000000D103860500808001000000 07-16 09:24:28.515 530 6384 D NxpTml : PN72xx - Posting read message..... 07-16 09:24:28.516 530 6387 D NxpHal : read successful status = 0x0 07-16 09:24:28.516 530 6387 D NxpHal : NxpNci: RF Interface = Frame RF 07-16 09:24:28.516 530 6387 D NxpHal : NxpNci: Protocol = Unknown 07-16 09:24:28.516 530 6387 D NxpHal : NxpNci: Mode = B Passive Poll 07-16 09:24:28.516 530 6387 D NxpHal : NCI NTF: RF_DEACTIVATED len=26 type=1 07-16 09:24:28.517 530 6384 D NxpTml : PN72xx - Read requested..... 07-16 09:24:28.517 530 6384 D NxpTml : PN72xx - Invoking I2C Read..... 07-16 09:24:28.517 1599 6381 D libnfc_nci: rw_t4t_send_to_lower: conn_id sent to lower =0 07-16 09:24:28.517 530 542 I android.hardware.nfc2-service.nxp: write 07-16 09:24:28.517 530 6385 D NxpTml : PN72xx - Write requested..... 07-16 09:24:28.517 530 6385 D NxpTml : PN72xx - Invoking I2C Write..... 07-16 09:24:28.519 530 6385 D NxpNciX : len = 12 > 0000091D0000000000080100 07-16 09:24:28.519 530 6385 D NxpTml : PN72xx - I2C Write successful..... 07-16 09:24:28.519 530 6385 D NxpTml : PN72xx - Posting Fresh Write message..... 07-16 09:24:28.519 530 6385 D NxpTml : PN72xx - Tml Writer Thread Running................ 07-16 09:24:28.519 530 6387 D NxpHal : write successful status = 0x0 07-16 09:24:28.520 530 6384 D NxpTml : PN72xx - I2C Read successful..... 07-16 09:24:28.520 530 6384 D NxpNciR : len = 6 > 600603010001 07-16 09:24:28.520 530 6384 D NxpTml : PN72xx - Posting read message..... 07-16 09:24:28.521 530 6387 D NxpHal : read successful status = 0x0 07-16 09:24:28.521 530 6387 D NxpHal : NCI NTF: CORE_GENERIC_ERROR len=6 07-16 09:24:28.521 530 6384 D NxpTml : PN72xx - Read requested..... 07-16 09:24:28.521 530 6384 D NxpTml : PN72xx - Invoking I2C Read..... 07-16 09:24:28.523 530 6384 D NxpTml : PN72xx - I2C Read successful..... 07-16 09:24:28.523 530 6384 D NxpNciR : len = 5 > 0000020000 07-16 09:24:28.523 530 6384 D NxpTml : PN72xx - Posting read message..... 07-16 09:24:28.523 530 6387 D NxpHal : read successful status = 0x0 07-16 09:24:28.524 1599 6381 I libnfc_nci: rw_t3Bt_sm_get_id (): sub_state:WAIT_ENDEF_FILE_CTRL_TLV (17) 07-16 09:24:28.524 1599 6381 D libnfc_nci: rw_t4t_send_to_lower: conn_id sent to lower =0 07-16 09:24:28.524 530 542 I android.hardware.nfc2-service.nxp: write 07-16 09:24:28.524 530 6385 D NxpTml : PN72xx - Write requested..... 07-16 09:24:28.524 530 6385 D NxpTml : PN72xx - Invoking I2C Write..... 07-16 09:24:28.524 530 6384 D NxpTml : PN72xx - Read requested..... 07-16 09:24:28.524 530 6384 D NxpTml : PN72xx - Invoking I2C Read..... 07-16 09:24:28.525 530 6385 D NxpNciX : len = 8 > 0000050036000008 07-16 09:24:28.525 530 6385 D NxpTml : PN72xx - I2C Write successful..... 07-16 09:24:28.525 530 6385 D NxpTml : PN72xx - Posting Fresh Write message..... 07-16 09:24:28.525 530 6385 D NxpTml : PN72xx - Tml Writer Thread Running................ 07-16 09:24:28.525 530 6387 D NxpHal : write successful status = 0x0 07-16 09:24:28.527 530 6384 D NxpTml : PN72xx - I2C Read successful..... 07-16 09:24:28.527 530 6384 D NxpNciR : len = 6 > 600603010001 07-16 09:24:28.528 530 6384 D NxpTml : PN72xx - Posting read message..... 07-16 09:24:28.528 530 6387 D NxpHal : read successful status = 0x0 07-16 09:24:28.528 530 6387 D NxpHal : NCI NTF: CORE_GENERIC_ERROR len=6 07-16 09:24:28.530 530 6384 D NxpTml : PN72xx - Read requested..... 07-16 09:24:28.530 530 6384 D NxpTml : PN72xx - Invoking I2C Read..... 07-16 09:24:28.531 530 6384 D NxpTml : PN72xx - I2C Read successful..... 07-16 09:24:28.532 530 6384 D NxpNciR : len = 14 > 00000B21CBA4729CB97166900000 07-16 09:24:28.532 530 6384 D NxpTml : PN72xx - Posting read message..... 07-16 09:24:28.532 530 6387 D NxpHal : read successful status = 0x0 07-16 09:24:28.533 1599 6381 I libnfc_nci: rw_t3Bt_sm_get_id (): sub_state:???? UNKNOWN SUBSTATE (18) 07-16 09:24:28.533 1599 6381 I libnfc_nci: nfa_rw_update_pupi_id: 07-16 09:24:28.534 530 6384 D NxpTml : PN72xx - Read requested..... 07-16 09:24:28.534 530 6384 D NxpTml : PN72xx - Invoking I2C Read..... Re: PN7221 fails to detect ISO 14443-3B We've upgraded to version 3.2.5, but the test results remain unchanged. 07-17 01:13:52.157 533 542 D NxpHal : FW version found on the device = 0x30205 Re: PN7221 fails to detect ISO 14443-3B Hello @zhangkai  Please update to 3.2.5, you can get the FW file by going: nfc-NXPNFCC_FW/InfraFW/pn7220 at master · NXP/nfc-NXPNFCC_FW Re: PN7221 fails to detect ISO 14443-3B 06-24 10:20:33.259 390 401 D NxpHal : FW version found on the device = 0x302c4 Re: PN7221 fails to detect ISO 14443-3B Hello @zhangkai  which is the version of FW? if it low 3.2.5, please update to the newest, and test again. If still has question, please provide full log to us. Re: PN7221 fails to detect ISO 14443-3B Hello @zhangkai  Could you provide libnfc-nci.conf and libnfc-nxp.conf files? Re: PN7221 fails to detect ISO 14443-3B Hello @zhangkai This issue may be related to the changes in A16. Specifically: Prior to A15, NXP's mobile MWs relied on NFA_PROTOCOL_T3BT(80) to support ID cards, but A16 has directly included Chinese ID cards in its support scope through Google. However, the PN7xxx MWs still retain this code. Therefore, customers are trying to completely remove the T3BT logic from the PN7xxx MWs and directly use Google's native logic. Re: PN7221 fails to detect ISO 14443-3B The configuration file has been uploaded.
查看全文
flex-installer「lsdk2606」バージョンを使用している「imx95-15x15-frdm」Debianで「Weston.Service」に問題が発生しました。 こんにちは、 flex-installerバージョン「 lsdk2606 」を使用してDebianイメージをインストールしました。 ネタバレ (ハイライトして読む) Sudo Flex-installer -I auto -d /dev/sdX -m imx95-15x15-frdm Sudo Flex-installer -I auto -d /dev/sdX -m imx95-15x15-frdm 私のimx95-15x15-frdmでは その後、標準の手順に従ってインストールを続行しました。 ネタバレ (ハイライトして読む) debian-post-install-pkg debian-post-install-pkg すべてのパッケージをインストールし再起動した後、起動時に以下のエラーが発生しました: ネタバレ (ハイライトして読む) [失敗] weston.service - W…nd コンポジターをシステムサービスとして起動できませんでした。 [失敗] weston.service - W…nd コンポジターをシステムサービスとして起動できませんでした。 ネタバレ (ハイライトして読む) root@imx95-15x15-frdm:~# systemctl status weston.service × weston.service - システムサービスとしてのWaylandコンポジタであるWeston ロード済み: ロード済み (/usr/lib/systemd/system/weston.service;有効; プリセット: 有効) アクティブ: 失敗 (結果: 終了コード) 2026年7月20日(月) 13:51:20 UTC以降; 19秒前 呼び出し: 67b22b0fa1484ce681d8b2acdc107add トリガー: ● weston.socket ドキュメント: man:weston(1) man:weston.ini(5) http://wayland.freedesktop.org/ プロセス: 408 ExecStart=/usr/bin/weston --log=${XDG_RUNTIME_DIR}/weston.log --modules=systemd-notify.so (code=exited, status=1/FAILURE) メインPID: 408 (コード=終了、ステータス=1/失敗) メモリピーク:3.5M CPU: 49ms 7月20日 13:51:19 imx95-15x15-frdm systemd[1]: weston.service - WaylandコンポジタであるWestonをシステムサービスとして開始します... 7月20日 13:51:19 imx95-15x15-frdm (weston)[408]: pam_unix(weston-autologin:session): user root(uid=0) by (uid=0) がセッションを開きました 7月20日 13:51:20 imx95-15x15-frdm systemd[1]: weston.service:メインプロセスが終了しました。終了コード=exited、ステータス=1/FAILURE 7月20日 13:51:20 imx95-15x15-frdm systemd[1]: weston.service:結果「exit-code」で失敗しました。 7月20日 13:51:20 imx95-15x15-frdm systemd[1]: weston.service - WaylandコンポジタであるWestonをシステムサービスとして起動できませんでした。 root@imx95-15x15-frdm:~# systemctl status weston.service×weston.service - Wayland コンポジタである Weston をシステム サービスとしてロードしました: ロード済み (/usr/lib/systemd/system/weston.service;有効; プリセット: 有効) アクティブ: 失敗 (結果: 終了コード) 2026年7月20日(月) 13:51:20 UTC以降; 19秒前 呼び出し: 67b22b0fa1484ce681d8b2acdc107add トリガー: ● weston.socketドキュメント: man:weston(1) man:weston.ini(5) http://wayland.freedesktop.org/プロセス:408 ExecStart=/usr/bin/weston --log=${XDG_RUNTIME_DIR}/weston.log --modules=systemd-notify.so (code=exited, status=1/FAILURE) メインPID: 408 (code=exited, status=1/FAILURE) メモリピーク:3.5M CPU: 49ms 7月20日 13:51:19 imx95-15x15-frdm systemd[1]: weston.service - Weston、Waylandコンポジター、システムサービスとして...7月20日 13:51:19 imx95-15x15-frdm (weston)[408]: pam_unix(weston-autologin:session): ユーザーroot(uid=0) by (uid=0) がユーザーroot(uid=0)のためにセッションを開きました by (uid=0) 7月20日 13:51:20 imx95-15x15-frdm systemd[1]: weston.service:メインプロセスが終了しました。コード=exited、ステータス=1/FAILURE 7月20日 13:51:20 imx95-15x15-frdm systemd[1]: weston.service:結果「exit-code」で失敗しました。Jul 20 13:51:20 imx95-15x15-frdm systemd[1]: weston.service - Wayland コンポジタである Weston をシステム サービスとして起動できませんでした。 ネタバレ (ハイライトして読む) root@imx95-15x15-frdm:~# cat /run/user/0/weston.log 日付: 2026年7月20日 UTC [12:34:22.150]ウェストン 14.0.2 https://wayland.freedesktop.org バグ報告先: https://gitlab.freedesktop.org/wayland/weston/issues/ ビルド: LSDK-25.12_DEBIAN-13_LF-6.12.20-168-g2ddc741+ [12:34:22.153]コマンドライン: /usr/bin/weston --log=/run/user/0/weston.log --modules=systemd-notify.so [12:34:22.153]OS: Linux、6.12.49、#5 SMP PREEMPT 2026年5月28日木曜日 13:07:26 KST、aarch64 [12:34:22.153]フライトレコーダー:有効 [12:34:22.155]設定ファイル「/etc/xdg/weston/weston.ini」を使用します。 [12:34:22.156]出力再描画ウィンドウの最大時間は16ミリ秒です。 [12:34:22.158]モジュールの読み込み '/usr/lib/libweston-14/drm-backend.so' [12:34:22.162]モジュールの読み込みに失敗:libdisplay-info.so.1:共有オブジェクトファイルを開けません:そのようなファイルやディレクトリはありません [12:34:22.162]致命的エラー: コンポジターバックエンドの作成に失敗しました root@imx95-15x15-frdm:~# cat /run/user/0/weston.logDate:2026年7月20日 UTC[12:34:22.150]weston 14.0.2https://wayland.freedesktop.orgバグは https://gitlab.freedesktop.org/wayland/weston/issues/Build に報告します。LSDK-25.12_DEBIAN-13_LF-6.12.20-168-g2ddc741+[12:34:22.153]コマンドライン: /usr/bin/weston --log=/run/user/0/weston.log --modules=systemd-notify.so[12:34:22.153]OS: Linux, 6.12.49, #5 SMP PREEMPT 2026年5月28日(木) 13:07:26 KST, aarch64[12:34:22.153]フライトレコーダー:有効[12:34:22.155]設定ファイル「/etc/xdg/weston/weston.ini」を使用しています[12:34:22.156]出力再描画ウィンドウの最大時間は16ミリ秒です。[12:34:22.158]モジュールの読み込み '/usr/lib/libweston-14/drm-backend.so'[12:34:22.162]モジュールの読み込みに失敗しました: libdisplay-info.so.1: 共有オブジェクトファイルを開けません: そのようなファイルやディレクトリはありません[12:34:22.162]致命的エラー: コンポジターバックエンドの作成に失敗しました 私も同じエラーが出ています(関連があるかどうかはわかりませんが)、でも画面には何も表示されません。 ネタバレ (ハイライトして読む) it6263 3-004c: DDC FIFOのクリアに失敗しました it6263 3-004c: EDIDの読み取りに失敗しました it6263 3-004c: DDC FIFOのクリアに失敗しました。it6263 3-004c: EDIDの読み取りに失敗しました。 Re: Issue "Weston.Service" on the "imx95-15x15-frdm" Debian using flex-installe root@imx95-15x15-frdm:~# ldd /usr/lib/libweston-14/drm-backend.so Linux-vdso.so.1 (0x0000ffffac56c000) libweston-14.so.0 => /USR/lib/libweston-14.so.0 (0x0000ffffac410000) libwayland-client.so.0 => /lib/aarch64-Linux-gnu/libwayland-client.so.0 (0x0000ffffac3e0000) libpixman-1.so.0 => /lib/aarch64-linux-gnu/libpixman-1.so.0 (0x0000ffffac330000) libwayland-server.so.0 => /lib/aarch64-linux-gnu/libwayland-server.so.0 (0x0000ffffac2f0000) libdrm.so.2 => /usr/lib/libdrm.so.2 (0x0000ffffac2b0000) libudev.so.1 => /lib/aarch64-linux-gnu/libudev.so.1 (0x0000ffffac250000) libdisplay-info.so.1 => 見つかりません libgbm.so.1 => /usr/lib/libgbm.so.1 (0x0000ffffac220000) libseat.so.1 => /lib/aarch64-linux-gnu/libseat.so.1 (0x0000ffffac1f0000) libinput.so.10 => /lib/aarch64-linux-gnu/libinput.so.10 (0x0000ffffac170000) libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000ffffabfb0000) /lib/ld-linux-aarch64.so.1 (0x0000ffffac520000) libxkbcommon.so.0 => /lib/aarch64-linux-gnu/libxkbcommon.so.0 (0x0000ffffabf40000) libffi.so.8 => /lib/aarch64-linux-gnu/libffi.so.8 (0x0000ffffabf10000) libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000ffffabe60000) libcap.so.2 => /lib/aarch64-linux-gnu/libcap.so.2 (0x0000ffffabe30000) libsystemd.so.0 => /lib/aarch64-linux-gnu/libsystemd.so.0 (0x0000ffffabd00000) Libmtdev.so.1 => /lib/aarch64-linux-gnu/libmtdev.so.1 (0x0000ffffabcd0000) libevdev.so.2 => /lib/aarch64-linux-gnu/libevdev.so.2 (0x0000ffffabc90000) libwacom.so.9 => /lib/aarch64-linux-gnu/libwacom.so.9 (0x0000ffffabc60000) libgudev-1.0.so.0 => /lib/aarch64-linux-gnu/libgudev-1.0.so.0 (0x0000ffffabc30000) libgobject-2.0.so.0 => /lib/aarch64-linux-gnu/libgobject-2.0.so.0 (0x0000ffffabba0000) libglib-2.0.so.0 => /lib/aarch64-linux-gnu/libglib-2.0.so.0 (0x0000ffffaba10000) libatomic.so.1 => /lib/aarch64-linux-gnu/libatomic.so.1 (0x0000ffffab9e0000) libpcre2-8.so.0 => /lib/aarch64-linux-gnu/libpcre2-8.so.0 (0x0000ffffab920000) Re: Issue "Weston.Service" on the "imx95-15x15-frdm" Debian using flex-installe 以下のコマンドを実行して出力を共有してもらえますか? find /usr -name "libdisplay-info*" よろしくお願いします。 Re: Issue "Weston.Service" on the "imx95-15x15-frdm" Debian using flex-installe 最新情報のご提供ありがとうございます。 システム上にはlibdisplay-infoが存在するのがわかりますが、Westonのログはlibdisplay-info.so.1を探しており、インストール済みのライブラリはLibdisplay-info.so.2のようです。 以下のコマンドを実行して出力を共有してもらえますか? ldd /usr/lib/libweston-14/drm-backend.so これにより、ライブラリのバージョン不一致やその他の依存関係の欠落がないかを確認するのに役立ちます。 Re: Issue "Weston.Service" on the "imx95-15x15-frdm" Debian using flex-installe Hello root@imx95-15x15-frdm:~# find /usr -name "libdisplay-info*" /usr/lib/aarch64-linux-gnu/libdisplay-info.so.2 /usr/lib/aarch64-linux-gnu/libdisplay-info.so.0.2.0 /usr/share/doc/libdisplay-info2
查看全文
Support Request: HD-SDI Interface Using i.MX8M Plus LVDS Output Dear Sir, We are designing a system based on the NXP i.MX8M Plus processor and would like your guidance regarding the implementation of an HD-SDI interface. Our requirement is to support three HD-SDI outputs. We are planning to use the LVDS interface of the i.MX8M Plus and convert it to HD-SDI using the following devices: LMH0340SQE/NOPB – LVDS to HD-SDI Serializer 2 × LMH0324RTWT – 1-to-3 HD-SDI Distribution Amplifiers Could you please confirm whether the LVDS interface of the i.MX8M Plus is compatible with this architecture for generating three HD-SDI outputs? If this approach is not recommended or supported, could you please suggest an alternative solution for implementing three HD-SDI interfaces while continuing to use the i.MX8M Plus processor? We would prefer to retain the i.MX8M Plus in our design, as it satisfies all of our other system requirements. We would appreciate your recommendations and any reference designs or application notes that may help us implement this interface successfully. Thank you for your support. We look forward to your guidance. Best regards, Samudralankaiah Jampani Analog(ADC|CMP|DAC|OpAmps) Board Design MCXA MCXC Re: Support Request: HD-SDI Interface Using i.MX8M Plus LVDS Output Hello, Unfortunately I'm not really used to this kind of use case, as I was investigating the part you have shared it seem that it is expected to use with an FPGA not an LVDS channel, so I'm not sure that you may use this interface for that. Maybe using a different bridge or other of the interfaces in the i.MX8MP or even another layer (FPGA) in between could be a solution. Best regards/Saludos, Aldo.
查看全文
ls1021a eTSEC tx timeout I have a LS1021A IOT and a prototype board based on this cpu. On both we use our boot loader. It works perfectly in the IOT board but on my board I get TX timeout on the Ethernet port. I get a few pings going and then tx timeout and more pings.  This makes tftp rarely possible. There are hardware difference of course. Our MAC is connected to a BCM54616S then to a LAN9514. The autonegotiation is limited to 100FD. TX timeout also happens in loopback mode. In order to transmit data, I had to set bit SGMII_AN bit in the TBI PHY on my boards while I did not have to on the IOT (IOT can negotiate at 1000FD). Not sure why the TX is so intermittent. Could it be related to this speed limitation? Re: ls1021a eTSEC tx timeout Hello, For 100FD SGMII , verify these items in your boot loader on the prototype board: Set LS1021A eTSEC for SGMII 100 Mbps ECNTRL[TBIM] = 1 ECNTRL[SGMIIM] = 1 ECNTRL[R100M] = 1 MACCFG2[I/F Mode] = 01 for 10/100 mode The LS1021A RM specifically notes setting R100M = 1 for SGMII 100 Mbps. Reset and program the internal TBI PHY The RM states that SGMII uses the TBI register set and that it is important to reset the TBI for all interface modes, including SGMII. Keep SGMII_AN set The TBI SGMII_AN bit is documented as “must be set to 1.” So the fact that your board only transmits after setting this bit is not surprising; it suggests your boot-loader initialization was incomplete for this PHY/MAC mode. Do not rely on 1G-style SGMII AN behavior at 100 Mbps There are known LS1021A reports where 100 Mbps SGMII operation shows “SGMII link is not ok” or intermittent no-packet behavior after link cycling, while 1G operation is clean. That does not prove your exact TX timeout root cause, but it makes 100FD SGMII configuration a strong suspect. The loopback result matters. If your “loopback mode” is external PHY loopback or SGMII-side loopback, the 100FD SGMII/TBI setup can still be involved. If it is internal MAC/eTSEC loopback , then the external BCM54616S/LAN9514 path is mostly out of the picture, and I would focus on eTSEC initialization, descriptor-ring handling, cache coherency, and TX halt/error status. For debugging, check the eTSEC TX halt status when the timeout occurs. The RM says the transmit halt bits are set when eTSEC is no longer processing transmit frames from a TxBD ring; repeatable causes include bus errors, invalid BD/data addresses, uncorrectable BD/data read errors, and TxBD programming errors such as Ready = 1 with length 0 . Also check whether you are seeing IEVENT_BSY ; NXP material describes BSY as dropped RX frames due to lack of buffers/software not servicing the BD ring fast enough, which is a software/BD-ring symptom rather than a pure SGMII electrical symptom. Recommended isolation sequence: 1. Force external PHY to 100FD, no autoneg toward copper if needed. 2. Force LS1021A MAC/eTSEC to SGMII 100 Mbps: TBIM=1, SGMIIM=1, R100M=1, MACCFG2 I/F mode=10/100. 3. Reset/reinitialize TBI after setting SGMII mode. 4. Set TBI SGMII_AN=1. 5. Confirm TBI link/AN status, eTSEC ECNTRL/MACCFG2, and PHY SGMII-side status. 6. On timeout, dump IEVENT, TX halt registers, DMA status, and TXBD ring contents. regards  Re: ls1021a eTSEC tx timeout Forgot to say my port is set for SGMII mode. Re: ls1021a eTSEC tx timeout Adding messages or 1ms delay in the send functions allows the correct transfer of data without loss. I added a DMA flush to the TX descriptors in the send function and this helps. Though, this should not be necessary considering the descriptors are allocated in uncached memory. It could be a defect in the MMU library to which I added LPAE support. Now I remember that a long time ago I removed the dma-coherent property in the enet device node and this was enough for the LS1021A-IOT to work. This is forcing a DMA flush while allocating uncached memory for the descriptors. But there was no cache flush in the send functions which updates the TX descriptors on each packet. Not sure why it does not work on my prototype (difference in frequency, DDR3L vs DDR4,...) Re: ls1021a eTSEC tx timeout Hi, Thank you for the detailed findings — the combination of workarounds you identified (1 ms delay, manual DMA flush, and removing dma-coherent ) is a textbook fingerprint of a cache alias problem. Here is the root cause explanation and the recommended fix path. Root cause: cached virtual alias over the TX descriptor region The LS1021A ENET DMA is a non-cache-coherent bus master — it reads DDR directly, with no visibility into the CPU cache. The correct operating model for gianfar on LS1021A is the non-coherent software-managed model: descriptors allocated in uncached memory, with explicit dma_sync_* calls whenever the CPU updates a descriptor field. What your LPAE changes most likely introduced is a page table entry for the descriptor physical address range that carries the wrong cache attribute — Normal Writeback instead of Device or Normal Non-cacheable. This creates two virtual aliases to the same physical memory with different cacheability: the allocation path (via dma_alloc_noncoherent ) maps it uncached, but the per-packet TX descriptor update path in the send function accesses it through a cached alias. The CPU writes the updated descriptor fields into the cache line, they never reach DDR, and the ENET DMA reads stale data and underruns. Why your three workarounds all mask the same defect 1 ms delay / message insertion: adds enough latency for the CPU writeback buffer to drain naturally under low load — timing-dependent, will fail under traffic or frequency change. Manual dma_flush in the send function: forces a cache clean-to-PoC before the DMA reads the descriptor — correct behaviour, but should not be necessary if the region is genuinely uncached. Removing dma-coherent from the enet device node: causes the kernel to call dma_map_single() / dma_sync_single_for_device() on each TX descriptor before submission, which explicitly cleans the cache — also correct, and explains why the LS1021A-IOT worked reliably without a send-path flush. The absence of the send-path flush is the missing piece. The LS1021A-IOT worked with dma-coherent removed because the kernel's DMA mapping layer inserted the sync automatically; your prototype does not have that path because the LPAE changes altered the descriptor region's cache attributes without re-introducing the sync. DDR3L vs DDR4 / frequency difference This is not the root cause. Different DRAM type and frequency change write latency and buffer drain timing, which is why the failure is more visible on your prototype — but the underlying defect is architectural and will be present on both boards under sufficient load. Recommended fix The correct and self-consistent fix is to combine both of the following: Keep dma-coherent removed from the enet device node (non-coherent model). This causes the kernel DMA layer to issue dma_sync_single_for_device() automatically before DMA ownership is transferred for descriptors allocated via dma_alloc_noncoherent . Add explicit dma_sync_single_for_device() calls in the TX send path at the point where TX descriptor fields ( status , data_length , data_pointer ) are written on each packet. This is the flush you added manually — but it should be formally placed as a dma_sync_single_for_device(dev, desc_dma_addr, sizeof(txbd), DMA_TO_DEVICE) before writing TDAR . This makes the model explicit and correct regardless of how the MMU attributes the descriptor region. Separately, audit the LPAE MMU library change for the AttrIndx / TEX+C+B fields assigned to the physical address range used for ENET descriptors. The descriptor pool should be mapped as Device-nGnRnE (strongly ordered) or Normal Non-cacheable — not Normal Writeback. You can verify the actual attributes in use with the kernel's ptdump debug interface by checking the virtual address of the descriptor pool after allocation. The DMA flush you added is not a workaround — it is the correct mechanism. The real defect is that it was absent from the send path in the first place, and the LPAE changes exposed this because they altered the effective cacheability of the region.   Regards
查看全文
ls1021a eTSEC 发送超时 我有一个 LS1021A 物联网芯片和一个基于该芯片的原型板。两者都使用引导加载程序。 它在物联网板上运行完美,但在我的板上,以太网端口出现TX超时错误。我发出几个 ping 请求后,发送超时,然后又发出更多 ping 请求。这使得TFTP几乎无法使用。 当然,硬件方面也存在差异。我们的 MAC 连接到 BCM54616S,然后连接到 LAN9514。自动协商的上限为 100FD。TX超时在环回模式下也会发生。 为了传输数据,我必须在我的板子上的 TBI PHY 中设置 SGMII_AN 位,而 IOT 则不需要这样做(IOT 可以协商 1000FD)。 不确定为什么TX信号如此不稳定。这是否与速度限制有关? Re: ls1021a eTSEC tx timeout 你好, 对于 100FD SGMII,请在原型板的引导加载程序中验证以下项目: 设置 LS1021A eTSEC 用于 SGMII 100 Mbps ECNTRL[TBIM] = 1 ECNTRL[SGMIIM] = 1 ECNTRL[R100M] = 1 MACCFG2[I/F Mode] = 01 表示 10/100 模式 LS1021A RM 特别指出,对于 SGMII 100 Mbps,应将 R100M = 1 。 重置和编程内部 TBI PHY。RM 指出 SGMII 使用 TBI 寄存器集,并且对于所有接口模式(包括 SGMII)重置 TBI 非常重要。 保持 SGMII_AN 设置为 TBI SGMII_AN 位“必须设置为 1”。因此,您的电路板只有在设置此位后才会发送数据,这并不奇怪;这表明您的引导加载程序初始化对于此 PHY/MAC 模式不完整。 不要依赖 100 Mbps 下的 1G 式 SGMII AN 行为。已知 LS1021A 报告显示,100 Mbps SGMII 操作在链路循环后会出现“SGMII 链路不正常”或间歇性无数据包行为,而 1G 操作则正常。这并不能证明您的 TX 超时的确切根本原因,但这足以证明 100FD SGMII 配置是一个强烈的怀疑对象。 回环结果很重要。如果您的“环回模式”是外部 PHY 环回或 SGMII 侧环回,则 100FD SGMII/TBI 设置仍然可能参与其中。如果是内部 MAC/eTSEC 环回,那么外部 BCM54616S/LAN9514 路径基本无关紧要,我会重点关注 eTSEC 初始化、描述符环处理、缓存一致性和 TX 停止/错误状态。 为了进行调试,请检查超时发生时 eTSEC TX 停止状态。RM 表示,当 eTSEC 不再处理来自 TxBD 环的发送帧时,会设置发送停止位;可重复出现的原因包括总线错误、无效的 BD/数据地址、无法纠正的 BD/数据读取错误以及 TxBD 编程错误,例如 Ready = 1 长度为 0 。还要检查是否看到 IEVENT_BSY ;NXP 的资料将 BSY 描述为由于缓冲区不足/软件无法足够快地服务于 BD 环而导致的 RX 帧丢失,这是一种软件/BD 环的症状,而不是纯粹的 SGMII 电气症状。 推荐的分离步骤: 1.强制外部PHY为 100FD ,如果需要,不进行铜缆自动协商。2.强制LS1021A MAC / eTSEC 为SGMII 100 Mbps : TBIM = 1 , SGMIIM = 1 , R100M = 1 , MACCFG2 I / F模式= 10 / 100。3. 设置 SGMII 模式后 RESET / 重新初始化 TBI 。4.设置TBI SGMII_AN = 1。 5.确认TBI链路/ AN状态、 eTSEC ECNTRL / MACCFG2和PHY SGMII侧状态。6.超时时,转储IEVENT 、 TX停止寄存器、 DMA状态和TXBD环内容。 此致敬礼 Re: ls1021a eTSEC tx timeout 忘了说了,我的端口设置为SGMII模式。 Re: ls1021a eTSEC tx timeout 在发送函数中添加消息或 1 毫秒延迟,可以确保数据正确传输而不丢失。 我在发送函数中为 TX 描述符添加了 DMA 刷新,这很有帮助。不过,考虑到描述符是在非缓存内存中分配的,这应该不是必要的。这可能是我添加了 LPAE 支持的 MMU 库的缺陷。 现在我想起来了,很久以前我删除了 enet 设备节点中的 dma-coherent 属性,这足以让 LS1021A-IOT 工作。这样会在为描述符分配未缓存内存时强制执行 DMA 刷新。但是发送函数中没有缓存刷新,无法更新每个数据包的 TX 描述符。不确定为什么在我的原型机上不起作用(频率不同,DDR3L 与 DDR4 的区别……) Re: ls1021a eTSEC tx timeout 您好, 感谢您提供的详细调查结果——您发现的解决方法组合(1 毫秒延迟、手动 DMA 刷新和删除 dma-coherent )是缓存别名问题的典型特征。以下是根本原因分析和推荐的修复方案。 根本原因:TX描述符区域中缓存的虚拟别名 LS1021A ENET DMA 是一个非缓存一致性总线主控器——它直接读取 DDR,无法访问 CPU 缓存。LS1021A 上 gianfar 的正确操作模型是非一致性软件管理模型:描述符分配在非缓存内存中,每当 CPU 更新描述符字段时,都会显式调用 dma_sync_* 。 您的 LPAE 更改最有可能引入的是描述符物理地址范围的页表项,该条目携带错误的缓存属性——普通写回而不是设备或普通不可缓存。这为同一物理内存创建了两个具有不同缓存性的虚拟别名:分配路径(通过 dma_alloc_noncoherent )将其映射为未缓存,但发送函数中每个数据包的 TX 描述符更新路径通过缓存别名访问它。CPU 将更新后的描述符字段写入缓存行,这些字段永远不会到达 DDR,导致 ENET DMA 读取到过时的数据并出现欠载。 为什么你的三种变通方案都掩盖了同一个缺陷 1 毫秒延迟/消息插入:在低负载下,增加足够的延迟,使 CPU 回写缓冲区自然耗尽——与时间相关,在流量或频率变化时会失效。 发送函数中的手动 dma_flush :强制在 DMA 读取描述符之前执行缓存清理到 PoC 的操作——这是正确的行为,但如果该区域确实没有缓存,则无需执行此操作。 从 enet 设备节点中移除 dma-coherent :导致内核在提交之前对每个 TX 描述符调用 dma_map_single() / dma_sync_single_for_device() ,从而显式地清除缓存——这也是正确的,并解释了为什么 LS1021A-IOT 无需发送路径刷新即可可靠地工作。 缺少发送路径刷新是关键所在。LS1021A-IOT 在移除 dma-coherent 后可以正常工作,因为内核的 DMA 映射层会自动插入同步信号;你的原型没有这条路径,因为 LPAE 的更改改变了描述符区域的缓存属性,而没有重新引入同步信号。 DDR3L 与 DDR4 的频率差异 这不是根本原因。不同的动态随机存取存储器(DRAM)类型和频率会改变写入延迟和缓冲区漏电时间,这就是为什么故障在您的原型上更明显的原因——但根本缺陷是架构上的,在足够的负载下,两个板上都会出现这种缺陷。 推荐修复方案 正确且自洽的解决方案是将以下两种方法结合起来: 将 dma-coherent 从 enet 设备节点中移除(非相干模型)。这导致内核 DMA 层在通过 dma_alloc_noncoherent 分配的描述符的 DMA 所有权转移之前自动发出 dma_sync_single_for_device() 。 在 TX 发送路径中,于每个数据包上写入 TX 描述符字段( status 、 data_length 、 data_pointer )的位置,添加显式的 dma_sync_single_for_device() 调用。这是你手动添加的冲洗——但在编写 TDAR 之前,应该正式地将其放置为 dma_sync_single_for_device(dev, desc_dma_addr, sizeof(txbd), DMA_TO_DEVICE) 。无论 MMU 如何对描述符区域进行归属,该模型都明确且正确。 另外,审核分配给 ENET 描述符使用的物理地址范围的 AttrIndx / TEX+C+B 字段的 LPAE MMU 库更改。描述符池应映射为 Device-nGnRnE(强有序)或 Normal Non-cacheable — 而不是 Normal Writeback。您可以通过在分配后检查描述符池的虚拟地址,使用内核的 ptdump 调试接口来验证实际使用的属性。 你添加的 DMA 刷新不是一种权宜之计,而是正确的机制。真正的缺陷在于它一开始就不在发送路径中,而 LPAE 的更改暴露了这一点,因为它们改变了该区域的有效缓存性。   此致
查看全文
MPC5746C FXOSC output frequency Part: MPC5746C (Power Architecture Z4, SDK: NXP MPC57xx platform SDK). In the manual of MPC5746C, it is stated that FXOSC provides 8 -40 MHz output frequency. Please help me in finding the output frequency provided by FXOSC for the following configurations? 1. FXOSC_CTL: OSCBYP = 0 and OSCM = LCP 2. FXOSC_CTL: OSCBYP = 0 and OSCM = FSP 3. FXOSC_CTL: OSCBYP = 1 and OSCM = LCP 4. FXOSC_CTL: OSCBYP = 1 and OSCM = FSP Please consider default values for the other register fields. Thanks. Re: MPC5746C FXOSC output frequency Thanks for your response @petervlna.  How can we find the frequency provided by the crystal/resonator(OSCBYP = 0) and external clock(OSCBYP = 1)? Re: MPC5746C FXOSC output frequency Hello, The FXOSC module does not generate a specific frequency based on the OSCBYP and OSCM settings. The FXOSC output frequency is always equal to the frequency of the external source connected to FXOSC (crystal/resonator when OSCBYP=0, or external clock when OSCBYP=1), within the supported range of 8–40 MHz. Therefore, for all four configurations listed, the FXOSC output frequency is simply the external input frequency. The OSCM setting (LCP/FSP) affects the oscillator operating mode, but does not change the clock frequency. Best regards, Peter Re: MPC5746C FXOSC output frequency @petervlna please provide your support for my FXOSC query mentioned above.  Re: MPC5746C FXOSC output frequency How can we find the frequency provided by the crystal/resonator(OSCBYP = 0) and external clock(OSCBYP = 1)? Please let me know on the above question @petervlna. I want to use FXOSC as clock source for a timer. Based on the frequency it provides i can load a count value into the timer register Re: MPC5746C FXOSC output frequency Hello, The MPC5746C does not provide a way to measure or determine the FXOSC frequency from the FXOSC registers. The frequency must be known from the hardware design: OSCBYP = 0: FXOSC frequency equals the frequency of the external crystal/resonator fitted on the board. OSCBYP = 1: FXOSC frequency equals the frequency of the external clock signal applied to the FXOSC input pin. To use FXOSC as a timer clock source, the application must use the frequency specified in the board schematic or clock design (for example, 8 MHz, 16 MHz, 40 MHz, etc.) when calculating the timer count value. The OSCBYP and OSCM settings do not affect the frequency itself. Best regards, Peter
查看全文
MD8LC925NR1アンプのバイアス調整方法を教えてください。 こんにちは、 現在、 MD8LC925NR1パワーアンプを使用したシステムを設計中です。適切な バイアス回路や専用の電源管理部品 をおすすめしていただけるとありがたいです。 この目的のために推奨されるリファレンス・デザイン、アプリケーションノート、または具体的な部品番号を教えていただけますか? ご協力ありがとうございました。 Re: How to bias the amp MD8LC925NR1? こんにちは、 NXPセミコンダクターズの製品にご関心をお寄せいただき、またサポートの機会をいただきありがとうございます。 記載されている部品番号に誤植があるようです。MDL8LC925NR1は、NXPの有効な注文可能部品番号ではありません。最も近い類似デバイスはMD8IC925Nです。このデバイスは現在、販売終了(EOL)となっており、サポートが終了しているため、新規購入はできませんのでご注意ください。 以下のNXP文書は、回路回路図、部品リスト、特性評価データを含む詳細な設計情報を提供しています。 MD8IC925N データシート AN1977 – RF集積回路ファミリにおける静止電流熱追尾回路 AN1987 – RF集積回路デバイスファミリ向けクイセント電流制御(両方のバイアス回路トポロジーと完全な部品リストを含む) AN1955 – RFパワーアンプの熱測定手法 残念ながら、MD8IC925Nの直接的な代替品は存在しません。さらに、 100MHzから1000MHz 帯をカバーする多くのRF製品はEOLに近づいており、現時点では新しい代替機器の発表はありません。 お客様の周波数、電力、供給電圧に関する具体的な要件に基づき、代替ソリューションの特定についてサポートが必要な場合は、お知らせください。 よろしくお願いいたします。
查看全文
支持请求:使用 i.MX8M Plus LVDS 输出的 HD-SDI 接口 尊敬的先生, 我们正在设计一个基于NXP i.MX8M Plus处理器的系统,希望您能指导我们实现HD-SDI 接口。 我们的需求是支持三个 HD-SDI 输出。我们计划使用i.MX8M Plus 的LVDS 接口,并使用以下设备将其转换为 HD-SDI: LMH0340SQE/NOPB – LVDS 转 HD-SDI 串行器 2 × LMH0324RTWT – 1 对 3 HD-SDI 分配放大器 请问i.MX8M Plus的LVDS接口是否与该架构兼容,能够生成三个HD-SDI输出? 如果此方案不被推荐或支持,能否请您提供一个替代方案,以便在继续使用i.MX8M Plus处理器的情况下实现三个 HD-SDI 接口?我们希望在设计中保留 i.MX8M Plus,因为它满足我们所有其他系统要求。 我们非常感谢您能提供任何建议以及任何可能有助于我们成功实现此接口的参考设计或应用说明。 感谢您的支持。我们期待您的指导。 顺祝商祺! 萨穆德拉兰凯亚·詹帕尼 模拟(ADC|CMP|DAC|运算放大器) 电路板设计 MCXA MCXC Re: Support Request: HD-SDI Interface Using i.MX8M Plus LVDS Output 你好, 很遗憾,我对这种使用场景不太熟悉。我研究了您分享的那部分内容,发现它似乎是用于 FPGA 而不是 LVDS 通道,所以我不太确定您是否可以使用此接口。 或许使用不同的桥接器或 i.MX8MP 中的其他接口,甚至在中间添加另一层(FPGA)会是一个解决方案。 此致敬礼/Saludos, 阿尔多。
查看全文
MPC5746C FXOSC 输出频率 部件: MPC5746C(电源架构 Z4,SDK:NXP MPC57xx 平台 SDK)。 MPC5746C 的手册中指出,FXOSC 提供 8 -40 MHz 的输出频率。请帮我查找FXOSC在以下配置下的输出频率? 1. FXOSC_CTL:OSCBYP = 0 且 OSCM = LCP 2. FXOSC_CTL:OSCBYP = 0 且 OSCM = FSP 3. FXOSC_CTL:OSCBYP = 1 且 OSCM = LCP 4. FXOSC_CTL:OSCBYP = 1 且 OSCM = FSP 请考虑为其他注册字段设置默认值。谢谢。 Re: MPC5746C FXOSC output frequency 感谢你的回复@petervlna 。 如何找到晶体/谐振器(OSCBYP = 0)和外部时钟(OSCBYP = 1)提供的频率? Re: MPC5746C FXOSC output frequency 你好, FXOSC 模块不会根据 OSCBYP 和 OSCM 设置生成特定频率。FXOSC 的输出频率始终等于连接到 FXOSC 的外部源的频率(当 OSCBYP=0 时为晶体/谐振器,当 OSCBYP=1 时为外部时钟),在支持的 8–40 MHz 范围内。 因此,对于列出的所有四种配置,FXOSC 输出频率就是外部输入频率。OSCM 设置(LCP/FSP)会影响振荡器的工作模式,但不会改变时钟频率。 顺祝商祺! Peter Re: MPC5746C FXOSC output frequency @petervlna请您协助解答我上面提到的关于 FXOSC 的问题。 Re: MPC5746C FXOSC output frequency 如何找到晶体/谐振器(OSCBYP = 0)和外部时钟(OSCBYP = 1)提供的频率? @petervlna ,请告诉我以上问题的答案。我想使用 FXOSC 作为定时器的时钟源。根据它提供的频率,我可以将计数值加载到定时器寄存器中。 Re: MPC5746C FXOSC output frequency 你好, MPC5746C 不提供从 FXOSC 寄存器测量或确定 FXOSC 频率的方法。频率必须从硬件设计中得知: OSCBYP = 0:FXOSC 频率等于安装在板上的外部晶体/谐振器的频率。 OSCBYP = 1:FXOSC 频率等于施加到 FXOSC 输入引脚的外部时钟信号的频率。 要将 FXOSC 用作定时器时钟源,应用程序在计算定时器计数值时必须使用电路板原理图或时钟设计中指定的频率(例如,8 MHz、16 MHz、40 MHz 等)。OSCBYP 和 OSCM 设置不会影响频率本身。 顺祝商祺! Peter
查看全文
Issue "Weston.Service" on the "imx95-15x15-frdm" Debian using flex-installer "lsdk2606" version Hello, I installed the Debian image using flex-installer version "lsdk2606" using Spoiler (Highlight to read) sudo flex-installer -i auto -d /dev/sdX -m imx95-15x15-frdm sudo flex-installer -i auto -d /dev/sdX -m imx95-15x15-frdm on my imx95-15x15-frdm Then, I followed the standard procedure to continue the installation using  Spoiler (Highlight to read) debian-post-install-pkg debian-post-install-pkg After installing all the packages and rebooting, I encounter this error at startup: Spoiler (Highlight to read) [FAILED] Failed to start weston.service - W…nd compositor, as a system service. [FAILED] Failed to start weston.service - W…nd compositor, as a system service. Spoiler (Highlight to read) root@imx95-15x15-frdm:~# systemctl status weston.service × weston.service - Weston, a Wayland compositor, as a system service      Loaded: loaded (/usr/lib/systemd/system/weston.service; enabled; preset: enabled)      Active: failed (Result: exit-code) since Mon 2026-07-20 13:51:20 UTC; 19s ago  Invocation: 67b22b0fa1484ce681d8b2acdc107add TriggeredBy: ● weston.socket        Docs: man:weston(1)              man:weston.ini(5)              http://wayland.freedesktop.org/     Process: 408 ExecStart=/usr/bin/weston --log=${XDG_RUNTIME_DIR}/weston.log --modules=systemd-notify.so (code=exited, status=1/FAILURE)    Main PID: 408 (code=exited, status=1/FAILURE)    Mem peak: 3.5M         CPU: 49ms Jul 20 13:51:19 imx95-15x15-frdm systemd[1]: Starting weston.service - Weston, a Wayland compositor, as a system service... Jul 20 13:51:19 imx95-15x15-frdm (weston)[408]: pam_unix(weston-autologin:session): session opened for user root(uid=0) by (uid=0) Jul 20 13:51:20 imx95-15x15-frdm systemd[1]: weston.service: Main process exited, code=exited, status=1/FAILURE Jul 20 13:51:20 imx95-15x15-frdm systemd[1]: weston.service: Failed with result 'exit-code'. Jul 20 13:51:20 imx95-15x15-frdm systemd[1]: Failed to start weston.service - Weston, a Wayland compositor, as a system service. root@imx95-15x15-frdm:~# systemctl status weston.service× weston.service - Weston, a Wayland compositor, as a system service     Loaded: loaded (/usr/lib/systemd/system/weston.service; enabled; preset: enabled)     Active: failed (Result: exit-code) since Mon 2026-07-20 13:51:20 UTC; 19s ago Invocation: 67b22b0fa1484ce681d8b2acdc107addTriggeredBy: ● weston.socket       Docs: man:weston(1)             man:weston.ini(5)             http://wayland.freedesktop.org/    Process: 408 ExecStart=/usr/bin/weston --log=${XDG_RUNTIME_DIR}/weston.log --modules=systemd-notify.so (code=exited, status=1/FAILURE)   Main PID: 408 (code=exited, status=1/FAILURE)   Mem peak: 3.5M        CPU: 49ms Jul 20 13:51:19 imx95-15x15-frdm systemd[1]: Starting weston.service - Weston, a Wayland compositor, as a system service...Jul 20 13:51:19 imx95-15x15-frdm (weston)[408]: pam_unix(weston-autologin:session): session opened for user root(uid=0) by (uid=0)Jul 20 13:51:20 imx95-15x15-frdm systemd[1]: weston.service: Main process exited, code=exited, status=1/FAILUREJul 20 13:51:20 imx95-15x15-frdm systemd[1]: weston.service: Failed with result 'exit-code'.Jul 20 13:51:20 imx95-15x15-frdm systemd[1]: Failed to start weston.service - Weston, a Wayland compositor, as a system service. Spoiler (Highlight to read) root@imx95-15x15-frdm:~# cat /run/user/0/weston.log Date: 2026-07-20 UTC [12:34:22.150] weston 14.0.2 https://wayland.freedesktop.org Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/ Build: LSDK-25.12_DEBIAN-13_LF-6.12.20-168-g2ddc741+ [12:34:22.153] Command line: /usr/bin/weston --log=/run/user/0/weston.log --modules=systemd-notify.so [12:34:22.153] OS: Linux, 6.12.49, #5 SMP PREEMPT Thu May 28 13:07:26 KST 2026, aarch64 [12:34:22.153] Flight recorder: enabled [12:34:22.155] Using config file '/etc/xdg/weston/weston.ini' [12:34:22.156] Output repaint window is 16 ms maximum. [12:34:22.158] Loading module '/usr/lib/libweston-14/drm-backend.so' [12:34:22.162] Failed to load module: libdisplay-info.so.1: cannot open shared object file: No such file or directory [12:34:22.162] fatal: failed to create compositor backend root@imx95-15x15-frdm:~# cat /run/user/0/weston.logDate: 2026-07-20 UTC[12:34:22.150] weston 14.0.2https://wayland.freedesktop.orgBug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/Build: LSDK-25.12_DEBIAN-13_LF-6.12.20-168-g2ddc741+[12:34:22.153] Command line: /usr/bin/weston --log=/run/user/0/weston.log --modules=systemd-notify.so[12:34:22.153] OS: Linux, 6.12.49, #5 SMP PREEMPT Thu May 28 13:07:26 KST 2026, aarch64[12:34:22.153] Flight recorder: enabled[12:34:22.155] Using config file '/etc/xdg/weston/weston.ini'[12:34:22.156] Output repaint window is 16 ms maximum.[12:34:22.158] Loading module '/usr/lib/libweston-14/drm-backend.so'[12:34:22.162] Failed to load module: libdisplay-info.so.1: cannot open shared object file: No such file or directory[12:34:22.162] fatal: failed to create compositor backend I'm getting this error too (I don't know if it's related), but nothing is showing up on my screen. Spoiler (Highlight to read) it6263 3-004c: failed to clear DDC FIFO it6263 3-004c: Failed to read EDID it6263 3-004c: failed to clear DDC FIFOit6263 3-004c: Failed to read EDID Re: Issue "Weston.Service" on the "imx95-15x15-frdm" Debian using flex-installe root@imx95-15x15-frdm:~# ldd /usr/lib/libweston-14/drm-backend.so linux-vdso.so.1 (0x0000ffffac56c000) libweston-14.so.0 => /usr/lib/libweston-14.so.0 (0x0000ffffac410000) libwayland-client.so.0 => /lib/aarch64-linux-gnu/libwayland-client.so.0 (0x0000ffffac3e0000) libpixman-1.so.0 => /lib/aarch64-linux-gnu/libpixman-1.so.0 (0x0000ffffac330000) libwayland-server.so.0 => /lib/aarch64-linux-gnu/libwayland-server.so.0 (0x0000ffffac2f0000) libdrm.so.2 => /usr/lib/libdrm.so.2 (0x0000ffffac2b0000) libudev.so.1 => /lib/aarch64-linux-gnu/libudev.so.1 (0x0000ffffac250000) libdisplay-info.so.1 => not found libgbm.so.1 => /usr/lib/libgbm.so.1 (0x0000ffffac220000) libseat.so.1 => /lib/aarch64-linux-gnu/libseat.so.1 (0x0000ffffac1f0000) libinput.so.10 => /lib/aarch64-linux-gnu/libinput.so.10 (0x0000ffffac170000) libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000ffffabfb0000) /lib/ld-linux-aarch64.so.1 (0x0000ffffac520000) libxkbcommon.so.0 => /lib/aarch64-linux-gnu/libxkbcommon.so.0 (0x0000ffffabf40000) libffi.so.8 => /lib/aarch64-linux-gnu/libffi.so.8 (0x0000ffffabf10000) libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000ffffabe60000) libcap.so.2 => /lib/aarch64-linux-gnu/libcap.so.2 (0x0000ffffabe30000) libsystemd.so.0 => /lib/aarch64-linux-gnu/libsystemd.so.0 (0x0000ffffabd00000) libmtdev.so.1 => /lib/aarch64-linux-gnu/libmtdev.so.1 (0x0000ffffabcd0000) libevdev.so.2 => /lib/aarch64-linux-gnu/libevdev.so.2 (0x0000ffffabc90000) libwacom.so.9 => /lib/aarch64-linux-gnu/libwacom.so.9 (0x0000ffffabc60000) libgudev-1.0.so.0 => /lib/aarch64-linux-gnu/libgudev-1.0.so.0 (0x0000ffffabc30000) libgobject-2.0.so.0 => /lib/aarch64-linux-gnu/libgobject-2.0.so.0 (0x0000ffffabba0000) libglib-2.0.so.0 => /lib/aarch64-linux-gnu/libglib-2.0.so.0 (0x0000ffffaba10000) libatomic.so.1 => /lib/aarch64-linux-gnu/libatomic.so.1 (0x0000ffffab9e0000) libpcre2-8.so.0 => /lib/aarch64-linux-gnu/libpcre2-8.so.0 (0x0000ffffab920000) Re: Issue "Weston.Service" on the "imx95-15x15-frdm" Debian using flex-installe Thank you for the update. I can see that libdisplay-info is present on the system, but the Weston log is looking for libdisplay-info.so.1, while the installed library appears to be libdisplay-info.so.2. Could you please run the following command and share the output? ldd /usr/lib/libweston-14/drm-backend.so This will help verify whether there is a library version mismatch or another missing dependency. Re: Issue "Weston.Service" on the "imx95-15x15-frdm" Debian using flex-installe Could you please run the following command and share the output? find /usr -name "libdisplay-info*" Thanks Re: Issue "Weston.Service" on the "imx95-15x15-frdm" Debian using flex-installe Hello root@imx95-15x15-frdm:~# find /usr -name "libdisplay-info*" /usr/lib/aarch64-linux-gnu/libdisplay-info.so.2 /usr/lib/aarch64-linux-gnu/libdisplay-info.so.0.2.0 /usr/share/doc/libdisplay-info2
查看全文
S32K344/358/388 SWO Printf が動作しないのは S32DS3.6 です チームの皆さん、こんにちは。 この手順に従って、PEマルチリンクとS32DS3.6を使用してSWOのprintf関数をテストしました。S32K3の公式EVBを使用し、SWOピンが正常に伸びていることを確認しました。S32K311、312 SWOは正常に動作しますが、S32K344、358、388は印刷できません。ソフトウェアに何らかの隠れた設定があるはずです。テストして試していただけますか? S32DS3.6.1、3.6.2をテストしました。3.6.3、3.6.5.すべて同じように動作します。311/312は正常に動作しますが、344、358、388は動作しません。 優先度:高 S32DS Re: S32K344/358/388 SWO Printf not work is S32DS3.6 S32K344と312のSWOルーティングに関するRMを確認しました。344はより複雑です。ソフトウェアによって追加のスイッチをオンにする必要があるのかもしれません。 よろしくお願いいたします。 ジェレミー Re: S32K344/358/388 SWO Printf not work is S32DS3.6 こんにちは、ジェレミーさん。 あなたの問題を調べてみます。以前は既知のバグでしたが、現在は修正されていることを願っています。最新のPE Microプラグインを使用していますか? Re: S32K344/358/388 SWO Printf not work is S32DS3.6 こんにちは、ジリさん。 これは私のPEマイクロプラグインです Re: S32K344/358/388 SWO Printf not work is S32DS3.6 こんにちは、ジェレミーさん。 最新のPE Microプラグイン(v6.1.8)をお試しください。 Re: S32K344/358/388 SWO Printf not work is S32DS3.6 こんにちは、ジリさん。 後で時間ができたら試してみますか?バージョン6.1.8は試してみましたか? よろしくお願いいたします。 ジェレミー Re: S32K344/358/388 SWO Printf not work is S32DS3.6 こんにちは、Jiriさん。この問題は私の方ではまだ解決していません。そちらでは何か進展はありますか? よろしくお願いいたします。 ジェレミー
查看全文
NXP iMX8MP: WFI-based CPU idle in U-Boot never wakes Dear NXP Support Team, We are investigating a low-power waiting mechanism in U-Boot for a i.MX8M Plus based product and have reached a point where we would appreciate guidance from NXP. Software versions SoC: NXP i.MX8M Plus BSP: ATF: lf_v2.10_android-15.0.0_1.2.0 U-Boot: lf_v2024.04_android-15.0.0_1.2.0 Based on the public NXP BSP (Variscite fork contains no relevant modifications in the ATF/GIC code paths) Goal The application needs to remain in U-Boot for several minutes while a deeply discharged battery charges before Android is started. A busy-loop based on mdelay() consumes unnecessary power and generates additional heat, so we are trying to periodically enter a low-power idle state and wake using the ARM Generic Timer (CNTP, PPI 30). Initial implementation configure CNTP timer enable PPI 30 execute a raw wfi() from EL2 The processor never wakes from wfi(). UART output simply stops with no exception or crash. PSCI implementation PSCI_VERSION returns 1.1 PSCI_FEATURES(CPU_SUSPEND) returns 0 (supported) invoke CPU_SUSPEND requesting the Standby power state This reaches the ATF standby implementation imx_cpu_standby(), but the system hangs in exactly the same way: no exception, no UART output, and execution never resumes. Therefore, both: raw wfi() executed at EL2 wfi() executed through ATF via PSCI produce identical behavior. What have been already verified CPU and timer U-Boot executes at EL2. CNTP timer is correctly programmed. CNTP_TVAL_EL0 counts down correctly. CNTP_CTL_EL0 shows: ENABLE = 1 IMASK = 0 ISTATUS = 0 immediately after arming. CPU interface ICC_PMR_EL1 is configured correctly. ICC_IGRPEN1_EL1 is enabled. Virtualization HCR_EL2 has: IMO = 0 FMO = 0 so interrupt routing through EL2 virtualization is not involved. Interrupt security classification From the ATF sources we verified that: all PPIs are initially configured as Group 1 Non-secure by the generic GICv3 helper code, only SGI8 (and optionally SDEI SGIs) are reconfigured as Secure, PPI 30 is **not** present in the secure interrupt property table. Therefore the Generic Timer interrupt appears to remain Group 1 Non-secure as expected. SCR_EL3.TWE We originally suspected that non-secure wfi() might be trapped to EL3 via SCR_EL3.TWE, but this now seems unlikely because the same behavior occurs when wfi() is executed inside ATF itself through PSCI. Additional investigation While tracing the ATF GIC initialization we noticed that gicv3_distif_init() clears the Distributor EnableGrp bits and only re-enables those requested by the secure interrupt property table. Since the helper only produces Group0 and Group1 Secure properties, it appears that EnableGrp1NS is never explicitly re-enabled. To verify this we: read GICD_CTLR observed EnableGrp1NS = 0 attempted to set EnableGrp1NS ourselves from EL2. Unexpectedly: the write completes without fault, RWP behaves normally, but EnableGrp1NS remains 0 after readback. We also verified: GICD_CTLR.DS == 0 RDC protection for the GIC memory regions is disabled (ENA = 0) RDC violation registers remain zero. Therefore RDC does not appear to be preventing the write. Remaining question At this point we have eliminated: timer programming, CPU interface configuration, interrupt priority masking, interrupt group classification, SCR_EL3.TWE trapping, PSCI vs raw WFI execution, RDC protection. The remaining unexplained behavior is that an architecturally Non-secure writable Distributor control bit (EnableGrp1NS) does not appear to accept writes on this platform, and consequently neither raw wfi() nor PSCI CPU_SUSPEND ever wake using the Generic Timer interrupt. Is this behavior expected on the i.MX8M Plus Android 15 BSP? Is there any platform-specific initialization missing outside the public ATF sources that is required before the Generic Timer PPI can wake a CPU from wfi()? Is EnableGrp1NS intentionally prevented from being modified by non-secure software on this platform? Has anyone successfully implemented periodic wake-up from U-Boot using either: raw wfi(), or PSCI CPU_SUSPEND  driven by the ARM Generic Timer? Any insight into the expected initialization sequence or platform-specific behavior would be greatly appreciated. Thanks Best Regards Pier
查看全文
使用 flex-installer "lsdk2606" 版本在 Debian "imx95-15x15-frdm" 系统上发布 "Weston.Service" 你好, 我使用 flex-installer 版本“ lsdk2606 ”安装了 Debian 镜像。 剧透 (高亮部分可供阅读) sudo flex-installer -i auto -d /dev/sdX -m imx95-15x15-frdm sudo flex-installer -i auto -d /dev/sdX -m imx95-15x15-frdm 我的imx95-15x15-frdm 然后,我按照标准流程继续安装。 剧透 (高亮部分可供阅读) debian-post-install-pkg debian-post-install-pkg 安装完所有软件包并重启后,启动时出现以下错误: 剧透 (高亮部分可供阅读) [失败] 启动 weston.service - W…nd compositor 作为系统服务失败。 [失败] 启动 weston.service - W…nd compositor 作为系统服务失败。 剧透 (高亮部分可供阅读) root@imx95-15x15-frdm:~# systemctl status weston.service × weston.service - Weston,一个 Wayland 排版器,作为系统服务 已加载: 已加载 (/usr/lib/systemd/system/weston.service;已启用;预设:已启用) 活动状态:失败(结果:退出代码),自 2026 年 7 月 20 日星期一 13:51:20 UTC 起;19 秒前 调用:67b22b0fa1484ce681d8b2acdc107add 触发者:● weston.socket 文档:man:weston(1) man:weston.ini(5) http://wayland.freedesktop.org/ 进程:408 ExecStart=/usr/bin/weston --log= ${XDG_RUNTIME_DIR} /weston.log --modules=systemd-notify.so (code=exited, status=1/FAILURE) 主进程 ID:408(退出代码=1,状态=1/失败) 内存峰值:3.5M CPU:49毫秒 7月20日 13:51:19 imx95-15x15-frdm systemd[1]: 正在启动 weston.service - Weston,一个 Wayland 合成器,作为系统服务... 7 月 20 日 13:51:19 imx95-15x15-frdm (weston)[408]: pam_unix(weston-autologin:session): 用户 root(uid=0) 的会话已由 (uid=0) 打开 7月20日 13:51:20 imx95-15x15-frdm systemd[1]: weston.service:主进程已退出,代码=已退出,状态=1/失败 7月20日 13:51:20 imx95-15x15-frdm systemd[1]: weston.service:失败,结果为“退出代码”。 7 月 20 日 13:51:20 imx95-15x15-frdm systemd[1]: 启动 weston.service 失败 - Weston,一个 Wayland 合成器,作为系统服务。 root@imx95-15x15-frdm:~# systemctl status weston.service×weston.service - Weston,一个 Wayland 合成器,作为系统服务已加载:已加载 (/usr/lib/systemd/system/weston.service;已启用;预设:已启用)活动状态:失败(结果:退出代码)自 2026 年 7 月 20 日星期一 13:51:20 UTC 起;19 秒前 调用:67b22b0fa1484ce681d8b2acdc107add 触发者:● weston.socket文档: man:weston(1) man:weston.ini(5) http://wayland.freedesktop.org/进程:408 ExecStart=/usr/bin/weston --log= ${XDG_RUNTIME_DIR} /weston.log --modules=systemd-notify.so (code=exited, status=1/FAILURE) 主进程 ID:408 (code=exited, status=1/FAILURE) 内存峰值:3.5M CPU:49ms 7月20日 13:51:19 imx95-15x15-frdm systemd[1]: 正在启动 weston.service - Weston,一个 Wayland 合成器,作为系统服务... 7月20日 13:51:19 imx95-15x15-frdm (weston)[408]: pam_unix(weston-autologin:session): 用户 root(uid=0) 的会话已由 (uid=0) 打开 7月20日 13:51:20 imx95-15x15-frdm systemd[1]: weston.service:主进程已退出,代码=已退出,状态=1/失败 7月20日 13:51:20 imx95-15x15-frdm systemd[1]: weston.service:失败,结果为“退出代码”。7 月 20 日 13:51:20 imx95-15x15-frdm systemd[1]: 启动 weston.service 失败 - Weston,一个 Wayland 合成器,作为系统服务。 剧透 (高亮部分可供阅读) root@imx95-15x15-frdm:~# cat /run/user/0/weston.log 日期:2026年7月20日 UTC [12:34:22.150]韦斯顿 14.0.2 https://wayland.freedesktop.org 错误报告请提交至: https://gitlab.freedesktop.org/wayland/weston/issues/ 版本:LSDK-25.12_DEBIAN-13_LF-6.12.20-168-g2ddc741+ [12:34:22.153]命令行:/usr/bin/weston --log=/run/user/0/weston.log --modules=systemd-notify.so [12:34:22.153]操作系统:Linux,6.12.49,#5 SMP PREEMPT 2026年5月28日星期四 13:07:26 KST,aarch64 [12:34:22.153]飞行记录仪:已启用 [12:34:22.155]使用配置文件“/etc/xdg/weston/weston.ini” [12:34:22.156]输出重绘窗口最大为 16 毫秒。 [12:34:22.158]正在加载模块“/usr/lib/libweston-14/drm-backend.so” [12:34:22.162]模块加载失败:libdisplay-info.so.1:无法打开共享对象文件:没有该文件或目录 [12:34:22.162]致命错误:创建合成器后端失败 root@imx95-15x15-frdm:~# cat /run/user/0/weston.logDate:2026-07-20 UTC[12:34:22.150]weston 14.0.2https://wayland.freedesktop.org错误报告至:https://gitlab.freedesktop.org/wayland/weston/issues/Build:LSDK-25.12_DEBIAN-13_LF-6.12.20-168-g2ddc741+[12:34:22.153]命令行:/usr/bin/weston --log=/run/user/0/weston.log --modules=systemd-notify.so[12:34:22.153]操作系统:Linux,6.12.49,#5 SMP PREEMPT 2026 年 5 月 28 日星期四 13:07:26 KST,aarch64[12:34:22.153]飞行记录仪:已启用[12:34:22.155]使用配置文件“/etc/xdg/weston/weston.ini”[12:34:22.156]输出重绘窗口最大为 16 毫秒。[12:34:22.158]正在加载模块“/usr/lib/libweston-14/drm-backend.so”[12:34:22.162]模块加载失败:libdisplay-info.so.1:无法打开共享对象文件:没有该文件或目录[12:34:22.162]致命错误:创建合成器后端失败 我也遇到了同样的错误(我不知道是否相关),但是我的屏幕上什么都没显示。 剧透 (高亮部分可供阅读) it6263 3-004c:未能清除 DDC FIFO it6263 3-004c:读取 EDID 失败 it6263 3-004c:清除 DDC FIFO 失败;it6263 3-004c:读取 EDID 失败 Re: Issue "Weston.Service" on the "imx95-15x15-frdm" Debian using flex-installe root@imx95-15x15-frdm:~# ldd /usr/lib/libweston-14/drm-backend.so linux-vdso.so.1 (0x0000ffffac56c000) libweston-14.so.0 => /usr/lib/libweston-14.so.0 (0x0000ffffac410000) libwayland-client.so.0 => /lib/aarch64-linux-gnu/libwayland-client.so.0 (0x0000ffffac3e0000) libpixman-1.so.0 => /lib/aarch64-linux-gnu/libpixman-1.so.0 (0x0000ffffac330000) libwayland-server.so.0 => /lib/aarch64-linux-gnu/libwayland-server.so.0 (0x0000ffffac2f0000) libdrm.so.2 => /usr/lib/libdrm.so.2 (0x0000ffffac2b0000) libudev.so.1 => /lib/aarch64-linux-gnu/libudev.so.1 (0x0000ffffac250000) libdisplay-info.so.1 => 未找到 libgbm.so.1 => /usr/lib/libgbm.so.1 (0x0000ffffac220000) libseat.so.1 => /lib/aarch64-linux-gnu/libseat.so.1 (0x0000ffffac1f0000) libinput.so.10 => /lib/aarch64-linux-gnu/libinput.so.10 (0x0000ffffac170000) libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000ffffabfb0000) /lib/ld-linux-aarch64.so.1 (0x0000ffffac520000) libxkbcommon.so.0 => /lib/aarch64-linux-gnu/libxkbcommon.so.0 (0x0000ffffabf40000) libffi.so.8 => /lib/aarch64-linux-gnu/libffi.so.8 (0x0000ffffabf10000) libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000ffffabe60000) libcap.so.2 => /lib/aarch64-linux-gnu/libcap.so.2 (0x0000ffffabe30000) libsystemd.so.0 => /lib/aarch64-linux-gnu/libsystemd.so.0 (0x0000ffffabd00000) libmtdev.so.1 => /lib/aarch64-linux-gnu/libmtdev.so.1 (0x0000ffffabcd0000) libevdev.so.2 => /lib/aarch64-linux-gnu/libevdev.so.2 (0x0000ffffabc90000) libwacom.so.9 => /lib/aarch64-linux-gnu/libwacom.so.9 (0x0000ffffabc60000) libgudev-1.0.so.0 => /lib/aarch64-linux-gnu/libgudev-1.0.so.0 (0x0000ffffabc30000) libgobject-2.0.so.0 => /lib/aarch64-linux-gnu/libgobject-2.0.so.0 (0x0000ffffabba0000) libglib-2.0.so.0 => /lib/aarch64-linux-gnu/libglib-2.0.so.0 (0x0000ffffaba10000) libatomic.so.1 => /lib/aarch64-linux-gnu/libatomic.so.1 (0x0000ffffab9e0000) libpcre2-8.so.0 => /lib/aarch64-linux-gnu/libpcre2-8.so.0 (0x0000ffffab920000) Re: Issue "Weston.Service" on the "imx95-15x15-frdm" Debian using flex-installe Hello root@imx95-15x15-frdm:~# find /usr -name "libdisplay-info*" /usr/lib/aarch64-linux-gnu/libdisplay-info.so.2 /usr/lib/aarch64-linux-gnu/libdisplay-info.so.0.2.0 /usr/share/doc/libdisplay-info2 Re: Issue "Weston.Service" on the "imx95-15x15-frdm" Debian using flex-installe 请运行以下命令并分享输出结果? 查找 /usr -name "libdisplay-info*" 谢谢! Re: Issue "Weston.Service" on the "imx95-15x15-frdm" Debian using flex-installe 谢谢你的更新。 我可以看到 libdisplay-info 存在于系统中,但是 Weston 日志正在查找 libdisplay-info.so.1,而安装的库似乎是 libdisplay-info.so.2。 请运行以下命令并分享输出结果? ldd /usr/lib/libweston-14/drm-backend.so 这将有助于验证是否存在库版本不匹配或其他缺失的依赖项。
查看全文
S32K344/358/388 SWO Printf 在 S32DS3.6 中不起作用 嗨,团队、 我按照这个步骤用 pe multilink 和 S32DS3.6 测试了 SWO printf 函数。 我使用了 S32K3 官方 EVB 并检查了 SWO 引脚是否成功伸出。S32K311,312 SWO 可以正常工作,但 S32K344,358,388 无法打印出来。肯定有一些隐藏设置需要在软件中完成,您能帮忙测试并尝试一下吗? 我已经测试了 S32DS3.6.1、3.6.2、3.6.3,3.6.5.所有情况都一样,311/312 可以正常工作,而 344、358、388 则无法工作。 优先级:高 S32DS Re: S32K344/358/388 SWO Printf not work is S32DS3.6 我已经检查了 S32K344 和 312 的 SWO 路线的 RM。344 则更为复杂。 也许需要用软件打开一些额外的开关。 顺祝商祺! 杰里米 Re: S32K344/358/388 SWO Printf not work is S32DS3.6 嗨,杰里米、 我来看看你的问题。过去这是一个已知的错误,但希望现在已经修复。您使用的是最新的 PE Micro 插件吗? Re: S32K344/358/388 SWO Printf not work is S32DS3.6 嗨,吉瑞、 这是我的 PE 微型插件 Re: S32K344/358/388 SWO Printf not work is S32DS3.6 嗨,杰里米、 请尝试使用最新的 PE Micro 插件(v6.1.8 Re: S32K344/358/388 SWO Printf not work is S32DS3.6 嗨,吉日、 有时间的话,我会测试一下。您试过这个 v6.1.8 版本吗? 顺祝商祺! 杰里米 Re: S32K344/358/388 SWO Printf not work is S32DS3.6 Jiri,你好,我这边这个问题仍然存在,你那边有什么进展吗? 顺祝商祺! 杰米
查看全文
MPC5746C FXOSC 出力周波数 パーツ:MPC5746C(Power Architecture Z4、SDK:NXP MPC57xxプラットフォームSDK)。 MPC5746Cのマニュアルには、FXOSCは8~40MHzの出力周波数を提供すると記載されています。以下の構成におけるFXOSCの出力周波数を特定するのを手伝ってください。 1. FXOSC_CTL: OSCBYP = 0 かつ OSCM = LCP 2. FXOSC_CTL: OSCBYP = 0 かつ OSCM = FSP 3. FXOSC_CTL: OSCBYP = 1 かつ OSCM = LCP 4. FXOSC_CTL: OSCBYP = 1 かつ OSCM = FSP 他のレジスタ項目についてもデフォルト値を検討してください。ありがとう。 Re: MPC5746C FXOSC output frequency @petervlna さん、ご回答ありがとうございます。 クリスタル/共振器(OSCBYP = 0)と外部クロック(OSCBYP = 1)が提供する周波数はどのように見つければよいのでしょうか? Re: MPC5746C FXOSC output frequency こんにちは、 FXOSCモジュールは、OSCBYPおよびOSCMの設定に基づいて特定の周波数を生成しません。FXOSCの出力周波数は常にFXOSCに接続された外部ソースの周波数(OSCBYP=0のクリスタル/共振器、OSCBYP=1の時は外部クロック)と等しく、8〜40 MHzのサポート範囲内で行われます。 したがって、記載されている4つの構成すべてにおいて、FXOSCの出力周波数は外部入力周波数と全く同じになります。OSCMの設定(LCP/FSP)は発振器の動作モードに影響を与えますが、クロック周波数は変更しません。 よろしくお願いいたします。 ピーター Re: MPC5746C FXOSC output frequency @petervlna上記のFXOSCの問い合わせについてサポートいただければ幸いです。 Re: MPC5746C FXOSC output frequency クリスタル/共振器(OSCBYP = 0)と外部クロック(OSCBYP = 1)が提供する周波数はどのように見つければよいのでしょうか? 上記の質問について、 @petervlna さんにお知らせください。FXOSCをタイマーのクロックソースとして使用したい。提供される周波数に基づいて、カウント値をタイマーレジスタに読み込めます Re: MPC5746C FXOSC output frequency こんにちは、 MPC5746Cには、FXOSCレジスタからFXOSC周波数を測定または判定する方法がありません。周波数はハードウェア設計から知られている必要があります: OSCBYP = 0: FXOSC周波数は、基板に取り付けられた外部水晶発振器/共振器の周波数と等しい。 OSCBYP = 1: FXOSC周波数は、FXOSC入力ピンに印加される外部クロック信号の周波数と等しくなります。 FXOSCをタイマークロックソースとして使用するには、タイマーカウント値を計算する際に基板の回路図やクロックデザインで指定された周波数(例:8 MHz、16 MHz、40 MHzなど)を使用する必要があります。OSCBYPとOSCMの設定は、周波数自体には影響しません。 よろしくお願いいたします。 ピーター
查看全文
S32K344/358/388 SWO Printf not work is S32DS3.6 Hi Team, I have tested the SWO printf function with pe multilink and S32DS3.6 following this step.  I have used the S32K3 official EVB and checked the SWO pin have extended out successfully. The S32K311,312 SWO can work fine, but S32K344,358,388 can't print out. There must be some hidden settings which needs to be done in the software, Could you help to test and try? I have tested S32DS3.6.1, 3.6.2, 3.6.3, 3.6.5. All behaves the same, 311/312 can work fine and 344,358,388 can't work. Priority: HIGH S32DS Re: S32K344/358/388 SWO Printf not work is S32DS3.6 I have checked the RM for the SWO routing for S32K344 and 312. 344 is more complex.  Maybe some extra switch need to be swited on by software. Best Regards, Jeremy Re: S32K344/358/388 SWO Printf not work is S32DS3.6 Hi Jeremy,  I'll look at your issue. In past it was known bug, but hope that it is fixed now. Are you using latest PE Micro plugin?  Re: S32K344/358/388 SWO Printf not work is S32DS3.6 Hi jiri, This is my PE micro plugin Re: S32K344/358/388 SWO Printf not work is S32DS3.6 Hi Jiri, I will test it when I get time lator? Have you tried this  v6.1.8 version?  Best Regards, Jeremy Re: S32K344/358/388 SWO Printf not work is S32DS3.6 Hi Jeremy,  please try to use the latest PE Micro plugin which is v6.1.8 Re: S32K344/358/388 SWO Printf not work is S32DS3.6 Hi Jiri, this issue still exists at my side, any update on your side? Best Regards, Jermey
查看全文
サポート要望:i.MX8MプラスLVDS出力を用いたHD-SDIインターフェース 拝啓、 私たちは NXP i.MX8M Plus プロセッサをベースにしたシステムを設計しており 、 HD-SDIインターフェース の実装について皆様のご指導をいただきたい と考えています。 私たちの要件は、3つのHD-SDI出力をサポートすることです。 i.MX8M PlusのLVDSインターフェースを使用し、以下のデバイスを使ってHD-SDIに変換する予定です。 LMH0340SQE/NOPB – LVDS-HD-SDIシリアライザ LMH0324RTWT 1対3 HD-SDI分配アンプ 2台 i.MX8M PlusのLVDSインターフェース が 、3つのHD-SDI出力を生成するこのアーキテクチャに対応している か確認していただけます か? もしこの方法が推奨されない場合やサポートされていない場合、i.MX8M Plusプロセッサを使い続けながら3つのHD-SDIインターフェースを実装する代替案をご提案いただけます か?私たちはi.MX8M Plusをデザインに残したいと考えています。なぜなら、他のシステム要件をすべて満たすからです。 このインターフェースを成功裏に実装するためのリファレンス・デザインやアプリケーションノートのご提案をいただけるとありがたいです。 サポートありがとうございます。ご指導をお待ちしております。 よろしくお願いいたします。 サムドラランカイア・ジャンパニ アナログ(ADC|CMP|DAC|OpAmp) ボード設計 MCXA MCX C Re: Support Request: HD-SDI Interface Using i.MX8M Plus LVDS Output こんにちは、 残念ながら、私はこの種の使い方にあまり慣れていません。あなたが共有した部分を調べたところ、FPGAで使うことが期待されているようで、LVDSチャネルでは使えそうでないようで、このインターフェースがその用途に使えるかはわかりません。 i.MX8MPの別のブリッジや他のインターフェース、あるいはその間の別のレイヤー(FPGA)を使うのが解決策かもしれません。 よろしくお願いいたします。 アルド。
查看全文
如何调整功放MD8LC925NR1的偏置电压? 你好, 我们目前正在设计一个使用MD8LC925NR1功率放大器的系统。我们恳请您推荐合适的偏置电路或专用电源管理元器件,以便为该功率放大器提供正确的偏置。 请问您能否提供一些推荐的参考设计、应用笔记或具体零件编号? 谢谢你的帮助。 Re: How to bias the amp MD8LC925NR1? 你好, 感谢您对恩智浦半导体产品的关注,也感谢您给我们提供支持的机会。 提供的零件编号似乎有误。MDL8LC925NR1不是 NXP 可订购的有效零件编号。最接近的匹配设备是MD8IC925N。请注意,该设备目前已停产,这意味着它不再受支持,也不再接受新的购买。 以下NXP文档提供了详细的设计信息,包括电路原理图、元器件清单和特性数据: MD8IC925N 数据手册 AN1977 –射频集成电路系列中的静态电流热跟踪电路 AN1987 – 射频集成电路设备系列的静态电流控制(包括两种偏置电路拓扑结构及完整的元器件清单) AN1955 – 射频功率放大器的热测量方法 遗憾的是,MD8IC925N 没有直接的替代品。此外,许多涵盖100 MHz 至 1000 MHz频率范围的射频产品即将停产,目前还没有宣布推出新的替代设备。 如果您需要我们根据您的具体频率、功率和供电电压要求,协助您寻找替代解决方案,请与我们联系。 顺祝商祺!
查看全文
NXP iMX8MP:基于WFI的CPU在U-Boot中处于空闲状态时不会唤醒 尊敬的恩智浦技术支持团队: 我们正在研究基于 i.MX8M Plus 的产品的 U-Boot 中的低功耗等待机制,现在我们希望得到 NXP 的指导。 软件版本 SoC:NXP i.MX8M Plus BSP: ATF:lf_v2.10_android-15.0.0_1.2.0 U-Boot:lf_v2024.04_android-15.0.0_1.2.0 基于公开的 NXP 电路板支持包(Variscite 分支对 ATF/GIC 代码路径没有相关的修改) 目标 在 Android 系统启动之前,应用程序需要在 U-Boot 模式下停留几分钟,以便为深度放电的电池充电。 基于 mdelay() 的忙循环会消耗不必要的功率并产生额外的热量,因此我们正在尝试定期进入低功耗空闲状态,并使用 ARM 通用定时器 (CNTP, PPI 30) 唤醒。 初始实施 配置 CNTP 定时器 启用 PPI 30 从 EL2 执行原始 wfi() 处理器永远不会从 wfi() 中唤醒。UART 输出突然停止,没有任何异常或崩溃。 PSCI 实现 PSCI_VERSION 返回 1.1 PSCI_FEATURES(CPU_SUSPEND) 返回 0(支持) 调用 CPU_SUSPEND 请求进入待机电源状态 程序会执行 ATF 备用程序实现 imx_cpu_standby(),但系统会以完全相同的方式挂起:没有异常,没有 UART 输出,执行永远不会恢复。 因此,两者: 在 EL2 级别执行原始 wfi() 函数 wfi() 通过 ATF 经由 PSCI 执行 产生相同的行为。 已经核实的内容 CPU 和定时器 U-Boot 在 EL2 层执行。 CNTP定时器已正确编程。 CNTP_TVAL_EL0 倒计时正常。 CNTP_CTL_EL0 显示: 启用 = 1 IMASK = 0 布防后,ISTATUS = 0。 CPU接口 ICC_PMR_EL1 配置正确。 ICC_IGRPEN1_EL1 已启用。 虚拟化 HCR_EL2 具有: IMO = 0 FMO = 0 因此,中断路由不会通过 EL2 虚拟化进行。 中断网络安全分类 我们从美国烟酒枪炮及爆炸物管理局(ATF)的消息来源证实: 所有PPI最初都由通用GICv3辅助代码配置为第1组非安全设备。 只有 SGI8(以及可选的 SDEI SGI)被重新配置为安全模式。 PPI 30 不在安全中断属性表中。 因此,通用定时器中断似乎仍如预期那样保持为第 1 组非安全状态。 SCR_EL3.TWE 我们最初怀疑不安全的 wfi() 可能会通过 SCR_EL3.TWE 被困到 EL3,但现在看来不太可能,因为当 wfi() 通过 PSCI 在 ATF 内部执行时,也会发生同样的行为。 进一步调查 在跟踪 ATF GIC 初始化时,我们注意到 gicv3_distif_init() 会清除 Distributor EnableGrp 位,并且只会重新启用安全中断属性表请求的那些位。 由于该辅助程序只生成 Group0 和 Group1 Secure 属性,因此 EnableGrp1NS 似乎永远不会被显式地重新启用。 为了验证这一点,我们: 读取 GICD_CTLR 观察到 EnableGrp1NS = 0 尝试从 EL2 自行设置 EnableGrp1NS。 不料: 写入操作顺利完成,没有出现任何错误。 RWP运行正常 但读取后 EnableGrp1NS 仍然为 0。 我们还核实了: GICD_CTLR.DS == 0 GIC 内存区域的 RDC 保护已禁用(ENA = 0) RDC违规登记数量仍为零。 因此,RDC 似乎并没有阻止写入操作。 剩余问题 至此,我们已经排除了: 定时器编程 CPU接口配置, 中断优先级掩码 中断组分类, SCR_EL3.TWE 捕获, PSCI 与原始 WFI 执行方式对比, RDC保护。 剩下的未解释的行为是,架构上不安全的可写分发器控制位(EnableGrp1NS)似乎不接受此平台上的写入,因此原始 wfi() 和 PSCI CPU_SUSPEND 都无法使用通用定时器中断唤醒。 i.MX8M Plus Android 15 电路板支持包。 出现这种现象是否正常? 在公共 ATF 源代码之外,是否存在任何平台特定的初始化缺失,导致通用定时器 PPI 无法通过 wfi() 唤醒 CPU? EnableGrp1NS 是否被有意阻止在此平台上被不安全的软件修改? 有没有人成功地使用以下两种方法之一实现了从 U-Boot 定期唤醒: 原始 wfi(),或 PSCI CPU_SUSPEND 由 ARM 通用定时器驱动? 非常感谢您能提供任何关于预期初始化顺序或平台特定行为的见解。 谢谢! 顺祝商祺! 码头
查看全文