Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
GstV4l2Src:v4l2src0: 分配所需内存失败 我们正在通过 ADV7280A-M M IPI CSI-2 和 Yocto Linux Scarthgap 和 Qt 6.8.2 使用带有模拟视频的 i .MX 8X。 下列作品 gst-用上市,不用发布-1.0v4l2src 设备=/dev/video2!video/x-raw,width=720,height=567,framerate=25/1 !自动视频水槽 但是,Qt 中的相应功能不起作用(gst_parse_element_make: no element"video" )。 因此,我正在努力: gst-用上市,不用发布-1.0-vvv v4l2src 设备=/dev/video2!rawvideoparse width=720 height=576 format=yuy2 !自动视频水槽 然而,由于 ERROR:from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory. 全部输出为 将管道设置为 PAUSED ... 错误:XDG_RUNTIME_DIR 无效或未在环境中设置。 错误:XDG_RUNTIME_DIR 无效或未在环境中设置。 EGL: 警告:wayland 上不支持默认显示 EGL: Warning:wayland 上没有默认显示支持 管道已上线,不需要 PREROLL ... /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstKMSSink:autovideosink0-actual-sink-kms: display-width = 1280 /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstKMSSink:autovideosink0-actual-sink-kms: display-height = 768 管道已 PREROLLED .... 设置管道为播放状态 ... 新时钟:GstSystemClock /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw, format=(string)YUY2, width=(int)3840, height=(int)2160, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=(string)1:4:5:1 /GstPipeline:pipeline0/GstRawVideoParse:rawvideoparse0.GstPad:sink: caps = video/x-raw, format=(string)YUY2, width=(int)3840, height=(int)2160, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=(string)1:4:5:1 ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory. 其他调试信息: /usr/src/debug/gstreamer1.0-plugins-good/1.24.0.imx/sys/v4l2/gstv4l2src.c(955): gst_v4l2src_decide_allocation ():/GstPipeline:pipeline0/GstV4l2Src:v4l2src0: 缓冲池激活失败 0:00:00.043197264 后执行结束 将管道设置为 NULL ... ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error. 附加调试信息: /usr/src/debug/gstreamer1.0/1.24.0.imx/libs/gst/base/gstbasesrc.c(3175):gst_base_src_loop ():/GstPipeline:pipeline0/GstV4l2Src:v4l2src0: streaming stopped, reason not-negotiated (-4) Freeing pipeline ... 谢谢 -- 彼得 i.MX 8 系列 | i.MX 8QuadMax (8QM) | 8QuadPlus Linux 多媒体 Re: GstV4l2Src:v4l2src0: Failed to allocate required memory 嗨 @joanxie, GST_DEBUG=3 gst-用上市-1.0-v v4l2src num-buffers=5 设备=/dev/video0!video/x-raw,format=GRAY8,depth=8,width=1280,height=800 !视频转换 !jpegenc !multifilesink location=ar0144_mono_image.jpg issue is Starting GStreamer pipeline... Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... 将管道设置为正在播放 ... 0:00:00.244283375 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: 使用 VIDIOC_G_SELECTION 获取默认裁剪矩形失败:参数无效 0:00:00.244416875 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5230:gst_v4l2_object_probe_caps: 使用 VIDIOC_CROPCAP 探测像素宽高比失败:参数无效 新时钟:GstSystemClock 0:00:00.246845250 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: 使用 VIDIOC_G_SELECTION 获取默认裁剪矩形失败:参数无效 /GstPipeline:pipeline0/GstV4l2Src:v4l2src0。GstPad:src: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progressive /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progressie /GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progre /GstPipeline:pipeline0/GstJpegEnc:jpegenc0.GstPad:sink:caps = video/x-raw,format=(string)GRAY8,depth=(int)8,width=(int)1280,height=(int)800,framerate=(fraction)120/1,interlace-mode=(string)progressive /GstPipeline:pipeline0/GstVideoConvert:videoconvert0。GstPad:sink: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)proge /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progresse 0:00:00.253795500 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: 使用 VIDIOC_G_SELECTION 获取默认裁剪矩形失败:参数无效 0:00:00.253877250 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: 使用 VIDIOC_G_SELECTION 获取默认裁剪矩形失败:参数无效 0:00:00.259326750 784 0xffffb4000b70 ERROR v4l2bufferpool gstv4l2bufferpool.c:721:gst_v4l2_buffer_pool_streamon: STREAMON 32 出错(管道断裂) 0:00:00.259393750 784 0xffffb4000b70 ERROR bufferpool gstbufferpool.c:572:gst_buffer_pool_set_active: start failed 0:00:00.259435250 784 0xffffb4000b70 WARN v4l2src gstv4l2src.c:955:gst_v4l2src_decide_allocation: 错误:分配所需内存失败。 0:00:00.259461750 784 0xffffb4000b70 WARN v4l2src gstv4l2src.c:955:gst_v4l2src_decide_allocation: 错误:缓冲池激活失败 ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory. 其他调试信息: /usr/src/debug/gstreamer1.0-plugins-good/1.24.0.imx/sys/v4l2/gstv4l2src.c(955): gst_v4l2src_decide_allocation ():/GstPipeline:pipeline0/GstV4l2Src:v4l2src0: 缓冲池激活失败 0:00:00.259690375 784 0xffffb4000b70 WARN basesrc gstbasesrc.c:3395:gst_base_src_prepare_allocation: 子类未能决定分配 执行在 0:00:00.015445250 后结束 将管道设置为 NULL ... 0:00:00.259771000 784 0xffffb4000b70 WARN basesrc gstbasesrc.c:3175:gst_base_src_loop: 错误:内部数据流错误。 0:00:00.259796500 784 0xffffb4000b70 WARN basesrc gstbasesrc.c:3175:gst_base_src_loop: error: streaming stopped, reason not-negotiated (-4) ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error. 附加调试信息: /usr/src/debug/gstreamer1.0/1.24.0.imx/libs/gst/base/gstbasesrc.c(3175):gst_base_src_loop ():/GstPipeline:pipeline0/GstV4l2Src:v4l2src0: streaming stopped, reason not-negotiated (-4) Freeing pipeline ... GStreamer 命令完成。 Re: GstV4l2Src:v4l2src0: Failed to allocate required memory 为了完整性,这个话题最初的问题是使用 capsfilter 解决的,而不是 rawvideoparse: player.source = " gstreamer-pipeline:v4l2src 设备=/dev/video2!capsfilter caps=video/x-raw,width=720,height=480,framerate=25/1" 与 Qt 一起使用时,gst_v4l2_object_fill_format_list 中确实会出现间歇性 SIGSEGV,但我想这是另一个问题。 Re: GstV4l2Src:v4l2src0: Failed to allocate required memory 你好@Ahmed230,你的留言字体太大,难以阅读。 此主题是关于 ADV7280A-M(NTSC/PAL)在以下情况下工作正常:"!视频/x-原始......" ,但不是用:"!rawvideoparse..." 您的留言是关于 AR0144 图像传感器无法使用:"!video/x-raw". 不同的主题。最好新建一个帖子,然后按 Ctrl+Shift+V 只粘贴文本,不粘贴大字体。 同时将 $NUMBER_OF_PIC、$VID_DEVICE 和 $FRAME_SIZE 替换为实际值。 Re: GstV4l2Src:v4l2src0: Failed to allocate required memory 我的问题是 imx8mm 主板上的 camera ar0144 的恩智浦 6.6.36 内核用于捕获图像或视频 GST_DEBUG=3 gst-launch-1.0-v v4l2src num-buffers=$number_of_PIC device=$vid_device=$vid_device!video/x-raw,format=GRAY8,depth=8,$FRAME_SIZE !videoconvert ! jpegenc !multifilesink location=ar0144_mono_image.jpg Starting GStreamer pipeline... Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... 将管道设置为正在播放 ... 0:00:00.244283375 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: 使用 VIDIOC_G_SELECTION 获取默认裁剪矩形失败:参数无效 0:00:00.244416875 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5230:gst_v4l2_object_probe_caps: 使用 VIDIOC_CROPCAP 探测像素宽高比失败:参数无效 新时钟:GstSystemClock 0:00:00.246845250 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: 使用 VIDIOC_G_SELECTION 获取默认裁剪矩形失败:参数无效 /GstPipeline:pipeline0/GstV4l2Src:v4l2src0。GstPad:src: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progressive /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progressie /GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progre /GstPipeline:pipeline0/GstJpegEnc:jpegenc0.GstPad:sink:caps = video/x-raw,format=(string)GRAY8,depth=(int)8,width=(int)1280,height=(int)800,framerate=(fraction)120/1,interlace-mode=(string)progressive /GstPipeline:pipeline0/GstVideoConvert:videoconvert0。GstPad:sink: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)proge /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progresse 0:00:00.253795500 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: 使用 VIDIOC_G_SELECTION 获取默认裁剪矩形失败:参数无效 0:00:00.253877250 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: 使用 VIDIOC_G_SELECTION 获取默认裁剪矩形失败:参数无效 0:00:00.259326750 784 0xffffb4000b70 ERROR v4l2bufferpool gstv4l2bufferpool.c:721:gst_v4l2_buffer_pool_streamon: STREAMON 32 出错(管道断裂) 0:00:00.259393750 784 0xffffb4000b70 ERROR bufferpool gstbufferpool.c:572:gst_buffer_pool_set_active: start failed 0:00:00.259435250 784 0xffffb4000b70 WARN v4l2src gstv4l2src.c:955:gst_v4l2src_decide_allocation: 错误:分配所需内存失败。 0:00:00.259461750 784 0xffffb4000b70 WARN v4l2src gstv4l2src.c:955:gst_v4l2src_decide_allocation: 错误:缓冲池激活失败 ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory. 其他调试信息: /usr/src/debug/gstreamer1.0-plugins-good/1.24.0.imx/sys/v4l2/gstv4l2src.c(955): gst_v4l2src_decide_allocation ():/GstPipeline:pipeline0/GstV4l2Src:v4l2src0: 缓冲池激活失败 0:00:00.259690375 784 0xffffb4000b70 WARN basesrc gstbasesrc.c:3395:gst_base_src_prepare_allocation: 子类未能决定分配 执行在 0:00:00.015445250 后结束 将管道设置为 NULL ... 0:00:00.259771000 784 0xffffb4000b70 WARN basesrc gstbasesrc.c:3175:gst_base_src_loop: 错误:内部数据流错误。 0:00:00.259796500 784 0xffffb4000b70 WARN basesrc gstbasesrc.c:3175:gst_base_src_loop: error: streaming stopped, reason not-negotiated (-4) ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error. 附加调试信息: /usr/src/debug/gstreamer1.0/1.24.0.imx/libs/gst/base/gstbasesrc.c(3175):gst_base_src_loop ():/GstPipeline:pipeline0/GstV4l2Src:v4l2src0: streaming stopped, reason not-negotiated (-4) Freeing pipeline ... GStreamer 命令完成。 Re: GstV4l2Src:v4l2src0: Failed to allocate required memory 这一次,您得到了哪些打印错误信息? 我将电路板支持包 6.6 与电路板支持包 5.10 进行了比较,电路板支持包 6.6 从基于这个补丁的 5.10 中删除了代码,你试过电路板支持包 5.10 了吗? https://github.com/nxptest/linux-imx/commit/4f87610383a0f365ee0c68d9354ddcf099240144 Re: GstV4l2Src:v4l2src0: Failed to allocate required memory PS@joanxie RE: 0:00:00.518350875 427 0xffff80000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect:v4l2src0:src使用 VIDIOC_G_SELECTION 获取默认裁剪矩形失败:参数无效 这是因为在调用 mxc_isi_cap_g_selection() 时: 类型 1 V4L2_BUF_TYPE_VIDEO_CAPTURE 和 目标 1 V4L2_SEL_TGT_CROP_DEFAULT(和目标 2 V4L2_SEL_TGT_CROP_BOUNDS) ,但只期待类型 V4L2_BUF_TYPE_VIDEO_OUTPUT 或 V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/drivers/staging/media/imx/imx8-isi-cap.c#L1164 添加处理程序后,警告就会消失。 (但随后 mxc_isi_cap_s_fmt_mplane 被调用 ,不知何故 fmt 从 RGB565 720x480 变为 YUYV-16 3840x2160)。 Re: GstV4l2Src:v4l2src0: Failed to allocate required memory 你好@joanxie 我们使用 Yocto Scarthgap 和 linux-imx uname 显示 6.6.52 本次提交后,我们从 linux-imx 分支: https://github.com/nxp-imx/linux-imx/commit/e0f9e2afd4cff3f02d71891244b4aa5899dfc786 如果我在 drivers/staging/media/imx/imx8-mipi-csi2.c mxc_csi2_get_sensor_fmt() 中添加调试程序,则会显示 720 x 480。 因此,我对 v4l2-ctl --get-fmt-video -d /dev/video2 显示 3840/2160 感到困惑,不知道是否应在某处实现 VIDIOC_G_SELECTION 或 VIDIOC_CROPCAP,以提高一致性。 谢谢 -- 彼得 Re: GstV4l2Src:v4l2src0: Failed to allocate required memory 你用的是什么版本的电路板支持包?看来是比例问题,这就是为什么我要求你测试特定的分辨率,否则需要升级到3840,这会导致错误 Re: GstV4l2Src:v4l2src0: Failed to allocate required memory @joanxie 你好,谢谢你的回复。 v4l2-ctl -d /dev/v4l-subdev1 --set-standard PAL 使用 "video/x-raw, width=720, height=480" 用上市 gst-launch-1.0。 但问题是 在 Qt 6.8.2 (QML MediaPlayer) 的 gstreamer-pipeline: 中使用 video/x-raw 会失败: ERROR GST_PIPELINE grammar.y:630:gst_parse_element_make:无元素"视频" 在 Qt 下(使用 playbin),video/x-raw 不能被识别为一个元素,因为它是一个 caps 过滤器。 这就是为什么我试图在不需要视频/x-原始盖帽过滤器的情况下让管道正常工作的原因 好吧,我刚刚发现有一个 capsfilter 元素,所以就用它来代替: player.source = " gstreamer-pipeline:v4l2src 设备=/dev/video2!capsfilter caps=video/x-raw,width=720,height=480,framerate=25/1" 从 Qt 上几乎可以运行。视频显示了一会儿,但随后就出现了故障: 1 format_cmp_func gstv4l2object.c1276 0xffffd80668dc 2 g_slist_insert_sorted_real gslist.c913 0xfffff604fab4 3 g_slist_insert_sorted gslist.c964 0xfffff60504e0 4 gst_v4l2_object_fill_format_list gstv4l2object.c1324 0xffffd8065a60 5 gst_v4l2_object_get_format_list gstv4l2object.c1373 0xffffd8065f2c 6 gst_v4l2_object_probe_caps gstv4l2object.c5212 0xffffd806ed34 7 gst_v4l2_object_get_caps gstv4l2object.c5310 0xffffd806ef38 8 gst_base_src_default_query gstbasesrc.c1373 0xffffd9219490 9 gst_pad_query gstpad.c4228 0xffffd90ec24c 10 gst_pad_query_caps gstutils.c3117 0xffffd913140c 11 gst_v4l2src_negotiate gstv4l2src.c786 0xffffd8079a04 12 gst_base_src_negotiate_unlocked gstbasesrc.c3490 0xffffd9213e9c 13 gst_base_src_loop gstbasesrc.c2915 0xffffd9215e7c 14 gst_task_func gsttask.c399 0xffffd9122090 15 g_thread_pool_thread_proxy gthreadpool.c350 0xfffff605d780 16 g_thread_proxy gthread.c831 0xfffff605cad8 17 start_thread pthread_create.c447 0xfffff6730fc4 18 thread_start clone3.S 76 0xfffff67931cc 看看我能想出什么办法。 无论如何,我都想知道: v4l2-ctl--设备 /设备/video2--all 给出 mxc-isi-cap_v1 宽度/高度:3840/2160... 猜猜吧,因为尽管 ADV 的宽度只能达到 720,但 MIPI CSI-2 的宽度为 3840。 这样做可以改变它,但只是暂时的: v4l2-ctl -d /dev/video2 -vwidth=720,height=480 在不使用 capsfilter 的情况下运行 gstreamer 时,它会恢复到 3840。 从我们基于 i.MX 8X 的板上看,MIPI CSI-2 是硬接线到 ADV 的,并且只能作为 720 宽度使用,有什么办法可以将其配置为保持 720 宽度而不是 3840 宽度吗?这将使"只需运行" 并简化 Qt 等的 gstreamer 管道? 谢谢 -- 彼得 Re: GstV4l2Src:v4l2src0: Failed to allocate required memory 您为 ADV7280 设置了什么格式,在管道中设置具体分辨率如何?例如,video/x-raw、width=720、height=480,看来问题与裁剪有关,您可以尝试设置分辨率并再次测试 Re: GstV4l2Src:v4l2src0: Failed to allocate required memory https://github.com/GStreamer/gst-plugins-good/blob/master/sys/v4l2/gstv4l2bufferpool.c#L668 if (obj->ioctl (pool->video_fd, VIDIOC_STREAMON, &obj->type) < 0) goto streamon_failed;
View full article
Zephyr を使用した MCXN947 上の MCUBoot と Edgelock セキュア・エンクレーブ FRDM-MCXN947 ボードを使用する IoT プロジェクトで Zephyr のオープン ソース MCUBoot モジュールを使用したいのですが、キーのセキュリティを強化するために Edgelock セキュア・エンクレーブも使用したいです。MCUBoot でセキュア・エンクレーブを使用するには、MCUBoot ソースを変更する必要があるため、これは難しいという認識でよろしいでしょうか? 私の考えが正しければ、FUTURE Zephyr / MCUBoot が Edgelock セキュア・エンクレーブを使用する可能性はありますか? この改善によりセキュリティが大幅に向上するというのは正しいでしょうか?それとも、標準の Zephyr MCUBoot のキー処理で満足すべきでしょうか? Re: MCUBoot and Edgelock Secure Enclave on an MCXN947 using Zephyr @Harry_Zhangこれがいつ実現されるかについて、何かフィードバックはありますか?すぐにでなければ、Zephyr で MCUBoot を使用して最高のキー セキュリティを維持する方法について何か提案はありますか? 幸運をお祈りしています。! クラーク Re: MCUBoot and Edgelock Secure Enclave on an MCXN947 using Zephyr こんにちは@ClarkS はい、MCUBoot で EdgeLock SE を使用するのは現時点では簡単ではなく、ソースの変更やカスタム統合レイヤーが必要になると思います。 お客様のご要望を弊社の担当チームに転送させていただきます。ご提案ありがとうございます。 BR ハリー
View full article
How to use the object detection model trained by eiq on imx8mp board or pc? Hello, I trained a model according with "eIQ_Toolkit_UG.pdf" followed below routine.  import my dataset -> select model -> detection -> balanced -> npu -> trainer -> validate -> deploy -> export model -> tensorflow lite model saved. Below is the validate result.  below is the export model sumarry. Model property is like below. As upper properties display, this model output name is StatefulPartitionedCall and type is float32[1,2034,7] , But where can i get the output_data defination?  How can i use this model in my inference program? In my inference program i used below codes to get the inference result but it seems not correct.   output_data = interpreter.get_tensor(output_details[0]['index'])   print(output_data)   for i in range(output_data.shape[1]):         score = output_data[0][i][0]         class_id = output_data[0][i][1]         x_min = output_data[0][i][2]         y_min = output_data[0][i][3]         x_max = output_data[0][i][4]         y_max = output_data[0][i][5]         other = output_data[0][i][6]   Please give me some advises about the eiq detection model inference realization.   Thanks ! Taotao Wang Re: How to use the object detection model trained by eiq on imx8mp board or pc? Hi @Zhiming_Liu  In the  eIQ Documentationcouldnt find this information. We use the eiqtool for training a object_detection model with mobilenet ssd v3 for a imx8mp NPU. The example given in eIQ_Toolkit_v1.16.0\workspace\models\mobilenet_ssd_v3\mobilenet_ssd_v3.ipynb the inference is done by using the RTview and tensorflow, which our imx8mp we dont want to include . We would like to use the tensorflow lite inference. We get a output of tensor (Since I have 1 class )  name: StatefulPartitionedCall:0 tensor: float32[1,2034,6] location: 392   By splitting into scores and bounding box for each (1, 2034, 2), (1, 2034, 4) And then follow the output treatment as in mobilenet_ssd_v3.ipynb, we dont get the bounding boxes and the scores as expected. So wondering, whats the output format signature is? We could guess (from https://community.nxp.com/t5/eIQ-Machine-Learning-Software/How-to-interpret-the-output-from-a-mobilenet-V3-correctly/)  The model predicts 2034 detections per class. The [1,2034,4] tensor corresponds to the box locations in terms of pixels [top, left, bottom, right] of the objects detected. And [1,2034,2] tensor corresponds to scores of our class and background. We couldnt get a correct meaningful output from the model trained by the eiq tool, which seem to follow a unique way of combining the outputs bounding boxes, that can be only interpreted by the rtview engine. But can we have a detailed explanation of the output. And example to show without using rtview or tensorflow libs? Thanks. Re: How to use the object detection model trained by eiq on imx8mp board or pc? Please refer the eIQ document with HELP-->eIQ Documentation
View full article
如何在 imx8mp 板或电脑上使用 eiq 训练的物体检测模型? 你好 我根据"eIQ_Toolkit_UG.pdf" 按照以下步骤训练了一个模型。 import my dataset -> select model -> detection -> balanced -> npu -> trainer -> validate -> deploy -> export model -> tensorflow lite model saved. 以下是验证结果。 下面是出口模式 sumarry。 样板房如下。 在上部属性显示中,该模型的输出名称是StatefulPartitionedCall,类型是 float32[1,2034,7] ,但我从哪里可以获得 output_data 的定义? 如何在推理程序中使用该模型? 在我的推理程序中,我用下面的代码得到了推理结果,但似乎并不正确。 输出数据= 解释器.get_tensor(output_details[0]['索引]) 打印(输出数据) 为 i 在 范围(输出数据.shape[1]): 得分= 输出数据[0][i][0] class_id= 输出数据[0][i][1] x_min= 输出数据[0][i][2] y_min= 输出数据[0][i][3] x_max= 输出数据[0][i][4] y_max= 输出数据[0][i][5] 其他= 输出数据[0][i][6]   请给我一些关于 eiq 检测模型推理实现的建议。   谢谢您! 王涛涛 Re: How to use the object detection model trained by eiq on imx8mp board or pc? 你好@刘志明 在eIQ 文档中找不到这一信息。 我们使用 eiqtool 在 imx8mp NPU 上使用 mobilenet ssd v3 训练对象检测模型。 eIQ_Toolkit_v1.16.0\workspace\models\mobilenet_ssd_v3\mobilenet_ssd_v3.ipynb 中给出的示例 推理是通过使用 RTview 和 tensorflow 来完成的,而我们的 imx8mp 并不想包含这些功能。我们希望使用 tensorflow lite 推理。 我们将得到张量的输出结果(因为我有 1 个类别) 名称:StatefulPartitionedCall:0 张量: float32[1,2034,6] 地点: 392   通过对每个 (1, 2034, 2), (1, 2034, 4) 分割成分数和边界框 然后按照 mobilenet_ssd_v3.ipynb 中的输出处理、我们没有得到预期的边界框和分数。 我想知道输出格式签名是什么? 我们可以猜测(来自 https://community.nxp.com/t5/eIQ-Machine-Learning-Software/How-to-interpret-the-output-from-a-mobilenet-V3-correctly/) 该模型预测每类有 2034 次检测。1,2034,4]张量对应于以像素表示的方框位置[...上、左、下、右] 的方框位置。 而 [1,2034,2] 张量则对应于我们班级和背景的分数。 我们无法从 eiq 工具训练的模型中获得有意义的正确输出,它似乎遵循一种独特的方式来组合输出边框,而这种方式只能由 rtview 引擎来解释。但我们能否得到有关输出的详细解释。不使用 rtview 或 tensorflow 库的示例? 谢谢。 Re: How to use the object detection model trained by eiq on imx8mp board or pc? 请参阅 eIQ文档(带HELP)-->eIQ文档
View full article
IMX8MP HDMI 4Kディスプレイ 現在、Linuxカーネルバージョンlinux-imx-5.10.9を搭載したimx8mp evk開発ボードを使用しています。HDMIインターフェースを使用すると、デフォルトの出力が1080p@60pになっていることに気づきました。HDMI出力を4Kにするには、カーネルをどのように修正すればよいでしょうか? Re: imx8mp hdmi 4k 显示 こんにちは。私も同じ問題に遭遇しました。どのように解決したか教えていただけますか? Re: imx8mp hdmi 4k 显示 わかりました。ありがとうございます。 問題の核心は、私たちが医療機器メーカーであるということです。以前のユーザーインターフェースはQTで開発しており、プラットフォームはIMX6とIMX7でした。現在、ハイエンド製品ラインではIMX8を使用しています。以前のコードはすべてFB(Framework Builder)ベースでした。今DRMに切り替えると、非常にコストがかかります…。さて、さらに調査して、ソースコードの該当部分を修正し、接続/切断されたディスプレイの数に応じて異なる数のFBXインスタンスを作成できるかどうか確認してみます。 Re: imx8mp hdmi 4k 显示 デスクトップシステムではfb0は使用されず、代わりにdrmノードが使用されます。fb0は使用可能ですが、推奨しません。主流のアプローチはdrmフレームワークです。 Re: imx8mp hdmi 4k 显示 カーネル内のfb0生成に関するソースコードには触れていません。BSPと全く同じです。ソースコードはDRMフレームワークを使って1つのfb0を生成するだけで、それだけです。接続された画面の数に関係なく、常に同じfbになります。 Re: imx8mp hdmi 4k 显示 つまり、LVDSポートとHDMIポートが接続されていて、解像度が異なっているにもかかわらず、カーネルはLVDSの解像度に基づいてバッファを割り当てているのです。HDMIとLVDSは同じバッファをディスプレイに使用しているため、HDMIディスプレイに不具合が発生しているのでしょうか?これは困ったものです… Re: imx8mp hdmi 4k 显示 HDMIなら解像度が自動的に切り替わると思っていました。 -->DRM APIは異なるCRTCでのバッファ割り当てを許可していますが、fb0に直接書き込むと、表示の不一致という問題が発生します。アプリケーション層で割り当てるバッファは、LVDS解像度のバッファなど、特定の画面用です。バッファに書き込むと、基盤となるドライバは単にこのバッファをLCDコントローラに渡すだけで、ドライバ層はバッファの調整を行いません。そのため、解像度に関係なく、バッファの正確なサイズが表示されます。 Re: imx8mp hdmi 4k 显示 デュアルスクリーン同時表示を実現したいと考えています。Qtはfb0に画像データを書き込み、fb0内の画像データを1200*768のLVDSと1920*1080のHDMIに同時に表示したいと考えています。これは不可能だと思いますか?現在、QtはEGFLSを使用しています。同時表示を実現するには、DRMによって生成されたcardXノードを直接操作するEGFLS-KMSを使用する必要がありますか? Re: imx8mp hdmi 4k 显示 私のLVDS画面は現在1200*768ですが、HDMIは最大1920*1080の解像度をサポートしています。つまり、LVDSとHDMIの両方を正しく表示するには、HDMIの解像度を手動で1200*768またはそれに近い解像度に設定する必要があるということですか?HDMIは解像度を自動的に切り替えると思っていました。HDMIディスプレイ設定では、現在の画面解像度は1920*1080で、HDMIに表示される画像は左上隅のみで、サイズはLVDSとほぼ同じです。 Re: imx8mp hdmi 4k 显示 テスト済みで4Kを自動認識できます。 LVDS と HDMI は、同じ DRM フレームワークによって生成された同じ FB0 ノードを共有します。 解像度は1つしか設定できないのでしょうか?fb0を共有する場合、LVDSとHDMIの画面解像度は同じになりますか? Re: imx8mp hdmi 4k 显示 解決策はありますか?現在、別の問題が発生しています。LVDSとHDMIは、同じDRMフレームワークによって生成された同じFB0ノードを共有しています。LVDSとHDMIの両方を接続すると、HDMIに表示される画像サイズはLVDSと同じになり、HDMIディスプレイ全体を埋め尽くしません。何が起こっているのでしょうか? Re: imx8mp hdmi 4k 显示 私も同じ状況に遭遇しています。後で解決策をお伝えします。 Re: imx8mp hdmi 4k 显示 L5.10.35_2.0.0 のデモイメージを書き込み、2K および 4K 画面で試してみましたが、1080p しか表示できません。 Modetest を使用すると、HDMI 出力の最大解像度は 1920x1080@60 であり、4K 解像度はありません。 Re: imx8mp hdmi 4k 显示 HDMIディスプレイは適応型解像度を使用します。L5.10.35_2.0.0のデモ画像をお試しください。
View full article
LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders Hi, I would like to know how can I load in the I2C eeprom the RCW and the BLs in order to boot the board from this source. I have found this thread: https://community.nxp.com/t5/QorIQ/LS1028-RCW-generation-to-boot-from-I2C-EEPROM-to-NOR-Flash/m-p/1455702, but I got stucked too. I would like to know which version of the BL2 I need to load, bl2_emmc, bl2_sd,... but in my Yocto compilation bl2_i2c does not appear. Do I need to change something in order to generate this? Or it is not necessary? Thanks, imuguruza Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders I know this is an old thread, but I am having a similar problem to this ticket.  I followed the steps to program the rcw and bl2 bins to eeprom using u-boot from a bootable SD card, and verified the data is present in the EEPROM.  When I reconfigure the switches to boot from EEPROM, and capture the i2c traffic on j26 i see: It appears that the EEPROM is not responding. Can you help me figure out how to make this work as it's claimed to work? Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders Hi again, It has been time since I have tried this but it does not work. I have been checking the I2C signals in the connector J26. When I boot up the board, I only see one I2C command. This command is a write request to the 0x50 address. It has no ACK from the EEPROM: This means the I2C multiplexor is not well configured and it is not connecting to its bus 0, where the EEPROM is attached... I believe the CPLD should configure this device in order to enable the path from the LS to the EEPROM. Is there any workaround to make it work? Is this a known issue? Thanks, imuguruza Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders Please check whether you could write RCW image to i2c eeprom. => tftp 0xa0000000 nxa22585/ls1028ardb/rcw_1500_gpu600.bin => i2c write 0xa0000000 0x50 0.2 0x10c =>reset => i2c read 0x50 0.2 0x10c 0xc0000000 => md 0xc0000000 c0000000: aa55aa55 80100000 3c004010 00000030 U.U......@.<0... c0000010: 00000000 00000000 00000000 018f0000 ................ c0000020: 0030c000 00000000 020031a0 00002580 ..0......1...%.. c0000030: 00000000 00003296 00000000 00000010 .....2.......... c0000040: 00000000 00000000 00000000 00000000 ................ c0000050: 00000000 00000000 00000000 00000000 ................ c0000060: 00000000 00000000 00000000 00000000 ................ c0000070: 200e705a 00000000 bb580000 00000000 Zp. ......X..... c0000080: 00000000 00000000 458ca4b5 334008bc ...........E..@3 c0000090: 00000001 33400154 47474747 33400158 ....T.@3GGGGX.@3 c00000a0: 47474747 334008bc 00000000 335008bc [email protected] c00000b0: 00000001 33500154 47474747 335008bc ....T.P3GGGG..P3 c00000c0: 00000000 33400890 00800401 33500890 [email protected] c00000d0: 00800401 33400098 00000000 33500098 [email protected] c00000e0: 00000000 31e00900 00000004 31e00400 .......1.......1 c00000f0: 1800d000 8000000a 00000400 1800d000 ................ => Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders ping @yipingwang  Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders Hi @yipingwang  In the process of writing the bl2.bin, the board get freezed, and I believe that is not being loaded properly... Here a capture: Checkig the LS1028ARDB schematics, I think the pin sw_cfg_wp should be to '0' to allow eeprom writing: I have set that too, but the writing process freezes and after, once I change to boot option to eeprom, I don't see any printed character. Any idea what could be wrong? Regards, imuguruza Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders Please try images in i2c_ls1028a.zip attached in https://community.nxp.com/t5/QorIQ/LS1028-RCW-generation-to-boot-from-I2C-EEPROM-to-NOR-Flash/m-p/1455702 => tftp 0xa0000000 rcw_1500_gpu600.bin => i2c write 0xa0000000 0x50 0.2 10c => tftp 0xa0000000 bl2.bin => i2c write 0xa0000000 0x50 0x400.2 9431 Please flash fip image at 0x100000 on the NAND flash. Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders ping @yipingwang , any idea what's going on? Regards, imuguruza Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders Hi, Thanks for your support. It looks like when I execute: => i2c write 0xa0000000 0x50 0x400.2 0x13431 The processor gets hung up, so I am not sure if the bl2 binary is properly flahsed in the eeprom... I have written the size in hex format in the i2c write command. Once it looks it has finished, I have changed the boot switch but nothing was printed in the serial session... I have another question, is it required to reflash the fip? In my case, I would liketo use the nand as place to store the uboot/kernel/rtfs. Thanks, imuguruza Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders Here are the updated steps: $ bitbake rcw -c cleansstate $ bitbake rcw -c patch Go to RCW source code folder, build_ls1028ardb/tmp/work/ls1028ardb-fsl-linux/rcw/git-r0/git/ls1028ardb/R_SQPP_0x85bb/, add the following commands at the end in rcw_1500_gpu600.rcw file .pbi write 0x01e00400,0x1800d000 blockcopy 0xa,0x400,0x1800d000,0x9435 .end CCSR write command: setting boot location pointer to 0x1800d000 in Boot location pointer low-order address (BOOTLOCPTRL) register present in DCFG. block copy command: blockcopy 0x0a,0x400,0x00100000,0x9400 Source : I2C EEPROM = 0xa Source address: 0x400 Destination address: OCRAM (0x100000) Block size : size of BL2 binary in bytes $ bitbak rcw $ bitbake atf -c cleansstate $ bitbake atf Get atf images bl2_flexspi_nor.pbl and fip_uboot.bin in build_ls1028ardb/tmp/deploy/images/ls1028ardb/atf/. Programming EEPROM using I2C on U-Boot on LS1028ARDB => i2c probe Valid chip addresses: 00 50 52 53 57 66 67 77 7C => i2c write 0xa0000000 0x50 0.2 0x11c => i2c read 0x50 0.2 0x114 0xc0000000 => i2c write 0xa0000000 0x50 0x400.2
View full article
iMX8QM イーサネット IEEE_rx_macerr 2 つの iMX8QM ボード間で iperf3 テストをいくつか実行していたのですが、ギガビットで実行しているときに時々再試行が集中することがありました。ethtool -S を使用して統計情報をチェックしたところ、IEEE_rx_macerr エラーがいくつか発生していることがわかりました。これらのエラーは、MAC の rx バッファがオーバーフローしてパケットがドロップされていることを示しているようです。これは予想通りでしょうか?Linux でこのバッファ サイズを増やす方法はありますか (「ethtool -g」を実行すると「操作はサポートされていません」という結果が返されます)? 私はカスタム ボード (iMX8QM MEK に基づくデザイン) 上でカーネル 6.1 に基づく Yocto ビルドを実行しています。 i.MX 8ファミリ | i.MX 8QuadMax (8QM) | 8QuadPlus Linux Yocto Project Re: iMX8QM Ethernet IEEE_rx_macerr ようやく imx8qm MEK 開発ボードのセットを入手できたので、このチケットに戻ってきました。次のテストを実行しました。 - 両方の MEK ボードのイーサネット ポートを接続します。 - 付属の SD カードに収録されているブート デフォルト イメージ (4.14.62-imx_4.14.62_1.0.0_beta+g1907fe4 ) - 「dummyLoad.sh」というスクリプトを作成します #!/bin/bash x=1 while [ true ] do x=$x+1 done - バックグラウンドで dummyLoad.sh のインスタンスを 6 つ実行します。 - 2つのボード間でiperf3を120秒間実行します 3 回の実行のうち 2 回で、iperf3 は再試行のバッチのインスタンスを 1 つまたは 2 つ報告しました。 NXP 側でこれを再現できる人はいますか? Re: iMX8QM Ethernet IEEE_rx_macerr こんにちは、 以下の出力を共有してください: # ifconfig -a # ethtool -l 敬具 Re: iMX8QM Ethernet IEEE_rx_macerr こんにちは@JosephAtNXP 、 そのコマンドを実行しようとすると、次のエラーが発生しました。 netlink エラー: 操作はサポートされていません カーネル 6.1.22 に基づくイメージを実行しています。カーネル/イーサネット ドライバの新しいバージョンでは、ethtool のその他のオプションがサポートされていますか? Re: iMX8QM Ethernet IEEE_rx_macerr こんにちは@gilmoreat 、 キューは必ずしもプロセスの数と等しくありません。次のコマンドを実行してみませんか? ethtool -L rx 1 tx 1 よろしくお願いします。 Re: iMX8QM Ethernet IEEE_rx_macerr また、キューの数はどのように確認するのでしょうか?テスト時にイーサネット インターフェースを使用する 2 つのアプリケーションは、iperf3 と ssh です。これは 2 つのキューを使用することを意味しますか? Re: iMX8QM Ethernet IEEE_rx_macerr 私は新規ブートから iperf3 を実行しており、-t オプションを使用してコマンドをデフォルトの 10 秒より長く実行することを除いて、デフォルト設定を使用しています。残念ながら、過去に MEK ボードの在庫を見つけることができなかったSO、テスト用のボードがありません。また、ボード上で実行するには Yocto にいくつかのパッチが必要SO、新しいバージョンに更新するにはしばらく時間がかかります。 Re: iMX8QM Ethernet IEEE_rx_macerr こんにちは、 NXP Semiconductors製品にご興味をお持ちいただきありがとうございます。 以前にインターフェースに行われた構成として iperf3 テストで設定されたオプションを共有していただけますか、またはボードが新しく起動されたかどうかを確認してください。 2台の8QM MEKでレプリケーションは可能ですか?最新のYoctoリリースでテストを実行できますか? 追加したいのですが、設定されているキューの数はいくつですか?8QM Errata の ERR050395: ENET: 複数のキューを介してトラフィックを受信すると イーサネット RX がハングすることを確認します。 よろしくお願いします。
View full article
imx8mp hdmi 4k 显示 我现在使用imx8mp evk开发板,linux内核版本是linux-imx-5.10.9。使用HDMI接口,发现默认输出为1080p@60,请问怎么修改内核使HDMI输出为4K。 Re: imx8mp hdmi 4k 显示 您好,我这边也遇到了这个问题,方便了解一下你们最后是怎么解决这个问题的吗? Re: imx8mp hdmi 4k 显示 嗯,谢谢。 问题的关键在于我们是医疗设备公司,之前的用户界面是QT 开发的,平台是你们的imx6 imx7,现在高端产品线用你们的8了。之前所有的代码都是基于fb的,如果现在换到drm,代价很大............算了,我再研究下吧,看看能不能修改你们那部分源码,实现根据插拔的显示器数量创建不同个数的fbx Re: imx8mp hdmi 4k 显示 桌面系统不使用fb0,使用drm节点,即使fb0是可以用的,我们也不推荐,主流就是drm框架。 Re: imx8mp hdmi 4k 显示 我是没动你们内核中关于fb0生成的源码,现在是跟你们bsp里面一模一样的,你们的源码里面就是用drm框架最后生成了一个fb0,就这一个,不管插几个屏幕也是就这一个fb Re: imx8mp hdmi 4k 显示 也就是说lvds 和 hdmi都插着的情况下,虽然这两个分辨率不一样,但是内核申请的buffer是按照lvds的分辨率来的,hdmi和lvds显示的时候也都是用的这一个buffer,所以导致了现在hdmi显示异常喽? 那就难搞了.......... Re: imx8mp hdmi 4k 显示 我还以为hdmi会自适应切换分辨率 -->基于DRM API可以实现不同CRTC下的buffer分配,但是直接写fb0的话,就是会出现这种显示不匹配的问题。你在应用层分配的buffer肯定是针对某个屏幕,比如LVDS分辨率大小的buffer,那你写进去了,底层驱动只是直接把这块buffer丢进lcd控制器,驱动层很傻的不会自适应。你丢进去多大分辨率的buffer,他就原封不动显示这么大。 Re: imx8mp hdmi 4k 显示 我们是想实现双屏同显,qt向fb0写图像数据,希望fb0中的图像数据能够在1200*768的lvds和1920*1080的hdmi上同时显示。你认为这是做不到的吗? 现在qt那边用的是eglfs的形式,要想同显必须是eglfs-kms这种直接操作drm生成的cardx节点的才行吗? Re: imx8mp hdmi 4k 显示 我现在lvds屏幕是1200*768的,hdmi支持的分辨率最大是1920*1080的。所以你意思是如果要lvds和hdmi显示正常的话,hdmi的分辨率也要手动设置为1200*768这种或者相近的分辨率才行吗? 我还以为hdmi会自适应切换分辨率,我从hdmi显示器设置里看到现在的屏幕显示分辨率是1920*1080的,同时hdmi上显示的图像也是只有左上角有一块,且大小跟lvds大小相近 Re: imx8mp hdmi 4k 显示 测过了,可以自动识别4K。 lvds 和 hdmi共享同一个drm框架生成的fb0节点 --》这不是只能有一个分辨率吗?在你共享fb0的情况下,LVDS和HDMI屏幕分辨率是一样的吗? Re: imx8mp hdmi 4k 显示 有解决方案吗? 我现在还遇到一个问题,lvds 和 hdmi共享同一个drm框架生成的fb0节点,lvds和hdmi都被连接上后,hdmi显示的图像大小跟lvds是一样大的,没有铺满整个hdmi显示器,这是怎么回事? Re: imx8mp hdmi 4k 显示 我能看到一样的现象,稍后给你解决方法 Re: imx8mp hdmi 4k 显示 我烧写了L5.10.35_2.0.0的demo images,分别在2K和4K的屏幕上试过,还是只能显示1080p。 使用modetest检查HDMI最大为1920x1080@60,并没有4k的分辨率 Re: imx8mp hdmi 4k 显示 HMDI显示分辨率是自适应的,你试一下L5.10.35_2.0.0的demo images
View full article
LS1028ARDB I2C eeprom: RCWとブートローダーのロード方法 こんにちは。このソースからボードを起動するために、I2C eeprom に RCW と BL をロードする方法を知りたいです。 私はこのThreadを見つけました: https://community.nxp.com/t5/QorIQ/LS1028-RCW-generation-to-boot-from-I2C-EEPROM-to-NOR-Flash/mp/1455702 、しかし、私も行き詰まってしまいました。 BL2 のどのバージョン (bl2_emmc、bl2_sd など) をロードする必要があるかを知りたいのですが、Yocto コンパイルでは bl2_i2c が表示されません。 これを生成するには何かを変更する必要がありますか?それとも必要ありませんか? ありがとうございます イムグルザ Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders これは古いThreadだとはわかっていますが、このチケットと同様の問題が発生しています。起動可能な SD カードから u-boot を使用して rcw および bl2 bin を eeprom にプログラムする手順を実行し、EEPROM にデータが存在することを確認しました。スイッチを再構成して EEPROM から起動し、j26 の i2c トラフィックをキャプチャすると、次のようになります。 EEPROMが応答していないようです。 これを主張どおりに動作させる方法を見つけるのをCAN手伝ってもらえますか? Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders こんにちは、 これを試してから時間が経ちましたが、うまくいきません。 コネクタ J26 の I2C 信号をチェックしています。ボードを起動すると、I2C コマンドが 1 つだけ表示されます。このコマンドは、0x50 アドレスへの書き込み要求です。EEPROMからのACKがありません: これは、I2C マルチプレクサが適切に構成されておらず、EEPROM が接続されているバス 0 に接続されていないことを意味します... LS から EEPROM へのパスを有効にするには、CPLD でこのデバイスを構成する必要があると思います。 それを動作させるための回避策はありますか?これは既知の問題ですか? ありがとうございます イムグルザ Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders RCW イメージを i2c eeprom に書き込めるかどうかを確認してください。 => tftp 0xa0000000 nxa22585/ls1028ardb/rcw_1500_gpu600.bin => i2c 書き込み 0xa0000000 0x50 0.2 0x10c =>リセット => i2c 読み取り 0x50 0.2 0x10c 0xc0000000 => md 0xc0000000 c0000000: aa55aa55 80100000 3c004010 00000030 UU....@.<0... c0000010: 00000000 00000000 00000000 018f0000 ................ c0000020: 0030c000 00000000 020031a0 00002580 ..0......1...%.. c0000030: 00000000 00003296 00000000 00000010 .....2.......... c0000040: 00000000 00000000 00000000 00000000 ................ c0000050: 00000000 00000000 00000000 00000000 ................ c0000060: 00000000 00000000 00000000 00000000 ................ c0000070: 200e705a 00000000 bb580000 00000000 Zp. ......X..... c0000080: 00000000 00000000 458ca4b5 334008bc ...........E..@3 c0000090: 00000001 33400154 47474747 33400158 ....T.@3GGGGX.@3 c00000a0: 47474747 334008bc 00000000 335008bc [email protected] c00000b0: 00000001 33500154 47474747 335008bc ....T.P3GGGG..P3 c00000c0: 00000000 33400890 00800401 33500890 [email protected] c00000d0: 00800401 33400098 00000000 33500098 [email protected] c00000e0: 00000000 31e00900 00000004 31e00400 .......1.......1 c00000f0: 1800d000 8000000a 00000400 1800d000 ................ => Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders ping @yipingwang Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders こんにちは@yipingwang bl2.bin の書き込み中にボードがフリーズしてしまい、正しくロードされていないと思われます... 以下キャプチャです: LS1028ARDB の回路図を確認すると、EEPROM への書き込みを許可するにはピン sw_cfg_wp を '0' にする必要があると思います。 私もそれを設定しましたが、書き込みプロセスがフリーズし、その後、ブート オプションを eeprom に変更すると、印刷された文字が表示されません。 何が問題なのか分かりますか? よろしくお願いいたします。 イムグルザ Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders https://community.nxp.com/t5/QorIQ/LS1028-RCW-generation-to-boot-from-I2C-EEPROM-to-NOR-Flash/mp/1455702に添付されている i2c_ls1028a.zipのイメージをお試しください。 => tftp 0xa0000000 rcw_1500_gpu600.bin => i2c 書き込み 0xa0000000 0x50 0.2 10c => tftp 0xa0000000 bl2.bin => i2c 書き込み 0xa0000000 0x50 0x400.29431 FIP イメージを NAND フラッシュの 0x100000 にフラッシュしてください。 Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders ping @yipingwang 、何が起こっているのかアイデアがありますか? よろしくお願いいたします。 イムグルザ Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders こんにちは、 ご対応ありがとうございます。 実行すると次のようになります: => i2c 書き込み 0xa0000000 0x50 0x400.20x13431 プロセッサがハングアップするので、bl2 バイナリが eeprom に適切にフラッシュされているかどうかわかりません... i2c 書き込みコマンドでサイズを 16 進形式で書き込みました。終了したように見えたら、ブートスイッチを変更しましたが、シリアルセッションには何も印刷されませんでした... もう一つ質問があります。FIP を再フラッシュする必要がありますか?私のCASE、uboot/kernel/rtfs を保存する場所として NAND を使用したいと思います。 ありがとうございます イムグルザ Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders 更新された手順は次のとおりです。 $ bitbake rcw -c cleansstate $ bitbake rcw -c パッチ RCWソースコードフォルダbuild_ls1028ardb/tmp/work/ls1028ardb-fsl-linux/rcw/git-r0/git/ls1028ardb/R_SQPP_0x85bb/に移動し、 rcw_1500_gpu600.rcwファイルの末尾に次のコマンドを追加します。 .pbi 0x01e00400,0x1800d000を書き込む ブロックコピー 0xa,0x400,0x1800d000,0x9435 。終わり CCSR書き込みコマンド: DCFG にあるブート ロケーション ポインター下位アドレス (BOOTLOCPTRL) レジスタでブート ロケーション ポインターを 0x1800d000 に設定します。 ブロックコピーコマンド: ブロックコピー 0x0a,0x400,0x00100000,0x9400 ソース: I2C EEPROM = 0xa 送信元アドレス: 0x400 宛先アドレス: OCRAM (0x100000) ブロックサイズ: BL2バイナリのサイズ(バイト単位) $ ビットバック rcw $ bitbake atf -c cleansstate $ ビットベイクATF build_ls1028ardb/tmp/deploy/images/ls1028ardb/atf/ にある atf イメージ bl2_flexspi_nor.pbl と fip_uboot.bin を取得します。 LS1028ARDBのU-BootでI2Cを使用してEEPROMをプログラミングする => i2cプローブ 有効なチップアドレス: 00 50 52 53 57 66 67 77 7C => i2c 書き込み 0xa0000000 0x50 0.2 0x11c => i2c 読み取り 0x50 0.2 0x114 0xc0000000 => i2c 書き込み 0xa0000000 0x50 0x400.2
View full article
LS1028ARDB I2C eeprom:如何加载 RCW 和引导加载程序 你好,我想知道如何在 I2C eeprom 中加载 RCW 和 BL,以便从这个源头启动主板。 我找到了这个主题:https://community.nxp.com/t5/QorIQ/LS1028-RCW-generation-to-boot-from-I2C-EEPROM-to-NOR-Flash/m-p/1455702、但我也被卡住了。 我想知道需要加载哪个版本的 BL2,bl2_emmc、bl2_sd......但在我的 Yocto 编译中,并没有出现 bl2_i2c。 我需要修改什么才能生成这个吗?还是没有必要? 谢谢! 伊穆古鲁扎 Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders 我知道这是个老话题,但我遇到的问题与这张票类似。 我按照步骤使用可启动的 SD 卡中的 u-boot 将 rcw 和 bl2 垃圾箱编程到 eeprom 中,并验证了数据存在于 EEPROM 中。当我将交换机重新配置为从 EEPROM 启动并捕获 j26 上的 i2c 流量时,我看到了: 看来 EEPROM 没有响应。 您能帮我弄明白如何让它像宣称的那样工作吗? Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders 又见面了 我已经很久没有试过这个了,但它不起作用。 我一直在检查连接器 J26 上的 I2C 信号。当我启动板时,我只看到一个 I2C 命令。该命令是对 0x50 地址的写入请求。它没有来自 EEPROM 的 ACK: 这意味着 I2C 多路复用器的配置不正确,它没有连接到连接 EEPROM 的总线 0... 我相信 CPLD 应该配置这个设备以启用从 LS 到 EEPROM 的路径。 有什么变通办法可以让它正常工作吗?这是一个已知的问题吗? 谢谢! 伊穆古鲁扎 Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders 请检查能否将 RCW 映像写入 i2c eeprom。 => tftp 0xa0000000 nxa22585/ls1028ardb/rcw_1500_gpu600.bin => i2c 写 0xa0000000 0x50 0.2 0x10c = > 重置 => i2c read 0x50 0.2 0x10c 0xc0000000 => md 0xc0000000 c0000000: aa55aa55 80100000 3c004010 00000030 U.U......@.<0... c0000010:00000000 00000000 00000000 018f0000 ................ c0000020: 0030c000 00000000 020031a0 00002580 ...0......1...%... c0000030: 00000000 00003296 00000000 00000010 .....2.......... c0000040: 00000000 00000000 00000000 ................ c0000050: 00000000 00000000 00000000 ................ c0000060: 00000000 00000000 00000000 ................ c0000070: 200e705a 00000000 bb580000 00000000 Zp.......X..... c0000080: 00000000 00000000 458ca4b5 334008bc ...........E..@3 c0000090: 00000001 33400154 47474747 33400158 ....T.@3GGGGX.@3 c00000a0: 47474747 334008bc 00000000 335008bc [email protected] c00000b0: 00000001 33500154 47474747 335008bc ....T.P3GGGG..P3 c00000c0: 00000000 33400890 00800401 33500890 [email protected] c00000d0: 00800401 33400098 00000000 33500098 [email protected] c00000e0: 00000000 31e00900 00000004 31e00400 .......1.......1 c00000f0: 1800d000 8000000a 00000400 1800d000 ................ => Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders ping@yipingwang Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders 你好@yipingwang 在编写 bl2.bin 的过程中,板被冻结了,我相信加载不正确... 以下是捕获: 查看 LS1028ARDB 原理图,我认为 sw_cfg_wp 引脚应为 "0",以允许写入 eeprom: 我也设置了,但是写入过程冻结了,之后,一旦我切换到eeprom的启动选项,我就看不到任何打印的字符。 知道可能出了什么问题吗? 此致, 伊穆古鲁扎 Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders 请尝试 https://community.nxp.com/t5/QorIQ/LS1028-RCW-generation-to-boot-from-I2C-EEPROM-to-NOR-Flash/m-p/1455702中所附 i2c_ls1028a.zip 中的图像。 => tftp 0xa0000000 rcw_1500_gpu600.bin => i2c 写 0xa0000000 0x50 0.2 10c => tftp 0xa0000000 bl2.bin => i2c 写 0xa0000000 0x50 0x400.29431 请在与非闪存器上以 0x100000 的速度闪烁 fip 图像。 Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders 平@yipingwang,知道发生了什么吗? 此致, 伊穆古鲁扎 Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders 您好, 感谢你的支持 看起来就像我执行时的样子: => i2c 写 0xa0000000 0x50 0x400.20x13431 处理器挂机了,所以我不确定 eeprom 中是否正确刷新了 bl2 二进制文件... 我已经在i2c写入命令中以十六进制格式写了大小。看起来已经完成了,我已经更换了启动开关,但在串行会话中什么也没打印... 我还有一个问题,是否需要重新刷新 fip?就我而言,我想用与非作为存储 uboot/kernel/rtfs 的地方。 谢谢! 伊穆古鲁扎 Re: LS1028ARDB I2C eeprom: how to load the RCW and the bootloaders 以下是更新后的步骤: $ bitbake rcw -c cleansstate $ bitbake rcw -c patch 进入 RCW 源代码文件夹 build_ls1028ardb/tmp/work/ls1028ardb-fsl-linux/rcw/git-r0/git/ls1028ardb/R_SQPP_0x85bb/,在 rcw_1500_gpu600.rcw 文件 .pbi的末尾添加以下命令 写 0x01e00400,0x1800d000 blockcopy 0xa,0x400,0x1800d000,0x9435 .结束 CCSR 写入命令: 在 DCFG 中存在的 启动位置指针低阶地址 (BOOTLOCPTRL) 寄存器中将启动位置指针 设置为 0x1800d000 。 区块复制命令: blockcopy 0x0a,0x400,0x00100000,0x9400 来源: I2C EEPROM = 0xa 源地址:0x400 目标地址:OCRAM (0x100000) 区块大小:B L2 二进制文件的大小(以字节为单位) $ bitbak rcw $ bitbake atf -c cleansstate $ bitbake atf 获取 build_ls1028ardb/tmp/deploy/images/ls1028ardb/atf/ 中的 atf 映像 bl2_flexspi_nor.pbl 和 fip_uboot.bin。 在 LS1028ARDB 的 U-Boot 启动上使用 I2C 编程 EEPROM = > i2c 探测器 有效芯片地址:00 50 52 53 57 66 67 77 7C = > i2c 写入 0xa0000000 0x50 0.2 0x11c = > i2c 读取 0x50 0.2 0x114 0x114 0x0000000 = > i2 c 写入 0xa0000000 0x50 0x400.2
View full article
imx8mp hdmi 4k display I am using imx8mp evk development board, linux kernel version is linux-imx-5.10.9. using HDMI interface, I found that the default output is 1080p@60, how can I modify the kernel to make the HDMI output 4K. Re: imx8mp hdmi 4k 显示 Hello, I've encountered this problem on my side as well, is it convenient to know how you ended up solving this problem? Re: imx8mp hdmi 4k 显示 Uh, thanks. The crux of the matter is that we are a medical device company, previously the UI was developed in QT, the platform was your imx6 imx7, and now we are using your 8 for our high end product line. All the previous code was based on fb, it would be costly to switch to drm now ............ Never mind, I'll do some more research and see if I can modify that part of your source code to create different numbers of fbx based on the number of monitors plugged in. Re: imx8mp hdmi 4k 显示 Desktop systems don't use fb0 and use drm nodes, even if fb0 is available, we don't recommend it, the mainstream is the drm framework. Re: imx8mp hdmi 4k 显示 I did not move your kernel on the fb0 generation of the source code, now with your bsp inside the exact same, your source code inside the drm framework is to use the last generated a fb0, on this one, regardless of inserting a few screen is also on this one fb Re: imx8mp hdmi 4k 显示 That is to say lvds and hdmi are plugged in the case, although the two resolutions are not the same, but the kernel application buffer is in accordance with the resolution of the lvds, hdmi and lvds display are also used when the buffer, so that led to the hdmi display abnormal now? Then it's hard to figure out .......... Re: imx8mp hdmi 4k 显示 I thought hdmi switched resolutions adaptively. -->Based on the DRM API you can realize the buffer allocation under different CRTC, but if you write fb0 directly, that's how you get this display mismatch problem. The buffer you allocate in the application layer must be for a certain screen, such as LVDS resolution size buffer, then you write in, the underlying driver just throws this buffer directly into the lcd controller, the driver layer is very stupid not adaptive. You throw in how much resolution buffer, he will be displayed so large. Re: imx8mp hdmi 4k 显示 We are trying to realize dual screen simultaneous display, qt writes image data to fb0, and we want the image data in fb0 to be displayed on 1200*768 lvds and 1920*1080 hdmi at the same time. Do you think this can't be done? Right now the qt side is using a form of eglfs, for simultaneous display it has to be something like eglfs-kms that operates directly on the cardx node generated by the drm to work? Re: imx8mp hdmi 4k 显示 My current lvds screen is 1200*768 and hdmi supports resolutions up to 1920*1080. So you mean that for the lvds and hdmi to display properly, the hdmi resolution also has to be manually set to something like 1200*768 or a similar resolution to work? I thought the hdmi would adaptively switch resolutions, I see from the hdmi monitor settings that the screen display resolution is now 1920*1080, and the image displayed on the hdmi is only a piece in the upper left corner, and the size is similar to the size of the lvds! Re: imx8mp hdmi 4k 显示 It's been measured and can automatically recognize 4K. lvds and hdmi share the same fb0 node generated by the drm framework --" Isn't this only one resolution? With your shared fb0, are the LVDS and HDMI screen resolutions the same? Re: imx8mp hdmi 4k 显示 Is there a solution? I also have a problem now, lvds and hdmi share the same fb0 node generated by the same drm framework, after both lvds and hdmi are connected, the size of the image displayed by the hdmi is the same size as the lvds, it doesn't spread over the whole hdmi display, what's going on? Re: imx8mp hdmi 4k 显示 I can see the same thing. I'll give you the solution later. Re: imx8mp hdmi 4k 显示 I burned demo images of L5.10.35_2.0.0 and tried them on 2K and 4K screens, and they still only display 1080p. Use modetest to check HDMI maxes out at 1920x1080@60 and doesn't have 4k resolution Re: imx8mp hdmi 4k 显示 HMDI display resolution is adaptive, you try L5.10.35_2.0.0 demo images
View full article
iMX8QM Ethernet IEEE_rx_macerr I was running some iperf3 tests between two iMX8QM boards and every once in a while, I would see a burst of retries when running at a gigabit. When I checked statistics with ethtool -S, I say that I was getting some IEEE_rx_macerr errrors. It looks like these error indicate that the rx buffer in the MAC is overflowing and dropping packets. Is this expected? Is there a way in linux to increase this buffer size (running "ethtool -g" returnned "operation not supported")? I am running a yocto build base on kernel 6.1 on a custom board (design based on the iMX8QM MEK).  i.MX 8 Family | i.MX 8QuadMax (8QM) | 8QuadPlus Linux Yocto Project Re: iMX8QM Ethernet IEEE_rx_macerr Coming back to this ticket since we were finally able to get a set of the imx8qm MEK development boards. I ran the following test: - Connect the ethernet ports of both MEK boards together. - boot default image that came on provided SD card (4.14.62-imx_4.14.62_1.0.0_beta+g1907fe4 ) - create a script called "dummyLoad.sh" #!/bin/bash x=1 while [ true ] do x=$x+1 done  - Run six instances of dummyLoad.sh in the background. - run iperf3 between the two boards for 120 seconds In two out of three runs, iperf3 reported an instance or two of a batch of retries.  Is anyone able to recreate this on the NXP side? Re: iMX8QM Ethernet IEEE_rx_macerr Hi, Please share the output of: # ifconfig -a # ethtool -l Regards  Re: iMX8QM Ethernet IEEE_rx_macerr Hi @JosephAtNXP, I tried running that command and I get the following error: netlink error: Operation not supported I am running an image based on kernel 6.1.22. Are more options for ethtool supported in later versions of the kernel/ethernet driver? Re: iMX8QM Ethernet IEEE_rx_macerr Hi @gilmoreat, Queues are not always equal to the number of processes, could you try to run the following command? ethtool -L rx 1 tx 1 Regards Re: iMX8QM Ethernet IEEE_rx_macerr Also, how do you check the number of queues? The two applications that would be using the ethernet interface at the time of the test are iperf3 and ssh. Does this mean that we would be using 2 queus? Re: iMX8QM Ethernet IEEE_rx_macerr I am running iperf3 from a fresh boot and using the default settings except for using the -t option to run the command for more than the default 10 seconds. Unfortunately we were not able to find a MEK board in stock in the past so I don't have one to test with. We also require a some patches to the yocto to run on our board so updating to a newer version would take a while.  Re: iMX8QM Ethernet IEEE_rx_macerr Hi, Thank you for your interest in NXP Semiconductor products, Could you share the options set in iperf3 test as the configuration made to the interfaces prior or confirm if the board is fresh booted? Are you able to replicate on two 8QM MEK? Could you run that test in latest Yocto release? I would like to add, how many queues are configured? Check ERR050395: ENET: Ethernet RX hang when receiving traffic through multiple queues in 8QM Errata. Regards
View full article
iMX8QM 以太网 IEEE_rx_macerr 我正在两个 imx8QM 板之间运行一些 iperf3 测试,每隔一段时间,当以千兆位运行时,我会看到一连串的重试。当我使用 ethtool -S 检查统计数据时,我发现出现了一些 IEEE_rx_macerr 错误。这些错误似乎表明 MAC 的 Rx 缓冲区溢出并丢弃数据包。这在意料之中吗?在 linux 中是否有办法增加缓冲区的大小(运行"ethtool -g" 返回"不支持" 操作)? 我正在自定义板上运行基于内核 6.1 的 yocto 版本(基于 imx8QM 换成产品名,如“i.mx8-mek是……” 的设计)。 i.MX 8 系列 | i.MX 8QuadMax (8QM) | 8QuadPlus Linux Yocto Project Re: iMX8QM Ethernet IEEE_rx_macerr 回来看这张票,因为我们终于能买到一套 imx8qm 换成产品名,如“i.mx8-mek是……” 开发板了。我进行了以下测试: -将两个换成产品名,如“i.mx8-mek是……”的以太网端口连接在一起。 -启动所提供的 SD 卡上的默认映像 (4.14.62-imx_4.14.62_1.0.0_beta+g1907fe4 ) - 创建一个名为"dummyLoad.sh 的脚本" #!/bin/bash x=1 while [ true ] do x=$x+1 done - 在后台运行六个 dummyLoad.sh 实例。 - 在两块板之间运行 iperf3 120 秒 在三次运行中的两次中,iperf3 报告了一两次批量重试。 有谁能在恩智浦方面重现这种情况? Re: iMX8QM Ethernet IEEE_rx_macerr 您好, 请分享以下输出: # ifconfig -a # ethtool -l 此致敬礼 Re: iMX8QM Ethernet IEEE_rx_macerr 你好,@JosephAtNXP、 我试着运行该命令,结果出现以下错误: 网络链接错误:不支持操作 我正在运行基于内核 6.1.22 的映像。以后版本的内核/以太网驱动程序是否支持更多的 ethtool 选项? Re: iMX8QM Ethernet IEEE_rx_macerr 你好,我是@gilmoreat、 队列数并不总是等于进程数,您能否尝试运行以下命令? ethtool -L rx 1 tx 1 此致 Re: iMX8QM Ethernet IEEE_rx_macerr 另外,如何检查队列数量?测试时使用以太网接口的两个应用程序是 iperf3 和 ssh。这是否意味着我们将使用 2 个 queus? Re: iMX8QM Ethernet IEEE_rx_macerr 我正在从全新启动运行iperf3并使用默认设置,唯一的不同是使用-t选项运行命令超过默认10秒。不幸的是,我们过去找不到库存的换成产品名,如“i.mx8-mek是……”板,所以我没有可以测试的。我们还需要对yocto进行一些补丁才能在我们的板上运行,因此更新到新版本需要一段时间。 Re: iMX8QM Ethernet IEEE_rx_macerr 您好, 感谢您对恩智浦半导体产品的关注, 你能否分享在 iperf3 测试中设置的选项,就像之前对接口所做的配置一样,或者确认板是否已重新启动? 你能在两个 8QM 换成产品名,如“i.mx8-mek是……”上进行复制吗?你能在最新的 Yocto 版本中运行这个测试吗? 我还想问,配置了多少队列?检查 ERR050395:ENET:通过 8QM 中的多个队列接收流量时以太网 RX 挂起 勘误。 此致
View full article
unable to load secure boot I have configured my LPC55S69-EVK board as follows:   In addition I have configured: TrustZone disabled image Authentication key: ROT1: IMG1_1 SBKEK: Boot: Signed from: Onchip flash LC: Development TP: No TrustProvisioning ROT1/2/3/4, IMG1_1/2_1/3_1/4_1, debug auth key and debug auth cert With these settings I have SEC (version 10.0) generate the following files (build image): image.sb cfpa.bin cmpa.bin I then enter ISP mode and use blhost (version 2.6.7) to flash the files: ps> .\blhost.exe -u 0x1FC9,0x0021 write-memory 0x9de00 cfpa.bin Inject command 'write-memory' Preparing to send 512 (0x200) bytes to the target. Successful generic response to command 'write-memory' (1/1)100% Completed! Successful generic response to command 'write-memory' Response status = 0 (0x0) Success. Wrote 512 of 512 bytes.   ps> .\blhost.exe -u 0x1FC9,0x0021 write-memory 0x9e400 cmpa_sealed.bin Inject command 'write-memory' Preparing to send 512 (0x200) bytes to the target. Successful generic response to command 'write-memory' (1/1)100% Completed! Successful generic response to command 'write-memory' Response status = 0 (0x0) Success. Wrote 512 of 512 bytes.   ps> .\blhost.exe -u 0x1FC9,0x0021 -- receive-sb-file .\image.sb Inject command 'receive-sb-file' Preparing to send 12992 (0x32c0) bytes to the target. Successful generic response to command 'receive-sb-file' (1/1)16%usb hid detected receiver data abort Data phase write aborted by status 0x2712 kStatus_AbortDataPhase Possible JUMP or RESET command received. Response status = 10101 (0x2775) kStatusRomLdrSignature Wrote 2128 of 12992 bytes.   I'm concerned about the errors that occur when I flash the .sb file and now my board is going straight to SPI mode and not running the image (which was working in "plain image" mode). Any ideas what I'm configuring wrong? Re: unable to load secure boot Hi guys, for debug authentication problems, I'd recommend to read the following paragraph in the user guide:  Troubleshooting — MCUXpresso Secure Provisioning Tool 25.06 Re: unable to load secure boot Hi, Mike I also encountered a same problem. Debug Authentication ends without AHB access. SPSDKAppError: Debug Mailbox authentication failed: SPSDK: Problem with debug mailbox occurred: Access to AHB is not granted. I wonder if you have resolved this successfully.  May I pick your brain if so. Jabez Re: unable to load secure boot Hello Mike, I can see you are invoking the blhost commands manually. Did you try the SEC workflow? Y/N? If not, did you enrolled the key plus the sbkek.bin ? Without the SBKEK you cannot receive encrypted SB file. see the generated write_win.bat what it does. Also I'm curious why you went using manual steps. Regards, Libor Re: unable to load secure boot I am also unable to successfully complete debug authentication: ########################################################################################################## Open a debug port - operation started at 2025-02-06 16:56:21 ########################################################################################################## Executing script C:\SecureProvisioningBuild2\debug_auth\open_debug_port.bat ERROR: Script failed with return code: [2]ERROR ### SCRIPT: Open debug port: C:\SecureProvisioningBuild2\debug_auth\open_debug_port.bat call "C:\nxp\MCUX_Provi_v10\bin\_internal\tools\spsdk\nxpdebugmbox.exe" -p 1.0 -i pyocd -s OSAYAQGQ auth -b 0 -c "C:\SecureProvisioningBuild2\debug_auth\debug_auth_cert.dc" -k "C:\SecureProvisioningBuild2\keys\debug_authentication_key_RSA_2048.pem" WARNING:__main__:The -p/--protocol option is deprecated and will be removed in version 2.4. (1701ms since start, nxpdebugmbox.py:259) WARNING:__main__:The Family is not specified. This is a new option that will be mandatory since SPSDK 2.4. Please update your scripts. (1701ms since start, nxpdebugmbox.py:279) DeprecationWarning: The command 'auth' is deprecated. # Interface Id Description ---------------------------------------------------------------------------- 0 PyOCD OSAYAQGQ NXP Semiconductors LPC-LINK2 CMSIS-DAP V5.224 WARNING:spsdk.dat.debug_mailbox:The debug mailbox access port index is not specified, trying autodetection. (2396ms since start, debug_mailbox.py:194) Debug Authentication ends without AHB access. SPSDKAppError: Debug Mailbox authentication failed: SPSDK: Problem with debug mailbox occurred: Access to AHB is not granted. nxpdebugmbox failed ### RESULT of the script `Open debug port`: Failure (return code = [2]ERROR) Status of the operation: Failure: Open debug port
View full article
如何在 S32DS3.5/3.4 中集成 RTM 4.0.3? 我找不到可以与 S32DS 3.4 集成的 RTM4.0.3 压缩文件。 RTM4.0.3->.exe文件可在恩智浦网站上找到,但无法集成。 请帮帮我。 谢谢您! Re: How to integrate RTM 4.0.3 in S32DS3.5/3.4? 嗨,VaneB、 我猜他们的意思是 " 扩展和更新 " 中没有列出该代码包。我也遇到了这个问题。是否应该添加另一个侧面更新网站地址,然后将其显示在列表中?是哪个地址? 此致, 惠布 Re: How to integrate RTM 4.0.3 in S32DS3.5/3.4? 我的清单 : 找不到 "RTM4.0.3 你可以给我下载或正式版本的链接 或者告诉我如何降低 .mex 文件的等级,以适应以前的 RTM 产品信息 S32 Design Studio IDE 选择版本。 电流 上一页 版本 切换 扩展说明 可用日期 2.2.2   适用于 ARM 的 S32 设计工作室 v2.2 更新 2 适用于 Arm® 的 S32 Design Studio 是一款免费的集成开发环境 (IDE),适用于汽车和基于 ARM 的超可靠微控制器 2023年12月15日 下载日志 3.5.3   用于 S32 平台的 S32 Design Studio v.3.5 Update 3 2023 年 11 月 3 日 下载日志 3.5.2   S32 Design Studio for S32 Platform v.3.5 Update 2 2023 年 11 月 3 日 下载日志 3.5   用于 S32 平台的 S32 Design Studio v.3.5 2022 年 7 月 29 日 下载日志 3.4   用于 S32 平台的 S32 Design Studio v.3.4 2020 年 12 月 21 日 下载日志 2.2   适用于 ARM 的 S32 设计工作室 v2.2 适用于 Arm® 的 S32 Design Studio 是一款免费的集成开发环境 (IDE),适用于汽车和基于 ARM 的超可靠微控制器 2020 年 1 月 29 日 下载日志 Re: How to integrate RTM 4.0.3 in S32DS3.5/3.4? 你好@Mehnoor 请在 S32DS 3.4 中使用 扩展和更新安装最新的S32 SDK for S32K1xx RTM 4.0.3。 B.R. VaneB
View full article
How to integrate RTM 4.0.3 in S32DS3.5/3.4? I can't Find RTM4.0.3 zipped file to integrate with S32DS 3.4. RTM4.0.3-> .exe file is available in nxp site, but not able to integrate. Kindly help me. Thanks! Re: How to integrate RTM 4.0.3 in S32DS3.5/3.4? Hi VaneB, I guess they mean that package is not listed in "Extentions and Updates". I am facing this issue too. Should another side update site address be added and then it is shown in the list? Which address would that be? regards, Huib Re: How to integrate RTM 4.0.3 in S32DS3.5/3.4? My List : Can *NOT* find  `RTM 4.0.3`  You you might just give me the link to Download , or formal release  Or show me the way to down grade the  .mex file to suit previous RTM  Product Information S32 Design Studio IDE Select a version. Current Previous Version Toggle Extended Description Description Date Available   2.2.2   S32 Design Studio for ARM v2.2 Update 2 The S32 Design Studio for Arm® is a complimentary Integrated Development Environment (IDE) for automotive and ultra-reliable Arm-based microcontrollers Dec 15, 2023 Download Log 3.5.3   S32 Design Studio for S32 Platform v.3.5 Update 3 Nov 3, 2023 Download Log 3.5.2   S32 Design Studio for S32 Platform v.3.5 Update 2 Nov 3, 2023 Download Log 3.5   S32 Design Studio for S32 Platform v.3.5 Jul 29, 2022 Download Log 3.4   S32 Design Studio for S32 Platform v.3.4  Dec 21, 2020 Download Log 2.2   S32 Design Studio for ARM v2.2 The S32 Design Studio for Arm® is a complimentary Integrated Development Environment (IDE) for automotive and ultra-reliable Arm-based microcontrollers Jan 29, 2020 Download Log Re: How to integrate RTM 4.0.3 in S32DS3.5/3.4? Hi @Mehnoor  Please use Extensions and Updates install the latest S32 SDK for S32K1xx RTM 4.0.3 in S32DS 3.4. B.R. VaneB
View full article
无法加载安全启动 我已经按如下方式配置了我的 LPC55S69-EVK 板:   此外,我还配置了 TrustZone禁用的镜像 验证密钥:ROT1: IMG1_1 SBKEK: 启动:已签名 来自: 片上闪存 LC:发展 TP:无信任配置 ROT1/2/3/4、IMG1_1/2_1/3_1/4_1、调试认证密钥和调试认证证书 使用这些设置,我让高效密码学标准(SEC)(版本 10.0)生成以下文件(构建映像): image.sb cfpa.bin cmpa.bin 然后,我进入 ISP 模式,使用 blhost(2.6.7 版)闪存文件: ps>.\blhost.exe -u 0x1FC9,0x0021 write-memory 0x9de00 cfpa.bin 注入命令 "write-memory 准备向目标发送 512 (0x200) 字节。 对命令 "write-memory "的成功通用响应 (1/1)100% 已完成! 对命令 "write-memory "的成功通用响应 响应状态 = 0 (0x0) 成功。 写入了 512 字节中的 512 个。   ps>.\blhost.exe -u 0x1FC9,0x0021 write-memory 0x9e400 cmpa_sealed.bin 注入命令 "write-memory 准备向目标发送 512 (0x200) 字节。 对命令 "write-memory "的成功通用响应 (1/1)100% 已完成! 对命令 "write-memory "的成功通用响应 响应状态 = 0 (0x0) 成功。 写入了 512 字节中的 512 个。   ps>.\blhost.exe -u 0x1FC9,0x0021 -- receive-sb-file .\image.sb 注入命令 "receive-sb-file 准备向目标发送 12992 (0x32c0) 字节。 对命令 "receive-sb-file "的成功通用响应 (1/1)16%USB HID 检测到接收器数据中止 数据阶段写入因状态而中止 0x2712 kStatus_AbortDataPhase 可能收到了 JUMP 或 RESET 命令。 响应状态 = 10101 (0x2775) kStatusRomLdrSignature 写入了 12992 字节中的 2128 个。   我担心闪存 .sb 时会出现错误。文件现在我的板直接进入了 SPI 模式而不是运行图像(在 " 纯图像 " 模式下运行)。 我的配置有什么问题吗? Re: unable to load secure boot 你们好 对于调试身份验证问题,我建议阅读用户指南中的以下段落:故障排除 — MCUXpresso 安全配置工具 25.06 Re: unable to load secure boot 嗨,迈克 我也遇到了同样的问题。 Debug Authentication ends without AHB access. SPSDKAppError: Debug Mailbox authentication failed: SPSDK: Problem with debug mailbox occurred: Access to AHB is not granted. 不知道您是否已经成功解决了这个问题。 如果可以的话,我可以向您请教一下吗? 雅比斯 Re: unable to load secure boot 你好,迈克、 我可以看到你是手动调用 blhost 命令的。你试过高效密码学标准(SEC)的工作流程了吗?是/否? 如果没有,您是否注册了密钥和 sbkek.bin?没有 SBKEK,就无法接收加密的 SB 文件。 看看生成的 write_win.bat 会做什么。 另外,我很好奇你为什么要使用手动步骤。 此致, Libor Re: unable to load secure boot 我也无法成功完成调试验证: ########################################################################################################## Open a debug port - operation started at 2025-02-06 16:56:21 ########################################################################################################## Executing script C:\SecureProvisioningBuild2\debug_auth\open_debug_port.bat ERROR: Script failed with return code: [2]ERROR ### SCRIPT: Open debug port:C:\SecureProvisioningBuild2\debug_auth\open_debug_port.bat call"C:\nxp\MCUX_Provi_v10\bin\_internal\tools\spsdk\nxpdebugmbox.exe"-p 1.0 -i pyocd -s OSAYAQGQ auth -b 0 -c"C:\SecureProvisioningBuild2\debug_auth\debug_auth_cert.dc"-k"C:\SecureProvisioningBuild2\keys\debug_authentication_key_RSA_2048.pem" 警告:__main__:-p/--protocol 选项已被弃用,将在 2.4 版中删除。(自启动起 1701ms,nxpdebugmbox.py:259) 警告:__main__: 未指定系列。这是一个新选项,自 SPSDK 2.4 起必须使用。请更新您的脚本。(自启动起 1701ms,nxpdebugmbox.py:279) 弃用警告:命令 "auth "已被弃用。 # 接口 ID 描述 — 0 PyOCD OSAYAQG Q 恩智浦半导体 LPC-LINK2 CMSIS-DAP V5.224 警告:spsdk.dat.DEBUG_mailbox: THE 未指定 debug 邮箱访问端口索引,尝试自动检测。(自启动起2396ms,debug_mailbox.py:194) 调试验证结束,无 AHB 访问权限。 SPSDKAppError:调试邮箱验证失败: SPSDK:调试邮箱出现问题:未授予访问 AHB 的权限。 nxpdebugmbox failed ### 脚本 `Open debug port` 的结果:失败(返回代码 = [2]ERROR) 操作状态:失败:打开调试端口
View full article
LPC1769 は EOL ですか? こんにちは、 現時点では LPC1769 の入手性は非常に悪いです。Mouser と Digikey は、私がSO購入した部品 (LPC1769FBD100,551) の製造を中止しており、Farnell もこのデバイスはもう製造されていないと述べています。 Mouser は代替品はあるが、その納期は 52 週間かかると述べています。 何が正しいですか? また、NXP におけるこのデバイスの現在の生産状況はどうなっていますか? ありがとうございます。 Re: LPC1769 EOL? ご指摘のとおり、LPC1769 は 2024 年末まで長期供給プログラムの対象となります。 こんにちは@Omar_Anguiano 、 それから 4 年が経ち、現在は 2025 年ですが、製品寿命ページによると、LPC1769 は寿命プログラムから外れています。 製品ページには、部品はまだ「アクティブ」であると記載されています。NXP は LPC1769FBD100 をどのくらいの期間販売し続ける予定ですか? ありがとう。 ダニエル Re: LPC1769 EOL? 販売業者もこれらの部品を入手CANません。 状況は非常に悪いです。 Re: LPC1769 EOL? @Omar_Anguiano さん、ご返信ありがとうございます。 あなたはこう書きます: ただし、このフォーラムではこれについてこれ以上詳しく説明しないことをご了承ください。 最後の質問にお答えできず申し訳ございません。 このフォーラム以外では、どこで質問の回答を得ることができますか? 私は NXP のお客様として(数量は比較的少ないですが)、これらは答える価値のある正当な質問だと思います。特に、NXP の他の最近のコントローラ (つまり、LPC552*) も可用性が低くなっています。今後は、技術的な機能だけでなく、入手可能性も考慮してコントローラを選択することを学びました。さらに、パッケージを選択すると、可用性に大きな違いが生じる可能性があります (つまり、可用性を向上させるために HLQFP から VFBGA に移行するなど)。正しい決定を下すには、NXP の専門知識を持つ人と話し合う必要があると思います。 乾杯、 ダン . Re: LPC1769 EOL? 半導体の供給に関するインダストリアル全体の状況を考慮すると、入手可能性に関するご質問は理解できます。これについては多くの専門出版物に分析記事が掲載されており、過去 1 年間に私たちの業界で起こった最初のきっかけと動向についての背景を詳しく説明しています。 ただし、このフォーラムではこれについてこれ以上詳しく説明しないことをご了承ください。 最後の質問にお答えできず申し訳ございません。 よろしくお願いします、 オマール Re: LPC1769 EOL? 親愛なる@Omar_Anguiano様、 1 月末に LPC1769 デバイスを注文しておいてSO良かったです。今から約1か月後、このデバイスはもう入手できなくなりました。その時注文していなかったらどうなっていたか想像もつきません。それはまったくの幸運でした。 このデバイスは、確認されたとおり EOL ではありませんが、それでも 52 週間というリードタイムは予想外です。 NXP デバイスが 1 年間在庫切れになるのはよくあることでしょうか? NXP が約 1 年以内にこのデバイスを再び提供してくれると期待していいのでしょうか? ありがとう。 ダン Re: LPC1769 EOL? Hello ご指摘のとおり、LPC1769 は 2024 年末まで長期供給プログラムの対象となります。 LPC1769FBD100,551とLPC1769FBD100Kの違いは梱包です。 これでご質問への回答が得られたかどうかお知らせください。さらに質問がある場合は、遠慮なくお問い合わせください。 よろしくお願いします、 オマール Re: LPC1769 EOL? @Omar_Anguiano Omar、ありがとうございます。計算が正しく、LPC1769 の長寿命プログラムが 2024 年末まで実行されることをCAN確認できますか? LPC1769FBD100,551とLPC1769FBD100Kの違いは何ですか?製品データシートには「K」部品番号に関する記載がありません。 Re: LPC1769 EOL? Hello LPC1769 は EOL ではありません。この部品は長期供給プログラムの対象です。SO プログラムが終了するまで EOL にはなりません。 さらに質問がある場合は、遠慮なくお問い合わせください。 よろしくお願いします、 オマール Re: LPC1769 EOL? 詳細を確認するには、NXP または公式販売代理店に直接問い合わせることをお勧めします。 通常、シリコンベンダーは、差し迫った EOL イベント情報や最後の購入オプションの可能性について顧客にメッセージを送ります。私は(つまりNXPについて) は、90 年代半ばのMCUの真っ最中です。種類ごとの数量は4桁程度、SOそれほど多くはありません。 Re: LPC1769 EOL? 私も 2024 年まで EOL になるとは思っていませんでしたが、デバイスが 1 年間入手できないということは EOL に近いのではないかと思います。少なくとも、この供給不足は非常に予想外のことで、既存のデザインでこのプロセッサを早めに交換する動機になっています。 Re: LPC1769 EOL? これによると https://www.nxp.com/products/product-information/product-longevity:PRDCT_LONGEVITY_HM lpc1769fbd100 は、2009 年 12 月の発売以来 15 年間の寿命を誇ります。
View full article
RTM 4.0.3 を S32DS3.5/3.4 に統合するにはどうすればいいですか? S32DS 3.4 と統合するための RTM4.0.3 の zip ファイルが見つかりません。 RTM4.0.3-> .exeファイルはnxpサイトで入手可能ですが、統合できません。 どうか助けてください。 よろしくお願いします! Re: How to integrate RTM 4.0.3 in S32DS3.5/3.4? こんにちは、VaneBさん パッケージが「拡張機能と更新」にリストされていないことを意味していると思います。私もこの問題に直面しています。別のサイド更新サイト アドレスを追加して、リストに表示する必要がありますか?それはどの住所でしょうか? よろしくお願いいたします フイブ Re: How to integrate RTM 4.0.3 in S32DS3.5/3.4? マイリスト: ` RTM 4.0.3 ` がCAN見つかりません ダウンロードリンクか正式なリリースを教えていただけると助かります または、以前のRTMに合わせて.mexファイルをダウングレードする方法を教えてください 製品情報 S32 Design Studio IDE バージョンを選択してください。 電流 前へ バージョン切り替え 拡張説明 説明 利用可能日 2.2.2   S32 Design Studio for ARM v2.2 アップデート 2 Arm®用のS32 Design Studioは、オートモーティブおよび超信頼性Armベースのマイクロコントローラ向けの補完的な統合開発環境(IDEs)です。 2023年12月15日 ダウンロードログ 3.5.3   S32 プラットフォーム用 S32 デザインスタジオ v.3.5 アップデート 3 2023年11月3日 ダウンロードログ 3.5.2   S32 プラットフォーム用 S32 デザインスタジオ v.3.5 アップデート 2 2023年11月3日 ダウンロードログ 3.5   S32 プラットフォーム用 S32 デザインスタジオ v.3.5 2022年7月29日 ダウンロードログ 3.4   S32 プラットフォーム用 S32 デザインスタジオ v.3.4 2020年12月21日 ダウンロードログ 2.2   Arm 用 S32 Design Studio v2.2 Arm®用のS32 Design Studioは、オートモーティブおよび超信頼性Armベースのマイクロコントローラ向けの補完的な統合開発環境(IDEs)です。 2020年1月29日 ダウンロードログ Re: How to integrate RTM 4.0.3 in S32DS3.5/3.4? こんにちは@Mehnoor 拡張機能とアップデートを使用して、S32DS 3.4 にS32K1xx RTM 4.0.3 用の最新の S32 SDKsをインストールしてください。 BR ヴェインB
View full article
セキュアブートをロードできません LPC55S69-EVK ボードを次のように構成しました。   さらに、以下を設定しました: TrustZoneが無効になっている画像 認証キー: ROT1: IMG1_1 SBKEK: ブート: 署名済み 出典: オンチップフラッシュ LC: 開発 TP: TrustProvisioning なし ROT1/2/3/4、IMG1_1/2_1/3_1/4_1、デバッグ認証キーとデバッグ認証証明書 これらの設定により、SEC (バージョン 10.0) は次のファイル (ビルド イメージ) を生成します。 画像.sb cfpa.bin cmpa.bin 次に ISP モードに入り、blhost (バージョン 2.6.7) を使用してファイルをフラッシュします。 ps> .\blhost.exe -u 0x1FC9,0x0021 メモリ書き込み 0x9de00 cfpa.bin コマンド「write-memory」を挿入する 512 (0x200) バイトをターゲットに送信する準備をしています。 コマンド「write-memory」に対する一般的な応答が成功しました (1/1)100%完了! コマンド「write-memory」に対する一般的な応答が成功しました 応答ステータス = 0 (0x0) 成功。 512 バイト中 512 バイトを書き込みました。   ps> .\blhost.exe -u 0x1FC9,0x0021 メモリ書き込み 0x9e400 cmpa_sealed.bin コマンド「write-memory」を挿入する 512 (0x200) バイトをターゲットに送信する準備をしています。 コマンド「write-memory」に対する一般的な応答が成功しました (1/1)100%完了! コマンド「write-memory」に対する一般的な応答が成功しました 応答ステータス = 0 (0x0) 成功。 512 バイト中 512 バイトを書き込みました。   ps> .\blhost.exe -u 0x1FC9,0x0021 -- 受信sbファイル .\image.sb コマンド「receive-sb-file」を挿入する 12992 (0x32c0) バイトをターゲットに送信する準備をしています。 コマンド 'receive-sb-file' への一般的な応答が成功しました (1/1)16%USB HIDがレシーバデータの中断を検出しました データフェーズの書き込みはステータス 0x2712 kStatus_AbortDataPhase によって中止されました JUMP または RESET コマンドを受信した可能性があります。 応答ステータス = 10101 (0x2775) kStatusRomLdrSignature 12992 バイトのうち 2128 バイトを書き込みました。   .sbをフラッシュするときに発生するエラーが心配ですファイルを実行すると、ボードは直接 SPI モードになり、イメージは実行されなくなります (以前は「プレーン イメージ」モードで動作していました)。 何を間違って設定しているのか、何かアイデアはありますか? Re: unable to load secure boot こんにちは、みんな、 認証問題のデバッグについては、ユーザーガイドの次の段落を読むことをお勧めします:トラブルシューティング - MCUXpresso Secure Provisioning Tool 25.06 Re: unable to load secure boot こんにちは、マイク 私も同じ問題に遭遇しました。 Debug Authentication ends without AHB access. SPSDKAppError: Debug Mailbox authentication failed: SPSDK: Problem with debug mailbox occurred: Access to AHB is not granted. これをうまく解決できたでしょうか。 もしSOなら、あなたの意見を聞かせていただけますか。 ヤベツ Re: unable to load secure boot こんにちは、マイクさん。 blhost コマンドを手動で呼び出していることがわかります。SEC ワークフローを試しましたか?はい/いいえ? そうでない場合、キーと sbkek.bin を登録しましたか?SBKEKがないと暗号化されたSBファイルを受信できません。 生成された write_win.bat で何が行われるかを確認します。 また、なぜ手動の手順を使用したのか興味があります。 よろしくお願いいたします。 リボル Re: unable to load secure boot デバッグ認証も正常に完了できません。 ## Open a debug port - operation started at 2025-02-06 16:56:21 ## ## Executing script C:\SecureProvisioningBuild2\debug_auth\open_debug_port.bat ERROR: Script failed with return code: [2]ERROR ## C:\SecureProvisioningBuild2\debug_auth\open_debug_port.bat 「C:\nxp\MCUX_Provi_v10\bin\_internal\tools\spsdk\nxpdebugmbox.exe」を呼び出します。-p 1.0 -i pyocd -s OSAYAQGQ 認証 -b 0 -c "C:\SecureProvisioningBuild2\debug_auth\debug_auth_cert.dc"-k "C:\SecureProvisioningBuild2\keys\debug_authentication_key_RSA_2048.pem" 警告: __main__ :-p/--protocol オプションは非推奨であり、バージョン 2.4 で削除されます。(開始から 1701 ミリ秒、nxpdebugmbox.py:259) 警告: __main__ : ファミリが指定されていません。これは、SPSDK 2.4 以降で必須となる新しいオプションです。スクリプトを更新してください。(開始から 1701 ミリ秒、nxpdebugmbox.py:279) 非推奨警告: コマンド 'auth' は非推奨です。 # インターフェースID 説明 ---------------------------------------------------------------------------- 0 PyOCD OSAYAQGQ NXP Semiconductors LPC-LINK2 CMSIS-DAP V5.224 警告:spsdk.dat.debug_mailbox:デバッグ メールボックス アクセス ポート インデックスが指定されていないため、自動検出を試行します。(開始から 2396 ミリ秒、debug_mailbox.py:194) デバッグ認証は AHB アクセスなしで終了します。 SPSDKAppError: デバッグ メールボックスの認証に失敗しました: SPSDK: デバッグ メールボックスで問題が発生しました: AHB へのアクセスが許可されていません。 nxpdebugmbox が失敗しました ### スクリプト「デバッグポートを開く」の結果: 失敗 (戻りコード = [2]ERROR) 操作のステータス: 失敗: デバッグポートを開く
View full article