Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
Diagnostics in MC33HB2000 series Hi,  I have few queries regarding the diagnostics in MC33HB200 series, 1. If a fault is triggered the fault status bit is flagged, which is read my the MCU and then the fault status register is read to confirm which fault it is. Is the understanding correct? 2. What is the difference b/w fault status register and fault status mask register and where it is used ? Regards Aditya Vardhan Re: Diagnostics in MC33HB2000 series Hi Aditya Vardhan You are correct! The Status / Fault Status register tells you what fault actually happened; the Fault Status Mask register only decides which of those faults will be reported on the FS_B pin Re: Diagnostics in MC33HB2000 series Thanks for the prompt reply, so if I understand it correct if I perform bit wise AND operation of fault status register with appropriate number and store it in the mask status register, I will be able to ignore few faults?
View full article
MC33HB2000系列诊断 你好, 关于MC33HB200系列的诊断功能,我有一些疑问。 1.如果触发信号故障,则故障状态位会被标记,MCU 会读取该标记,然后读取故障状态寄存器以确认是哪个故障。理解是否正确? 2. 故障状态寄存器和故障状态掩码寄存器有什么区别?它们分别用于什么场景? 问候 阿迪亚·瓦尔丹 Re: Diagnostics in MC33HB2000 series 你好, Aditya Vardhan 你说得对! 状态/故障状态寄存器指示实际发生的故障;故障状态掩码寄存器仅决定哪些故障将报告到 FS_B 引脚。 Re: Diagnostics in MC33HB2000 series 感谢您的及时回复。如果我理解正确的话,如果我将故障状态寄存器与适当的数字进行按位与运算,并将结果存储在掩码状态寄存器中,我就可以忽略一些故障?
View full article
How can I verify the configured CAN bitrate, using an oscilloscope? CAN frames do not guarantee an edge appears for every bit. There can be sequence of up to five consecutive bits of the same logic level with no edges appearing in the waveform. If the bus is operating normally and frames are being transferred without error then towards the end of the frame the acknowledge slot will be dominant (CAN_H is high and CAN_L is low). The bit immediately preceding (CRC delimiter) and following (acknowledge delimiter) will be recessive (CAN_H and CAN_L are almost the same voltage). Therefore it is always possible to measure the width of the acknowledge slot and determine the bit rate. "FAQ contribution from Embedded Systems Academy, experts in CAN bus. For more information visit www.esacademy.com" CAN Re: How can I verify the configured CAN bitrate, using an oscilloscope? Your observation is spot on. While CAN's bit-stuffing mechanism guarantees an edge at least every 6 bit times, relying on arbitrary data bits for auto-baud or bit-rate measurement can be tricky due to varying payloads and stuffing intervals.
View full article
x86 Linux 上的 Ara240 运行时支持 您好,NXP团队: 我正在评估通过 PCIe 直接在 x86 Linux 主机上运行 Ara240 模块的可能性,以便进行验证和性能测试。 在调查过程中,我发现有迹象表明可能存在 x86 运行时支持: dvapi.py 包含对以下内容的引用: art/linux/x86/lib/libaraclient_x86_64.so Optimum-Ara 文档参考资料: $DV_TGT_ROOT/art/linux/x86/proxy/ UIO DMA 驱动程序库包含 x86 支持。 历史上的 Kinara 运行时配方使用以下方式打包特定于架构的运行时组件: art/linux/${TARGET_ARCH}/... 然而,目前可通过 i.MX BSP 获取的 imx-nxp-ara2 运行时软件包仅包含 AArch64 运行时二进制文件:   1 libaraclient_aarch64.so 2 proxy_ara240 3 nnapp 4 硬件实用程序   我找不到相应的 x86 运行时环境文件。 请问您能否澄清一下: 官方是否支持在 x86 Linux 主机上直接执行 Ara240 运行时? 是否有可用的 x86 运行时 SDK 包? 我可以在哪里获取以下x86运行时组件? libaraclient_x86_64.so x86 proxy binary x86 dvapi runtime package 是否有集成指南或参考流程? x86 Host ↓ UIODMA Driver ↓ Ara240 PCIe ↓ Runtime SDK ↓ Inference Execution 任何关于如何获取所需 x86 运行时元器件的指导都将不胜感激。 谢谢, 尤夫拉杰·索兰基 Re: Ara240 Runtime Support on x86 Linux 你好,尤夫拉杰, 我可以确认 Ara240 实际上可以通过 PCIe 在标准的 x86_64 Linux 主机上运行。 我目前使用的是联想ThinkCentre电脑,电脑配置为Intel x86_64 Linux系统,显卡是Ara240。我的工作技术栈是: x86_64 Linux → UIODMA → Ara240 PCIe → proxy_x86_64 → libaraclient / DVAPI → DVM模型 → 推理 我从较旧的 Geniatech/Kinara“customerReadyPackage_v3”中获得了 x86_64 运行时组件。 我还为 Frigate NVR 开发了原生 Ara240 检测器集成,并且与该软件包提供的 YOLOv8n DVM 的推理功能正常。 然而,我遇到了另一个兼容性问题,这可能与您正在调查的问题直接相关。 旧版提供的 DVM 与旧版 x86_64 运行时配合使用正常,但使用较新的 Kinara/Geniatech 编译器和 NXP Ara SDK 2.1.1 生成的 DVM 模型在“dv_model_load_from_file”期间失败。 就我而言: 旧版 DVM + 旧版 x86_64 运行时 = 可用 新DVM + 旧x86_64运行时 = 失败 因此,我也在寻找更新的适用于 x86_64 的 Ara240 运行时 SDK,最好是带有代理的运行时生成版本 1.3.x。/ 支持 cnn_model 2.1.x,或者,也可以使用能够生成与现有 x86_64 运行时兼容的 DVM 的旧编译器。 所以 x86_64 Ara240 的执行肯定存在并且有效——缺失的部分似乎是访问与新 SDK 生成的模型兼容的当前 x86_64 运行时包。 我也很想知道 NXP 是否对当前 x86_64 运行时的可用性做出任何回应。 此致, 雅采克 Re: Ara240 Runtime Support on x86 Linux 嗨,豪尔赫, 谢谢——这正是我要找的答案。 我的问题是如何获取 rt-sdk-ara2_x86_64.deb 软件包。 我目前没有分配 NXP FAE,而且很遗憾,由于我的 NXP 帐户未与公司关联,我也无法创建技术支持案例。我之前联系过 NXP 支持,但是被重定向到技术案例门户,由于这个原因我无法访问该门户。 个人开发者/研究人员还有其他方法可以申请访问rt-sdk-ara2_x86_64.deb吗? 我已经在 x86_64 Linux 上使用较旧的 Geniatech/Kinara 运行时环境搭建了一个完全可用的 Ara240 PCIe 系统,其中包括一个可用的原生护卫舰探测器集成。我特别需要当前的 x86_64 运行时 SDK 来测试使用 Ara SDK 2.1.1 生成的 DVM 模型。 如果该资料包需要签署保密协议或其他访问程序,我将乐意遵守。 谢谢你,杰克 Re: Ara240 Runtime Support on x86 Linux 你好, 接下来是软件栈架构: User Application ├── Optimum-Ara (Python, HuggingFace integration for LLM/VLM) ├── GStreamer Plugins (gstdvInf, for vision pipelines) └── dvapi.py (Python bindings for direct inference) │ ▼ libaraclient.so (Client library) │ ▼ Proxy Daemon (rt-sdk-ara2.service) │ ▼ uiodma.ko (UIO DMA kernel driver, PCIe only) │ ▼ ARA-240 NPU Hardware ARM64 或 x86 Linux 主机(带 PCIe)应该可以工作,前提是能够为该内核编译 uiodma.ko 驱动程序。 平台 封装 说明 x86 Linux rt-sdk-ara2_x86_64.deb 需要建造  uiodma.ko  对于主机内核 ARM64 Linux (非 i.MX) RT-SDK ARM64  .deb  + 平台特定  uiodma.ko 已在 NXP S32G3 和 S32N79(ARM Cortex-A 内核,而非 i.MX)上进行演示。 这  uiodma.ko  驱动程序源代码是开源的(GPL-2.0)并可在以下平台获取: GitHub 。它有两种变体: uiodma/  — 适用于 x86(缓存一致性系统) uiodma_cache_management/  — 适用于 ARM(显式缓存管理) 通过 i.MX 嵌入式 Linux 电路板支持包 分发的 imx-nxp-ara2 软件包是专门为 AArch64 构建的,因为它集成到了 i.MX 平台中。 要获取缺失的二进制文件,请联系您的 FAE。 顺祝商祺! Re: Ara240 Runtime Support on x86 Linux 你好, 谢谢你的更新。 很遗憾,我们无法访问这些文件,也无法通过此支持渠道共享这些文件。 我建议您直接向销售人员确认。 顺祝商祺!
View full article
モデルトレーニングとビジョンベースのアプリケーションをMCXN947で始める方法 顔検出のACHコードを実行しましたが、動作しています。BYOMやeIQツールキットでのゼロからのモデルトレーニングについてもっと知りたいです。前回のカンファレンスで、NXPはBYOMとBYODについて言及していました。 画像をアップロードし、ラベルを付けてトレーニングし、ボードに載せたいMCXN947。出来ますか? eIQモデル作成ツールにアクセスしようとしましたが、リクエストは提出されました。eIQのタイムレプリクス(モーター異常検知などのデータ用だと思います)をダウンロードし、eIQ Neutron SDKもダウンロードしました。モデルのトレーニングのためのワークフローやマテリアル、ユーザーガイドをMCXN947に入れたいだけです。 Gayathriii_0-1788414712451.png MCX N 回复: How to start with Model training and vision based application in MCXN947 こんにちは、 @Gayathriii さん。 はい、MCXN947では間違いなく可能です。 あなたのユースケース: 画像をアップロード→してラベル付け→モデルをトレーニング→MCXN947 これは典型的なBYOD(私物端末の業務利用)ワークフローです。 オプション1:eIQモデル作成ツール eIQモデルクリエイターのアクセスが承認されたら: 新しい画像分類プロジェクトを作成します。 画像データセットをアップロードしてください。 画像にラベリングするか、フォルダやクラスごとに整理してください。 転移学習を使ってモデルを訓練します。 TensorFlow Liteモデル(.tflite)をエクスポートします。 eIQ Neutron SDKを使ってモデルをMCXN947に変換してください。 変換したモデルをMCUXpressoプロジェクトに統合し、基板上で実行します。 オプション2:自分でトレーニングする(TensorFlow) 実際にはモデルクリエイターは必要ありません。 以下は可能です: 画像を収集する。 ラベルを貼りましょう。 TensorFlow/Kerasを使用して学習を行う。 輸出 リソース: 1. MCXN947: お客様機械学習モデルをNPUに訓練・展開する方法 Images ↓ Training ↓ TensorFlow Lite model ↓ neutron-converter ↓ NPU-enabled .tflite ↓ MCUXpresso project ↓ MCXN947 NPU `` MCXN947:ゲスト ML モデルを NPU に配置する方法を理解する 2. AN14241 - MCX N94xのNPUにお客様機械学習モデルを統合する方法 MCXN94x上でお客様のMLモデルをNPUに統合する方法 3. MCXマイクロコントローラにおけるNPUとMLの入門方法 MCX マイクロコントローラー内の NPU と機械科学の入力指南   BR ハリー
View full article
如何使用示波器验证配置的 CAN 比特率? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> CAN 帧并不能保证每个比特都会出现一个边沿。最多可以出现五个连续的相同逻辑电平的比特序列,波形中不会出现边沿。 如果总线运行正常,帧传输无误,则在帧的末尾,确认时隙将占主导地位(CAN_H 为高电平,CAN_L 为低电平)。紧邻的前一位(CRC 分隔符)和后一位(确认分隔符)将为隐性(CAN_H 和 CAN_L 的电压几乎相同)。因此,总是可以测量确认时隙的宽度并确定比特率。 “来自嵌入式系统学院(CAN总线专家)的常见问题解答。”更多信息请访问www.esacademy.com CAN Re: How can I verify the configured CAN bitrate, using an oscilloscope? 你的观察非常准确。虽然 CAN 的位填充机制保证至少每 6 位时间有一个边沿,但由于有效载荷和填充间隔的变化,依靠任意数据位进行自动波特率或比特率测量可能会很棘手。
View full article
Ara240 Runtime Support on x86 Linux Hi NXP Team, I am evaluating the possibility of running an Ara240 module directly on an x86 Linux host over PCIe for validation and performance testing. During my investigation, I found indications that x86 runtime support may exist: dvapi.py contains references to: art/linux/x86/lib/libaraclient_x86_64.so Optimum-Ara documentation references: $DV_TGT_ROOT/art/linux/x86/proxy/ The UIO DMA driver repository includes x86 support. Historical Kinara runtime recipes package architecture-specific runtime components using: art/linux/${TARGET_ARCH}/... However, the current imx-nxp-ara2 runtime package available through the i.MX BSP contains only AArch64 runtime binaries:   1 libaraclient_aarch64.so 2 proxy_ara240 3 nnapp 4 hardware utilities   I could not locate the corresponding x86 runtime artifacts. Could you please clarify: Is direct Ara240 runtime execution on an x86 Linux host officially supported? Is there an x86 Runtime SDK package available? Where can I obtain the following x86 runtime components? libaraclient_x86_64.so x86 proxy binary x86 dvapi runtime package Is there an integration guide or reference flow for: x86 Host ↓ UIODMA Driver ↓ Ara240 PCIe ↓ Runtime SDK ↓ Inference Execution Any guidance on obtaining the required x86 runtime components would be appreciated. Thanks, Yuvraj Solanki Re: Ara240 Runtime Support on x86 Linux Hi Yuvraj, I can confirm that Ara240 can actually run on a standard x86_64 Linux host over PCIe. I am currently using an Ara240 in a Lenovo ThinkCentre with Intel x86_64 Linux. My working stack is: x86_64 Linux → UIODMA → Ara240 PCIe → proxy_x86_64 → libaraclient / DVAPI → DVM model → inference I obtained the x86_64 runtime components from an older Geniatech/Kinara "customerReadyPackage_v3". I have also developed a native Ara240 detector integration for Frigate NVR, and inference works correctly with the YOLOv8n DVM supplied with that package. However, I have run into another compatibility problem which may be directly related to what you are investigating. The old supplied DVM works correctly with the old x86_64 runtime, but DVM models generated with the newer Kinara/Geniatech compiler and with NXP Ara SDK 2.1.1 fail during "dv_model_load_from_file". So in my case: old DVM + old x86_64 runtime = WORKS new DVM + old x86_64 runtime = FAILS I am therefore also looking for a newer Ara240 Runtime SDK for x86_64, preferably the runtime generation with proxy 1.3.x / support for cnn_model 2.1.x, or alternatively an older compiler capable of generating DVMs compatible with the existing x86_64 runtime. So x86_64 Ara240 execution definitely exists and works — the missing piece appears to be access to a current x86_64 runtime package compatible with models generated by the newer SDK. I would also be very interested in any response from NXP regarding availability of the current x86_64 runtime. Regards, Jacek Re: Ara240 Runtime Support on x86 Linux Hi Jorge, Thank you — this confirms exactly what I was looking for. My problem is obtaining the rt-sdk-ara2_x86_64.deb package. I do not currently have an assigned NXP FAE, and unfortunately I am also unable to create a technical support case because my NXP account is not associated with a company. I previously contacted NXP support, but I was redirected to the technical Cases portal, which I cannot access for this reason. Is there another way for an individual developer/researcher to request access to rt-sdk-ara2_x86_64.deb? I already have a fully working Ara240 PCIe setup on x86_64 Linux using the older Geniatech/Kinara runtime, including a working native Frigate detector integration. I specifically need the current x86_64 Runtime SDK to test DVM models generated with Ara SDK 2.1.1. If the package requires an NDA or another access procedure, I would be happy to follow it. Thank you, Jacek Re: Ara240 Runtime Support on x86 Linux Hello, The software stack architecture is the next: User Application ├── Optimum-Ara (Python, HuggingFace integration for LLM/VLM) ├── GStreamer Plugins (gstdvInf, for vision pipelines) └── dvapi.py (Python bindings for direct inference) │ ▼ libaraclient.so (Client library) │ ▼ Proxy Daemon (rt-sdk-ara2.service) │ ▼ uiodma.ko (UIO DMA kernel driver, PCIe only) │ ▼ ARA-240 NPU Hardware ARM64 or x86 Linux host with PCIe should work, provided the uiodma.ko driver can be compiled for that kernel. Platform Package Notes x86 Linux rt-sdk-ara2_x86_64.deb Requires building  uiodma.ko  for the host kernel ARM64 Linux (non-i.MX) RT-SDK ARM64  .deb  + platform-specific  uiodma.ko Demonstrated on NXP S32G3 and S32N79 (ARM Cortex-A cores, not i.MX) The  uiodma.ko  driver source code is open (GPL-2.0) and available on GitHub. It has two variants: uiodma/  — for x86 (cache-coherent systems) uiodma_cache_management/  — for ARM (explicit cache management) The imx-nxp-ara2 package distributed through the i.MX Embedded Linux BSP is intentionally built for AArch64, as it is integrated into the i.MX platform. To get access into missing binaries, please contact your FAE. Best regards Re: Ara240 Runtime Support on x86 Linux Hello, Thank you for the update. Unfortunately, we do not have access to these files and cannot be shared through this support channel. I suggest you check it directly with your sales-person. Best regards.
View full article
Android System Fast Boot Solution - Study and Summary of Hibernate Market Demand: Due to the inclusion of the Linux Kernel, Android Framework, Vehicle HAL, CarService, and numerous IVI applications, the traditional cold start time of the Android Automotive system is typically long, making it difficult to meet the user experience requirements of "power on and ready to use" in automobiles. Proposed Solution: The Hibernate (Suspend-to-Disk) solution significantly shortens startup time by saving a snapshot of the system's runtime and restoring it to its running state upon the next power-on, while preserving the state of applications such as navigation,music, and Bluetooth. Hardware and software platforms for implementing Hibernate : HW: i.MX95 B0 19*19 EVK SW: Android auto imx-automotive-15.0.0_2.1.0 Lunch device : lunch evk_95_car2-nxp_stable-userdebug IMX95EVK
View full article
Install kernel-headers on target - flexbuild Linux Debian 6.12.49 Hi, I am developing a custom out-of-tree Linux module for my IMX8MP-EVK board running Debian Linux (built using the latest version of flexbuild). Currently, to build my module, I added it to the Linux sources, modifying the corresponding Kconfig and Makefile. However, I would like to be able to build my module on-target to make the process faster but there are no kernel-headers installed and I can't seem to find how to get them on target.  Could anyone guide me on how to build my Debian Linux with kernel-headers installed ? Thanks. Benjamin. i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Re: Install kernel-headers on target - flexbuild Linux Debian 6.12.49 Hi, Yes I quickly figured that trying apt install linux-headers-$(uname -r) would not give me the right headers. Thank you for your quick response, I should be able to adopt a workflow that works for me. Re: Install kernel-headers on target - flexbuild Linux Debian 6.12.49 For the i.MX8MP-EVK Debian image built with Flexbuild, the practical answer is: do not rely on apt install linux-headers-$(uname -r) on the target . The retrieved NXP material shows Flexbuild builds the kernel, DTBs, modules, boot image, and rootfs, but I did not find an i.MX8MP-specific Flexbuild option that generates and preinstalls a matching linux-headers-* package into the Debian rootfs. The supported/clean workflow is to build your out-of-tree module against the same compiled kernel tree used by Flexbuild, then copy the .ko to the board. Recommended workflow: cd flexbuild . setup.env bld docker . setup.env bld host-dep # Full image, or at least the kernel LOG_LEVEL=0 bld -m imx8mpevk # or: LOG_LEVEL=0 bld linux -m imx8mpevk The Debian SDK guide lists bld -m imx8mpevk as the full build command and bld linux -m imx8mpevk as the separate kernel build command; it also says the kernel-related source is under components_lsdk2512/linux/ , and the compiled output is under build_lsdk2512/linux/linux/arm64/IMX for the i.MX platform example. Then build your external module on the host against that compiled/prepared kernel tree, for example: obj-m += my_driver.o KERNEL_SRC ?= /path/to/flexbuild/components_lsdk2512/linux all:               $(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules clean:               $(MAKE) -C $(KERNEL_SRC) M=$(PWD) clean For external modules, NXP’s current i.MX Linux 6.12 guide says the requirements are a compiled kernel, a board running the same kernel version, and a toolchain; it also notes that a full kernel compilation is required to generate the headers and symbol files needed for external module compilation. The same guide uses the standard external-module form: make -C $(KERNEL_SRC) M=$(PWD) modules and then copies the resulting .ko to the board for insmod . If you specifically want on-target builds, you can manually install a matching prepared kernel tree on the target, but treat it as a manual workaround rather than a documented i.MX8MP Flexbuild “install headers” feature: # on target sudo mkdir -p /usr/src/linux-headers-$(uname -r) sudo ln -sfn /usr/src/linux-headers-$(uname -r) /lib/modules/$(uname -r)/build Copy the matching Flexbuild kernel source/build artifacts from the host into that directory, including the generated files and Module.symvers . Then on the target: cd /usr/src/linux-headers-$(uname -r) make oldconfig make prepare # or, for module builds: make modules_prepare The important points are: The kernel source/build tree must match the exact kernel running on the board: check uname -r . Module.symvers should be present; otherwise module versioning/dependency information may be missing. make oldconfig && make prepare / make modules_prepare is the usual step to prepare the tree for external module builds. Native builds on the board are usually slower; NXP guidance generally recommends host-side cross-compilation for i.MX external modules. So the short answer is: Flexbuild can build the matching kernel, but for i.MX8MP Debian I would build the module on the host against the Flexbuild kernel tree, not try to install distro-style linux-headers on the board. If you need on-target iteration, copy the matching prepared kernel tree to /usr/src/linux-headers-$(uname -r) and point /lib/modules/$(uname -r)/build at it. Use the Flexbuild-compiled kernel tree as your “headers” source; a packaged, apt-installable linux-headers-$(uname -r) flow is not documented for i.MX8MP Flexbuild Debian in the material retrieved.
View full article
IMX8MP ISP 摄像头自动对焦 你好。最新的 Yocto Kirkstone 版本(Linux 5.15.32-2.0.0)使用了 kernel-module-isp-vvcam 4.2.2.18.0。该ISP提供了一个使用AR1335传感器的示例,其中使用了自动对焦功能。但在 Linux 系统中,没有提到这个传感器(没有 dts)。我们需要测试该平台的自动对焦性能,特别是镜头调节性能。据我了解,在 dts 中,你需要对传感器和镜头进行描述。我的 dts: /dts-v1/; #include "imx8mp-evk.dts" &i2c2 { /delete-node/ov5640_mipi@3c; imx258_0: imx258_mipi@1a { 兼容 = "索尼,IMX258"; reg =<0x1a> �; 状态 = "正常"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_csi0_pwn>, <&pinctrl_csi0_rst>, <&pinctrl_csi_mclk>; clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO2>; clock-names = "mclk"; 时钟频率<24000000> <180>=; 旋转角度 = ; 方向 =<2> ; 分配时钟 = <&clk IMX8MP_CLK_IPP_DO_CLKO2>; 已分配时钟父级 = <&clk IMX8MP_CLK_24M>; 分配的时钟速率<24000000> <0> <1 2 3 4> <0> <500000000> =; csi_id =; resetb-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; 镜头焦点 = <&dw9714>; 港口 { imx258_mipi_0_ep:端点 { 数据通道 =; 时钟通道 =; 最大像素频率 = /bits/ 64; 远程端点 = <&mipi_csi0_ep>; }; }; }; dw9714: dac@c { 兼容 = "dongwoon,dw9714"; reg =<0x0c> �; }; }; &i2c3 { 时钟频率 = <100000>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c3>; 状态 = "正常"; ov5640_1: ov5640_mipi@3c { 状态 = "已禁用"; }; }; &cameradev { 状态 = "正常"; }; &isi_0 { 状态 = "已禁用"; }; &isi_1 { 状态 = "已禁用"; }; &isp_0 { 状态 = "正常"; }; &dewarp { 状态 = "正常"; }; &mipi_csi_0 { 状态 = "正常"; port@0 { 终点 { 远程端点 = <&imx258_mipi_0_ep>; 数据通道 = <4>; csis-hs-settle = <16>; }; }; }; &mipi_csi_1 { 状态 = "已禁用"; }; 传感器工作正常,但是如何在DTS中正确描述自动对焦?ISP驱动程序需要镜头ID和名称。 你能写出例如ar1335传感器镜头的正确dts吗? 谢谢 Re: IMX8MP ISP camera autofocus 各位同事,根据这次讨论,旧版本的 AR1335 是支持 AF VCM 驱动程序的。请问有人可以分享一下ar1335的AF代码库吗?是否有支持自动对焦驱动的相机传感器代码库? Re: IMX8MP ISP camera autofocus 您好, @malik_cisse您能否分享一下您的传感器ISP驱动程序?ISP 仓库中提供的示例 OS08a20 驱动程序中 IsiFocus 函数的实现是空白的(参见Re: iMX8M Plus ISP on Android - 如何启用自动对焦功能? - NXP 社区) Re: IMX8MP ISP camera autofocus imx8 isp 负责通过分析输入数据来聚焦图像。如果 ISP 支持 PDAF 技术就太好了,但这款芯片现在不支持,将来也不会支持。我在 XML 中设置了自动对焦: 2 Re: IMX8MP ISP camera autofocus 谢谢 VoVan, 我试用了你修改后的驱动程序,它能正常工作。ISP逻辑根据图像内容自动控制VCM电机运动。 谢谢你提供的代码。这至少为我节省了一天的工作时间。 不过,正如您在附带的视频中看到的那样,自动对焦的反应并不十分流畅。可以听到 VCM 马达快速咔哒作响,并瞬间调整焦距。 你的设置也是这样吗?还是说你成功地实现了平稳的马达运动,从而实现了平稳的自动对焦? 谢谢 Re: IMX8MP ISP camera autofocus 啊,这很有意思。我现在就去测试一下。 谢谢 Re: IMX8MP ISP camera autofocus 因此,在内核加载过程中,通过 i2c 检测到 dw9714,并创建设备 |dev|v4l-subdev 来与该镜头配合使用。 接下来,在 isp 驱动程序中,OpenMotorDevice 函数检测到该设备并使用 ioctl 对其进行对焦。 很简单,祝你工作顺利 Re: IMX8MP ISP camera autofocus VoVan,谢谢你的反馈。 您之前已经发送过DTS文件了。 对于 DW9714,我还发现该驱动程序是 Linux 内核自带的。但是,要使 i.MX8MP ISP 控制 VMC,还需要添加额外的 API IOCTL。 显然,你的设备没有实现自动对焦功能,对吗? BR,马利克 Re: IMX8MP ISP camera autofocus 我还必须重写内核中的 dw9714 驱动程序,使其与 isp 兼容。我以驱动程序 dw9790 为基础(vvcam/v4l2/focus/vcm_dw9790)。我附上了dw9714镜头的驱动程序 Re: IMX8MP ISP camera autofocus 我基于imx258相机和dw9714镜头制作了自动对焦装置。为此,我为 imx258 传感器编写了自己的驱动程序(内核模块),并将其放置在 vvcam/v4l2/sensor/imx258 路径下。我还为 isp 编写了用户空间驱动程序 imx258,并将其放置在 isp-imx/units/isi/drv/imx258 中。为该传感器添加了广角鱼眼畸变校正 json 文件和 xml 调谐文件。dw9714 的驱动程序在内核中,我只需将其添加到内核配置中即可。我无法发布传感器 imx258 的源代码,但我可以发布 dts 文件。我为基于 ar1335 的 imx258 传感器编写了驱动程序(该传感器支持与镜头配合使用)。 &i2c2 { imx258_0: imx258_mipi@1a { 兼容 = "sony,imx258-pdaf"; reg =<0x1a> �; 状态 = "正常"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_csi0_pwn>, <&pinctrl_csi0_rst>, <&pinctrl_csi_mclk>; clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO2>; clock-names = "mclk"; 时钟频率<24000000> <180>=; 旋转角度 = ; 方向 =<2> ; 分配时钟 = <&clk IMX8MP_CLK_IPP_DO_CLKO2>; 已分配时钟父级 = <&clk IMX8MP_CLK_24M>; 分配的时钟速率<24000000> <0> <1 2 3 4> <0> <500000000> =; csi_id =; resetb-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; 镜头焦点 = <&dw9714>; 港口 { imx258_mipi_0_ep:端点 { 数据通道 =; 时钟通道 =; 最大像素频率 = /bits/ 64; 远程端点 = <&mipi_csi0_ep>; }; }; }; dw9714: dw9714@c { 兼容 = "dongwoon,dw9714"; id<9714> =; reg =<0x0c> �; }; }; &cameradev { 状态 = "正常"; }; &isi_0 { 状态 = "已禁用"; }; &isi_1 { 状态 = "已禁用"; }; &isp_0 { 状态 = "正常"; }; &isp_1 { 状态 = "正常"; }; &dewarp { 状态 = "正常"; }; &mipi_csi_0 { 状态 = "正常"; port@0 { 终点 { 远程端点 = <&imx258_mipi_0_ep>; 数据通道 = <4>; csis-hs-settle = <16>; }; }; }; Re: IMX8MP ISP camera autofocus 嗨 VoVan, 你成功让DW9714 VCM与ar1335一起工作了吗? 能否分享一下DTS和驱动程序? 谢谢, Re: IMX8MP ISP camera autofocus 没有找到这样的计划 Re: IMX8MP ISP camera autofocus 我们已经完成了自动对焦并检查了其运行情况(传感器:IMX258 镜头:dw9714)。对比度自动对焦功能运行良好。是否计划为 ISP 添加对 PDAF(相位检测自动对焦)的支持? Re: IMX8MP ISP camera autofocus dts 文件中未定义自动对焦,ISP v4l2 API 应该支持此功能,您可以参考以下文档: " https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/i-mx-applications-processors/i-mx-8-applications-processors/i-mx-8m-plus-arm-cortex-a53-machine-learning-vision-multimedia-and-industrial-iot:IMX8MPLUS " 如需了解更多详细信息,请联系专业服务支持团队。 “ https://www.nxp.com/support/support/nxp-engineering-services/professional-support-for-processors-and-microcontrollers:PREMIUM-SUPPORT ”
View full article
[i.MX8MM] DDR PHY Training Firmware Log Level: Value for "Maximal Debug" and Integration into U-Boot Dear NXP Support Team, We are currently debugging DDR training issues on our custom i.MX 8M Mini platform using the MSC DDR Tool / DDR Test Tool and would like to clarify PHY log level configurations. 1. Regarding the Configuration Value In the DDR Tool GUI, the PHY Log Level dropdown includes the following options: Firmware complete Assertion messages Stage completion Coarse debug Detailed debug Maximal debug We check the generated .ds script, we noticed comments documenting several TrainInfo settings: # The following is for internal factory use, it is strongly recommended not to change this ddrparam set TrainInfo 0x04 # 0x05 = Detailed debug (e.g. eye delays) # 0x0A = Coarse debug info (e.g. rank information) # 0xC8 = Stage completion # 0xC9 = Assertion messages # 0xFF = Firmware complete # others = reserved We would like to configure this PHY log verbosity directly in U-Boot SPL to capture full training logs via UART during early boot. 2. Porting PHY Log Level into U-Boot / SPL (lpddr4_timing.c) Can the TrainInfo  log verbosity parameter be defined within the DDR timing structures (e.g., in lpddr4_timing.c or the DDR PHY initialization sequence in SPL)? If so, could you kindly guide us on how to properly incorporate ddrparam set TrainInfo 0x04 into our U-Boot codebase? We would appreciate it if you could point out the specific structure or register in lpddr4_timing.c (or the PHY message block) where this parameter should be mapped Thank you for your assistance. Re: [i.MX8MM] DDR PHY Training Firmware Log Level: Value for "Maximal Debug" and Integrati Hello, Train Info is a PHY firmware parameter, not normally part of the LPDDR4 timing structure. I would not add 0x04 directly. Re: [i.MX8MM] DDR PHY Training Firmware Log Level: Value for "Maximal Debug" and Integrati HI, Thank you for your response. During our recent testing, we need to enable DDR training debug information using the following PHY firmware parameter: ddrparam set TrainInfo 0x04 Could you guide us on how to convert or integrate this command into C code within the U-Boot SDK (e.g., specific driver structs, APIs, or config definitions)? Thanks a lot.
View full article
SSO(シングルサインオン)について理解しようとしています。どのように安全性が向上するのですか? SSOが、アカウントごとに固有のパスワードとMFAを強制するよりも安全だという考え方が、私には理解しがたい。 パスワードを再利用しないという長年の論理的な助言に真っ向から反していないのが理解できません。なぜなら、パスワードは認証情報の詰め込みを可能にしているからです。 私たちの経験では、アカウントの侵害はほとんどの場合、ユーザーがフィッシングされたことが原因です。単一のアカウントがフィッシングされて完全なユーザー侵害に発展するのを防ぐ唯一の防御は、フィッシングされたパスワードが他の場所では通用しないという事実です。SSOはそうした保護機能を奪い去り、情報漏洩による潜在的な被害を大幅に拡大させるように思われる。 仕組みを誤解しているのでしょうか?私が知らないだけで、共有パスワードを使ったクレデンシャルスタッフィング攻撃に対する何らかの組み込みの保護機能があるのでしょうか? Re: Trying to understand SSO. How is it more secure? こんにちは、@ragnar21 さん。 この質問を提起していただきありがとうございます。この話題は一般的なSSO/MFAのセキュリティ実践に関連しているようですが、さらにコメントする前に、 この 質問 が 特定の NXP 製品 や ソリューション に関連して いる のか 教えていただけます か?もしそうでなければ、 SSO と 別々 の認証情報 の 一般的な セキュリティ 概念 や トレードオフ について 議論 することもできます 。   すてきな一日を、 カン ------------------------------------------------------------------------------- 注記: この投稿があなたの質問への回答になっている場合は、「正解としてマーク」ボタンをクリックしてください。ありがとうございます! - 前回の投稿から7週間Threadをフォローしており、その後の返信は無視しています もし後で関連する質問があれば、新しいThreadを開き、閉じたThreadを参照してください。 -------------------------------------------------------------------------------
View full article
[i.MX8MM] DDR PHY 训练固件日志级别:“最大调试”值并集成到 U-Boot 中 尊敬的恩智浦技术支持团队: 我们目前正在使用 MSC DDR 工具/DDR 测试工具调试我们定制的 i.MX 8M Mini 平台上的 DDR 训练问题,并希望澄清 PHY 日志级别配置。 1. 关于配置值 在 DDR 工具 GUI 中, “PHY 日志级别”下拉菜单包含以下选项: 固件已完成 断言消息 阶段完成 粗略调试 详细调试 最大调试 我们检查生成的 .ds 文件。我们注意到脚本中包含一些关于 TrainInfo 设置的注释: # 以下内容仅供工厂内部使用,强烈建议不要更改。 ddrparam 设置 TrainInfo 0x04 # 0x05 = 详细调试(例如眼部延迟) # 0x0A = 粗略调试信息(例如排名信息) # 0xC8 = 阶段完成 # 0xC9 = 断言消息 # 0xFF = 固件完成 # 其他 = 已预留 我们希望直接在 U-Boot SPL 中配置此 PHY 日志详细程度,以便在启动初期通过 UART 捕获完整的训练日志。 2. 将 PHY 日志级别移植到 U-Boot / SPL (lpddr4_timing.c) TrainInfo 日志详细程度参数能否在 DDR 时序结构中定义(例如,在 lpddr4_timing.c 或 SPL 中的 DDR PHY 初始化序列中)? 如果可以,能否请您指导我们如何将 `ddrparam set TrainInfo 0x04` 正确地集成到我们的 U-Boot 代码库中?如果您能指出 lpddr4_timing.c (或 PHY 消息块)中应该映射此参数的具体结构或寄存器,我们将不胜感激。 谢谢你的帮助。 Re: [i.MX8MM] DDR PHY Training Firmware Log Level: Value for "Maximal Debug" and Integrati 你好, Train Info 是一个 PHY 固件参数,通常不是 LPDDR4 时序结构的一部分。我不会直接添加 0x04。 Re: [i.MX8MM] DDR PHY Training Firmware Log Level: Value for "Maximal Debug" and Integrati 你好, 感谢您的回复。 在最近的测试中,我们需要使用以下PHY固件参数启用DDR训练调试信息: ddrparam 设置 TrainInfo 0x04 能否指导我们如何将此命令转换为 U-Boot SDK 中的 C 代码或将其集成到 U-Boot SDK 中(例如,特定的驱动程序结构、API 或配置定义)? 多谢。
View full article
正在尝试了解单点登录(SSO)。它为什么更安全? 我很难理解为什么单点登录 (SSO) 比强制使用唯一密码和多因素身份验证 (MFA) 更安全。 我实在想不明白,这怎么不直接违背长期以来人们普遍认同的、合乎逻辑的建议——不要重复使用密码,因为这会导致凭证填充攻击。 根据我们的经验,账户被盗几乎总是用户遭遇网络钓鱼的结果。我们防止单个账户被钓鱼导致用户账户完全被盗用的唯一保障是,被钓鱼者窃取的密码在其他任何地方都无法使用。单点登录似乎会剥夺这种保护,并大大扩大这种安全漏洞可能造成的危害。 是我理解错了吗?是否存在我不知道的、针对共享密码凭证填充攻击的内置保护措施? Re: Trying to understand SSO. How is it more secure? 嗨@ragnar21 , 感谢您提出这个问题。该主题似乎与一般的 SSO/MFA 网络安全实践有关,但在我们进一步评论之前,您能否 与我们联系 该 问题 是否 与 NXP 的 特定 产品 或 解决 方案 有关 ?如果 不行, 我们 仍然 可以 讨论 SSO 与 独立 凭证的 一般 网络安全 概念 和 权衡 取舍 。   祝你有美好的一天, 坎 ------------------------------------------------------------------------------- 笔记: - 如果此回复解答了您的问题,请点击“标记为正确答案”按钮。谢谢你! - 我们会持续关注帖子,从最后一条回复发出后持续7周,之后的回复将被忽略。 如果您之后有相关问题,请另开新帖并引用已关闭的帖子。 -------------------------------------------------------------------------------
View full article
[i.MX8MM]DDR PHYトレーニングファームウェアログレベル:「最大デバッグ」およびU-Bootへの統合の値 親愛なるNXPサポートチームへ、 現在、MSC DDRツール/DDRテストツールを使ってカスタム i.MX 8M Miniプラットフォーム上でDDRトレーニングの問題をデバッグしており、PHYログレベルの構成について明確にしたいと考えています。 1. 設定値について DDRツールのGUIでは、 PHYログレベルのドロップダウンメニューに以下のオプションが含まれています。 ファームウェアのインストールが完了しました アサーションメッセージ ステージ完了 大まかなデバッグ 詳細デバッグ 最大限のデバッグ 生成された.dsファイルを確認しますスクリプトを確認したところ、TrainInfoの設定に関するコメントがいくつか記載されていることに気づきました。 # 以下は工場内部での使用を目的としており、変更しないことを強くお勧めします。 ddrparam set TrainInfo 0x04 # 0x05 = 詳細デバッグ (例)眼の発達遅延) # 0x0A = 粗いデバッグ情報 (例:ランキング情報) # 0xC8 = ステージ完了 # 0xC9 = アサーションメッセージ # 0xFF = ファームウェア完了 # その他 = 予約済み このPHYログの詳細をU-Boot SPLで直接設定し、早期起動時にUART経由で完全なトレーニングログをキャプチャしたいと考えています。 2. PHYログレベルをU-Boot / SPLに移植する(lpddr4_timing.c) TrainInfoのログ詳細パラメータはDDRのタイミング構造(例:lpddr4_timing.cやSPLのDDR PHY初期化シーケンス)内で定義できますか? もしそうなら、ddrparam set TrainInfo 0x04をU-Bootコードベースに正しく組み込む方法についてご案内いただけますか?このパラメータをマッピングするべき特定の構造やレジスタをlpddr4_timing.c (またはPHYメッセージブロック)でご指摘いただけるとありがたいです ご協力ありがとうございました。 Re: [i.MX8MM] DDR PHY Training Firmware Log Level: Value for "Maximal Debug" and Integrati こんにちは、 Train InfoはPHYのファームウェアパラメータであり、通常LPDDR4のタイミング構造には含まれていません。私は0x04を直接加算しません。 Re: [i.MX8MM] DDR PHY Training Firmware Log Level: Value for "Maximal Debug" and Integrati こんにちは、 ご回答ありがとうございます。 最近のテストでは、以下のPHYファームウェアパラメータを使ってDDRトレーニングデバッグ情報を有効にする必要があります。 ddrparam set TrainInfo 0x04 U-Boot SDK内でこのコマンドをCコードに変換・統合する方法(例:特定のドライバー構造、API、設定定義など)について教えていただけますか? どうもありがとう。
View full article
Licensing and open-source status for MR-VMU-TROPIC GitHub repository Hello,   I am having a look at the MR-VMU-TROPIC FMU base board. The documentation on GitBook explicitly states: "They are both opensource designs and may be copied and recreated as you wish."   However, the official GitHub repository currently lacks a LICENSE file, despite being described as an "Open-Source FMU base board" also there, which makes it difficult to use or adapt the design files safely.   I noticed there have been recent updates in the repository. Could the team add a standard open-source license file (such as the BSD-3-Clause license used on the TropicCommunityVMU) to the GitHub repository?   Thank you!   Re: Licensing and open-source status for MR-VMU-TROPIC GitHub repository Thank you for highlighting that issue. I will adress that internally. Re: Licensing and open-source status for MR-VMU-TROPIC GitHub repository A license file has been added to the github repo GitHub - NXP-Robotics/MR-VMU-TROPIC: Preview of TROPIC VMU single board RT106X · GitHub https://github.com/NXP-Robotics/MR-VMU-TROPIC/blob/main/LICENSE Thanx again for highlighting that! With kind regards, Gerald
View full article
MR-VMU-TROPIC GitHub 仓库的许可和开源状态 你好,   我正在查看 MR-VMU-TROPIC FMU 底板。GitBook 上的文档明确指出:“它们都是开源设计,您可以随意复制和重新创建。”   然而,尽管官方 GitHub 仓库中也将其描述为“开源 FMU 底板”,但目前却缺少 LICENSE 文件,这使得安全地使用或修改设计文件变得困难。   我注意到代码库最近有更新。团队能否将标准开源许可证文件(例如TropicCommunityVMU上使用的 BSD-3-Clause 许可证)添加到 GitHub 存储库中?   谢谢!   Re: Licensing and open-source status for MR-VMU-TROPIC GitHub repository 感谢您指出这个问题。我会内部处理此事。 Re: Licensing and open-source status for MR-VMU-TROPIC GitHub repository GitHub 仓库中已添加许可证文件:GitHub - NXP-Robotics/MR-VMU-TROPIC:TROPIC VMU 单板 RT106X 预览 · GitHub https://github.com/NXP-Robotics/MR-VMU-TROPIC/blob/main/LICENSE 再次感谢您指出这一点! 此致敬礼, 杰拉尔德
View full article
MR-VMU-TROPIC GitHubリポジトリのライセンスとオープンソースステータス こんにちは、   MR-VMU-TROPIC FMUベースボードを調べています。GitBookのドキュメントには明確に「どちらもオープンソースのデザインであり、希望する形でコピー・再作成可能です」と明記されています。   しかし、 公式GitHub リポジトリには「オープンソースFMUベースボード」と説明されているにもかかわらず、現在LICENSEファイルがなく、設計ファイルの安全な利用や適応が困難になっています。   リポジトリに最近更新があったことに気づきました。チームは、 TropicCommunityVMUで使われているBSD-3-Clauseライセンスのような標準的なオープンソースライセンスファイルをGitHubリポジトリに追加することは可能でしょうか?   ご回答をお待ちしています。   Re: Licensing and open-source status for MR-VMU-TROPIC GitHub repository その問題を指摘していただきありがとうございます。社内で対応します。 Re: Licensing and open-source status for MR-VMU-TROPIC GitHub repository ライセンスファイルがGitHubリポジトリに追加されました。GitHub - NXP-Robotics/MR-VMU-TROPIC: TROPIC VMUシングルボードRT106Xのプレビュー · GitHub https://github.com/NXP-Robotics/MR-VMU-TROPIC/blob/main/LICENSE 指摘していただき、改めてありがとうございます! 敬具 ジェラルド
View full article
Trying to understand SSO. How is it more secure? I'm struggling to understand this notion of SSO being more secure than enforcing unique passwords and MFA on accounts. I can't figure out how this isn't going directly against the long held and logical advice of not re-using passwords because it enables credential stuffing. In our experience, account compromises are almost always the result of a user being phished. The only protection we have against a single account being phished turning into a total user compromise is the fact that the phished password won't work anywhere else. SSO seems to strip away that protection and greatly expand the potential harm of the compromise. Am I misunderstanding how it works? Are there some baked in protections against shared password credential stuffing that I am not aware of? Re: Trying to understand SSO. How is it more secure? Hi @ragnar21 , Thank you for raising this question. The topic appears to be related to general SSO/MFA security practices, but before we comment further, could you let us know whether this question is associated with a specific NXP product or solution? If not, we can still discuss the general security concepts and trade-offs of SSO versus separate credentials.   Have a great day, Kan ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. -------------------------------------------------------------------------------
View full article
在目标系统上安装内核头文件 - flexbuild Linux Debian 6.12.49 您好, 我正在为我的 IMX8MP-EVK 板开发一个自定义的外部 Linux 模块,该板运行 Debian Linux(使用最新版本的 flexbuild 构建)。目前,为了构建我的模块,我将其添加到 Linux 源代码中,并修改了相应的 Kconfig 和 Makefile。但是,我希望能够在目标系统上直接构建我的模块以加快速度,但目标系统上没有安装内核头文件,我也找不到安装它们的方法。 请问有人可以指导我如何构建安装了内核头文件的 Debian Linux 系统吗? 谢谢。 本杰明。 i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Re: Install kernel-headers on target - flexbuild Linux Debian 6.12.49 您好, 是的,我很快就意识到尝试使用 apt install linux-headers-$(uname -r)无法获得正确的头文件。 感谢您的快速回复,我应该能够找到适合自己的工作流程。 Re: Install kernel-headers on target - flexbuild Linux Debian 6.12.49 对于使用 Flexbuild 构建的 i.MX8MP-EVK Debian 镜像,实际的解决方法是:不要依赖目标上的 apt install linux-headers-$(uname -r) 命令。检索到的 NXP 资料显示 Flexbuild 构建内核、DTB、模块、启动映像和根文件系统,但我没有找到 i.MX8MP 特有的 Flexbuild 选项,该选项可以生成匹配的 linux-headers-* 软件包并将其预安装到 Debian 根文件系统中。支持的/干净的工作流程是:使用 Flexbuild 使用的相同编译内核树构建树外模块,然后将 .ko 文件复制到开发板。 推荐工作流程: cd flexbuild setup.env bld 容器 setup.env bld 主机依赖 # 完整镜像,或者至少是内核。 LOG_LEVEL=0 bld -m imx8mpevk # 或者: LOG_LEVEL=0 bld linux -m imx8mpevk Debian SDK 指南将 bld -m imx8mpevk 列为完整的构建命令,将 bld linux -m imx8mpevk 列为单独的内核构建命令;它还指出,内核相关的源代码位于 components_lsdk2512/linux/ 下,编译后的输出位于 build_lsdk2512/linux/linux/arm64/IMX 下(针对 i.MX 平台示例)。 然后,在主机上基于已编译/准备好的内核树构建外部模块,例如: obj-m += my_driver.o KERNEL_SRC ?= /path/to/flexbuild/components_lsdk2512/linux 全部: $(MAKE) -C $(KERNEL_SRC) M=$(PWD) 模块 干净的: $(MAKE) -C $(KERNEL_SRC) M=$(PWD) clean 对于外部模块,NXP 当前的 i.MX Linux 6.12 指南指出,其要求包括已编译的内核、运行相同内核版本的板以及工具链;指南还指出,需要完整编译内核才能生成外部模块编译所需的头文件和符号文件。该指南使用了标准的外部模块形式: make -C $(KERNEL_SRC) M=$(PWD) modules 然后将生成的 .ko 文件复制到板子上供 insmod 使用。 如果您特别想要目标平台上的版本,您可以手动在目标平台上安装匹配的预编译内核树,但请将其视为一种手动变通方法,而不是 i.MX8MP Flexbuild 文档中记录的“安装头文件”功能: # 目标 sudo mkdir -p /usr/src/linux-headers-$(uname -r) sudo ln -sfn /usr/src/linux-headers-$(uname -r) /lib/modules/$(uname -r)/build 将主机上匹配的 Flexbuild 内核源代码/版本工件复制到该目录中,包括生成的文件和 Module.symvers。然后瞄准目标: cd /usr/src/linux-headers-$(uname -r) 执行旧配置 准备 # 或者,对于模块版本: 准备模块 要点如下: 内核源代码/构建树必须与板上运行的内核完全匹配:检查 uname -r。 Module.symvers 文件必须存在;否则,模块版本控制/依赖关系信息可能缺失。 make oldconfig && make prepare / make modules_prepare 是为外部模块构建准备树的常用步骤。 在板上进行本地构建通常速度较慢;NXP 指南通常建议对 i.MX 外部模块进行主机端交叉编译。 简而言之: Flexbuild 可以构建匹配的内核,但对于 i.MX8MP Debian,我会在主机上针对 Flexbuild 内核树构建模块,而不是尝试在板上安装发行版风格的 linux-headers。如果需要目标迭代,请将匹配的已准备好的内核树复制到 /usr/src/linux-headers-$(uname -r) 并将 /lib/modules/$(uname -r)/build 指向它。 使用 Flexbuild 编译的内核树作为“headers”源;在检索到的资料中,没有关于 i.MX8MP Flexbuild Debian 的打包的、apt 安装的 linux-headers-$(uname -r) 流程的文档。
View full article