Multi Source Translation Content

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Multi Source Translation Content

ディスカッション

ソート順:
DPAA2イーサネット・スイッチ(dpsw)はパケットを受信ポートに送ります DPAA2のLX2160プロセッサ搭載のイーサネット・スイッチ(DPSW)で問題や制限に直面しました。 dpsw は、パケットの宛先 MAC が既にそのポートで学習されている場合 (つまり、宛先 MAC がそのポートの FDB に登録されている場合) に、そのパケットを受信ポートに返送します。 これにより、スイッチがCiscoのイーサネット・スイッチに接続されている場合に問題が生じます。Cisco イーサネット・スイッチ CDPは、同じ送信元と宛先MACでパケットを送信することでループバックテストを行うためです。DPSWはCisco Switchがポートをシャットダウンさせます。 NXP社が提案している回避策があります。各ポートのFDBに登録されているMACアドレスをスキャンし、それらをACLに追加して、受信ポートへの送信をブロックするスクリプトを作成してください。 例えば、eth2 の問題を修正する必要がある場合は、次のスクリプトを使用します。 tc qdisc add dev eth2 clsact dest=`bridge fdb show | grep -i eth2 | grep -i self | awk  '{print substr($1,0,17)}'` for dmac in $dest; do tc filter add dev eth2 ingress flower dst_mac $dmac skip_sw action drop done コマンドの機能: - qdiscを作成します(ACLについては、お送りしたリンクを参照してください)。 - ブリッジFDBをダンプし、宛先ポートがeth2で、かつタイプが「self」であるすべてのエントリを表示します。 ダンプの結果はawkに渡され、FDBからdmacのみを出力します。 例: 00:04:9f:05:c3:c8 00:04:9f:05:c3:c9 00:04:9f:05:85:b2 -結果をdestに保存します。- dest を反復処理し、dest 内の各 MAC に対してイングレスに ACL フィルタを追加します。 eth2で受信されるすべてのフローのうち、上記の範囲内のdmacを持つものは、作成されたACLルールによって破棄されます。 しかし、この回避策は場当たり的なやり方のように思える。いくつか問題点があります。 - MACが学習されACLに割り当てられる間には小さなウィンドウが存在し、パケットが受信ポートにループバックされる可能性があります。 - また、デバイスが移動しても、ACL内のMACアドレスは削除されません。移動したデバイスは現在アクセスできない可能性があります。 - 継続的な走査、ACLへの追加およびACLプロセッシングによるパフォーマンスへの影響。 私の質問:これに対処するもっと良い方法はありますか? Re: DPAA2 Ethernet Switch (dpsw) sends packets back to incoming port 「もしかしたら」この方法が効果的か、役立つかもしれませんか?内容を確認し、動作するか、あるいは理にかなっているかどうかについてフィードバックをお願いします。 -------------------------------------------------------------------------------------------------- DPSWポートに受信するeth型ループバック検出フレーム0x9000ドロップするための代替サンプル方法 ---------------------------------------------------------------------------------------------- 例えば、ループバック検出フレーム(ethタイプ0x9000)パケットがeth5 dpswポート経由で受信されている場合(そして、例えばdpmac-18がこのdpswポートにリンクされている場合)、 その場合、汎用的なethタイプ0x9000フレーム(MACアドレスに関係なく)を破棄することで、ハードウェアオフロードルールを実行する方がより良い選択肢となるでしょう。 1. 一時的または既存の設定をすべて削除します。 tc qdisc del dev eth5 clsact 2>/dev/null tc qdisc add dev eth5 clsact 2. 厳格なハードウェアオフロードのドロップルールを適用する tc filter add dev eth5 ingress protocol 0x9000 flower skip_sw action drop ---------------------- 3. ステータスチェック: tc -s filter show dev eth5 ingress restool dpsw info dpsw.0 | grep -A 10 "dpmac.18"| grep "fltr_frame" または while :; do restool dpsw info dpsw.0 | grep -A 10 "dpmac.18"| grep "fltr_frame"; sleep 1; done Re: DPAA2 Ethernet Switch (dpsw) sends packets back to incoming port 簡単に言えば、お客様に実装を提供する可能性は非常に低いです: -ハードウェアはソースポートのプリミュニングをサポートしておらず、その機能を実現するにはファームウェアも大幅な変更が必要です(実現可能かどうかも不明です)。なぜなら、プリンを自律的にエミュレートする方法が不可能なからです。 Re: DPAA2 Ethernet Switch (dpsw) sends packets back to incoming port AEチームと話し合っています。
記事全体を表示
dtb は LAW 構成 (T2080RDB) を変更しますか? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、 T2080RDBを使用しています。PCI デバイスのメモリ位置を変更したい。dtbを変更しました。ただし、LAW レジスタが変更されていないため、機能しません。 適切な機能を得るために、uboot と dtb (両方) を変更する必要があるかどうかを知りたいです。 BR QorIQ T4デバイス Re: Does dtb change the LAW configuration (T2080RDB)? これは LAW 構成の変更に関する興味深い質問です。多くの場合、小さな調整でも機能に影響を与える可能性があるため、信頼できるリソースでクロスチェックすることが常に最善です。Hive Planner 設定などの構造化されたガイドを確認すると、構成がさまざまなセットアップにどのように適合するかを理解するのに非常に役立つことがわかりました。管理された環境で更新を追跡し、変更をテストすることも強くお勧めします。 Re: Does dtb change the LAW configuration (T2080RDB)? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> デバイス ツリーは、ブートローダによって確立されたローカル アドレス マップのみを反映します。Linux は LAW を変更しません。 LAW設定を変更したい場合は、u-Bootのボード固有のコードで変更し、デバイスツリーを調整します。 それに応じて。 Re: Does dtb change the LAW configuration (T2080RDB)? T2080RDB上のLAW設定でのDTBの挙動は、使用されている特定の設定やソフトウェアバージョンによって異なります。パラメータの適用方法を確認するために、設定ファイルや関連ドキュメントを確認すると役立つかもしれません。組織化された記録システムに関する追加の参考として、DeSoto Court Appeals のようなリソースが構造化データアクセスの例を提供できます。ログの確認や制御されたセットアップでの変更のテストも、正確な影響を特定するのに役立ちます。 Re: Does dtb change the LAW configuration (T2080RDB)? 興味深い質問ですね。私が見た限りでは、DTBを更新すると通常はハードウェアの記述や起動設定が変更されるもので、直接LOWの設定を変更することはほとんどありません。ファームウェアやボードサポートパッケージがそれらを特に連携させている場合を除きます。タラントの物件詳細を確認している際に、いくつか役立つ情報を見つけました。それによって、設定変更は自動的に行われると決めつけるのではなく、必ず確認することの重要性を改めて認識しました。LAWが実際に影響を受けたかどうかを確認する最も確実な方法は、変更前と変更後の設定を比較することだろう。
記事全体を表示
NXP i.MX プロセッサベースのAndroid TVデバイスでのIPTVサービス品質はどのように評価しますか? こんにちは、みんな、 現在、NXP i.MX プロセッサを搭載したAndroid TVデバイスでのIPTV再生性能を評価しています。チャネル数だけでプロバイダを比較するのではなく、再生品質に影響を与える技術的な側面に興味があります。 私がテストしている指標には以下のようなものがあります。 ピーク視聴時間帯のストリームの安定性 ハードウェアビデオデコード性能 HLSおよびMPEG-TSとの互換性 チャネル切り替えレイテンシ バッファ マネジメント EPG読み込みパフォーマンス イーサネットとWi-Fiの信頼性の比較 Android TVや組み込みマルチメディアシステムに取り組んでいる方へ、ストリーミングサービスを評価する際に最も重要な基準は何だと考えますか? 私の調査の一環として、最近、米国、カナダ、英国のユーザーがIPTVプロバイダーを選ぶ際に考慮すべき要素について論じた記事を書きました。マーケティングよりも技術評価に重点を置いている。興味のある方は、 Mediumに掲載されている記事をご覧ください。 また、i.MX プラットフォームでのExoPlayerやVLC、その他の再生フレームワークの経験もぜひ聞かせてください。 ご回答をお待ちしています。
記事全体を表示
DPAA2 Ethernet Switch (dpsw) sends packets back to incoming port I encountered a problem or limitation with their Ethernet Switch (dpsw) in the DPAA2 with LX2160 processor. dpsw sends a packet back to its incoming port if the destination MAC of the packet is already learned on that port (i.e., the destination MAC is in FDB on that port). This creates a problem when the switch is connected to a Cisco Ethernet Switch. Because Cisco Ethernet Switch CDP will perform loopback test by sending packets with the same source and destination MAC. dpsw will cause Cisco Switch shutting down the port. There is a workaround suggested by NXP. Write a script that scans the MAC addresses in FDB on each port, and add them to ACL to block them sending back to incoming port. For example, if I need to fix the problem on eth2, use the following script tc qdisc add dev eth2 clsact dest=`bridge fdb show | grep -i eth2 | grep -i self | awk  '{print substr($1,0,17)}'` for dmac in $dest; do tc filter add dev eth2 ingress flower dst_mac $dmac skip_sw action drop done What commands do:  - create a qdisc (see the link I sent you with the ACLs)  - dump the bridge FDB and display all the entries with dest port eth2 that also are of type "self" The result of the dump is passed to awk that will print only the dmacs from the FDB: e.g.: 00:04:9f:05:c3:c8 00:04:9f:05:c3:c9 00:04:9f:05:85:b2 -save the result in dest. -iterate in dest and add ACL filter on ingress for each mac in dest. All the flows that will be received on  eth2  and will have a dmac in the above range will be dropped by the ACL rules created. But this workaround seems kluge.  Here are some issues.  - There is still a small window (between MAC is learned and MAC is placed on ACL), packets still could loopback to incoming port.  - Also when device moves, the MAC in the ACL will not be removed. The moved device may not be reachable now.  - The performance impact with constant scanning, adding to ACL and processing ACL. My question: Are there any better ways to handle this? Re: DPAA2 Ethernet Switch (dpsw) sends packets back to incoming port "Maybe" this below method would work/help? Please check it and provide feedback whether it works or makes sense: -------------------------------------------------------------------------------------------------- Alternate sample method to drop 0x9000 eth-type loopback-detection frames inbound on dpsw ports ---------------------------------------------------------------------------------------------- say if the loopback-detection frames (eth-type 0x9000) packets are coming in through eth5 dpsw-port (and for example if dpmac-18 is linked to this dpsw-port), then running the hardware-offloaded rule would be better option by dropping the generic eth-type 0x9000 frames (irrespective of the mac-addresses) 1. Clean up any temporary/existing configuration tc qdisc del dev eth5 clsact 2>/dev/null tc qdisc add dev eth5 clsact 2. Apply the strict hardware-offload drop rule tc filter add dev eth5 ingress protocol 0x9000 flower skip_sw action drop ---------------------- 3. Status checks: tc -s filter show dev eth5 ingress restool dpsw info dpsw.0 | grep -A 10 "dpmac.18" | grep "fltr_frame" OR while :; do restool dpsw info dpsw.0 | grep -A 10 "dpmac.18" | grep "fltr_frame"; sleep 1; done Re: DPAA2 Ethernet Switch (dpsw) sends packets back to incoming port The short answer is that it is very unlikely to provide an implementation for the customer: -hardware does not support source port pruning and the firmware requires significant changes (not even sure if it's feasible) for such a feature as there is no possibility to emulate the  pruning in an autonomous way. Re: DPAA2 Ethernet Switch (dpsw) sends packets back to incoming port Discussing with the AE team.
記事全体を表示
DPAA2 以太网交换机 (dpsw) 将数据包发送回入端口 我在使用配备 LX2160 处理器的 DPAA2 时,遇到了以太网交换机 (dpsw) 的问题或限制。 如果数据包的目标 MAC 已在该端口上学习到(即,目标 MAC 在该端口的 FDB 中),则 dpsw 会将数据包发送回其传入端口。 当交换机连接到思科以太网交换机时,就会出现问题。因为思科以太网交换机 CDP 将通过发送源 MAC 地址和目标 MAC 地址相同的包来执行环回测试。dpsw 会导致思科交换机关闭端口。 NXP 提出了一种变通方法。编写一个脚本,扫描每个端口上 FDB 中的 MAC 地址,并将它们添加到 ACL 中,以阻止它们向传入端口发送数据。 例如,如果我需要修复 eth2 上的问题,请使用以下脚本 tc qdisc add dev eth2 clsact dest=`bridge fdb show | grep -i eth2 | grep -i self | awk  '{print substr($1,0,17)}'` for dmac in $dest; do tc filter add dev eth2 ingress flower dst_mac $dmac skip_sw action drop done 命令的作用: - 创建一个 qdisc(请参阅我发给你的包含 ACL 的链接) - 导出桥接 FDB 并显示所有目标端口为 eth2 且类型为“self”的条目 转储结果将传递给 awk,awk 将仅打印 FDB 中的 dmacs: 例如: 00:04:9f:05:c3:c8 00:04:9f:05:c3:c9 00:04:9f:05:85:b2 -将结果保存到目标位置。-遍历目标地址,并为目标地址中的每个 MAC 地址添加入口 ACL 过滤器。 所有在 eth2 上接收且 DMAC 在上述范围内的流都将被创建的 ACL 规则丢弃。 但这种变通方法似乎不太妥当。以下是一些问题。 - 在 MAC 地址被学习到和 MAC 地址被添加到 ACL 之间仍然存在一个很小的时间窗口,数据包仍然可能环回到入端口。 - 此外,当设备移动时,ACL 中的 MAC 地址不会被删除。已移动的设备现在可能无法访问。 - 不断扫描、添加到 ACL 和处理 ACL 对性能的影响。 我的问题是:有没有更好的处理方法? Re: DPAA2 Ethernet Switch (dpsw) sends packets back to incoming port 或许以下方法会有效/有帮助?请检查一下,并提供反馈意见,看看它是否有效或合理: -------------------------------------------------------------------------------------------------- 另一种采样方法,用于丢弃 dpsw 端口上入站的 0x9000 eth 类型环回检测帧。 ---------------------------------------------------------------------------------------------- 假设环回检测帧(eth 类型 0x9000)数据包通过 eth5 dpsw 端口进入(例如,如果 dpmac-18 链接到此 dpsw 端口), 那么,运行硬件卸载规则会是更好的选择,方法是丢弃通用的以太网类型 0x9000 帧(无论 MAC 地址如何)。 1. 清理所有临时/现有配置 tc qdisc del dev eth5 clsact 2>/dev/null tc qdisc 添加设备 eth5 clsact 2. 应用严格的硬件卸载丢弃规则 tc filter add dev eth5 ingress protocol 0x9000 flower skip_sw action drop ---------------------- 3. 状态检查: tc -s filter show dev eth5 ingress restool dpsw info dpsw.0 | grep -A 10 "dpmac.18"| grep "fltr_frame" 或者 while :; do restool dpsw info dpsw.0 | grep -A 10 "dpmac.18"| grep "fltr_frame"; sleep 1; done Re: DPAA2 Ethernet Switch (dpsw) sends packets back to incoming port 简而言之,不太可能为客户提供实施方案: -硬件不支持源端口修剪,固件需要进行重大更改(甚至不确定是否可行)才能实现此功能,因为无法以自主方式模拟修剪。 Re: DPAA2 Ethernet Switch (dpsw) sends packets back to incoming port 与AE团队讨论。
記事全体を表示
iMXEBOOKDC5 触摸控制器 IC 零件编号 亲爱的团队, 我正在使用iMXEBOOKDC5和i.MX8ULP EVK 。 目前为止,一切进展顺利。电子墨水显示屏工作正常,按钮和操纵杆也都能正常工作。 我现在想启用显示屏上的触摸面板。但是,我无法确定 EPD 模块上使用的触摸控制器 IC 的零件编号,因为 IC 上的标记似乎已被激光打标擦除。 我曾尝试自己查找相关信息,但没有成功。 请问您能否分享一下: iMXEBOOKDC5 显示屏上使用的触摸控制器 IC 部件号。 任何可用于支持触摸功能的 Linux 驱动程序、库或软件包。 感谢您的帮助。 顺祝商祺! 评估板 Re: Touch Controller IC Part Number for iMXEBOOKDC5 你好, 所使用的触摸控制器IC是汇顶科技(Goodix Technology)生产的GT911。 您可以通过以下链接查看驱动程序: https://github.com/nxp-imx/linux-imx/blob/lf-6.18.y/drivers/input/touchscreen/goodix.c 顺祝商祺! Re: Touch Controller IC Part Number for iMXEBOOKDC5 亲爱的, 感谢您的支持 顺便问一下,您能否提供电子墨水面板的 wayform bin 文件? BRs, 莱德
記事全体を表示
Touch Controller IC Part Number for iMXEBOOKDC5 Dear Team, I am using the iMXEBOOKDC5 together with the i.MX8ULP EVK. So far, everything is working well. The E-Ink display is functioning correctly, and both the buttons and joystick are operating as expected. I would now like to enable the touch panel on the display. However, I cannot identify the part number of the touch controller IC used on the EPD module because the marking on the IC appears to have been erased by laser marking. I have tried to find the information myself, but without success. Could you please share: The touch controller IC part number used on the iMXEBOOKDC5 display. Any available Linux driver, library, or software package for supporting the touch functionality. Thank you for your help. Best regards, Evaluation Board Re: Touch Controller IC Part Number for iMXEBOOKDC5 Hello, The touch controller IC used is the GT911, manufactured by Goodix Technology. You can take a look into the driver in the next link: https://github.com/nxp-imx/linux-imx/blob/lf-6.18.y/drivers/input/touchscreen/goodix.c Best regards. Re: Touch Controller IC Part Number for iMXEBOOKDC5 Dear, Thanks for your support BTW, can you help to provide the wayform bin file for the e-ink panel? BRs, Ryder
記事全体を表示
How do you evaluate IPTV service quality on Android TV devices based on NXP i.MX processors? Hello everyone, I'm currently evaluating IPTV playback performance on Android TV devices powered by NXP i.MX processors. Rather than comparing providers based only on channel count, I'm interested in the technical aspects that affect playback quality. Some of the metrics I'm testing include: Stream stability during peak viewing hours Hardware video decoding performance HLS and MPEG-TS compatibility Channel switching latency Buffer management EPG loading performance Ethernet versus Wi-Fi reliability For anyone working with Android TV or embedded multimedia systems, what criteria do you consider most important when evaluating a streaming service? As part of my research, I recently wrote an article discussing the factors to consider when choosing an IPTV provider for users in the USA, Canada, and the UK. It focuses on technical evaluation rather than marketing. If anyone is interested, the article is available on Medium. I'd also appreciate hearing about your experiences with ExoPlayer, VLC, or other playback frameworks on i.MX platforms. Thank you!
記事全体を表示
Facemesh Landmark 模型 ptq 转换中的性能下降 本仓库中使用的是 NXP 在 ptq 之后发布的 Google FaceMesh 模型: nxp-demo-experience-demos-list/downloads.json 位于 lf-6.12.3_1.0.0 · nxp-imx-support/nxp-demo-experience-demos-list 但该模型基于谷歌旧的 FaceMesh 模型,该模型有 468 个地标点。 现在我们想升级到谷歌新的 FaceMesh 模型,它有 478 个地标点。我们希望在 iMX 95 FRDM 板 NPU 上运行此程序。所以,我们想把它量化。我们使用的是NXP的eIQ-neutron-sdk-linux-3.1.3量化该模型。 经过量化之后,我们发现模型性能显著下降,几乎无法实际使用。 最初我们使用 MIN-MAX 选项对其进行量化。那个模型根本没法用。然后我们尝试使用百分位数选项,发现将百分位数设置为 95 时性能更好(即使这是回归器的输出)。 但这仍然无法带来理想的性能。 1)NXP为旧版FaceMesh(468)模型创建ptq文件时,使用了MIN-MAX选项吗?或者百分位数? 2)量化后性能急剧下降时,我们还需要检查其他方面吗? 3) 我们使用 CelebA 数据集进行性能分析,在 scripts 目录中使用 serialize_image.py 脚本并设置了模型特定选项。我们应该运行完整的媒体管道并创建校准数据集,还是应该修改 serialize 脚本? 提供的选项 serialize_image.py : -i //218 x 178 正面 RGB 图像 -o -f bin -t float32 -m 0到1 -s 256,256 -布局 NHWC -co RGB tflite-profiler: --input --dataset --输出 tflite-quantizer: --input --profile --quantize-inputs=false --quantize-outputs=false --quantization-calibration-method= //最小值、最大值或百分位数 Re: Performance degradation in Facemesh Landmark model ptq conversion 嗨@dhilshad , 感谢您联系恩智浦技术支持! 1)很遗憾,我们目前没有相关信息。 2)这种行为是预期的。量化只是部署过程的一部分;将模型转换为嵌入式硬件上执行并进行优化还涉及几个额外的步骤,例如图优化、运算符映射、硬件特定的转换和运行时验证。因此,即使模型已经量化,模型的行为和性能也可能发生变化。 对于新的设计和评估,我建议使用 eIQ Olive,因为它为 NXP i.MX 平台上的模型优化和部署提供了一个更现代化的框架。它包括更新的工作流程和对当前机器学习部署场景的改进支持。 更多信息请参考以下教程和文档: https://eiq.nxp.com/learning-hub/tools/olive/index.html 这些资源涵盖了在 i.MX 设备上部署机器学习模型的推荐工作流程和最佳实践。 此致, 查维拉 Re: Performance degradation in Facemesh Landmark model ptq conversion @Chavira你好,谢谢你的回复。并指出相关文档 在这里需要澄清的是,我们主要关注的是模型的准确性。对于 FaceMesh 模型,我们发现输出的特征点精度不足以满足我们的应用需求。正如我之前所说,我们发现保持 95 百分位截断值比 MIN MAX 截断值略好一些。但仍然无法与 NXP 的 ptq 模型(FaceMesh 468)的精度相提并论。 我们还有一点需要说明: 1)我们尝试只提供生产环境中的 8 个样本作为代表性数据集。这样略微改善了结果。然后我们添加了来自同一环境的 250 张图像,并进行了分析和量化。但这导致准确率下降。 你知道这种行为可能是什么原因造成的吗? 2)另外,NXP 是否已经将 Google 的新 FaceMesh 模型(具有 478 个地标)转换为 ptq 模型?
記事全体を表示
ICODE SLIはICODE SLIXに切り替えられません クライアントは私が提供したICODE SLIチップを使っていますが、このチップは終了しています。ICODE SLIXへの切り替えを試みていますが、クライアントのRFIDリーダーが認識できません。 Re: ICODE SLI can't be switch to ICODE SLIX こんにちは、 ICODE SLIXはISO15693レベルでICODE SLIと後方互換性を持つことを意図しているため、リーダーは少なくとも在庫管理時にSLIX UIDを検出すべきです。リーダーが認識できない場合は、まず故障がRFインベントリレベルにあるのか、アプリケーションのタグ識別ロジックにあるのかを確認してください。一般的な原因には、AFI/UIDフィルタリング、SLI製品認識のハードコード、古いリーダーファームウェア、または移行時のSLIX特有のセキュリティや機能の使用などがあります。最初のテストでは、AFIフィルタリングとタグホワイトリストを無効にし、標準ISO15693インベントリを実行し、UID/DSFID/AFIを読み取り、アプリケーションの受け入れロジックを旧SLIタグと比較します。 よろしくお願いします。 Re: ICODE SLI can't be switch to ICODE SLIX このスレッドを適切なコミュニティに移してください。これはColdfireや68kの部品ではありません。
記事全体を表示
dtb 是否会更改 LAW 配置(T2080RDB)? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 您好, 我使用的是 T2080RDB。我想更改 PCI 设备的内存位置。我已经更换了 dtb。但是,由于 LAW 寄存器没有被修改,因此它不起作用。 我想知道是否必须更改 uboot 和 dtb(两者)才能获得正常功能。 BR QorIQ T4 设备 Re: Does dtb change the LAW configuration (T2080RDB)? 关于 LAW 配置的变化,这是一个有趣的问题。在许多情况下,即使是微小的调整也会影响功能,因此最好还是通过可靠的资源进行交叉检查。我发现,查看结构化指南(如蜂巢规划器设置)确实有助于了解配置如何与不同的设置保持一致。此外,还强烈建议在受控环境中跟踪更新和测试更改。 Re: Does dtb change the LAW configuration (T2080RDB)? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 设备树仅反映由引导加载程序建立的本地地址映射。Linux 不会改变法律。 如果你想更改 LAW 设置,请在 U-启动 中的主板专用代码中进行更改,然后调整设备树 因此。 Re: Does dtb change the LAW configuration (T2080RDB)? 有趣的问题。据我观察,更新 DTB 通常会更改硬件描述和启动设置,而不是直接修改 LAW 配置,除非固件或板级支持包明确地将它们绑定在一起。我在查看Tarrant 属性详细信息时发现了一些有用的背景信息,这让我意识到验证配置更改的重要性,而不是想当然地认为它们是自动生效的。比较前后设置可能是确认 LAW 是否真正受到影响的最安全方法。 Re: Does dtb change the LAW configuration (T2080RDB)? T2080RDB 上采用 LAW 配置的 DTB 行为可能取决于所使用的具体设置和软件版本。查看配置文件和相关文档可能有助于确认参数的应用方式。有关组织化记录系统的更多参考资料,例如DeSoto Court Appeals等资源可以提供结构化数据访问的示例。检查日志并在受控环境中测试更改也有助于确定确切的影响。
記事全体を表示
ICODE SLI can't be switch to ICODE SLIX My client has been using the ICODE SLI chip I provided, but this chip has been EOL. We are trying to switch to the ICODE SLIX, but the client's RFID reader cannot recognize it. Re: ICODE SLI can't be switch to ICODE SLIX Hello, ICODE SLIX is intended to be backward compatible with ICODE SLI at the ISO15693 level, so the reader should at least detect the SLIX UID during inventory. If the reader cannot recognize it, please first check whether the failure is at RF inventory level or in the application’s tag-identification logic. Common causes are AFI/UID filtering, hardcoded SLI product recognition, old reader firmware, or use of SLIX-specific security/features during migration. For the first test, disable AFI filtering and tag whitelisting, perform a standard ISO15693 inventory, read UID/DSFID/AFI, then compare the application’s acceptance logic against the old SLI tag. Regards Re: ICODE SLI can't be switch to ICODE SLIX Please move this thread to the appropriate community. This isn't a Coldfire or 68k part.
記事全体を表示
Facemesh Landmarkモデルptq変換におけるパフォーマンス低下 このリポジトリでは、ptq後にNXPがリリースしたGoogleのFaceMeshモデルを使っていました: nxp-demo-experience-demos-list/downloads.json at lf-6.12.3_1.0.0 ·NXP-IMX-support/NXP-demo-experience-demos-list しかしこのモデルは、468のランドマークポイントを持つGoogleの旧FaceMeshモデルに基づいています。 次に、Googleの新しいFaceMeshモデルに移行したいと考えています。これには478のランドマークポイントがあります。これをiMX 95 FRDMボードのNPU上で実行したいと考えています。そこで、これを量子化したかったのです。NXPのeIQ-neutron-sdk-linux-3.1.3を使っていますこのモデルを量子化するために。 この量子化の後、モデルのパフォーマンスは著しく劣化し、実際に使うにはほとんど使えない状態です。 当初はMIN-MAXオプションを使用して量子化していました。そのモデルは使い物にならなかった。次に、パーセンタイルオプションを使用してみたところ、パーセンタイルを95に設定した方がパフォーマンスが向上することがわかりました(これは回帰モデルの出力でしたが)。 しかし、それでも十分な性能は得られていません 1) NXPが古いFaceMesh(468)モデルのptqファイルを作成した際、どのオプションを使っていましたか?MIN-MAX?それともパーセンタイル? 2) 量子化後にパフォーマンスが著しく低下した場合、他に確認すべき事項はありますか? 3) CelebAデータセットでプロファイリングを行い、スクリプトのserialize_image.pyをモデルオプションで使いました。メディアパイプ全体を実行してキャリブレーションデータセットを作成するか、シリアル化スクリプトで変更すべきか オプション提供 serialize_image.py: -i //218 x 178 前面向けRGB画像 -<パス/トゥ/calib_bins> -Fビン -T float32 -0to1 -256、256 -NHWCレイアウト -コRGB TFLITE-Profiler: --input --データセット --出力 TFLITE-クオンタイザ: --input --プロファイル --quantize-inputs=false --quantize-outputs=false --量子化-キャリブレーション-方法= //最小最大値またはパーセンタイル Re: Performance degradation in Facemesh Landmark model ptq conversion こんにちは@dhilshad。 NXPサポートにご連絡いただきありがとうございます! 1) 残念ながら、現時点ではその情報は入手できません。 2) この挙動は想定内です。クオンタイズは展開プロセスの一部に過ぎません。組み込みハードウェア上でモデルを変換・最適化するには、グラフ最適化、演算子マッピング、ハードウェア固有の変換、ランタイム検証など、いくつかの追加ステップが必要です。その結果、モデルがすでに量子化されていても、モデルの挙動や性能は異なることがあります。 新しいデザインや評価には、eIQ Oliveの使用をおすすめします。NXP i.MX プラットフォームでのモデル最適化と展開のためのよりモダンなフレームワークを提供するからです。ワークフローの更新と、現在の機械学習展開シナリオへのサポート強化が含まれています。 詳細については、以下のチュートリアルおよびドキュメントをご参照ください。 https://eiq.nxp.com/learning-hub/tools/olive/index.html これらのリソースは、i.MX デバイスに機械学習モデルを導入するための推奨ワークフローやベストプラクティスをカバーしています。 よろしくお願いします、 チャビラ Re: Performance degradation in Facemesh Landmark model ptq conversion こんにちは、 @Chavira さん。返信ありがとうございます。そして、ドキュメントを指摘しています ここで念のために言うと、主な関心はモデルの正確さです。FaceMeshモデルの場合、出力するランドマークポイントはアプリケーションに対して十分に正確でないことがわかります。先ほど申し上げたように、95パーセンタイルをカットオフ値として設定する方が、MIN MAXよりもわずかに良い結果が得られることが分かりました。しかし、それでもNXPのptqモデル(FaceMesh 468)で見られる精度には及びません。 もう一つ気づいた点があります。 1) 代表的なデータセットとして、本番環境から8つのサンプルだけを用意して試してみました。これは結果をわずかに改善させた。次に、同じ環境から250枚の画像を追加し、プロファイリングと量子化を行った。しかし、これによって精度が低下した。 なぜこのような行動が起こるのか、何か心当たりはありますか? 2) また、NXPはすでにGoogleの新しいFaceMeshモデル(478ランドマーク搭載)をPTQに変換していますか?
記事全体を表示
ICODE SLI 无法切换到 ICODE SLIX 我的客户一直在使用我提供的 ICODE SLI 芯片,但该芯片已经停产了。我们正在尝试切换到 ICODE SLIX,但客户的 RFID 阅读器无法识别它。 Re: ICODE SLI can't be switch to ICODE SLIX 你好, ICODE SLIX 旨在向后兼容 ISO15693 级别的 ICODE SLI,因此读卡器至少应该在盘点期间检测到 SLIX UID。如果读卡器无法识别,请先检查故障是出在射频存货层面还是出在应用程序的标签识别逻辑层面。常见原因包括 AFI/UID 过滤、硬编码的 SLI 产品识别、旧的读卡器固件,或者在迁移过程中使用 SLIX 特有的网络安全/功能。对于第一个测试,禁用 AFI 过滤和标签白名单,执行标准的 ISO15693 清单,读取 UID/DSFID/AFI,然后将应用程序的接受逻辑与旧的 SLI 标签进行比较。 此致 Re: ICODE SLI can't be switch to ICODE SLIX 请将此帖移至合适的社区。这不是Coldfire或68k零件。
記事全体を表示
Front and Rear Lights – Logic Control 1 Table of Contents • Introduction • Simulink Model Overview • Inputs • Algorithm • LED Output • Diagnostics • References • Conclusion 2 Introduction This article describes how the Front Lights System (FLS) and the Rear Lights System (RLS) applications work internally, by walking through the Simulink models and describing how signals travel from the CAN bus all the way to the LED strip on the evaluation board. The goal is to give a practical understanding of what each model does, from the moment a command is received up to the moment the corresponding lamp is turned on. Both nodes are described together because they share the same overall architecture, the same execution pattern, and almost the same set of subsystems. The differences between them are limited to the lighting functions that only make sense on one side of the vehicle (Daytime Running Lights on the front, Stop Lights on the rear) and to a few CAN identifiers. Presenting them side by side keeps the article shorter and highlights how the same design pattern is reused across projects. Earlier articles in this series introduced the boards, the toolchain, and the general project layout. This article focuses on the application logic. 3 Simulink Model Overview Each application is implemented as an individual Simulink model, one for the Front Node and one for the Rear Node, structured into communication, control, and output subsystems. From a model perspective, the application can be divided into four logical areas: CAN reception and unpacking Per-function logic control LED aggregation Diagnostics Roxana_Grigore01_0-1785008050809.png Figure 1 - Front Lights main Simulink application Roxana_Grigore01_1-1785008086857.png Figure 2 - Rear Lights main Simulink application The reception area receives CAN frames from the Central Controller and makes the extracted signals available to the rest of the model through shared Data Store Memory blocks. The control area contains one Stateflow chart per lighting function and decides which lamps should be on or off. The output area builds the color pattern from the lamp requests. This separation keeps the model modular and makes it easier to add new lighting functions without changing the reception or the actuation logic. 4 Inputs Each node receives information from three main categories of inputs. CAN Network Inputs CAN communication is the main source of information for both applications. All messages come from the Central Controller and are defined in the DBC file that ships with each project. On the Front Lights node the application consumes: Gear Mode - 4 bits Activate Headlights - 0 = OFF, 1 = LOW BEAM, 2 = HIGH BEAM Activate Fog Lights - 1-bit on/off command Turn Commands - packs the signals: Activate Hazard Lights Turn Left Turn Right On the Rear Lights node the set is almost the same, with Gear Mode replaced by Press Brake - an 8-bit signal that carries the brake pedal position. The other three messages are shared with the front node. Local Fault Input On top of the CAN traffic, each node reads a digital fault input through a DIO block. The value of this pin is stored in a shared Data Store ( FLS_Fault or RLS_Fault ) and is consumed by every logic-control chart. When the fault is asserted, the charts switch to a dedicated fault branch and the LEDs display a blink pattern to signal the condition visually. Configuration Inputs Before normal operation begins, each model runs an Initialize Function that sets up the peripherals used by the application. Roxana_Grigore01_2-1785008112285.png Figure 3 - Initialize Function This subsystem enables the CAN controller interrupts and moves the controller into the started mode. 5 Algorithm Internally, each node performs four main processing activities. Message Reception The first step consists of collecting the incoming CAN traffic. Reception is interrupt-driven: a Can_RxIndication handler is registered at the top level of the model and fires a function-call trigger every time a new frame arrives. The trigger runs the CAN Unpack subsystem exactly once and captures the frame identifier, the payload, and the length. Model Representation of Message Reception Inside the CAN Unpack subsystem there is one CAN Unpack block per DBC message. Each block decodes the incoming frame and extracts the signals declared in the DBC file. Roxana_Grigore01_3-1785008150116.png Figure 4 - Front Lights CAN reception subsystem Roxana_Grigore01_4-1785008170382.png Figure 5 - Rear Lights CAN reception subsystem Overall, the reception subsystem receives the CAN frames, decodes the payload into named signals, and places them into the shared Data Stores. Per-Function Logic Control Every lighting function is implemented as a dedicated Stateflow chart. All charts follow the same skeleton: an Idle state where the lamp is OFF, one or more active states covering the operating modes, and a small fault branch ( Fault_Detected and Fault_Detected_Off ) that toggles a per-function fault flag whenever the shared fault input is asserted. Head Lights Logic Control The head lights chart reads CCS_ActivateHeadLights and moves from Idle to Head_Lights_LowBeam when the command equals 1, and to Head_Lights_HighBeam when it equals 2. Direct crossovers between the two beams are allowed without going through Idle. When the fault input is asserted, the chart enters the fault branch and toggles Low_Beam and High_Beam to create a blink pattern. Roxana_Grigore01_5-1785008190854.png Figure 6 - Head Lights logic control chart Fog Lights Logic Control The fog lights chart moves from Idle to Fog_Lights_Active when CCS_ActivateFogLights is 1 and returns to Idle when the command drops back to 0. The fault branch is identical to the one used by the head lights chart. Roxana_Grigore01_6-1785008208315.png Figure 7 - Fog Lights logic control chart DRL Logic Control (Front only) The DRL chart only exists on the front node. It keeps the daytime running lights on whenever the vehicle is in a drive gear: Idle moves to DRL_Active when CCS_GearMode is between 1 and 4, and drops back to Idle when the gear returns to 0. Fault handling is identical to the other charts. Roxana_Grigore01_7-1785008230958.png Figure 8 - DRL logic control chart (Front Lights only) Stop Lights Logic Control (Rear only) The stop lights chart keeps the stop lights on as long as the brake pedal is pressed: Idle transitions to Brake_Active when CCS_PressBrake is different from 0, and returns to Idle when the pedal is released. The fault branch is identical to the other charts. Roxana_Grigore01_8-1785008253941.png Figure 9 - Stop Lights logic control chart (Rear Lights only) Turn Lights (Turn Signals and Hazards) The turn lights chart handles both the direction indicators and the hazard lights, and also generates the blinking pattern. It uses parallel states: an outer super-state selects between Idle, Turn_Left_Active, Turn_Right_Active and Hazard_Active, while inside each active super-state a pair of On and Off states swaps every 500 ms using after(0.5, sec) transitions. From Idle, the chart enters Turn_Left_Active when CCS_TurnLeft is asserted, Turn_Right_Active when CCS_TurnRight is asserted, and Hazard_Active when CCS_ActivateHazardLights is asserted. Direct crossovers between left and right are allowed. When the fault input is asserted, the chart moves into the fault branch. Roxana_Grigore01_9-1785008272825.png Figure 10 - Turn Lights logic control chart 6 LED Output The per-function charts do not drive the LED strip directly. They only produce simple lamp requests, and a central Stateflow chart is in charge of turning those requests into a color pattern that the LED strip can display. Each lighting mode has its own state inside this chart, and every state sets the colors that represent that mode on the strip. For example, the head lights use white, the fog lights light up a few dedicated pixels, and the turn signals move step by step across one side of the strip. The hazard mode reuses the same effect on both sides at the same time. On the front node the chart also includes a state for the daytime running lights, and on the rear node it includes a state for the stop lights. Once the color pattern is ready, it is passed to a Function-Call Subsystem that sends it to the physical LED strip. This subsystem takes care of the low-level details, so the rest of the model only deals with lighting behavior. Roxana_Grigore01_10-1785008298820.png Figure 11 - LED output chart 7 Diagnostics Alongside the normal lighting behavior, each node also reports its own health to the rest of the system. A local fault input is read at runtime and made available to every logic chart, so the lamps can switch to a fault indication whenever a problem is detected on the board. The same fault information is also sent back to the Central Controller over CAN, using a short dedicated message. This way, the rest of the vehicle can react to a lighting-node fault without having to check anything manually. In addition, the model exposes its internal signals to FreeMASTER, which allows the developer to observe the CAN commands, the lamp requests, and the fault flags live during development and troubleshooting. 8 References Front and Rear Lights - Overview Front and Rear Lights - SW & HW Environment Model-Based Design Toolbox (MBDT) Community Model-Based Design Toolbox (MBDT) - S32K3 - How To MATLAB® and Simulink® Documentation 9 Conclusion This article described the internal behavior of the Front Lights and Rear Lights nodes by looking at how information flows through the models. It explained how CAN commands are received, interpreted by dedicated Stateflow charts, and finally turned into the corresponding lighting behavior on the LED strip, while the local fault status is reported back to the Central Controller. Because both applications share the same architecture, they were presented together. The only real differences are the set of lighting functions specific to each side of the vehicle (DRL on the front, Stop Lights on the rear) and the identifiers used for the fault message. The next articles in the series will take a closer look at specific parts of these applications, such as the CAN communication, the LED driving, and the tools used to validate and troubleshoot the lighting behavior.
記事全体を表示
imx8mmini sai1 最大サンプルレート hi SAI1 Connectのコーデックはサンプルレート768kHz/32bitに対応しています。 SAI1-RX0 codec_DOUT接続。 768kHz/32bitおよびL/Rチャネルで読み取れるデータはありませんが、SAI1-TXFS/SAI1-TXCは768kHz/49.152Mhzを出力可能です。768khz/16bitおよび384khz/32bitのL/Rチャネル読み取りは問題ありません。カーネルバージョン6.1.36です。 ありがとうございます。 Re: imx8mmini sai1 max sample rates コーデックdtsについては以下の通りです。 sofia_0571_0-1784080120640.png 「-f S32_LE -r 384000 -c 2 -d 1 test.wav」を指定して arecord コマンドを実行します。または「-f S16_LE -r 786000 -c 2 -d 1 test.wav」でも問題ありません。しかし、「-f S32_LE -r 768000 -c 2 -d 1 test.wav」で実行すると、test.wav は NULL になります。 Re: imx8mmini sai1 max sample rates こんにちは、 デバイスツリーの設定を教えていただけますか? どのコーデックを使用していますか? よろしくお願いいたします。 Re: imx8mmini sai1 max sample rates こんにちは、 サンプルレートに関連するエラーが出る場合、クロックソースがそのサンプルレートに必要な周波数を生成できないため、原因かもしれません。 特定のサンプリングレートを得るためには、外部クロックなどの専用のクロックソースを使用する必要がある場合があります。 よろしくお願いいたします。 Re: imx8mmini sai1 max sample rates こんにちは、 テスト中にアンダーフローエラーやオーバーフローエラーが発生しますか? よろしくお願いいたします。 Re: imx8mmini sai1 max sample rates 768kHzの32ビット×2チャンネルで読み取ると、SAI1_TXFS/SAI1_TXC出力は正常(768kHz/49.152MHz)です。コーデックのデータ出力ピン(SAI1_RX0に接続)は、オシロスコープで確認するとデータ出力があります。imx8mminiのSDMAが動作していない可能性はありますか? Re: imx8mmini sai1 max sample rates テスト中に以下のようなカーネル出力エラーが発生しました。 [ 506.336480] [858] wait_for_avail:1936: asoc-simple-card sound-pcmdev: キャプチャ書き込みエラー (DMA または IRQ の問題?) Re: imx8mmini sai1 max sample rates こんにちは、 dmesg の内容を共有してください。 dmesg | grep -i -E "xrun|overrun|dma|fifo|sdma|sai" そのエラーログではオーバーランが原因かもしれません。例えば、期間とバッファサイズを増やしてみてください。 arecord -D hw:0,0 -f S32_LE -r 768000 -c 2 --buffer-size=65536 --period-size=8192 -d 5 test.wav よろしくお願いいたします。 Re: imx8mmini sai1 max sample rates こんにちは、ホルヘカスさん: ご返信ありがとうございます。 期間とバッファサイズを増やした場合も同じエラーが発生します。 ------------------------------------ root@mx8mm:/tmp# arecord -v -D hw:0,0 -f S16_LE -r 768000 -c 2 -d 1 test.wav WAVEファイル「test.wav」を録音しています:署名付き16ビットリトルエンディアン、レート768000 Hz、ステレオ ハードウェアPCMカード0 'pcmdev-オーディオ' device 0 subdevice 0 その構成は以下の通りです: ストリーム:キャプチャ アクセス:RW_INTERLEAVED フォーマット:S16_LE サブフォーマット:STD チャネル数:2 レート:768000 正確なレート:768000(768000/1) MSBITS:16件 buffer_size:131064 period_size:16383 period_time:21332 tstamp_mode:なし tstamp_type:単調 period_step : 1 avail_min:16383 period_event : 0 start_threshold : 1 stop_threshold:131064 silence_threshold:0 silence_size : 0 境界:9222809086901354496 appl_ptr : 0 hw_ptr : 0 root@mx8mm:/tmp# test.wav -la -rw-r--r-- 1 ルート 7月22日 22:09 test.wav 3072044 root@mx8mm:/tmp# arecord -D hw:0,0 -f S32_LE -r 768000 -c 2 --buffer-size=65536 --period-size=8192 -d 5 test.wav WAVEファイル「test.wav」を録音しています:署名付き32ビットリトルエンディアン、レート768000 Hz、ステレオ arecord: pcm_read:2221: read error: input/output error root@mx8mm:/tmp# dmesg |grep -i -E "xrun|overrun|dma|fifo|sdma|sai" [ 0.00000] OF: 予約済みメモリ:初期化されたNode Linux、CMA、互換性ID Shared-DMA-プール [ 0.000000] 予約メモリ:0x00000000b8400000にDMAメモリプールを作成、サイズ1 MiBで [ 0.00000] OF: 予約済み メモリ: 初期化されたノードvdevbuffer@b8400000、互換性のあるid shared-dma-pool(共有済みDMA-プール) [0.000000] DMA [記憶0x0000000040000000-0x00000000bfffffff] [ 0.000000] DMA32 空 [ 0.000000] ポリシーゾーン:DMA [ 0.043871] DMA:原子力割り当て用に事前割り当てされた256 KiB GFP_KERNELプール [ 0.044176 DMA: 事前割り当て256 KiB GFP_KERNEL|GFP_DMA原子割り当てプール [ 0.044364] DMA: 事前割り当て256 KiB GFP_KERNEL|GFP_DMA32原子割り当てプール [ 0.105243] iommu: DMAドメインTLB無効化ポリシー:厳格モード [ 0.195002] IMX-SDMA 302C0000.DMA-コントローラー:imx/sdma/sdma-imx7d.binの直接ファームウェアロードがエラー-2で失敗しました [ 0.195018] IMX-SDMA 302C0000.DMA-コントローラー:sysfsへのフォールバック:imx/sdma/sdma-imx7d.bin [ 0.199761] MXS-DMA 3300000.DMA-コントローラー:初期化 [ 1.996379] mmc2: 30b60000.mmc 上のSDHCIコントローラ [30b60000.mmc]ADMAの使用 [ 2.786360] mmc1: 30b50000.mmc 上のSDHCIコントローラー [30b50000.mmc]ADMAの使用 [ 8.812860] IMX-SDMA 302C0000.DMA-コントローラー:ファームウェアが見つかりました。 [ 8.818748] IMX-SDMA 30BD0000.DMA-コントローラー:ファームウェアが見つかりました。 [ 8.825901] IMX-SDMA 30BD0000.DMA-コントローラ:ファームウェア4.6をロードしました [ 91.326700] [857] soc_hw_sanity_check:775: 30010000.sai-pcmdevice-codec:ASoC: pcmdevice-codec <-> 30010000.sai 情報: [ 91.326722] [857] soc_hw_sanity_check:777: 30010000.sai-pcmdevice-codec:ASoC: レートマスク 0x154c0 [ 91.326728] [857] soc_hw_sanity_check:778: 30010000.sai-pcmdevice-codec:ASoC: ch 最小2 最大8 [ 91.326734] [857] soc_hw_sanity_check:780: 30010000.sai-pcmdevice-codec:ASoC: レート最小 44100 最大 768000 [ 91.342776] [857] fsl_sai_set_bclk:460: fsl-sai 30010000.sai:クロック周波数49152000Hzに基づく周波数24576000Hzの比率2 [ 91.342784] [857] fsl_sai_set_bclk:481: fsl-sai 30010000.sai:最適な適合: 時計ID=1、div=2、偏差=0 [ 91.343315] [857] dapm_update_dai_unlocked:2698: fsl-sai 30010000.sai:30010000.saiキャプチャのDAIルートを更新します [ 113.965788] [861] soc_hw_sanity_check:775: 30010000.sai-pcmdevice-codec:ASoC: pcmdevice-codec <-> 30010000.sai 情報: [ 113.965809] [861] soc_hw_sanity_check:777: 30010000.sai-pcmdevice-codec:ASoC: レートマスク 0x154c0 [ 113.965816] [861] soc_hw_sanity_check:778: 30010000.sai-pcmdevice-codec:ASoC: ch 最小2 最大8 [ 113.965822] [861] soc_hw_sanity_check:780: 30010000.sai-pcmdevice-codec:ASoC: レート最小 44100 最大 768000 [ 113.977610] [861] fsl_sai_set_bclk:460: fsl-sai 30010000.sai:クロック周波数49152000Hzに基づく周波数49152000Hzの比率1 [ 113.977618] [861] fsl_sai_set_bclk:481: fsl-sai 30010000.sai:最適な適合: 時計ID=1、div=1、偏差=0 [ 113.978149] [861] dapm_update_dai_unlocked:2698: fsl-sai 30010000.sai:30010000.saiキャプチャのDAIルートを更新します [ 124.127055] [861] wait_for_avail:1936: asoc-simple-card sound-pcmdev: キャプチャ書き込みエラー (DMA または IRQ の問題?) root@mx8mm:/tmp# ls test.wav -la -rw-r--r-- 1 root root 44 7月 22 22:09 test.wav root@mx8mm:/tmp#
記事全体を表示
i.MX 9 准备好了吗? 几年前我开始了一个项目,当时 NXP 的 i.MX 9 系列 MPU 开始发布,但它们基本上无法获得,所以我选择了性能强大的 i.MX 8。现阶段,它的性能远远超过我的需求,我想换用性能小得多的微处理器。我原本打算买最小的 i.MX 8,但他们最小的 CPU 是 i.MX91。我一直在想,如果选择91型而不是更成熟的8型,会不会更好。散热是我最关心的问题,所以我认为新的总是更好,但我不知道它们是否已经“达到标准”,因为它们还比较新。更公平的比较,例如将港口升级到 8 级,也可能是一个激励因素。
記事全体を表示
i.MX 9は「もう完成形」と言えるのでしょうか? 数年前にプロジェクトを始めたのですが、NXPの i.MX 9シリーズMPUがリリースされ始めていましたが、ほとんど入手困難だったため、重い i.MX 8 にしました。現段階では、これは私の必要以上の性能なので、もっと小型のMPUに移行したいと考えています。最小の1 i.MX 8を買うつもりでしたが、i.MX91が彼らのCPUの中で最も小さいです。より成熟した8よりも91の方が良いのではないかと考えていました。サーマルが一番気になるので、新品の方が良いと思いますが、まだ新しいので「まだ成熟している」かはわかりません。8に移植されるのがより公平な動きも動機になるかもしれません。
記事全体を表示
imx8mmini sai1 最大采样率 hi sai1连接编解码器支持 768kHz/32bit 采样率。SAI1 -RX0 连接 codec_DOUT。 没有 768kHz/32bit 和 L/R 通道的数据可供读取。但SAI1-TXFS/SAI1-TXC 可以输出 768kHz/49.152MHz 的数据。读取 768kHz/16bit 和 384kHz/32bit 的 L/R 通道数据正常。内核版本 6.1.36。 谢谢。 Re: imx8mmini sai1 max sample rates 关于编解码器 DTS 的信息如下: sofia_0571_0-1784080120640.png 运行 arecord 命令,参数为“-f S32_LE -r 384000 -c 2 -d 1 test.wav”或者“-f S16_LE -r 786000 -c 2 -d 1 test.wav”也可以。但是运行“-f S32_LE -r 768000 -c 2 -d 1 test.wav”,test.wav 为 NULL。 Re: imx8mmini sai1 max sample rates 你好, 请问您能否分享一下您的设备树配置? 你使用的是哪种编解码器? 顺祝商祺! Re: imx8mmini sai1 max sample rates 你好, 如果出现与采样率相关的错误,可能是由于时钟源无法产生该采样率所需的频率造成的。 有时需要使用专用时钟源(例如外部时钟)来获得特定的采样率。 顺祝商祺! Re: imx8mmini sai1 max sample rates 当使用 768kHz 32bit x 2 通道读取时,SAI1_TXFS/SAI1_TXC 输出正常(768kHz/49.152MHz)。用示波器检查时,编解码器数据输出引脚(连接到 SAI1_RX0)有数据输出。imx8mmini sdma 是否有可能不工作? Re: imx8mmini sai1 max sample rates 你好, 测试过程中是否出现下溢或溢出错误? 顺祝商祺! Re: imx8mmini sai1 max sample rates 测试过程中出现如下内核打印错误: [ 506.336480] [858] wait_for_avail:1936: asoc-simple-card sound-pcmdev: 捕获写入错误(DMA 或 IRQ 问题?) Re: imx8mmini sai1 max sample rates 你好, 请分享您的 dmesg: dmesg | grep -i -E "xrun|overrun|dma|fifo|sdma|sai" 根据该错误日志,问题可能是由溢出引起的,请尝试增加周期和缓冲区大小,例如: arecord -D hw:0,0 -f S32_LE -r 768000 -c 2 --buffer-size=65536 --period-size=8192 -d 5 test.wav 顺祝商祺! Re: imx8mmini sai1 max sample rates 嗨JorgeCas : 谢谢你的回复。 增加周期和缓冲区大小时出现同样的错误。 ------------------------------------ root@mx8mm:/tmp# arecord -v -D hw:0,0 -f S16_LE -r 768000 -c 2 -d 1 test.wav 正在录制 WAVE 文件“test.wav”:有符号 16 位小端序,采样率 768000 Hz,立体声 硬件 PCM 卡 0 'pcmdev-audio' 设备 0 子设备 0 其结构如下: 流:捕获 访问权限:读写交错 格式:S16_LE 子格式:STD 通道数:2 利率:768000 准确汇率:768000 (768000/1) 毫秒比特:16 缓冲区大小:131064 period_size:16383 period_time:21332 tstamp_mode:无 tstamp_type:单调 period_step:1 可用最小值:16383 period_event:0 起始阈值:1 停止阈值:131064 沉默阈值:0 静音大小:0 边界:9222809086901354496 appl_ptr:0 hw_ptr:0 root@mx8mm:/tmp# ls test.wav -la -rw-r--r-- 1 root root 3072044 7月 22 22:09 test.wav root@mx8mm:/tmp# arecord -D hw:0,0 -f S32_LE -r 768000 -c 2 --buffer-size=65536 --period-size=8192 -d 5 test.wav 正在录制 WAVE 文件“test.wav”:有符号 32 位小端序,采样率 768000 Hz,立体声 arecord: pcm_read:2221: 读取错误: 输入/输出错误 root@mx8mm:/tmp# dmesg | grep -i -E "xrun|overrun|dma|fifo|sdma|sai" [ 0.000000] OF: 保留内存: 已初始化节点 linux,cma, 兼容 ID shared-dma-pool [ 0.000000] 保留内存:在 0x00000000b8400000 创建了大小为 1 MiB 的 DMA 内存池 [ 0.000000] OF:保留内存:已初始化节点 vdevbuffer@b8400000,兼容 ID shared-dma-pool [ 0.000000] DMA [内存 0x0000000040000000-0x00000000bfffffff] [ 0.000000] DMA32 为空 [ 0.000000] 政策区域:DMA [ 0.043871] DMA:已预分配 256 KiB GFP_KERNEL 池用于原子分配 [ 0.044176] DMA:已为原子分配预分配 256 KiB GFP_KERNEL|GFP_DMA 池 [ 0.044364] DMA:已为原子分配预分配 256 KiB GFP_KERNEL|GFP_DMA32 池 [ 0.105243] iommu:DMA 域 TLB 失效策略:严格模式 [ 0.195002] imx-sdma 302c0000.dma-controller:直接加载 imx/sdma/sdma-imx7d.bin 固件失败,错误代码 -2 [ 0.195018] imx-sdma 302c0000.dma-controller:回退到 sysfs 备选方案:imx/sdma/sdma-imx7d.bin [ 0.199761] mxs-dma 33000000.dma-controller:已初始化 [ 1.996379] mmc2:30b60000.mmc 上的 SDHCI 控制器 [30b60000.mmc]使用ADMA [ 2.786360] mmc1:30b50000.mmc 上的 SDHCI 控制器 [30b50000.mmc]使用ADMA [ 8.812860] imx-sdma 302c0000.dma-controller:已找到固件。 [ 8.818748] imx-sdma 30bd0000.dma-controller:已找到固件。 [ 8.825901] imx-sdma 30bd0000.dma-controller:已加载固件 4.6 [ 91.326700] [857] soc_hw_sanity_check:775: 30010000.sai-pcmdevice-codec:ASoC:pcmdevice-codec <-> 30010000.sai 信息: [ 91.326722] [857] soc_hw_sanity_check:777: 30010000.sai-pcmdevice-codec:ASoC:速率掩码 0x154c0 [ 91.326728] [857] soc_hw_sanity_check:778: 30010000.sai-pcmdevice-codec:ASoC:通道数最少 2 个,最多 8 个 [ 91.326734] [857] soc_hw_sanity_check:780: 30010000.sai-pcmdevice-codec:ASoC:速率最小值 44100 最大值 768000 [91.342776][857]fsl_sai_set_bclk:460:fsl-sai 30010000.sai:基于时钟频率 49152000Hz,频率为 24576000Hz 的比例为 2 [91.342784][857]fsl_sai_set_bclk:481:fsl-sai 30010000.sai:最佳拟合:时钟 id=1,div=2,偏差=0 [ 91.343315] [857] dapm_update_dai_unlocked:2698: fsl-sai 30010000.sai:更新 30010000.sai 捕获的 DAI 路由 [ 113.965788] [861] soc_hw_sanity_check:775: 30010000.sai-pcmdevice-codec:ASoC:pcmdevice-codec <-> 30010000.sai 信息: [ 113.965809] [861] soc_hw_sanity_check:777: 30010000.sai-pcmdevice-codec:ASoC:速率掩码 0x154c0 [ 113.965816] [861] soc_hw_sanity_check:778: 30010000.sai-pcmdevice-codec:ASoC:通道数最少 2 个,最多 8 个 [ 113.965822] [861] soc_hw_sanity_check:780: 30010000.sai-pcmdevice-codec:ASoC:速率最小值 44100 最大值 768000 [113.977610][861]fsl_sai_set_bclk:460:fsl-sai 30010000.sai:基于时钟 49152000Hz,频率为 49152000Hz 的比例为 1 [113.977618][861]fsl_sai_set_bclk:481:fsl-sai 30010000.sai:最佳拟合:时钟 id=1,div=1,偏差=0 [ 113.978149] [861] dapm_update_dai_unlocked:2698: fsl-sai 30010000.sai:更新 30010000.sai 捕获的 DAI 路由 [ 124.127055] [861] wait_for_avail:1936: asoc-simple-card sound-pcmdev: 捕获写入错误(DMA 或 IRQ 问题?) root@mx8mm:/tmp# ls test.wav -la -rw-r--r-- 1 root root 44 7月 22 22:09 test.wav root@mx8mm:/tmp#
記事全体を表示
SAF85xx HSEアップデート SMR こんにちは、NXPさん。 コードの内容変更 により署名バイトのみが変更され 、コードサイズ、開始アドレス、キー、署名へのポインタなどが変更されていない場合でも、SMRを更新する必要がありますか? Re: SAF85xx HSE Update SMR こんにちは、 SMR(セキュアメモリ領域)エントリには、HSEがアプリケーションイメージを検証するために使用するメタデータが含まれています。たとえ: サイズは変わりません 開始アドレスは変わりません キーハンドルは変更なし 署名ポインターは変更されません …コードの内容に変更を加えると署名が変わり、HSEは新しい署名を検証する必要がある。 このため、署名を保持するSMRエントリを更新された署名バイトで書き換える必要があります。 SMRエントリは認証済みブートチェーンの一部です。HSEは、対応するSMRエントリに新しい署名が反映されていない限り、更新されたバイナリを検証できません。 参考情報:AptivにはNXPの専属FAEがおりますので、詳細についてはお気軽にお問い合わせください。 よろしくお願いいたします。 ピーター Re: SAF85xx HSE Update SMR ご回答ありがとうございます。 Re: SAF85xx HSE Update SMR こんにちは、 もし私が新しいアプリケーション+新しい署名(新しいアプリケーションと地図)をフラッシュした場合はどうでしょうか。「コードサイズ、開始アドレス、キー、署名へのポインタ」が変更されない場合、SMRを再インストールする必要がありますか?
記事全体を表示