Multi Source Translation Content

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

Multi Source Translation Content

讨论

排序依据:
"8MPLUSLPD4-EVK" build issue with Ubuntu 26.04 LTS Hello NXP, i am using "8MPLUSLPD4-EVK"  . I am trying build the BSP but i am facing some build issue. Please help on this issue. Please let me know if you need more information. error logs: dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/project/imx-yocto-bsp/build$ bitbake core-image-minimal ERROR: Attempting to set server environment: Unable to update the server configuration with local parameters: Traceback (most recent call last): File "/home/dasmiddepogu/NXP/project/imx-yocto-bsp/sources/poky/bitbake/lib/bb/command.py", line 91, in runCommand result = command_method(self, commandline) File "/home/dasmiddepogu/NXP/project/imx-yocto-bsp/sources/poky/bitbake/lib/bb/command.py", line 291, in updateConfig command.cooker.updateConfigOpts(options, environment, cmdline) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dasmiddepogu/NXP/project/imx-yocto-bsp/sources/poky/bitbake/lib/bb/cooker.py", line 471, in updateConfigOpts self.reset() ~~~~~~~~~~^^ File "/home/dasmiddepogu/NXP/project/imx-yocto-bsp/sources/poky/bitbake/lib/bb/cooker.py", line 1741, in reset self.handlePRServ() ~~~~~~~~~~~~~~~~~^^ File "/home/dasmiddepogu/NXP/project/imx-yocto-bsp/sources/poky/bitbake/lib/bb/cooker.py", line 337, in handlePRServ self.hashserv.serve_as_process(log_level=logging.WARNING) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dasmiddepogu/NXP/project/imx-yocto-bsp/sources/poky/bitbake/lib/bb/asyncrpc/serv.py", line 402, in serve_as_process self.process.start() ~~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3.14/multiprocessing/process.py", line 121, in start self._popen = self._Popen(self) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/multiprocessing/context.py", line 230, in _Popen return _default_context.get_context().Process._Popen(process_obj) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ File "/usr/lib/python3.14/multiprocessing/context.py", line 306, in _Popen return Popen(process_obj) File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 35, in __init__ super().__init__(process_obj) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ File "/usr/lib/python3.14/multiprocessing/popen_fork.py", line 20, in __init__ self._launch(process_obj) ~~~~~~~~~~~~^^^^^^^^^^^^^ File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 47, in _launch reduction.dump(process_obj, buf) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/multiprocessing/reduction.py", line 60, in dump ForkingPickler(file, protocol).dump(obj) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^ _pickle.PicklingError: Can't pickle local object .run at 0x7802f7325380> when serializing dict item '_target' when serializing multiprocessing.context.Process state when serializing multiprocessing.context.Process object repo details: $ mkdir imx-yocto-bsp $ cd imx-yocto-bsp $ repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-scarthgap -m imx-6.6.36-2.1.0.xml $ repo sync $ DISTRO=fsl-imx-xwayland MACHINE=imx8mp-lpddr4-evk source imx-setup-release.sh -b build Linux host PC details: PRETTY_NAME="Ubuntu 26.04 LTS" NAME="Ubuntu" VERSION_ID="26.04" VERSION="26.04 (Resolute Raccoon)" VERSION_CODENAME=resolute ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=resolute LOGO=ubuntu-logo Host PC configuration: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 42 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 16 On-line CPU(s) list: 0-15 Vendor ID: GenuineIntel Model name: Intel(R) Core(TM) Ultra 7 255H CPU family: 6 Model: 197 Thread(s) per core: 1 Core(s) per socket: 16 Socket(s): 1 Stepping: 2 CPU(s) scaling MHz: 17% CPU max MHz: 5100.0000 CPU min MHz: 400.0000 DDR size : 32GB i.MX8ULP Re: "8MPLUSLPD4-EVK" build issue with Ubuntu 26.04 LTS Hello @middepogudas  Hope you are doing very well. The imx-linux-scarthgap BSP was validated on supported in Ubuntu 22.04 and Ubuntu 24.04. Ubuntu 26.04 uses Python 3.14 by default and seems the Bitbake version in that BSP is not fully compatible with Python 3.14. I recommend to you to compile using Ubuntu 24.04 LTS or Ubuntu 22.04 LTS until Ubuntu 26.04 LTS is fully supported. Also, you can try using a virtual environment with python 3.12. Best regards, Salas. Re: "8MPLUSLPD4-EVK" build issue with Ubuntu 26.04 LTS Hello NXP, i flashed Ubuntu to 24.04 still i am facing build issue.. Please find build error logs. Please help on this build issue. OS info:  asmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/DOC$ cat /etc/os-release PRETTY_NAME="Ubuntu 24.04.4 LTS" NAME="Ubuntu" VERSION_ID="24.04" VERSION="24.04.4 LTS (Noble Numbat)" VERSION_CODENAME=noble ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=noble LOGO=ubuntu-logo dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/DOC$ build error logs: You can now run 'bitbake ' Common targets are: core-image-minimal meta-toolchain meta-toolchain-sdk adt-installer meta-ide-support Your build environment has been configured with: MACHINE=imx8mp-lpddr4-evk SDKMACHINE=i686 DISTRO=fsl-imx-xwayland EULA= BSPDIR= BUILD_DIR=. dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/DOC$ DISTRO=fsl-imx-xwayland MACHINE=imx8mp-lpddr4-evk source imx-setup-release.sh -b build dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/imx-yocto-bsp/build$ bitbake core-image-minimal NOTE: Your conf/bblayers.conf has been automatically updated. WARNING: Host distribution "ubuntu-24.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution. Loading cache: 100% | | ETA: --:--:-- Loaded 0 entries from dependency cache. Parsing recipes: 100% |##################################################################################################################################################################################################################| Time: 0:00:55 Parsing of 3643 .bb files complete (0 cached, 3643 parsed). 5719 targets, 375 skipped, 17 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "2.8.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "ubuntu-24.04" TARGET_SYS = "aarch64-poky-linux" MACHINE = "imx8mp-lpddr4-evk" DISTRO = "fsl-imx-xwayland" DISTRO_VERSION = "6.6-scarthgap" TUNE_FEATURES = "aarch64 armv8a crc crypto" TARGET_FPU = "" meta meta-poky = "HEAD:f43f393ef0246b7bee6eed8bcf8271cf2b8cdf40" meta-oe meta-multimedia meta-python = "HEAD:80e01188fa822d87d301ee71973c462d7a865493" meta-freescale = "HEAD:0f8091c63dd8805610c09b08409bc58492a3b16f" meta-freescale-3rdparty = "HEAD:6c063450d464eb2f380443c7d9af1b94ce9b9d75" meta-freescale-distro = "HEAD:b9d6a5d9931922558046d230c1f5f4ef6ee72345" meta-imx-bsp meta-imx-sdk meta-imx-ml meta-imx-v2x = "HEAD:92ad51ef3cc7f132238f1ae6c8e81432f2a69cc7" meta-nxp-demo-experience = "HEAD:8fd7154c05b716e9635279047f65785399432d88" meta-nxp-matter-baseline meta-nxp-openthread = "HEAD:783becb4b5716d989f50db95b7133d38eae5b47b" meta-arm meta-arm-toolchain = "HEAD:1b85bbb4cab9658da3cd926c62038b8559c5c64e" meta-clang = "HEAD:fe561f41aef0cff9e6f96730ab59f28dca2eb682" meta-gnome meta-networking meta-filesystems = "HEAD:80e01188fa822d87d301ee71973c462d7a865493" meta-qt6 = "HEAD:dc13e1bfda4a4757a08c2d6673bc4bac012c4a80" meta-parsec meta-tpm = "HEAD:11ea91192d43d7c2b0b95a93aa63ca7e73e38034" meta-virtualization = "HEAD:6a80f140e387621f62964209a2e07d3bcfb125ce" NOTE: Fetching uninative binary shim http://downloads.yoctoproject.org/releases/uninative/4.5/x86_64-nativesdk-libc-4.5.tar.xz;sha256sum=43ee6a25bcf5fce16ea87076d6a96e79ead6ced90690a058d07432f902773473 (will check PREMIRRORS first) Sstate summary: Wanted 2656 Local 0 Mirrors 0 Missed 2656 Current 0 (0% match, 0% complete)######################################################################################################################## | ETA: 0:00:00 Initialising tasks: 100% |###############################################################################################################################################################################################################| Time: 0:00:04 NOTE: Executing Tasks ERROR: PermissionError: [Errno 1] Operation not permitted During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/bitbake/bin/bitbake-worker", line 278, in child bb.utils.disable_network(uid, gid) File "/home/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/bitbake/lib/bb/utils.py", line 1696, in disable_network with open("/proc/self/uid_map", "w") as f: PermissionError: [Errno 1] Operation not permitted ERROR: Task (/home/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb:do_unpack) failed with exit code '1' ERROR: PermissionError: [Errno 1] Operation not permitted During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/bitbake/bin/bitbake-worker", line 278, in child bb.utils.disable_network(uid, gid) File "/home/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/bitbake/lib/bb/utils.py", line 1696, in disable_network with open("/proc/self/uid_map", "w") as f: PermissionError: [Errno 1] Operation not permitted ERROR: Task (/home/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb:do_prepare_recipe_sysroot) failed with exit code '1' NOTE: Tasks Summary: Attempted 34 tasks of which 0 didn't need to be rerun and 2 failed. Summary: 2 tasks failed: /home/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb:do_unpack /home/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb:do_prepare_recipe_sysroot Summary: There was 1 WARNING message. Summary: There were 2 ERROR messages, returning a non-zero exit code. dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/imx-yocto-bsp/build$ Thank you,, Das Middepogu Re: "8MPLUSLPD4-EVK" build issue with Ubuntu 26.04 LTS Hello NXP, Can you please help below BSP build error? dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/lp_imx-yocto-bsp/build$ python3 --version Python 3.12.3 dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/lp_imx-yocto-bsp/build$ cat /etc/os-release PRETTY_NAME="Ubuntu 24.04.4 LTS" NAME="Ubuntu" VERSION_ID="24.04" VERSION="24.04.4 LTS (Noble Numbat)" VERSION_CODENAME=noble ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=noble LOGO=ubuntu-logo dasmiddepogu@dasmidde | ERROR: configure failed | WARNING: exit code 1 from a shell command. ERROR: Task (/home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/poky/meta/recipes-core/libxcrypt/libxcrypt_4.4.33.bb:do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 1539 tasks of which 1519 didn't need to be rerun and 2 failed. Summary: 2 tasks failed: /home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_6.1.bb:do_package /home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/poky/meta/recipes-core/libxcrypt/libxcrypt_4.4.33.bb:do_configure Summary: There were 2 WARNING messages. Summary: There were 3 ERROR messages, returning a non-zero exit code. dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/lp_imx-yocto-bsp/build$ bitbake core-image-minimal Re: "8MPLUSLPD4-EVK" build issue with Ubuntu 26.04 LTS Hello NXP, please find the python version which i am using. Please find below build errror logs and help us how to fix for success-full build. please find config.log file as attached asmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/lp_imx-yocto-bsp/build$ python3 --version Python 3.12.3 dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~ asmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/lp_imx-yocto-bsp/build$ bitbake core-image-minimal WARNING: Host distribution "ubuntu-24.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution. Loading cache: 100% |####################################################################################################################################################################################################################| Time: 0:00:00 Loaded 5303 entries from dependency cache. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "2.4.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "ubuntu-24.04" TARGET_SYS = "aarch64-poky-linux" MACHINE = "imx8mp-lpddr4-evk" DISTRO = "fsl-imx-xwayland" DISTRO_VERSION = "6.1-mickledore" TUNE_FEATURES = "aarch64 armv8a crc crypto" TARGET_FPU = "" meta meta-poky = "HEAD:0a98281d37b0bd8dc1548c390216cb3978e36e0e" meta-oe meta-multimedia meta-python = "HEAD:75cf318cef3b4ee81fad2782cf063ecd69ba8842" meta-freescale = "HEAD:9b00d40b787c2b7105ce209f5635cc1a0cab81ca" meta-freescale-3rdparty = "HEAD:93ba05e3a16a028b770fa1e813b13eb87a59ac63" meta-freescale-distro = "HEAD:b09c18a3f649f0cf1b40432bb39e76ba16fe94e2" meta-bsp meta-sdk meta-ml meta-v2x = "HEAD:6efe87f014c5bdcbda30f06156ee11d8bc3dc7fe" meta-nxp-demo-experience = "HEAD:7f34a32c7877e55e87b6a99e90da4128ed632bf2" meta-arm meta-arm-toolchain = "HEAD:0e043288fd0b17fbf31cf00ae33045107a991144" meta-chromium = "HEAD:e232c2e21b96dc092d9af8bea4b3a528e7a46dd6" meta-clang = "HEAD:af4dcba009ba98250315520f3003fde4ee164cce" meta-gnome meta-networking meta-filesystems = "HEAD:75cf318cef3b4ee81fad2782cf063ecd69ba8842" meta-qt6 = "HEAD:1406d0a85525a71fe5d7892d7f915404290a78ad" meta-parsec meta-tpm = "HEAD:d7db0a3bd1a8639df7570483f003ce00cbe274a2" meta-virtualization = "HEAD:56593e277a377157944a6676e57497066b770a35" WARNING: Your host glibc version (2.39) is newer than that in uninative (2.37). Disabling uninative so that sstate is not corrupted. Initialising tasks: 100% |###############################################################################################################################################################################################################| Time: 0:00:01 Sstate summary: Wanted 833 Local 2 Mirrors 0 Missed 831 Current 940 (0% match, 53% complete) NOTE: Executing Tasks ERROR: linux-libc-headers-6.1-r0 do_package: Error executing a python function in exec_func_python() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_func_python() autogenerated', lineno: 2, function: 0001: *** 0002:perform_packagecopy(d) 0003: File: '/home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/poky/meta/classes-global/package.bbclass', lineno: 355, function: perform_packagecopy 0351: rpath_replace (dvar, d) 0352:} 0353:perform_packagecopy[cleandirs] = "${PKGD}" 0354:perform_packagecopy[dirs] = "${PKGD}" *** 0355: 0356:python populate_packages () { 0357: oe.package.populate_packages(d) 0358:} 0359:populate_packages[dirs] = "${D}" File: '/usr/lib/python3.12/subprocess.py', lineno: 466, function: check_output 0462: else: 0463: empty = b'' 0464: kwargs['input'] = empty 0465: *** 0466: return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, 0467: **kwargs).stdout 0468: 0469: 0470:class CompletedProcess(object): File: '/usr/lib/python3.12/subprocess.py', lineno: 571, function: run 0567: # We don't call process.wait() as .__exit__ does that for us. 0568: raise 0569: retcode = process.poll() 0570: if check and retcode: *** 0571: raise CalledProcessError(retcode, process.args, 0572: output=stdout, stderr=stderr) 0573: return CompletedProcess(process.args, retcode, stdout, stderr) 0574: 0575: Exception: subprocess.CalledProcessError: Command 'tar --exclude=./sysroot-only -cf - -C /home/dasmiddepogu/NXP/lp_imx-yocto-bsp/build/tmp/work/armv8a-poky-linux/linux-libc-headers/6.1-r0/image -p -S . | tar -xf - -C /home/dasmiddepogu/NXP/lp_imx-yocto-bsp/build/tmp/work/armv8a-poky-linux/linux-libc-headers/6.1-r0/package' returned non-zero exit status 2. Subprocess output: got *at() syscall for unknown di ar: ./usr/include/asm-generic/poll.h: Cannot open: No such file or directory tar: Exiting with failure status due to previous errors ERROR: Logfile of failure stored in: /home/dasmiddepogu/NXP/lp_imx-yocto-bsp/build/tmp/work/armv8a-poky-linux/linux-libc-headers/6.1-r0/temp/log.do_package.75498 ERROR: Task (/home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_6.1.bb:do_package) failed with exit code '1' ERROR: libxcrypt-4.4.33-r0 do_configure: configure failed ERROR: libxcrypt-4.4.33-r0 do_configure: ExecutionError('/home/dasmiddepogu/NXP/lp_imx-yocto-bsp/build/tmp/work/armv8a-poky-linux/libxcrypt/4.4.33-r0/temp/run.do_configure.75465', 1, None, None) ERROR: Logfile of failure stored in: /home/dasmiddepogu/NXP/lp_imx-yocto-bsp/build/tmp/work/armv8a-poky-linux/libxcrypt/4.4.33-r0/temp/log.do_configure.75465 Log data follows: NOTE: The following config.log files may provide further information. | NOTE: /home/dasmiddepogu/NXP/lp_imx-yocto-bsp/build/tmp/work/armv8a-poky-linux/libxcrypt/4.4.33-r0/build/config.log | ERROR: configure failed | WARNING: exit code 1 from a shell command. ERROR: Task (/home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/poky/meta/recipes-core/libxcrypt/libxcrypt_4.4.33.bb:do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 1546 tasks of which 1537 didn't need to be rerun and 2 failed. Summary: 2 tasks failed: /home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_6.1.bb:do_package /home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/poky/meta/recipes-core/libxcrypt/libxcrypt_4.4.33.bb:do_configure Summary: There were 2 WARNING messages. Summary: There were 3 ERROR messages, returning a non-zero exit code. Thank you Re: "8MPLUSLPD4-EVK" build issue with Ubuntu 26.04 LTS Hello NXP, Any suggestions on my above build error? Das Middepogu Re: "8MPLUSLPD4-EVK" build issue with Ubuntu 26.04 LTS Hello NXP, Please help to give some input how to fix the below build error? I am using ubuntu 24.04 and python version 3.8.  build command : imx-yocto-bsp/build$ bitbake core-image-minimal build error: WARNING: exit code 1 from a shell command. ERROR: Task (/home/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/meta/recipes-core/libxcrypt/libxcrypt_4.4.33.bb:do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 2891 tasks of which 16 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/meta/recipes-core/libxcrypt/libxcrypt_4.4.33.bb:do_configure Summary: There were 78 WARNING messages. Summary: There were 2 ERROR messages, returning a non-zero exit code.
查看全文
Ubuntu 26.04 LTS 上的“8MPLUSLPD4-EVK”版本问题 您好,NXP, 我正在使用“8MPLUSLPD4-EVK”。我正在尝试构建电路板支持包,但遇到了一些构建问题。请帮忙解决这个问题。如果您需要更多信息,请告诉我。 错误日志: dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/project/imx-yocto-bsp/build$ bitbake core-image-minimal 错误:尝试设置服务器环境:无法使用本地参数更新服务器配置:回溯(最近一次调用): 文件“/home/dasmiddepogu/NXP/project/imx-yocto-bsp/sources/poky/bitbake/lib/bb/command.py”,第 91 行,在 runCommand 中 result = command_method(self, commandline) 文件“/home/dasmiddepogu/NXP/project/imx-yocto-bsp/sources/poky/bitbake/lib/bb/command.py”,第 291 行,在 updateConfig 中 command.cooker.updateConfigOpts(options,环境,命令行) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 文件“/home/dasmiddepogu/NXP/project/imx-yocto-bsp/sources/poky/bitbake/lib/bb/cooker.py”,第 471 行,在 updateConfigOpts 中 self.reset() ~~~~~~~~~~^^ 文件“/home/dasmiddepogu/NXP/project/imx-yocto-bsp/sources/poky/bitbake/lib/bb/cooker.py”,第 1741 行,在 reset 中 self.handlePRServ() ~~~~~~~~~~~~~~~~~^^ 文件“/home/dasmiddepogu/NXP/project/imx-yocto-bsp/sources/poky/bitbake/lib/bb/cooker.py”,第 337 行,在 handlePRServ 中 self.hashserv.serve_as_process(log_level=logging.WARNING) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ 文件“/home/dasmiddepogu/NXP/project/imx-yocto-bsp/sources/poky/bitbake/lib/bb/asyncrpc/serv.py”,第 402 行,在 serve_as_process 函数中 self.process.start() ~~~~~~~~~~~~~~~~~~^^ 文件“/usr/lib/python3.14/multiprocessing/process.py”,第 121 行,开始 self._popen= self._Popen(self) ~~~~~~~~~~~^^^^^^ 文件“/usr/lib/python3.14/multiprocessing/context.py”,第 230 行,在 _Popen 中 返回 _default_context.get_context().Process._Popen(process_obj) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 文件“/usr/lib/python3.14/multiprocessing/context.py”,第 306 行,在 _Popen 中 返回 Popen(process_obj) 文件“/usr/lib/python3.14/multiprocessing/popen_forkserver.py”,第 35 行,在__init__ super(). __init__ (process_obj) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 文件“/usr/lib/python3.14/multiprocessing/popen_fork.py”,第 20 行,在__init__ self._launch(process_obj) ~~~~~~~~~~~~^^^^^^^^^^^^^ 文件“/usr/lib/python3.14/multiprocessing/popen_forkserver.py”,第 47 行,在 _launch 中 reduction.dump(process_obj,布法罗) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ 文件“/usr/lib/python3.14/multiprocessing/reduction.py”,第 60 行,转储 ForkingPickler(file, protocol).dump(obj) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^ _pickle.PicklingError:无法序列化本地对象 .run在 0x7802f7325380> 序列化字典项“_target”时 序列化 multiprocessing.context.Process 状态时 序列化 multiprocessing.context.Process 对象时 仓库详情: $ mkdir imx-yocto-bsp $ cd imx-yocto-bsp $ repo init -u https://github.com/nxp-imx/imx-manifest-b imx-linux-scarthgap -m imx-6.6.36-2.1.0.xml $ 仓库同步 $ DISTRO=fsl-imx-xwayland MACHINE=imx8mp-lpddr4-evk source imx-setup-release.sh -b build Linux主机PC详情: PRETTY_NAME="Ubuntu 26.04 LTS" 名称="Ubuntu" 版本 ID="26.04" 版本="26.04(坚定的浣熊)" 版本号=resolute ID=ubuntu ID_LIKE=debian HOME_URL=" https://www.ubuntu.com/ " 支持网址=" https://help.ubuntu.com/ " BUG_REPORT_URL=" https://bugs.launchpad.net/ubuntu/ " PRIVACY_POLICY_URL=" https://www.ubuntu.com/legal/terms-and-policies/privacy-policy " UBUNTU_CODENAME=resolute LOGO=ubuntu-logo 主机配置: 架构:x86_64 CPU 操作模式:32 位、64 位 地址大小:物理地址 42 位,虚拟地址 48 位 字节顺序:小端 CPU数量:16 在线 CPU 列表:0-15 供应商 ID:GenuineIntel 型号名称:Intel(R) Core(TM) Ultra 7 255H CPU系列:6 型号:197 每个核心的线程数:1 每个插槽的核心数:16 插槽数:1 步数:2 CPU频率扩展(MHz):17% CPU 最大频率:5100.0000 MHz CPU 最低频率:400.0000 MHz DDR内存容量:32GB i.MX8ULP Re: "8MPLUSLPD4-EVK" build issue with Ubuntu 26.04 LTS 你好@middepogudas 希望你一切都好。 imx-linux-scarthgap BSP 已在 Ubuntu 22.04 和 Ubuntu 24.04 中得到验证。 Ubuntu 26.04 默认使用 Python 3.14,而 Bitbake 版本(即 电路板支持包)似乎与 Python 3.14 不完全兼容。 我建议您使用 Ubuntu 24.04 LTS 或 Ubuntu 22.04 LTS 进行编译,直到 Ubuntu 26.04 LTS 完全得到支持为止。 另外,您还可以尝试使用 Python 3.12 的虚拟环境。 顺祝商祺! 萨拉斯。 Re: "8MPLUSLPD4-EVK" build issue with Ubuntu 26.04 LTS 您好,NXP, 我已将Ubuntu系统刷入24.04版本,但仍然遇到构建问题……请查看构建错误日志。请帮忙解决这个版本问题。 操作系统信息: asmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/DOC$ cat /etc/os-release PRETTY_NAME="Ubuntu 24.04.4 版本LTS” 名称="Ubuntu" 版本 ID="24.04" 版本="24.04.4 LTS (Noble Numbat)" 版本号=贵族 ID=ubuntu ID_LIKE=debian HOME_URL=" https://www.ubuntu.com/ " 支持网址=" https://help.ubuntu.com/ " BUG_REPORT_URL=" https://bugs.launchpad.net/ubuntu/ " PRIVACY_POLICY_URL=" https://www.ubuntu.com/legal/terms-and-policies/privacy-policy " UBUNTU_CODENAME=noble LOGO=ubuntu-logo dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/DOC$ 版本错误日志: 现在你可以运行“bitbake ” 常见目标包括: 核心镜像-最小 元工具链 元工具链 SDK adt-installer 元IDE支持 您的版本环境已配置如下: 机器=imx8mp-lpddr4-evk SDKMACHINE=i686 DISTRO=fsl-imx-xwayland 最终用户许可协议= BSPDIR= BUILD_DIR=. dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/DOC$ DISTRO=fsl-imx-xwayland MACHINE=imx8mp-lpddr4-evk source imx-setup-release.sh -b build dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/imx-yocto-bsp/build$ bitbake core-image-minimal 注意:您的 conf/bblayers.conf 文件已自动更新。 警告:主机发行版“ubuntu-24.04”尚未使用此版本的构建系统进行验证;您可能会遇到意外故障。建议您使用经过测试的发行版。 缓存加载完成:100% | | 预计剩余时间:--:--:-- 从依赖缓存中加载了 0 个条目。 解析配方:100% |##################################################################################################################################################################################################################################################################| 用时:0:00:55 解析 3643 .bb 文件文件已完成(0 个缓存,3643 个已解析)。5719 个目标,跳过 375 个,屏蔽 17 个,0 个错误。 注意:解决任何缺失的任务队列依赖关系 构建配置: BB_VERSION = "2.8.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "ubuntu-24.04" TARGET_SYS =“aarch64-poky-linux” 机器 = "imx8mp-lpddr4-evk" DISTRO = "fsl-imx-xwayland" DISTRO_VERSION = "6.6-scarthgap" TUNE_FEATURES = "aarch64 armv8a crc crypto" TARGET_FPU = "" meta meta-poky = "HEAD:f43f393ef0246b7bee6eed8bcf8271cf2b8cdf40" meta-oe meta-multimedia meta-python = "HEAD:80e01188fa822d87d301ee71973c462d7a865493" meta-freescale = "HEAD:0f8091c63dd8805610c09b08409bc58492a3b16f" meta-freescale-3rdparty = "HEAD:6c063450d464eb2f380443c7d9af1b94ce9b9d75" meta-freescale-distro = "HEAD:b9d6a5d9931922558046d230c1f5f4ef6ee72345" meta-imx-bsp meta-imx-sdk meta-imx-ml meta-imx-v2x = "HEAD:92ad51ef3cc7f132238f1ae6c8e81432f2a69cc7" meta-nxp-demo-experience = "HEAD:8fd7154c05b716e9635279047f65785399432d88" meta-nxp-matter-baseline meta-nxp-openthread = "HEAD:783becb4b5716d989f50db95b7133d38eae5b47b" meta-Arm meta-arm-toolchain = "HEAD:1b85bbb4cab9658da3cd926c62038b8559c5c64e" meta-clang = "HEAD:fe561f41aef0cff9e6f96730ab59f28dca2eb682" meta-gnome meta-networking meta-filesystems = "HEAD:80e01188fa822d87d301ee71973c462d7a865493" meta-qt6 = "HEAD:dc13e1bfda4a4757a08c2d6673bc4bac012c4a80" meta-parsec meta-tpm = "HEAD:11ea91192d43d7c2b0b95a93aa63ca7e73e38034" meta-virtualization = "HEAD:6a80f140e387621f62964209a2e07d3bcfb125ce" 注意:正在获取 uninative 二进制 shim http://downloads.yoctoproject.org/releases/uninative/4.5/x86_64-nativesdk-libc-4.5.tar.xz;sha256sum=43ee6a25bcf5fce16ea87076d6a96e79ead6ced90690a058d07432f902773473(会先查看 PREMIRRORS) Sstate 摘要:需要 2656 个本地镜像 0 个,缺失 2656 个当前镜像 0 个(匹配度 0%,完成度 0%)################################################################################################################################## ## | ETA: 0:00:00 Initialising tasks: 100% |## ####################################################################################################################################################################################################################################################| 时间:0:00:04 注意:正在执行任务 错误:权限错误:[Errno 1] 操作未经允许 在处理上述异常期间,又发生了另一个异常: 回溯(最近一次调用): 文件“/home/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/bitbake/bin/bitbake-worker”,第 278 行,在子进程中 bb.utils.disable_network(uid,gid) 文件“/home/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/bitbake/lib/bb/utils.py”,第 1696 行,在 disable_network 中 with open("/proc/self/uid_map", "w") as f: 权限错误:[Errno 1] 操作未经许可 错误:任务 (/home/dasmiddepogu/NXP/imx-yocto-bsp/sources/参考发行版、系统开发套件。/meta/配方-extended/texinfo-dummy-native/texinfo-dummy-native.bb:do_unpack) 执行失败,退出代码为“1” 错误:权限错误:[Errno 1] 操作未经允许 在处理上述异常期间,又发生了另一个异常: 回溯(最近一次调用): 文件“/home/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/bitbake/bin/bitbake-worker”,第 278 行,在子进程中 bb.utils.disable_network(uid,gid) 文件“/home/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/bitbake/lib/bb/utils.py”,第 1696 行,在 disable_network 中 with open("/proc/self/uid_map", "w") as f: 权限错误:[Errno 1] 操作未经许可 错误:任务 (/home/dasmiddepogu/NXP/imx-yocto-bsp/sources/参考发行版、系统开发套件。/meta/配方-extended/texinfo-dummy-native/texinfo-dummy-native.bb:do_prepare_recipe_sysroot) 执行失败,退出代码为“1” 注意:任务摘要:尝试了 34 个任务,其中 0 个不需要重新运行,2 个失败。 摘要:2 项任务失败: /home/dasmiddepogu/NXP/imx-yocto-bsp/sources/参考发行版、系统开发套件。/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb:do_unpack /home/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb:do_prepare_recipe_sysroot 摘要:有 1 条警告信息。 摘要:出现 2 条错误消息,返回非零退出代码。 dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/imx-yocto-bsp/build$ 谢谢你,, 达斯米德波古 Re: "8MPLUSLPD4-EVK" build issue with Ubuntu 26.04 LTS 您好,NXP, 请问您能帮忙解决一下以下电路板支持包。构建错误吗? dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/lp_imx-yocto-bsp/build$ python3 --version Python 3.12.3 dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/lp_imx-yocto-BSP/build$ cat /etc/os-版本 PRETTY_NAME="Ubuntu 24.04.4LTS” 名称="Ubuntu" 版本 ID="24.04" 版本="24.04.4 LTS (Noble Numbat)" 版本号=贵族 ID=ubuntu ID_LIKE=debian HOME_URL=" https://www.ubuntu.com/ " 支持网址=" https://help.ubuntu.com/ " BUG_REPORT_URL=" https://bugs.launchpad.net/ubuntu/ " PRIVACY_POLICY_URL=" https://www.ubuntu.com/legal/terms-and-policies/privacy-policy " UBUNTU_CODENAME=noble LOGO=ubuntu-logo dasmiddepogu@dasmidde | 错误:配置失败 | 警告:shell 命令的退出代码为 1。 错误:任务 (/home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/poky/meta/recipes-core/libxcrypt/libxcrypt_4.4.33.bb:do_configure) 执行失败,退出代码为“1” 注意:任务摘要:尝试了 1539 个任务,其中 1519 个不需要重新运行,2 个失败。 摘要:2 项任务失败: /home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_6.1.bb:do_package /home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/poky/meta/recipes-core/libxcrypt/libxcrypt_4.4.33.bb:do_configure 摘要:共有 2 条警告信息。 摘要:出现 3 条错误消息,返回非零退出代码。 dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/lp_imx-yocto-bsp/build$ bitbake core-image-minimal Re: "8MPLUSLPD4-EVK" build issue with Ubuntu 26.04 LTS 您好,NXP, 请告诉我我正在使用的Python版本。请查看下方版本错误日志,并帮助我们找到修复方法,以便成功版本。config.log 文件已附上。 asmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/lp_imx-yocto-bsp/build$ python3 --version Python 3.12.3 dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~ asmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/lp_imx-yocto-bsp/build$ bitbake core-image-minimal 警告:主机发行版“ubuntu-24.04”尚未通过此版本构建系统的验证;您可能会遇到意外故障。建议您使用经过测试的发行版。 缓存加载完成:100% |#############################################################################################################################################################################################################################################################| 时间:0:00:00 从依赖缓存中加载了 5303 个条目。 注意:解决任何缺失的任务队列依赖关系 版本配置: BB_VERSION = "2.4.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "ubuntu-24.04" TARGET_SYS =“aarch64-poky-linux” 机器 = "imx8mp-lpddr4-evk" DISTRO = "fsl-imx-xwayland" DISTRO_VERSION = "6.1-mickledore" TUNE_FEATURES = "aarch64 armv8a crc crypto" TARGET_FPU = "" meta meta-参考发行版、系统开发套件 = "HEAD:0a98281d37b0bd8dc1548c390216cb3978e36e0e" meta-oe meta-multimedia meta-python = "HEAD:75cf318cef3b4ee81fad2782cf063ecd69ba8842" meta-freescale = "HEAD:9b00d40b787c2b7105ce209f5635cc1a0cab81ca" meta-freescale-3rdparty = "HEAD:93ba05e3a16a028b770fa1e813b13eb87a59ac63" meta-freescale-发行版 = "HEAD:b09c18a3f649f0cf1b40432bb39e76ba16fe94e2" meta-电路板支持包 meta-sdk meta-ml meta-v2x = "HEAD:6efe87f014c5bdcbda30f06156ee11d8bc3dc7fe" meta-nxp-demo-experience = "HEAD:7f34a32c7877e55e87b6a99e90da4128ed632bf2" meta-Arm meta-Arm-toolchain = "HEAD:0e043288fd0b17fbf31cf00ae33045107a991144" meta-chromium = "HEAD:e232c2e21b96dc092d9af8bea4b3a528e7a46dd6" meta-clang = "HEAD:af4dcba009ba98250315520f3003fde4ee164cce" meta-gnome meta-networking meta-filesystems = "HEAD:75cf318cef3b4ee81fad2782cf063ecd69ba8842" meta-qt6 = "HEAD:1406d0a85525a71fe5d7892d7f915404290a78ad" meta-parsec meta-tpm = "HEAD:d7db0a3bd1a8639df7570483f003ce00cbe274a2" meta-virtualization = "HEAD:56593e277a377157944a6676e57497066b770a35" 警告:您的主机 glibc 版本 (2.39) 比 uninative 中的版本 (2.37) 新。已禁用 uninative,以防止 sstate 损坏。 任务初始化:100% |############################################################################################################################################################################################################################################################| 时间:0:00:01 州概况:需要 833 个本地镜像 2 个,缺失 831 个,当前 940 个(0% 匹配,53% 完成) 注意:正在执行任务 错误:linux-libc-headers-6.1-r0 do_package:执行 exec_func_python() 自动生成的 Python 函数时出错: 导致此异常/失败的 Python 调用堆栈跟踪如下: 文件:'exec_func_python() autogenerated',行号:2,函数: 0001: *** 0002:perform_packagecopy(d) 0003: 文件:'/home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/参考发行版、系统开发套件/meta/classes-global/package.bbclass',行号:355,函数:perform_packagecopy 0351: rpath_replace (dvar, d) 0352:} 0353:perform_packagecopy[cleandirs] = "${PKGD} " 0354:perform_packagecopy[dirs] = "${PKGD} " *** 0355: 0356:python populate_packages() { 0357: oe.package.populate_packages(d) 0358:} 0359:populate_packages[dirs] = " ${D} " 文件:'/usr/lib/python3.12/subprocess.py',行号:466,函数:check_output 0462:否则: 0463:空 = b'' 0464: kwargs['input'] = 空 0465: *** 0466: 返回 run(*popenargs, stdout=PIPE, timeout=timeout, check=True, 0467: **kwargs).stdout 0468: 0469: 0470:class CompletedProcess(object): 文件:'/usr/lib/python3.12/subprocess.py',行号:571,函数:run 0567: # 我们不调用 process.wait(),因为 . __exit__会为我们执行此操作。 0568:提高 0569: retcode = process.poll() 0570:如果检查并返回代码: *** 0571: 引发 CalledProcessError(retcode, process.args, 0572: output=stdout, stderr=stderr) 0573: 返回 CompletedProcess(process.args, retcode, stdout, stderr) 0574: 0575: 异常:subprocess.CalledProcessError:命令“tar --exclude=./sysroot-only -cf - -C /home/dasmiddepogu/NXP/lp_imx-yocto-bsp/build/tmp/work/armv8a-poky-linux/linux-libc-headers/6.1-r0/image -p -S . | tar -xf - -C” /home/dasmiddepogu/NXP/lp_imx-yocto-bsp/build/tmp/work/armv8a-poky-linux/linux-libc-headers/6.1-r0/package' 返回非零退出状态 2。 子进程输出: 获取到未知 di 的 *at() 系统调用 ar:./usr/include/asm-generic/poll.h:无法打开:没有该文件或目录 tar:由于之前的错误,退出状态为失败。 错误:故障日志文件存储在:/home/dasmiddepogu/NXP/lp_imx-yocto-bsp/build/tmp/work/armv8a-poky-linux/linux-libc-headers/6.1-r0/temp/log.do_package.75498 错误:任务 (/home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_6.1.bb:do_package)失败,退出代码为“1” 错误:libxcrypt-4.4.33-r0 do_configure:配置失败 错误:libxcrypt-4.4.33-r0 do_configure:ExecutionError('/home/dasmiddepogu/NXP/lp_imx-yocto-bsp/build/tmp/work/armv8a-poky-linux/libxcrypt/4.4.33-r0/temp/run.do_configure.75465', 1, None, None) 错误:故障日志文件存储在:/home/dasmiddepogu/NXP/lp_imx-yocto-bsp/build/tmp/work/armv8a-poky-linux/libxcrypt/4.4.33-r0/temp/log.do_configure.75465 以下是日志数据: 注意:以下 config.log 文件可能提供更多信息。 | 注意:/home/dasmiddepogu/NXP/lp_imx-yocto-bsp/build/tmp/work/armv8a-poky-linux/libxcrypt/4.4.33-r0/build/config.log | 错误:配置失败 | 警告:shell 命令的退出代码为 1。 错误:任务 (/home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/参考发行版、系统开发套件。/meta/配方-core/libxcrypt/libxcrypt_4.4.33.bb:do_configure) 执行失败,退出代码为“1” 注意:任务摘要:尝试了 1546 个任务,其中 1537 个不需要重新运行,2 个失败。 摘要:2 项任务失败: /home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_6.1.bb:do_package /home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/poky/meta/recipes-core/libxcrypt/libxcrypt_4.4.33.bb:do_configure 摘要:共有 2 条警告信息。 摘要:出现 3 条错误消息,返回非零退出代码。 谢谢 Re: "8MPLUSLPD4-EVK" build issue with Ubuntu 26.04 LTS 您好,NXP, 关于我上面提到的构建错误,有什么建议吗? 达斯米德波古 Re: "8MPLUSLPD4-EVK" build issue with Ubuntu 26.04 LTS 您好,NXP, 请问如何解决以下版本错误? 我使用的是Ubuntu 24.04和Python 3.8版本。 构建命令:imx-yocto-bsp/build$ bitbake core-image-minimal 构建错误: 警告:shell 命令返回退出代码 1。 错误:任务 (/home/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/meta/recipes-core/libxcrypt/libxcrypt_4.4.33.bb:do_configure) 执行失败,退出代码为“1” 注意:任务摘要:尝试了 2891 个任务,其中 16 个任务不需要重新运行,1 个任务失败。 摘要:1 项任务失败: /home/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/meta/recipes-core/libxcrypt/libxcrypt_4.4.33.bb:do_configure 摘要:共有 78 条警告信息。 摘要:出现 2 条错误消息,返回非零退出代码。
查看全文
使用NXP MBDT工具箱开发操作系统并将其集成到Simulink中是否可行? 大家好, 我的目标是评估使用 MATLAB/Simulink、Embedded Coder 和 NXP MBDT 为 NXP S32G3 开发完整的裸机操作系统/软件平台的可行性。 目标是在 Simulink 中开发完整的软件栈,使用 Embedded Coder 生成 C 代码,并将生成的代码直接部署到 S32G3 Gold Box 上,而无需依赖外部操作系统、RTOS 或 AUTOSAR BSW。 具体来说,我想了解使用 NXP MBDT 在技术上是否可行,能否在 S32G3 上为 Cortex-A 内核和 Cortex-M 内核实现软件,生成的软件能够处理系统初始化、调度、中断管理、内存管理、硬件抽象、外设初始化、IPC 机制以及操作系统通常提供的其他服务。 我了解到启动 ROM 是硬件驻留的,并且在应用程序之前执行。我的目标是尽可能地使用 NXP MBDT 工作流程,通过 Simulink 生成的代码来实现硬件启动过程之后的所有操作。 因此,我的主要问题是: 1. 使用 NXP 基于模型的设计工具箱以及 MATLAB/Simulink 和 Embedded Coder,为 S32G3 开发一个完整的裸机软件平台(类似操作系统的框架),同时面向 Cortex-A 和 Cortex-M 内核,在技术上是否可行?如果 MBDT 工作流程存在任何限制,能否请您说明哪些部分仍然需要手写 C 代码或汇编代码? 据我了解,MBDT是由NXP公司开发的。但是,如果这个问题更适合由 NXP MBDT 团队解答,请您指点我到合适的联系方式或支持渠道。 感谢您的指导。 Re: Is it feasible for developing the OS using NXP MBDT toolbox which will be integrated to simulink 你好, @charan032001 感谢你的帖子。 我注意到另一个帖子也提到了这件事,而且已经有人回复了。 感谢您对恩智浦产品的关注。 BR 陈银
查看全文
MCXN547: How many Enhanced Flex PWM instances are available? The reference manual mentions 2 instances of PWM modules (PWM0 and PWM1) are available in MCXN547. However, in the header files (MCXN547_cm33_core0_COMMON.h), base addresses for PWM0 is included and not for PWM1.  I am using MCXN547VKLT part and I was planning to use Pin 17 (Port 2_3) for PWM output. MCXN547 datasheet indicates Port 2_3 can be configured as ALT5 - PWM1_B2 function. However, if I use the Pin config tool in MCUXpresso IDE, there is no option to select Pin17 (Port 2_3) for ALT5 - PWM1_B2 function.  Hence, I would like to get confirmation, whether MCXN547VKLT supports 2 instances of Enhanced Flex PWMs.  Clock|Timers MCXN Re: MCXN547: How many Enhanced Flex PWM instances are available? Hello @JawaharA , Thanks for your post. I can confirm that MCXN547VKLT only has one FlexPWM module (FlexPWM0). The Reference Manual and pinmux tables are common to several MCX N series devices (N94/N54/N53/N52/N24), so they may contain signals associated with peripherals that are not present on every device variant. For device-specific feature availability, please refer to Table 4 (Feature Comparison) in the Data Sheet. Based on this table, FlexPWM1 is not available on MCXN547VKLT. Therefore, although P2_3 is listed as PWM1_B2 in the common pinmux table, the function is not supported on MCXN547VKLT, which is why it is not available in MCUXpresso Config Tools. Hope it helps. Please let me know if you have any further questions. BR Celeste
查看全文
MCXN547:有多少个增强型 Flex PWM 实例可用? 参考手册提到 MCXN547 中有 2 个 PWM 模块实例(PWM0 和 PWM1)。然而,在头文件(MCXN547_cm33_core0_COMMON.h)中,PWM0 的基地址已包含在内,但 PWM1 的基地址未包含在内。 我正在使用 MCXN547VKLT 器件,并计划使用引脚 17(端口 2_3)作为 PWM 输出。MCXN547 数据手册表明端口 2_3 可以配置为 ALT5 - PWM1_B2 功能。但是,如果我使用 MCUXpresso IDE 中的引脚配置工具,则没有选项可以选择引脚 17(端口 2_3)作为 ALT5 - PWM1_B2 功能。 因此,我想确认一下,MCXN547VKLT 是否支持 2 个增强型 Flex PWM 实例。 时钟|计时器 MCX N Re: MCXN547: How many Enhanced Flex PWM instances are available? 你好@JawaharA , 感谢你的帖子。 我可以确认 MCXN547VKLT 只有一个 FlexPWM 模块 (FlexPWM0)。 参考手册和引脚复用表是几个 MCX N 系列设备(N94/N54/N53/N52/N24)通用的,因此它们可能包含与某些设备变体上不存在的外围设备相关的信号。 有关设备特定功能的可用性,请参阅数据表中的表 4(功能比较)。根据此表可知,MCXN547VKLT 上没有 FlexPWM1。 因此,尽管 P2_3 在通用引脚复用表中被列为 PWM1_B2,但 MCXN547VKLT 不支持该功能,因此 MCUXpresso 配置工具中没有该功能。 希望对您有所帮助。如果您还有其他问题,请告诉我。 BR 塞莱斯特
查看全文
内部 DCDC DCDC_ANA_SENSE 和 VOUT_DCDC_1V8/DCDC_ANA 存在问题 尊敬的NXP支持团队: 在使用 MX RT1172 定制板时,在捕获DCDC_ANA_SENSE波形时,我们发现初始上升到 1.9V,然后稳定在 1.51V。 请问这是什么原因造成的?我附上了波形图和原理图供您参考。 期待您的回音。 此致, 深的 Re: Issue with internal DCDC DCDC_ANA_SENSE and VOUT_DCDC_1V8/DCDC_ANA 嗨@deeporbit , 非常感谢您对我们产品的关注以及对我们社区的使用。 根据提供的波形,VOUT_DCDC_1V8(DCDC_ANA_SENSE)的稳态电压约为1.51V,这与预期行为不符。在 MIMXRT1170-EVKB 上,我进行了测试,发现 DCDC_1V8_OUT 电源轨稳定在约 1.8 V。 我建议您检查以下内容: 1:确认 DCDC_ANA_SENSE 已正确连接到 VOUT_DCDC_1V8,并检查 0Ω 反馈电阻 R166 是否已正确安装和焊接。 2:检查是否有任何外部 1.8V 稳压器、外设、电平转换器或其他功率域连接到 VDD_1V8 / VOUT_DCDC_1V8 电源轨,并且可能对该电源轨进行拉动或反向驱动。 3:检查连接到 DCDC_ANA / VOUT_DCDC_1V8 的总负载。DCDC_ANA 的负载不得超过其规定的输出能力 150 mA。 4:如果可能,隔离下游 1.8 V 负载,再次测量 VOUT_DCDC_1V8。如果隔离后电源轨电压恢复到 1.8 V 左右,则问题可能与负载过大或外部电路连接到 1.8 V 电源轨有关。 此致, 5月
查看全文
Issue with internal DCDC DCDC_ANA_SENSE and VOUT_DCDC_1V8/DCDC_ANA Dear NXP support team, While working with custom board with MX RT1172, while capturing waveforms of DCDC_ANA_SENSE, we found initial ramp to 1.9V then it stabilises at 1.51V. Could you tell why this is happening, I have attached waveforms and schematic for your reference. Looking forward to hearing from you. Regards, Deep Re: Issue with internal DCDC DCDC_ANA_SENSE and VOUT_DCDC_1V8/DCDC_ANA Hi @deeporbit , Thank you so much for your interest in our products and for using our community. Based on the waveform provided, the steady-state voltage of VOUT_DCDC_1V8 ( DCDC_ANA_SENSE) is approximately 1.51 V, which does not match the expected behavior. On the MIMXRT1170-EVKB, I test and found the DCDC_1V8_OUT rail regulates at approximately 1.8 V. I would recommend checking the following: 1: Confirm that DCDC_ANA_SENSE is correctly connected to VOUT_DCDC_1V8 , and check whether the 0-Ω feedback resistor R166 is properly populated and soldered. 2: Check whether any external 1.8 V regulator, peripheral, level shifter, or other power domain is connected to the VDD_1V8 / VOUT_DCDC_1V8 rail and may be pulling or back-driving the rail. 3: Check the total load connected to DCDC_ANA / VOUT_DCDC_1V8 . The load on DCDC_ANA must not exceed its specified output capability of 150 mA. 4: If possible, isolate the downstream 1.8 V loads and measure VOUT_DCDC_1V8 again. If the rail returns to around 1.8 V after isolation, the issue is likely related to excessive load or an external circuit connected to the 1.8 V rail.  Best regards, May
查看全文
68LC302およびシリアルブートストラップ機能 こんにちは、みんな。願わくば、2026年にもLC302に関する知識を頭の片隅に留めている人がまだ生きていていてほしい。 LC302を使った小さなプロジェクトに取り組んでいて、シリアルブートストラップ機能を使いたいと思っています。どうしても動作させることができないのですが、動作させるために何か特別な手順が必要なのでしょうか? 思いつく限りのことはすべて試しましたが、今持っているLC302に何か故障があるかもしれないので交換しようと考えていますが、その前に質問しておきたいと思いました。ちなみにパッケージのマークは(Motorolaロゴ入り): MC68LC302PU25CT 2J29A QQDJ0316 5Vで電源を供給しています。 基本的に、送信したものをエコーバックしても返してくれません。同じ問題を説明していると思われる以下の投稿を見つけましたが、私の場合は同じ問題が発生していないようです。https ://community.nxp.com/t5/ColdFire-68K-Microcontrollers/We-have-been-using-the-68LC302-for-decades-without-major/mp/612300 私が試したこと/スコープ/論理アナライザーで観察できること: PLLモードと非PLLモードの両方を試してみました。PLLモードでは4MHzの発振器を使用しました(4.192MHzの発振器は入手困難です)。このモードでは、9174ボー(4MHz×4、/109、/16)を使用しました。PLLを使用しない場合は、ボーレート11467の20MHz発振器を使用しました。信号発生器を使って4.192MHzを入力し、データシートに記載されているボーレートも試してみましたが、うまくいきませんでした。 PA7をハイにしてブートストラップモードを無効にすると、ASピンで一時的な動きが観察できます。おそらくCPUが外部メモリからリセットベクトルを読み取ろうとしているのでしょう。PA7を低くしてブートストラップモードを有効にすると、この動作はもう見られません。おそらくCPUがリセット状態にあるためでしょう。 早い段階で、PA7には何らかの電流源があるようで、約3~4mAの電流を供給していることが分かりました(電流モードでマルチメーターで測定)。これにより、外部のプルダウン抵抗が追いつかず、ロジックハイが発生していました。これは非常に大きな電流値のように感じるのですが、どなたかその理由を説明できますか?上記のスレッドでPA7が予期せず高すぎる数値を引き上げた原因と漠然と関係しているようです。もしかしたら私の部品に不具合があるのかもしれません。 ResetとHALTが同時にアサートされています(私は過去数年間、趣味のプロジェクトで68kに関する豊富な経験を持っています)。 🙂 TX/RX信号の極性を含め、すべての配線を二重三重に確認し、念のためSCC1のフロー制御入力も無効状態に戻しました。オシロスコープで測定したところ、USBシリアルアダプターが私が求めるボーレートを確実に生成し、TXからRXへのループでパテに送った文字をエコーバックできるので、特に異常はないとかなり自信を持っています。 メモリバスはまだ配線していません。今のところ、シリアルでコードを読み込んでLEDを点滅させられるかどうか試したいだけなのですが、BUSWピンは16ビットバス動作用にストラップされています。もし関係あるなら? ハンダ付けを外す前に、他に何か良い提案があれば教えてください。 よろしくお願いします! Re: 68LC302 and serial bootstrap feature こんにちは、メッセージありがとうございます。 SCC1関連のピンを使用していることを確認しました。 私のセットアップはワイヤーラップ付きのパーフボード上なので、ワイヤーラップ以外にピンに影響はありません。マルチメーターで確認したところ、リセットとハルトが同時にアサートされ、0Vに達していること、およびすべてのストラップピンが必要な電圧レベルに達しており、ピンが浮いている状態ではないことを確認しました。 また、私の投稿で述べたように、信号発生器から供給される4.192MHzとデータシートに記載されているボーレートも試してみましたが、効果はありませんでした。 CD1を否定状態に結びつけたと言ったのは、用語を混同していただけで、実際にはCTS1とともに接地(アサート)に結び付けられています。 テストとして576バイトを送ってみます。もしかしたら何らかの理由でエコーリングが返っていないのかもしれませんが、正しく受信しているかもしれません。 よろしくお願いします。 Re: 68LC302 and serial bootstrap feature こんにちは、 まず最初に確認するのは CD1 です。LC302のシリアルブートストラップエコーパスについては、マニュアルによるとSCCハードウェアは TXD1 で受信した文字をエコー返すが、 CD1 を主張しなければならない。SCC1では外部 CD1 ピンをローに結びつける必要がある。SCC1モデム制御入力を「否定」状態にした場合、それがエコーが表示されない理由かもしれません。 LC302のブート説明におけるその他の重要なポイント: シリアルブートストラップは、ハードリセット時にサンプリング PA7 = 0 によって有効化されます。ここでハードリセットとは、 RESET と HALT の両方が主張されることを意味します。 PA7 浮いてはいけません。リセット時には、意図的に上下に引っ張る必要があります。 SCC1で受信した最初の576バイトはデュアルポートRAMに格納され、受信した各文字は TXD1 からエコーバックされます。デバイスは576バイトすべてを受信するまでブートモードを終了しません。 内部クロックブートストラップの場合、公称クロックの仮定は4.192 MHzまたは32.768 kHzで、SCCは約9600ボーにプログラムされています。 非同期UARTモードでは、外部クロックオプションを使用する場合、ビットレートは TCLK1/RCLK1 クロックレートの1/16になります。 部品交換前に、まさにこの最小限のセットアップを試してみてください。 RESET と HALT を同時に低レベルで押し続けます。 PA7/BOOT ボード上のどんな負荷にも負けないくらいの強さで、低い位置にしっかりと固定してください。 PA5 で目的の時計モードを選択してください。 PA5 = 0 : 内部ブートクロックモード。 PA5 = 1 : TCLK1/RCLK1 の外部クロック、16 ボー。 PA12/MODCLK0 クロックソースと常に一致させて接続してください。マニュアルでは、ハードリセット中にこれをサンプリングして、公称 EXTAL 周波数を識別します。 CD1 低く結ぶ。 RXD1 、 TXD1 、 RCLK1 、および TCLK1 配線は、SCC2ではなくSCC1に準拠させてください。LC302の説明にあるブート機能はSCC1に関するものです。 受信が正常に機能していれば、エコーは文字ごとに表示されるはずですが、1文字だけでなく、576バイトのテストストリーム全体を送信してください。 PA7 から発生する3~4mAは疑わしい。データシートレベルで取得された入力リーク電流値は最大でもわずか20μAで、ミリアンペアをはるかに下回っています。 PA7 双方向の多機能ピンでもあるため、他の何かがそれを駆動している場合や、部品がすでにリセットサンプリング状態を終了している場合は競合が発生する可能性がありますが、ブートストラップとしてのリセット中は、ローを読み取るためだけに数mAをシンクする必要はありません。 PA7 の基板レベルのプルアップ/ドライバー/はんだブリッジを確認し、パッケージのピンの向きを確認し、 RESET と HALT の両方がアクティブに設定されている間に電流を測定してください。 もう一つ実用的な注意点があります。あなたの4MHzの内部クロックの試みは、4.192MHzとは等価ではありません。反対側を調整すれば一部のUARTsでは十分に近いかもしれませんが、ドキュメント内の内部ブートストラップモードは標準的なLC302クロック値を想定しているため、変数を除外するには4.192 MHzで記載されたボーを使ったり、外部クロックモードを使いクリーン TCLK1/RCLK1 = 16 × baud を提供したりできます。   よろしくお願いします。 Re: 68LC302 and serial bootstrap feature SO、68LC302を別のものに交換し、約2秒間は動作しました(送信していた文字が反響しました)が、電源を入れ直すとまた動作しなくなりました。 最初はCD1を接地していませんでした。なぜならデータシートにはシリアルブートストラップの目的で「気にしない」と書かれており、この構成では確かに動作していたからです。動作しなくなった後、CD1を接地してみましたが、効果はありませんでした。 とても近く、しかし遠い。このプロジェクトは呪われているに違いない。 😞 このモデルはPA7に重い電流源があり、十分に引き下げるにはかなり強い抵抗か、それを上書きするためにトライステートドライバーが必要です。 Re: 68LC302 and serial bootstrap feature チップを壊していると思うよ。それにはいくつかの方法がありますが、あなたの投稿を読む限り、2つの可能性が考えられます。 あなたは外部信号発生器からクロックを供給している(または供給していた)。反射やオーバーシュートを避けるために、信号発生器からのケーブルを終端しましたか?信号発生器から50オームの同軸ケーブルが出ていて、その端に50オームの抵抗器が接続されていない場合、(反射による)電圧が10Vから-5Vまで変動します。それでは確実にチップが壊れるだろう。 Agilent製の信号発生器(他のメーカーのものも同様かもしれません)をお持ちの場合は、「0~5V」にプログラムし、「終端あり/なし」オプションに気づかずに、終端ありに設定して信号を追加しない場合、0~10Vが生成され、その後-10V~20Vにグリッチします。CPUのクロック信号を、高性能な(100MHz以上の高周波)オシロスコープで確認してください。 CPUのシリアルポートを駆動するチップはどのように電源を供給していますか?CPUに電力を供給しているMAX RS232トランシーバ(PCなどから12V RS232が供給されている)はありますか?それともCPUに直接コネクテッドされた外部TTLレベルのシリアルポート(3V3または5V)を使っていますか?後者を使用している場合、CPUの電源を切っても、そのCPUピンには外部電圧が供給され続けます。TTL-RS232は5Vでアイドル状態なので、そうするとピンを損傷させたり、致命的なラッチアップを引き起こす可能性があります。Googleによると、このチップはこれをすると致命的なラッチアップを起こす可能性があるそうです。Wikipediaで「ラッチアップ」を調べてみてください。 そして、すべての機器がしっかりと接地されていることを確認してください。これは、CANを使っている人がいつも忘れてしまうこともあります。RS-232も同様です。 Tom Re: 68LC302 and serial bootstrap feature 最初に信号発生器を使ってテストしたときは、終端処理をしていませんでした。最近のCASEでは、搭載の20MHz発振器を使い、PLLの設定は一時的に使って簡略化しています。(ただし、これはプロジェクトの最終バージョン(もし完成すればの話ですが)で実行したい構成ではありません。なぜなら、別の部品を駆動するためにも4MHzの発振器を使用したいからです。) 基板全体の電源は、Mikroe製の小型USB-シリアルモジュールから供給されており、このモジュールにはMCP2221Aが搭載されている。残念ながらこれは5V電源と直列のダイオードがつながっているため、基板は4.7Vに近い電圧しか見ていませんが、ベンチ型電源ユニットを使って5Vを供給したこともあります。CPUに電源がないのに、どのピンにも5V信号が出るCASEは思い浮かびません。すべてのピンに電源が入っているか、ないかのどちらかです。 しかし、もしそれがラッチアップでチップを壊す可能性があるなら、今のうちにプロジェクト全体を諦めるかもしれません。なぜなら、Arduinoスタイルのボードにビルディングすることを検討しているからです。もしこれらの部品が奇妙で奇妙な電源状況に過敏すぎるなら、このプロジェクトにはおそらく非常に適さないでしょう。 😞 Re: 68LC302 and serial bootstrap feature 別の選択肢としては、プリント基板上にきちんと何かを製作するという方法もあるでしょう。すでに設計済みですが、まずプロトタイプでその設計をテストしてからPCBに移行したいと思っています。電気的な環境がより優れたプリント基板上に構築してみたら、もしかしたらうまくいくかもしれない、という気がしているんです。 試作を考えた理由の一つは、ストラップとGPIOの間のストラップピンを多重化してリセット時にブートストラップモードに入る正しいロジックを確保するためでした。リセットとブートストラップ有効化は、一部のMCP2221A GPIOによって提供されており、単独でリセットを行うか、ブートストラップを有効にしたままリセットできます。 私の信号発生器はSiglent SDG2122Xです。私がこれを使用する際は、ピークツーピークを5Vに設定し、オフセットを2.5Vに設定することで、-2.5Vから+2.5Vではなく、0Vから5Vの範囲で動作するようにしています。 私のオシロスコープはKeysight MSOX2024Aで、それを使って信号発生器から送られてくる信号を確認しました。その時点で完全に最適なグラウンドセットアップを使っていたとは言えず、クロック信号にオーバーシュートやアンダーシュートが見られましたが、それはスコーププローブにグループクリップやグラウンドスプリングを使っていなかったからだと思います。チップのピンで見た周波数を測定し、電圧が5Vに達しているかを二重に確認することに興味がありました。何にも引きずり込まれることはない。どれくらいオーバーシュート/アンダーシュートだったかは覚えていないので、もう一度測ってみる必要があるでしょう。 Re: 68LC302 and serial bootstrap feature ワイヤーラッピングには何の問題もありません。それをベースにした非常に高速なシステムをいくつか見たことがあります。必要なのは、電源配線またはグランドプレーンが描かれたユニバーサル基板を用意することです。接地面を設けるのが最善です(そして、反対側には送電網を設置するのも良いでしょう)。次に、アースピンを短いワイヤーで巻き付け、電源プレーンにはんだ付けします。それらの方がPCBよりも信号強度が良いです。 すべてのグランドピンが確実に接地されていること、および基板上に大小のバイパスコンデンサが十分に配置されていることを確認してください。 うまくいくはずだ。もしあなたの持っているチップがダークグレーマーケットで、不良基板から削り取ったものでなければ。私もそれを見たことがあります。 それは優れた信号発生器だ。しかし、ユーザーマニュアルに示されているように「負荷:50オーム」にデフォルト設定にしていて、その終端器を使わなければ、(ドキュメントにも記載されていますが)-2.5Vから7.5Vの信号を50オームのソースインピーダンスで送ります。基板に接続すると、MPU入力保護ダイオードがカットインして50mAをアースや電源レールに導くので、オシロスコープ上ではそれがわからないかもしれません。しかし、50mAは多すぎる。 Tom Re: 68LC302 and serial bootstrap feature 帰宅したら信号発生器の設定を確認しないといけません。何に設定されているかすぐには思い出せません。 ただ、最初に試したチップの信号発生器しか使っていませんが、2つ目は搭載の20MHz発振器しか接続されていません。 Re: 68LC302 and serial bootstrap feature 私たちはワイヤーラップを使って月まで飛んだこともあるんです。 🙂 電源は、チップがはんだ付けされるブレークアウトボードのフットプリントの周囲に私が配線した複数のワイヤーリングによって供給されます。おそらく100%理想的とは言えないだろうが、これまでのところ、この基本的な手法は私にとってはかなりうまくいっている。しかし、チップにできるだけ近いすべての電源ピンにデカップリングキャップを取り付けました。 古いシスコ製モジュールからチップを回収しました。私がそれらを取り外した時点では正常に動作していたことが確認されており、シスコ製であれば偽物である可能性は低いだろう。 今は仕事で出張中ですが、帰国したらROMを配線して、簡単なコードでプログラムしてデータ受信とエコーバックを試みようと考えています。
查看全文
Ubuntu 26.04 LTS での「8MPLUSLPD4-EVK」ビルドの問題 こんにちは、NXPさん。 私は「8MPLUSLPD4-EVK」を使用しています。BSPをビルドしようとしているのですが、ビルドで問題が発生しています。この件についてご協力をお願いします。さらに詳しい情報が必要な場合はお知らせください。 エラーログ: dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/project/imx-Yocto-bsp/build$ bitbake core-image-minimal エラー:サーバー環境の設定を試みます:ローカルパラメータでサーバー構成を更新できません:トレースバック(直近の通話履歴): runCommand内のファイル「/ホーム/dasmiddepogu/NXP/project/imx-Yocto-bsp/sources/poky/bitbake/lib/bb/command.py」、runCommandの91行目 結果 = command_method(self、commandline) ファイル「/ホーム/dasmiddepogu/NXP/project/imx-Yocto-bsp/sources/poky/bitbake/lib/bb/command.py」、updateConfigの291行目 command.cooker.updateConfigOpts(options,環境、コマンドライン) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ファイル「/home/dasmiddepogu/NXP/project/imx-yocto-bsp/sources/poky/bitbake/lib/bb/cooker.py」、updateConfigOptsの471行目 self.reset() ~~~~~~~~~~^^ ファイル「/home/dasmiddepogu/NXP/project/imx-yocto-bsp/sources/poky/bitbake/lib/bb/cooker.py」、1741行目、リセット中 self.handlePRServ() ~~~~~~~~~~~~~~~~~^^ ファイル「/home/dasmiddepogu/NXP/project/imx-yocto-bsp/sources/poky/bitbake/lib/bb/cooker.py」、337行目、handlePRServ 内 self.hashserv.serve_as_process(log_level=記録。警告) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ ファイル「/home/dasmiddepogu/NXP/project/imx-yocto-bsp/sources/poky/bitbake/lib/bb/asyncrpc/serv.py」、402行目、serve_as_process self.process.start() ~~~~~~~~~~~~~~~~~~~^^ ファイル "/usr/lib/python3.14/multiprocessing/process.py",121行目、開始 self._popen= self._Popen(self) ~~~~~~~~~~~^^^^^^ ファイル "/usr/lib/python3.14/multiprocessing/context.py",230行目、_Popen内 return _default_context.get_context().Process._Popen(process_obj) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ ファイル "/usr/lib/python3.14/multiprocessing/context.py",306行目、_Popen内 return Popen(process_obj) ファイル "/usr/lib/python3.14/multiprocessing/popen_forkserver.py",35行目、 __init__ super(). __init__ (process_obj) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^ ファイル "/usr/lib/python3.14/multiprocessing/popen_fork.py",20行目、 __init__ self._launch(process_obj) ~~~~~~~~~~~~^^^^^^^^^^^^^ ファイル "/usr/lib/python3.14/multiprocessing/popen_forkserver.py",47行目、_launch内 reduction.dump(process_obj,buf) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ ファイル "/usr/lib/python3.14/multiprocessing/reduction.py",60行目、ダンプファイル内 ForkingPickler(file, protocol).dump(obj) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^ _pickle。PicklingError: local object .run をpickleできません0x7802f7325380> 辞書項目 '_target' をシリアライズするとき multiprocessing.context.Process の状態をシリアル化する場合 multiprocessing.context.Process オブジェクトをシリアル化する際 リポジトリの詳細: $ mkdir imx-yocto-bsp $ CD IMX-Yocto-BSP $ repo init -u https://github.com/nxp-imx/imx-manifest-b imx-linux-scarthgap -ムimx-6.6.36-2.1.0.xml $ リポジトリ同期 $ DISTRO=fsl-imx-xwayland MACHINE=imx8mp-lpddr4-evk ソース imx-setup-release.sh -b build LinuxホストPCの詳細: PRETTY_NAME="Ubuntu 26.04 LTS" NAME="Ubuntu" VERSION_ID="26.04" VERSION="26.04 (Resolute Racoon)" VERSION_CODENAME=決然 ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" サポートURL=" https://help.ubuntu.com/ " バグ報告URL=" https://bugs.launchpad.net/ubuntu/ " PRIVACY_POLICY_URL=" https://www.ubuntu.com/legal/terms-and-policies/privacy-policy " UBUNTU_CODENAME=resolute ロゴ=ubuntuロゴ ホストPCの設定: 建築:x86_64 CPUオペモード:32ビット、64ビット アドレスサイズ:物理42ビット、仮想48ビット バイト順:リトルエンディアン CPU(16) オンラインCPUリスト:0-15 ベンダーID:GenuineIntel モデル名:Intel(R) Core(TM) Ultra 7 255H CPUファミリ:6 モデル:197 スレッド数(コアあたり):1本 ソケットあたりのコア数:16個 ソケット数:1 ステップ数:2 CPUスケーリングMHz:17% CPU最大MHz:5100,0000 CPU最小MHz:400.0000 DDR容量:32GB i.MX8ULP Re: "8MPLUSLPD4-EVK" build issue with Ubuntu 26.04 LTS こんにちは、 @middepogudasさん お元気でお過ごしのことと思います。 imx-linux-scarthgap BSPはUbuntu 22.04およびUbuntu 24.04でサポートされていることが検証されています。 Ubuntu 26.04はデフォルトでPython 3.14を使用していますが、そのBSPに含まれるBitbakeのバージョンはPython 3.14と完全には互換性がないようです。 Ubuntu 26.04 LTSが完全にサポートされるまでは、Ubuntu 24.04 LTSまたはUbuntu 22.04 LTSを使用してコンパイルすることをお勧めします。 また、Python 3.12で仮想環境を使うのも試してみてください。 よろしくお願いいたします。 サラス。 Re: "8MPLUSLPD4-EVK" build issue with Ubuntu 26.04 LTS こんにちは、NXPさん。 Ubuntuを24.04にアップデートしましたが、ビルドの問題が発生しています。ビルドエラーログを添付します。このビルドの問題についてご協力をお願いします。 OS情報: asmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/DOC$ cat /etc/os-release PRETTY_NAME="Ubuntu 24.04.4LTS" 名前="Ubuntu" VERSION_ID="24.04" バージョン="24.04.4 LTS (ノーブル・ナンバット)" バージョンコード名=ノーブル ID=ubuntu ID_LIKE=debian HOME_URL=" https://www.ubuntu.com/ " サポートURL=" https://help.ubuntu.com/ " バグ報告URL=" https://bugs.launchpad.net/ubuntu/ " PRIVACY_POLICY_URL=" https://www.ubuntu.com/legal/terms-and-policies/privacy-policy " UBUNTU_CODENAME=noble ロゴ=ubuntuロゴ dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/DOC$ ビルドエラーログ: 今では「bitbake 」を実行できます。 一般的なターゲットは以下の通りです: コアイメージ最小 メタツールチェーン meta-toolchain-sdk ADT-installer meta-IDE-サポート ビルド環境は以下のように構成されています。 MACHINE=imx8mp-lpddr4-evk SDKMACHINE=i686 DISTRO=fsl-imx-xwayland EULA= BSPDIR= BUILD_DIR=。 dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/DOC$ DISTRO=fsl-imx-xwayland MACHINE=imx8mp-lpddr4-evk ソース imx-setup-release.sh -b build dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/imx-yocto-bsp/build$ bitbake core-image-minimal 注意:あなたのconf/bblayers.confは自動的に更新されました。 警告: ホストディストリビューション「ubuntu-24.04」このバージョンのビルドシステムでは検証されていません。予期しないエラーが発生する可能性があります。テスト済みのディストリビューションを使用することをお勧めします。 キャッシュの読み込み: 100% | | 残り時間: --:--:-- 依存関係キャッシュから0件のエントリを読み込みました。 レシピの解析: 100% |# 3643 .bb の解析ファイル完了(キャッシュ済み0個、解析済み3643個)。ターゲット数5719、スキップ数375、マスク数17、エラー数0。 注:不足しているタスクキューの依存関係を解決します ビルド構成: BB_VERSION = 「2.8.0」 BUILD_SYS = 「x86_64-linux」 NATIVELSBSTRING = "ubuntu-24.04" TARGET_SYS = "aarch64-poky-linux" MACHINE = "imx8mp-lpddr4-evk" ディストリビューション = "fsl-imx-xwayland" DISTRO_VERSION = 「6.6-スカースギャップ」 TUNE_FEATURES = "aarch64 armv8a crc crypto" TARGET_FPU = "" メタ meta-poky = "HEAD:f43f393ef0246b7bee6eed8bcf8271cf2b8cdf40" メタOE メタマルチメディア meta-python = "HEAD:80e01188fa822d87d301ee71973c462d7a865493" meta-freescale = "HEAD:0f8091c63dd8805610c09b08409bc58492a3b16f" meta-freescale-3rdparty = "HEAD:6c063450d464eb2f380443c7d9af1b94ce9b9d75" meta-freescale-distro = "HEAD:b9d6a5d9931922558046d230c1f5f4ef6ee72345" メタ-IMX-BSP meta-imx-sdk メタ-IMX-ML meta-imx-v2x = "HEAD:92ad51ef3cc7f132238f1ae6c8e81432f2a69cc7" meta-nxp-demo-experience = "HEAD:8fd7154c05b716e9635279047f65785399432d88" meta-nxp-マター-baseline meta-nxp-openthread = "HEAD:783becb4b5716d989f50db95b7133d38eae5b47b" meta-Arm meta-arm-toolchain = "HEAD:1b85bbb4cab9658da3cd926c62038b8559c5c64e" meta-clang = "HEAD:fe561f41aef0cff9e6f96730ab59f28dca2eb682" メタノーム メタネットワーキング meta-filesystems = "HEAD:80e01188fa822d87d301ee71973c462d7a865493" meta-qt6 = "HEAD:dc13e1bfda4a4757a08c2d6673bc4bac012c4a80" メタパーセク meta-tpm = "HEAD:11ea91192d43d7c2b0b95a93aa63ca7e73e38034" meta-仮想化 = "HEAD:6a80f140e387621f62964209a2e07d3bcfb125ce" 注: 非ネイティブバイナリ shim を取得していますhttp://downloads.yoctoproject.org/releases/uninative/4.5/x86_64-nativesdk-libc-4.5.tar.xz;sha256sum=43ee6a25bcf5fce16ea87076d6a96e79ead6ced90690a058d07432f902773473(まずPREMIRRORSを確認します) Sstate の概要: 要求 2656 ローカル 0 ミラー 0 見逃した 2656 現在 0 (一致率 0%、完了率 0%)################################################################################################################################### ## | ETA: 0:00:00 Initialising tasks: 100% |## ## 注:タスクの実行 エラー: PermissionError: [Errno 1] 操作が許可されていません 上記の例外処理中に、別の例外が発生しました。 トレースバック(直近の通話): ファイル「/ホーム/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/bitbake/bin/bitbake-worker」、278行目、子内 bb.utils.disable_network(uid,gid) ファイル「/ホーム/dasmiddepogu/NXP/imx-Yocto-bsp/sources/poky/bitbake/lib/bb/utils.py」、1696行目、disable_network Open("/proc/self/uid_map", "w")をfとして使う: 許可エラー:[Errno 1] 操作は許可されません エラー:タスク(/home/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb:do_unpack)が終了コード「1」で失敗しました エラー:許可エラー:[エラー1] 操作は許可されていません 上記の例外処理中に、別の例外が発生しました。 トレースバック(直近の通話): ファイル「/ホーム/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/bitbake/bin/bitbake-worker」、278行目、子内 bb.utils.disable_network(uid,gid) ファイル「/ホーム/dasmiddepogu/NXP/imx-Yocto-bsp/sources/poky/bitbake/lib/bb/utils.py」、1696行目、disable_network Open("/proc/self/uid_map", "w")をfとして使う: 許可エラー:[Errno 1] 操作は許可されません エラー:タスク(/home/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb:do_prepare_recipe_sysroot)が終了コード「1」で失敗しました。 注:タスク概要:34件のタスクを試みましたが、そのうち再実行不要は0件、2件は失敗しました。 概要:2つの課題が失敗: /ホーム/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb:do_unpack /home/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb:do_prepare_recipe_sysroot 概要:警告メッセージが1件ありました。 概要:2件のエラーメッセージが発生し、ゼロ以外の終了コードが返されました。 dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/imx-yocto-bsp/build$ ありがとう、、 ダス・ミッデポグ Re: "8MPLUSLPD4-EVK" build issue with Ubuntu 26.04 LTS こんにちは、NXPさん。 BSPビルドエラーで助けていただけませんか? dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/lp_imx-yocto-bsp/build$ python3 --version Python 3.12.3 dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/lp_imx-yocto-bsp/build$ cat /etc/os-release PRETTY_NAME="Ubuntu 24.04.4LTS" 名前="Ubuntu" VERSION_ID="24.04" バージョン="24.04.4 LTS (ノーブル・ナンバット)" バージョンコード名=ノーブル ID=ubuntu ID_LIKE=debian HOME_URL=" https://www.ubuntu.com/ " サポートURL=" https://help.ubuntu.com/ " バグ報告URL=" https://bugs.launchpad.net/ubuntu/ " PRIVACY_POLICY_URL=" https://www.ubuntu.com/legal/terms-and-policies/privacy-policy " UBUNTU_CODENAME=noble ロゴ=ubuntuロゴ dasmiddepogu@dasmidde | エラー: 設定に失敗しました 警告: シェルコマンドからの終了コードが 1 です。 エラー:タスク(/home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/poky/meta/recipes-core/libxcrypt/libxcrypt_4.4.33.bb:do_configure)が終了コード「1」で失敗しました 注:タスク概要:1539件のタスクを試み、そのうち1519件は再実行不要、2件は失敗しました。 概要:2つの課題が失敗: /home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_6.1.bb:do_package /home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/poky/meta/recipes-core/libxcrypt/libxcrypt_4.4.33.bb:do_configure 概要:警告メッセージが2件ありました。 概要:3件のエラーメッセージが発生し、ゼロ以外の終了コードが返されました。 dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/lp_imx-yocto-bsp/build$ bitbake core-image-minimal Re: "8MPLUSLPD4-EVK" build issue with Ubuntu 26.04 LTS こんにちは、NXPさん。 私が使用しているPythonのバージョンを記載してください。以下にビルドエラーログを示しますので、ビルドを正常に完了させるための修正方法をお知らせください。config.log ファイルは添付ファイルをご覧ください。 asmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/lp_imx-yocto-bsp/build$ python3 --version Python 3.12.3 dasmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~ asmiddepogu@dasmiddepogu-ThinkPad-P14s-Gen-6:~/NXP/lp_imx-yocto-bsp/build$ bitbake core-image-minimal 警告:ホストディストリビューション「ubuntu-24.04」はこのビルドシステムのバージョンで検証されていません。予期せぬ失敗に遭遇するかもしれません。テスト済みのディストリビューションを使用することが推奨されます。 キャッシュの読み込み: 100% |# 依存関係キャッシュから5303件のエントリを読み込みました。 注:不足しているタスクキューの依存関係を解決します ビルド構成: BB_VERSION = "2.4.0" BUILD_SYS = 「x86_64-linux」 NATIVELSBSTRING = "ubuntu-24.04" TARGET_SYS = "aarch64-poky-linux" MACHINE = "imx8mp-lpddr4-evk" ディストリビューション = "fsl-imx-xwayland" DISTRO_VERSION = 「6.1-ミックルドア」 TUNE_FEATURES = "aarch64 armv8a crc crypto" TARGET_FPU = "" メタ meta-poky = "HEAD:0a98281d37b0bd8dc1548c390216cb3978e36e0e" メタOE メタマルチメディア meta-python = "HEAD:75cf318cef3b4ee81fad2782cf063ecd69ba8842" meta-freescale = "HEAD:9b00d40b787c2b7105ce209f5635cc1a0cab81ca" meta-freescale-3rdparty = "HEAD:93ba05e3a16a028b770fa1e813b13eb87a59ac63" meta-freescale-distro = "HEAD:b09c18a3f649f0cf1b40432bb39e76ba16fe94e2" メタBSP meta-SDK メタML meta-v2x = "HEAD:6efe87f014c5bdcbda30f06156ee11d8bc3dc7fe" meta-nxp-demo-experience = "HEAD:7f34a32c7877e55e87b6a99e90da4128ed632bf2" meta-Arm meta-arm-toolchain = "HEAD:0e043288fd0b17fbf31cf00ae33045107a991144" メタクロム = "HEAD:e232c2e21b96dc092d9af8bea4b3a528e7a46dd6" meta-clang = "HEAD:af4dcba009ba98250315520f3003fde4ee164cce" メタノーム メタネットワーキング meta-filesystems = "HEAD:75cf318cef3b4ee81fad2782cf063ecd69ba8842" meta-qt6 = "HEAD:1406d0a85525a71fe5d7892d7f915404290a78ad" メタパーセク meta-tpm = "HEAD:d7db0a3bd1a8639df7570483f003ce00cbe274a2" meta-virtualization = "HEAD:56593e277a377157944a6676e57497066b770a35" 警告:ホストのglibcバージョン(2.39)はUninative(2.37)よりも新しいバージョンです。Uniativeを無効にしてステートが破損しないようにします。 タスクの初期化:100% |###############################################################################################################################################################################################################|時間:0:00:01 Sstate概要:指名手配833 ローカル2 ミラーズ 0 欠落 831 現行940(0%一致、53%完了) 注意:タスクの実行 エラー:linux-libc-headers-6.1-r0 do_package: exec_func_python()でpython関数を実行する際のエラーが自動生成: この例外/失敗を引き起こしたPython呼び出しのスタックトレースは以下の通りです: ファイル: 'exec_func_python() autogenerated', lineno: 2, function: 0001: *** 0002:perform_packagecopy(d) 0003: ファイル: '/home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/poky/meta/classes-global/package.bbclass', lineno: 355, function: perform_packagecopy 0351: rpath_replace (dvar, d) 0352:} 0353:perform_packagecopy[パッケージ] = "${PKGD}" 0354:perform_packagecopy[パッケージ] = "${PKGD}" *** 0355: 0356:python populate_packages () { 0357: oe.package.populate_packages(d) 0358:} 0359:populate_packages[dirs] = " ${D} " ファイル: '/usr/lib/python3.12/subprocess.py'、行番号: 466、関数: check_output 0462: それ以外の場合: 0463: 空 = b'' 0464: kwargs['input'] = 空 0465: *** 0466: return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, 0467: **kwargs).stdout 0468: 0469: 0470:class CompletedProcess(object): ファイル: '/usr/lib/python3.12/subprocess.py'、行番号: 571、関数: run 0567: # process.wait() は呼び出しません。 __exit__それをやってくれます。 0568: 上げる 0569: retcode = process.poll() 0570: チェックして戻りコードを取得する場合: *** 0571: raise CalledProcessError(retcode, process.args, 0572: output=stdout, stderr=stderr) 0573: return CompletedProcess(process.args, retcode, stdout, stderr) 0574: 0575: 例外:サブプロセス。CalledProcessError: コマンド 'tar --exclude=./sysroot-only -cf - -C /ホーム/dasmiddepogu/NXP/lp_imx-Yocto-bsp/build/tmp/work/armv8a-poky-Linux/Linux-libc-headers/6.1-r0/image -p -S|tar -xf - -C /home/dasmiddepogu/NXP/lp_imx-yocto-bsp/build/tmp/work/armv8a-poky-linux/linux-libc-headers/6.1-r0/package' は非ゼロの終了ステータス2を返しました。 サブプロセスの出力: 不明な di に対して *at() システムコールを取得しました ar: ./usr/include/asm-generic/poll.h: 開けられない:そのようなファイルやディレクトリは存在しません tar:過去のエラーにより故障状態で退出 エラー:故障ログファイルは以下のホームに保存されています:/home/dasmiddepogu/NXP/lp_imx-yocto-bsp/build/tmp/work/armv8a-poky-linux/linux-libc-headers/6.1-r0/temp/log.do_package.75498 エラー:タスク (/ホーム/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/poky/meta/recipes-kernel/Linux-libc-headers/Linux-libc-headers_6.1.bb:do_package)出口コード「1」で失敗 エラー: libxcrypt-4.4.33-r0 do_configure: configure failed エラー: libxcrypt-4.4.33-r0 do_configure: ExecutionError('/home/dasmiddepogu/NXP/lp_imx-yocto-bsp/build/tmp/work/armv8a-poky-linux/libxcrypt/4.4.33-r0/temp/run.do_configure.75465', 1, None, None) エラー:故障ログファイルは以下のカテゴリに保存されています:/home/dasmiddepogu/NXP/lp_imx-yocto-bsp/build/tmp/work/armv8a-poky-linux/libxcrypt/4.4.33-r0/temp/log.do_configure.75465 ログデータは以下のとおりです。 注:以下のconfig.logファイルには、さらに詳しい情報が記載されている場合があります。 |注意:/ホーム/dasmiddepogu/NXP/lp_imx-yocto-bsp/build/tmp/work/armv8a-poky-linux/libxcrypt/4.4.33-r0/build/config.log |エラー:CONFIGURE fail |警告:シェルコマンドからコード1を終了してください。 エラー:タスク(/home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/poky/meta/recipes-core/libxcrypt/libxcrypt_4.4.33.bb:do_configure)が終了コード「1」で失敗しました 注:タスク概要:1546件のタスクを試み、そのうち1537件は再実行不要、2件は失敗しました。 概要:2つの課題が失敗: /home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_6.1.bb:do_package /home/dasmiddepogu/NXP/lp_imx-yocto-bsp/sources/poky/meta/recipes-core/libxcrypt/libxcrypt_4.4.33.bb:do_configure 概要:警告メッセージが2件ありました。 概要:3件のエラーメッセージが発生し、ゼロ以外の終了コードが返されました。 よろしくお願い申し上げます。 Re: "8MPLUSLPD4-EVK" build issue with Ubuntu 26.04 LTS こんにちは、NXPさん。 上記のビルドエラーについて何か解決策をご存知でしょうか? ダス・ミッデポグ Re: "8MPLUSLPD4-EVK" build issue with Ubuntu 26.04 LTS こんにちは、NXPさん。 以下のビルドエラーを修正する方法について、何かアドバイスをいただけないでしょうか? 私はUbuntu 24.04とPythonバージョン3.8を使用しています。 ビルドコマンド : IMX-Yocto-BSP/Build$ Bitbake core-image-minimal ビルドエラー: 警告:シェルコマンドの終了コードが1です。 エラー:タスク(/home/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/meta/recipes-core/libxcrypt/libxcrypt_4.4.33.bb:do_configure)が終了コード「1」で失敗しました 注:タスク概要:2891件のタスクを試み、そのうち16件は再実行不要、1件は失敗しました。 概要:1つの課題失敗: /ホーム/dasmiddepogu/NXP/imx-yocto-bsp/sources/poky/meta/recipes-core/libxcrypt/libxcrypt_4.4.33.bb:do_configure 概要:警告メッセージが78件ありました。 概要:2件のエラーメッセージが発生し、ゼロ以外の終了コードが返されました。
查看全文
内部DCDC DCDC_ANA_SENSEおよびVOUT_DCDC_1V8/DCDC_ANAに関する問題 親愛なるNXPサポートチームの皆様、 MX RT1172を搭載したカスタムボードで作業中に、 DCDC_ANA_SENSEの波形をキャプチャしたところ、最初に1.9Vまで上昇し、その後1.51Vで安定することがわかりました。 なぜこうなるのか教えてもらえますか?参考のために波形と回路図を添付しました。 あなたからの返信を楽しみにしています。 よろしくお願いいたします。 深い Re: Issue with internal DCDC DCDC_ANA_SENSE and VOUT_DCDC_1V8/DCDC_ANA こんにちは、 @deeporbit さん。 私たちの製品にご関心を寄せ、コミュニティをご利用いただき、本当にありがとうございます。 提供された波形に基づくと、VOUT_DCDC_1V8 (DCDC_ANA_SENSE) の定常状態電圧は約 1.51 V であり、これは期待される動作と一致しません。MIMXRT1170-EVKBでテストしたところ、DCDC_1V8_OUTレールは約1.8Vに安定化することが分かりました。 以下の点を確認することをお勧めします。 1: DCDC_ANA_SENSEが正しくVOUT_DCDC_1V8に接続されているか確認し、0 Ωフィードバック抵抗R166が正しく埋め込まれてはんだ付けされているか確認してください。 2: 外部の1.8Vレギュレーター、ペリフェラル、レベルシフター、その他の電源領域がVDD_1V8/VOUT_DCDC_1V8レールに接続されていて、レールを引き寄せたり逆動させたりしている可能性があるか確認してください。 3: DCDC_ANA / VOUT_DCDC_1V8に接続された総負荷を確認してください。DCDC_ANAにかかる負荷は、規定の出力能力である150mAを超えてはならない。 4: 可能であれば、下流の 1.8 V 負荷を分離し、VOUT_DCDC_1V8 を再度測定します。レールが絶縁後に約1.8Vに戻る場合、問題は過剰な負荷か1.8Vレールに接続された外部回路に関連している可能性が高いです。 よろしくお願いします、 5月
查看全文
i.MX93 FRDM: 「imx93-11x11-frdm-waveshare-7inch-c-panel.dtb」はどこにありますか? 「 FRDM-IMX93 ボードユーザーマニュアル 」 UM12181 - Rev 3.0、2026年1月23 日の指示に従っています。 説明書に従って、 i.MX93 FRDMボードをWaveshare LCDに接続しようとしています。 セクション3.1.3「ソフトウェア構成アップデート」 28ページには、以下を実行すると書かれています: $setenv fdtfile imx93-11x11-frdm-waveshare-7inch-c-panel.dtb しかし、この dtb ファイル ( imx93-11x11-frdm-waveshare-7inch-c-panel.dtb ) は私のイメージには含まれておらず、参照イメージ ( LF_v6.6.36-2.1.0_images_FRDM_4.0_IMX93 ) にも含まれていません。 imx93-11x11-frdm-waveshare-7inch-c-panelデバイスツリーのソースはどこで見つけられますか? どうもありがとうございました! FRDM-i.MX93 Re: i.MX93 FRDM: Where is "imx93-11x11-frdm-waveshare-7inch-c-panel.dtb"? こんにちは、 @TomFoy1 さん。 NXPサポートまでご連絡いただきありがとうございます。 このボード向けに最初に公開されたイメージでは、デバイスツリーはimx93-11x11-frdm-dsi.dtbという名前でした。後のリリースでは、 imx93-11x11-frdm-waveshare-7inch-c-panel.dtbに名前が変更されました。 imx93-11x11-frdm-dsi.dtb をお試しください。 よろしくお願いします、 チャビラ  
查看全文
i.MX93 FRDM:'imx93-11x11-frdm-waveshare-7inch-c-panel.dtb'在哪里? 我正在按照UM12181 《 FRDM-IMX93 板用户手册》- Rev 3.0,2026 年 1 月 23 日中的说明进行操作。 我正在尝试按照说明将i.MX93 FRDM板连接到Waveshare LCD 。 第3.1.3节“软件配置更新”(第 28 页)指出,请执行以下操作: $setenv fdtfile imx93-11x11-frdm-waveshare-7inch-c-panel.dtb 然而,我的镜像中缺少这个 dtb 文件( imx93-11x11-frdm-waveshare-7inch-c-panel.dtb ),参考镜像( LF_v6.6.36-2.1.0_images_FRDM_4.0_IMX93 )中也缺少这个文件。 我可以在哪里找到imx93-11x11-frdm-waveshare-7inch-c-panel设备树的源代码? 非常感谢! FRDM-i.MX93 Re: i.MX93 FRDM: Where is "imx93-11x11-frdm-waveshare-7inch-c-panel.dtb"? 嗨@TomFoy1 , 感谢您联系恩智浦技术支持。 在该板最初发布的镜像中,设备树被命名为imx93-11x11-frdm-dsi.dtb在后来的版本中,它被重命名为imx93-11x11-frdm-waveshare-7inch-c-panel.dtb 请尝试使用 imx93-11x11-frdm-dsi.dtb 此致, 查维拉  
查看全文
68LC302 和串行引导功能 大家好。希望到了 2026 年,仍然有人对 LC302 有一些了解。 我一直在做一个涉及 LC302 的小项目,我对使用串行引导功能很感兴趣。我就是弄不好,不知道是不是需要特别注意什么才能让它正常工作。 我已经尝试了我能想到的一切办法,目前正在考虑更换我现有的 LC302,以防它出现故障,但在采取这一措施之前,我想先问问这个问题。仅供参考,包装上的标记是(带有摩托罗拉标志): MC68LC302PU25CT 2J29A QQDJ0316 我用5V电源供电。 基本上,我无法让它回显我发送给它的任何内容。我偶然看到一篇帖子,似乎描述了同样的问题,但我遇到的问题似乎并不相同: https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/We-have-been-using-the-68LC302-for-decades-without-major/mp/612300 我用示波器/逻辑分析仪尝试过/观察到以下现象: 我尝试过使用PLL模式和不使用PLL模式。在 PLL 模式下,我使用了一个 4MHz 的振荡器(4.192MHz 的振荡器很难找到)。在这种模式下,我使用了 9174 波特率(4MHz*4,/109,/16)。如果没有锁相环,我使用了一个 20MHz 的振荡器,波特率为 11467。我使用信号发生器输入 4.192MHz 信号,并使用了数据手册中给出的波特率,但仍然没有成功。 如果我将 PA7 拉高以禁用引导模式,我可以观察到 AS 引脚上有一些短暂的活动,这大概是因为 CPU 尝试从外部存储器读取其复位向量。如果我将 PA7 拉低以启用引导模式,我就不再观察到这种活动了,大概是因为 CPU 处于 RESET 状态。 我很快就发现 PA7 上似乎有一个电流源,并且输出大约 3-4mA 的电流(用万用表电流模式测量),超过了我的外部下拉电阻,导致逻辑高电平。我觉得这电流非常大,有人能解释一下这是为什么吗?这似乎与上述导致 PA7 意外拉高的帖子略有相关。或许是我的零件有问题? Reset 和 HALT 同时钳位(过去几年我在业余项目中积累了丰富的 68k 经验)。 🙂 我已经反复检查了所有接线,包括 TX/RX 信号的极性,甚至为了以防万一,还将 SCC1 的流控制输入拉到了反相状态。我用示波器测量过,我的 USB 转串口适配器确实能产生我请求的波特率,而且将 TX 连接到 RX 可以让 PuTTY 回显我发送的字符,所以我相当确信那里没有什么异常情况发生。 我还没有连接任何内存总线,因为目前我只是想看看能否通过串口加载一些代码并让 LED 闪烁,但是 BUSW 引脚已经绑定为 16 位总线操作,这重要吗? 在开始拆焊之前,大家还有什么其他建议吗? 谢谢您! Re: 68LC302 and serial bootstrap feature 你好,谢谢你的留言。 我已经确认我使用的是与 SCC1 相关的引脚。 我的电路是安装在带绕线的万用板上的,所以除了我绕的线之外,其他任何引脚都不会受到其他因素的影响。我用万用表验证过,复位和停止信号同时钳位,并且电压达到 0V,所有引脚都达到所需的电压电平,没有浮空引脚。 另外,正如我在帖子中提到的,我也尝试过使用信号发生器提供的 4.192MHz 信号和数据手册中规定的波特率,但这并没有帮助。 抱歉,我之前说我把 CD1 连接到了它的否定状态,我只是把术语搞混了,它实际上是接地的(钳位),为了保险起见,CTS1 也接地了。 我尝试发送 576 字节的数据进行测试,看看是不是因为某种原因它没有回显这些数据,但仍然能够正确接收它们。 谢谢! Re: 68LC302 and serial bootstrap feature 你好, 我首先要检查的是 CD1 。对于 LC302 串行引导回显路径,手册中说 SCC 硬件会将接收到的字符回显到 TXD1 上,但 CD1 必须置位;在 SCC1 上,外部 CD1 引脚必须拉低。如果你将 SCC1 调制解调器控制输入拉到“否定”状态,这可能就是你看不到回声的原因。 LC302启动说明中的其他要点: 通过在硬复位期间采样 PA7 = 0 来启用串行引导,其中硬复位意味着 RESET 和 HALT 同时钳位。 PA7 不能悬空;RESET时必须故意将其拉高或拉低。 SCC1 接收到的前 576 个字节存储在双端口 RAM 中,并且接收到的每个字符都会从 TXD1 回显出来;设备只有在接收到所有 576 个字节后才会退出启动模式。 对于内部时钟引导,记录的标称时钟假设为 4.192 MHz 或 32.768 kHz,SCC 编程为大约 9600 波特。 在异步 UART 模式下,使用外部时钟选项时,比特率为 TCLK1/RCLK1 时钟速率的 1/16。 所以在更换零件之前,我会先尝试这种最简化的配置: 同时按住 RESET 和 HALT 键。 将 PA7/启动 低电平拉下,并用足够强的下拉电阻来克服您的板上的任何阻力。 使用 PA5 选择所需的时钟模式: PA5 = 0 :内部启动时钟模式。 PA5 = 1 :外部时钟位于 TCLK1/RCLK1 倍波特率。 将 PA12/MODCLK0 与时钟源保持一致;手动在硬复位期间对其进行采样,以区分标称 EXTAL 频率。 CD1 低。 保持 RXD1 、 TXD1 、 RCLK1 和 TCLK1 接线与 SCC1 一致,而不是与 SCC2 一致。LC302 描述中的 SCC1 启动功能。 发送完整的 576 字节测试流,而不是只发送一个字符,尽管一旦接收正常工作,回显应该逐个字符地出现。 来自 PA7 的 3–4 mA 电流很可疑。根据数据手册,输入漏电流值最大仅为 20 µA,远低于毫安级。由于 PA7 也是一个双向多功能引脚,如果其他东西正在驱动它,或者该器件已经离开复位采样状态,则可能会发生争用,但在复位作为启动期间,读取低电平不应该需要灌入几毫安的电流。我会检查 PA7 上是否存在板级上拉/驱动器/焊接桥,验证封装引脚方向,并在 RESET 和 HALT 同时主动钳位时测量电流。 还有一点需要注意:你尝试的 4 MHz 内部时钟并不等同于 4.192 MHz。如果调整另一侧,对于某些 UART 来说可能足够接近,但文档中记录的内部引导模式假定标称 LC302 时钟值,因此为了消除变量,我会使用 4.192 MHz 和文档中记录的波特率,或者使用外部时钟模式并提供干净的 TCLK1/RCLK1 = 16 × baud 。   此致问候 Re: 68LC302 and serial bootstrap feature 于是,我把原来的 68LC302 换成了另一个,它工作了大约 2 秒钟(回显了我发送的字符),直到我重启了它,从那以后它就再也无法工作了。 最初我没有将 CD1 接地,因为数据手册上说,就串行引导过程而言,这是“无关紧要的”,而且在这种配置下确实可以工作。它停止工作后,我尝试将 CD1 接地,但这并没有解决问题。 近在咫尺,却又远在天边。这个项目简直就是被诅咒了。 😞 这个电路似乎在 PA7 上有某种较大的电流源,需要一个相当大的电阻来将其拉低到足够低的水平,或者需要一个三态驱动器来覆盖它。 Re: 68LC302 and serial bootstrap feature 我觉得你这是在损坏芯片。有几种方法可以做到这一点,阅读你的帖子后,我想到了两种可能性。 你正在(或曾经)使用外部信号发生器来运行时钟。你是否已对信号发生器的电缆进行端接,以避免反射和过冲?如果信号发生器连接一根 50 欧姆的同轴电缆,而电缆末端没有 50 欧姆的电阻,那么在 10V 到 -5V 的电压范围内,信号会出现故障(反射)。那肯定会损坏芯片。 如果你有一台安捷伦信号发生器(其他的可能类似),将其编程为“0 至 5V”,并且没有注意到“端接或非端接”选项,那么将其设置为端接并且不添加任何参数,它将产生 0-10V 的信号,然后该信号会波动到 -10V 至 20V。使用一台性能良好的(高频,例如 100MHz 或更高)示波器检查 CPU 的时钟信号。 你是如何为驱动 CPU 串口的芯片供电的?你是否使用了一个由 CPU 供电的 5V 电源供电的 MAX RS232 收发器(并从 PC 或其他设备获得 12V RS232 电源)?或者您使用的是直接连接到 CPU 的外部 TTL 电平(3.3V 或 5V)串行端口?如果你使用的是后者,那么当你关闭 CPU 电源时,你仍然会将外部电压输入到该 CPU 引脚中。TTL-RS232 空闲电压为 5V,因此这样做可能会损坏引脚,甚至导致致命的闩锁效应。谷歌表示,如果这样做,该芯片可能会发生致命的闩锁效应。请在维基百科上查找“闩锁”。 确保所有部件都牢固连接在一起。但这是使用 CAN 的人总是忘记做的事情。RS-232 也一样。 Tom Re: 68LC302 and serial bootstrap feature 最初我用信号发生器测试时,没有进行端接。在最近的例子中,我使用了一个板载的 20MHz 振荡器,为了简化操作,暂时忽略了 PLL 配置。(不过,这并不是我希望在项目最终版本(如果我能完成的话)中使用的配置,因为我还想使用一个 4MHz 的振荡器来驱动另一个部件。) 整个电路板的电源来自 Mikroe 公司的小型 USB 转串口模块,该模块上有一个 MCP2221A 芯片。不幸的是,该电路在 5V 电源中串联了一个二极管,因此板看到的电压接近 4.7V,但我也使用了一个台式电源来提供稳定的 5V 电压。 [[ ## completed ##]]我想不出 CPU 没有电源但任何引脚上却有 5V 信号的情况——要么所有引脚都有电源,要么就没有。 但如果这种情况会导致闩锁效应并损坏芯片,那么我现在可能就放弃整个项目了,因为我打算把它集成到 Arduino 风格的板上,如果这些部件对奇怪的电源情况过于敏感,那么它们可能非常适合这个项目。 😞 Re: 68LC302 and serial bootstrap feature 我想另一种选择就是在PCB板上好好地制作一个版本。我已经设计好了一个,但我希望先用原型测试一下这个设计,然后再投入到PCB的生产中。我感觉如果我把它构建成一个版本在PCB板上,那里有更好的电气环境,也许它就能正常工作了。 之所以想制作原型,部分原因是想确保我拥有正确的逻辑,以便在 RESET 期间将跳线引脚在其跳线和 GPIO 之间进行多路复用,从而进入引导模式。MCP2221A 的一些 GPIO 可以提供 RESET 和引导使能,这样你既可以单独进行 RESET,也可以在启用引导的情况下进行 RESET。 我的信号发生器是 Siglent SDG2122X。我使用它时,将其设置为峰峰值 5V,偏移量为 2.5V,使其范围从 0 到 5V,而不是 -2.5 到 +2.5。 我的示波器是 Keysight MSOX2024A,我用它来检查来自信号发生器的信号。我当时并没有使用完全最佳的接地设置,所以时钟信号出现了过冲/欠冲,但我认为这是因为我没有在示波器探头上使用分组夹或接地弹簧——我更感兴趣的是测量芯片引脚上的频率,并再次确认电压是否达到 5V,并且没有被任何东西拉低。我不记得射击过度/不足的程度了,我想我得再测量一下。 Re: 68LC302 and serial bootstrap feature 我回家后得检查一下信号发生器的设置,因为我一时想不起来它现在的设置是什么。 不过,我只在尝试的第一块芯片上使用过信号发生器,第二块芯片一直都只连接了板载的 20MHz 振荡器。 Re: 68LC302 and serial bootstrap feature 我们也曾用金属丝缠绕的方式飞到月球上。 🙂 电源由我绕在芯片焊接的扩展板周围一圈的导线形成。虽然可能不是百分之百理想,但到目前为止,这种方法对我来说效果还不错。但我已经尽可能地在所有靠近芯片的电源引脚上添加了去耦电容。 我从一些旧的思科模块中回收了芯片。我把它们取下来的时候,它们都是可以正常工作的,而且很可能不是思科出品的假货。 我目前正在出差,但我打算回来后尝试连接一个 ROM,并用一些简单的代码对其进行编程,看看我是否可以让它接收和回显数据。 Re: 68LC302 and serial bootstrap feature 绕线法没什么问题。我见过一些基于此技术打造的高速设备。你需要做的就是准备一块带有电源走线或接地层的万用板。最好是接地平面(另一侧可能需要电网)。然后,用短导线将接地引脚包裹起来,并焊接到电源层上。用其中一种器件可以获得比用PCB板更好的信号完整性。 确保所有接地引脚都牢固接地,并且电路板上有足够的大小旁路电容。 应该可以。除非你手里的芯片是劣质的灰色市场产品,是从故障电路板上刮下来的。我见过这种情况。 那是个不错的信号发生器。但是,如果您将其默认值设置为“负载:50 欧姆”(如用户手册中所示),但没有该终端电阻,它将(并且有文档记录)发送 -2.5V 至 7.5V 的信号,源阻抗为 50 欧姆。连接到电路板后,MPU 输入保护二极管将启动,将 50mA 电流导入地线和电源轨,因此在示波器上可能不太容易看出发生了什么。但是 50mA 太大了。 Tom
查看全文
68LC302 and serial bootstrap feature Hi all. Hopefully there is still someone around in 2026 that has some knowledge tucked away in the back of their brains regarding the LC302. I've been working on a little project involving an LC302 and I am interested in using the serial bootstrap feature. I just cant seem to get it to work and I wondered if there is anything particularly special that needs to be done to make it work. I've tried everything I can think of, and I'm currently looking at replacing the LC302 that I currently have in case it is somehow faulty, but thought I'd ask the question before I go to that effort. FWIW the markings on the package are (with Motorola logo): MC68LC302PU25CT 2J29A QQDJ0316 I am powering it with 5V. Basically I cannot get it to echo back anything that I am sending to it. I came across the following post which seemed to describe the same problem, but I dont seem to have the same issue: https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/We-have-been-using-the-68LC302-for-decades-without-major/m-p/612300 Things I've tried/I can observe with my scope/logic analyser: I've tried using both PLL mode and not. In PLL mode I used a 4MHz oscillator (4.192 is hard to come across). In this mode I used 9174 baud (4MHz*4, /109, /16). Without the PLL I used a 20MHz oscillator with baud 11467. I've used my signal generator to feed 4.192MHz in and used the baud rate quoted in the datasheet also to no avail. If I pull PA7 high to disable bootstrap mode, I can observe some brief activity on the AS pin, presumably as the CPU tries to read its reset vector from external memory. If I pull PA7 low to enable bootstrap mode I don't observe this activity any more, presumably as the CPU is held in reset. I did early on discover that PA7 seems to have some kind of current source on it, and was sourcing approx 3-4mA of current (measured with my multimeter in current mode), overpowering my external pull down resistor and resulting in a logic high. This feels like an extremely high amount of current to me, and does anyone have an explanation for that? It seems vaguely related to the above thread causing PA7 to be pulled too high unexpectedly. Maybe my part is faulty? Reset and HALT are being asserted simultaneously (I've got lots of 68k experience from hobby projects over the past several years). 🙂 I've double and triple checked all of my wiring including the polarity of the TX/RX signals, and even pulled the flow control inputs for SCC1 to their negated state just in case. I've measured with my oscilloscope that my USB-serial adapter does indeed generate the baud rate that I am requesting, and looping TX to RX allows me to echo back the characters that I send in putty, so I am fairly confident there is nothing odd going on there. I havent wired up any of the memory busses, because for now I am just interested to see if I can load some code in via serial and make an LED blink, but the BUSW pin has been strapped for 16-bit bus operation, if that matters? Does anyone have any other suggestions before I go desoldering stuff? Thanks! Re: 68LC302 and serial bootstrap feature Hi, thanks for the message. I have made sure that I am using SCC1 related pins. My setup is on a perfboard with wire wrap, so there are no other influences on any of the pins other than what I have wire wrapped. I've verified with a multimeter that reset and halt are asserted together and that they reach 0V, and that all strap pins are seeing the required voltage levels with no floating pins. Also, as mentioned in my post, I have also tried using 4.192MHz supplied by my signal generator and the baud rate quoted in the datasheet, but this didn't help. Apologies when I said I had tied CD1 to its negated state, I've just mixed up my terminology and it is indeed tied to ground (asserted), along with CTS1 for good measure. I'll try sending 576 bytes as a test in case it is just not echoing them back for some reason, but is still receiving them correctly. Thanks Re: 68LC302 and serial bootstrap feature Hello, The first thing I would check is CD1 . For the LC302 serial bootstrap echo path, the manual says the SCC hardware echoes received characters back on TXD1 , but CD1 must be asserted; on SCC1 the external CD1 pin must be tied low . If you pulled the SCC1 modem-control inputs to their “negated” state, that may be exactly why you see no echo. Other important points from the LC302 boot description: Serial bootstrap is enabled by sampling PA7 = 0 during hard reset , where hard reset means both RESET and HALT asserted . PA7 must not float; it must be deliberately pulled high or low during reset. The first 576 bytes received on SCC1 are stored in dual-port RAM, and each received character is echoed back out of TXD1 ; the device will not leave boot mode until all 576 bytes are received. For internal-clock bootstrap, the documented nominal clock assumptions are 4.192 MHz or 32.768 kHz , with the SCC programmed to approximately 9600 baud. In asynchronous UART mode, the bit rate is 1/16 of the TCLK1/RCLK1 clock rate when using the external clock option. So before replacing the part, I would try this exact minimal setup: Hold RESET and HALT low together . Strap PA7/BOOT low with a strong enough pulldown to overcome whatever is on your board. Select the intended clock mode with PA5 : PA5 = 0 : internal boot clock mode. PA5 = 1 : external clock on TCLK1/RCLK1 , 16× baud. Strap PA12/MODCLK0 consistently with the clock source; the manual samples it during hard reset to distinguish the nominal EXTAL frequency. Tie CD1 low . Keep RXD1 , TXD1 , RCLK1 , and TCLK1 wiring consistent with SCC1, not SCC2. The boot feature is for SCC1 in the LC302 description. Send a full 576-byte test stream, not just one character, although the echo should appear character-by-character once receive is working. The 3–4 mA sourced from PA7 is suspicious . The datasheet-level input leakage value retrieved is only 20 µA max , far below milliamps. Since PA7 is also a bidirectional multi-function pin, it is possible to get contention if something else is driving it or if the part has already left the reset-sampling state, but during reset-as-boot-strap it should not require sinking several mA just to read a low. I would check for a board-level pullup/driver/solder bridge on PA7 , verify the package pin orientation, and measure the current while both RESET and HALT are actively asserted. One more practical note: your 4 MHz internal-clock attempt is not equivalent to 4.192 MHz . It may be close enough for some UARTs if the other side is adjusted, but the documented internal bootstrap mode assumes the nominal LC302 clock values, so for eliminating variables I would use 4.192 MHz with the documented baud , or use the external-clock mode and provide clean TCLK1/RCLK1 = 16 × baud .   regards Re: 68LC302 and serial bootstrap feature So, I replaced the 68LC302 for another one, and for about 2 seconds it worked (echoed back the characters I was sending it), until I power cycled it, and from then on it wouldnt work any more again. Initially I didnt have CD1 grounded, because the datasheet says this is a "dont care" for the purposes of the serial bootstrap process, and it did indeed work in this configuration. After it stopped working I tried grounding CD1 but this didnt help. So close, and yet so far. This project is just cursed. 😞 This one also seems to have some kind of heavy-ish current source on PA7 that needs a reasonably strong resistor to pull it down sufficiently, or a tri-state driver to override it. Re: 68LC302 and serial bootstrap feature Initially when I tested with the signal generator I didnt have it terminated. In the most recent case I am using an on-board 20MHz oscillator and ignoring the PLL configuration for the time being just to simplify things. (This isn't the configuration I want to run in the final version of my project (if I ever get there) though, becuase I want to use a 4MHz oscillator to drive another part as well.) Power for the whole board is coming from a small USB-serial module from Mikroe which has an MCP2221A on it. This unfortunately has a diode in series with the 5V supply so the board sees closer to 4.7V, but I have also used a bench PSU to supply a solid 5V. I cant think of a case where the CPU would not have power but a 5V signal would be present on any of the pins - power is either there for everything or it isnt. But if that is a situation that could result in latch-up and destroy the chip then I might just ditch the whole project now, because I am looking at building it into an arduino style board, and if these parts are just too overly sensitive to wierd and wacky power situations then they are probably highly unsuitable for this project. 😞 Re: 68LC302 and serial bootstrap feature I think you're killing the chip. There are a few ways to do that, and reading your posts suggests two possibilities. You're running (or have run) the clock from an external signal generator. Have you terminated the cable from the signal generator so as to avoid reflections and overshoots? If you've got a 50 ohm coax from the signal generator without a 50 ohm resistor on the end, it'll glitch (the reflections) up to 10V and down to -5V. That'll kill the chip for sure. If you have an Agilent signal generator (others might be similar), program it to "0 to 5V" and don't notice the "terminated or not" option, then setting it to terminated and not adding one will have it generate 0-10V which will then glitch to -10V to 20V. Check the clock signal at the CPU with a good (high frequency, like 100MHz or better) oscilloscope. How are you powering the chip driving the serial port on the CPU? Do you have a MAX RS232 transceiver powered from the 5V that is powering the CPU (and being fed 12V RS232 from a PC or something)? Or are you using an external TTL-level (3V3 or 5V) serial port connected directly to the CPU? If you're using the latter then when you power the CPU off you'll still be driving that external voltage into that CPU pin. TTL-RS232 idles at 5V, so doing that might damage the pin or even cause fatal latch-up. Google says this chip can suffer fatal latch-up if you do this. Check "latch-up" on Wikipedia. And make sure everything is grounded together. This but this is something people using CAN always forget to do. Ditto RS-232. Tom Re: 68LC302 and serial bootstrap feature I suppose another option is to just build something properly on a PCB. I have one designed already, but I was hoping to test said design with a prototype first, before comitting to PCBs. I sort of get the feeling that if I tried to build it up on a PCB where it has a better electrical environment, maybe it would just work. Part of the reason for wanting to prototype it was to make sure I had the correct logic for multiplexing the strapping pins between their straps and GPIOs to enter bootstrap mode during reset. The reset and bootstrap enable can be provided by some GPIOs of the MCP2221A, such that you can either do a reset on its own, or reset with bootstrap enabled. My signal generator is a Siglent SDG2122X. When I use it I have it set to 5V peak to peak with a 2.5V offset such that it ranges from 0 to 5V, rather than -2.5 to +2.5. My scope is a Keysight MSOX2024A, and I used that to check the signal coming from the signal gen. I wouldnt say I was using a fully optimal ground setup at the time when I did that, so I was seeing over/undershoot on the clock signal, but I'd have put that down to the fact I wasnt using a group clip or ground spring on the scope probe - I was more interested in measuring the frequency seen at the pin of the chip and just double checking the voltage was achieving 5V and not being dragged down by anything. I dont remember to what extent it was over/under shooting, I'd have to measure it again I guess. Re: 68LC302 and serial bootstrap feature We've flown to the moon on wire wrap too. 🙂 Power is formed by some rings of wire that I've run around the perimiter of the footprint for the breakout board that the chip is soldered to. It's probably not 100% ideal, but the general technique has worked pretty well for me to date. But I have added decoupling caps to all power pins as close to the chip as I can get them. I recovered the chips from some old Cisco modules. They were known to be working when I pulled them off, and probably wouldn't be fakes coming from Cisco. I'm travelling for work at the moment but I am thinking to try wiring up a ROM when I get back , and program it with some simple code to see if I can make it receive and echo back data. Re: 68LC302 and serial bootstrap feature I'll have to check the settings of the signal generator when I get back home as I don't recall off the top of my head what that is set to. I've only used the signal generator on the first chip I tried though, the second one has only ever had the on-board 20MHz oscillator connected to it. Re: 68LC302 and serial bootstrap feature There's nothing wrong with wire-wrap. I've seen some very high speed stuff built on that. The thing you need to do is to have a perf-board with power traces or a ground plane on it. A ground plane is best (and maybe a power grid on the other side). Then you wrap the ground pins with a short wire and solder to the power plane. You can get better signal integrity on one of those than you can manage with a PCB. Make sure all ground pins are solidly grounded and that you have plenty of small and large bypass caps on the board. It should work. Unless the chips you have are dark-grey-market and scraped off of faulty boards. I've seen that. That's a good signal generator. But if you have it defaulting to "Load: 50 ohm" like it shows in the User Manual, but don't have that terminator it will (and is documented to) send a -2.5V to 7.5V signal with 50 ohms source impedance. Connected to your board, the MPU input protection diodes will cut in, conducting 50mA into the ground and power rails, so it might not be obvious on the oscilloscope that is happening. But 50mA is way too much. Tom
查看全文
i.MX93 FRDM: Where is "imx93-11x11-frdm-waveshare-7inch-c-panel.dtb"? I'm following the instructions in UM12181 "FRDM-IMX93 Board User Manual" - Rev 3.0, 23 January 2026. I'm trying to connect the i.MX93 FRDM board to a Waveshare LCD, as per the instructions. Section 3.1.3 "Software configuration update", page 28, says perform the following: $setenv fdtfile imx93-11x11-frdm-waveshare-7inch-c-panel.dtb However, this dtb file (imx93-11x11-frdm-waveshare-7inch-c-panel.dtb) is missing from my image, and also missing from the reference images (LF_v6.6.36-2.1.0_images_FRDM_4.0_IMX93). Where can I find the source for the imx93-11x11-frdm-waveshare-7inch-c-panel device tree? Many thanks! FRDM-i.MX93  Re: i.MX93 FRDM: Where is "imx93-11x11-frdm-waveshare-7inch-c-panel.dtb"? HI @TomFoy1, Thank you for contacting NXP Support. In the first images released for this board, the device tree was named imx93-11x11-frdm-dsi.dtb In later releases, it was renamed to imx93-11x11-frdm-waveshare-7inch-c-panel.dtb  Please try with imx93-11x11-frdm-dsi.dtb Best regards, Chavira  
查看全文
iMX95 DRAM speed Hi, The current iMX95 can only support up to 6.4Gbps.  Will NXP release any processor that can support LPDDR5X with speed up to 8.5Gbps? Thanks. Re: iMX95 DRAM speed Hi @pengyong_zhang , Can you provide the model name? What will be the preliminary spec available? Thanks. Re: iMX95 DRAM speed Hi @simonng  Chips after version imx95 will support LPDDR5X 8533MT/s B.R Re: iMX95 DRAM speed hi @simonng  I can't provide you with specific details about the chip because the official website hasn't released any information yet. B.R Re: iMX95 DRAM speed Hi @pengyong_zhang , When will this new version of chip be released? What is the maximum supported speed and density of DRAM? How many CS per channel? Thanks
查看全文
i.MX95でCPU/GPU/VPUを無効にして消費電力を減らす方法 こんにちは、NXPさん。 当社は、i.MX95ベースのシステム全体の消費電力を削減する方法を模索しています。 以下の質問について、教えていただけますか? 不要なときに個々のCPUコアを完全にシャットダウンすることは可能ですか? アプリケーションがGPUやVPUを使わない場合、完全に電源を切ることは可能でしょうか? CPU/GPU/VPUが不要なら、起動後にデフォルトで無効にしてさらに消費電力を減らすことは可能でしょうか?(デバイスツリーによる?) 最低限の電力消費を実現するための推奨ソフトウェア構成や参考資料はありますか? 私たちのBSPはYocto 5.2 / Linux 6.12.xをベースにしています。 ありがとうございます。 よろしくお願いいたします。 ショーン Linux Re: Reducing Power Consumption by Disabling CPU/GPU/VPU on i.MX95 ご質問は下記までお問い合わせください。 不要なときに個々のCPUコアを完全にシャットダウンすることは可能ですか? A: はい、可能です。 アプリケーションがGPUやVPUを使わない場合、完全に電源を切ることは可能でしょうか? A:はい、使わないなら使ってください。 CPU/GPU/VPUが不要なら、起動後にデフォルトで無効にしてさらに消費電力を減らすことは可能でしょうか?(デバイスツリーによる?) A: はい、GPU/VPUスタイルのプラットフォームデバイスの場合、通常は該当デバイスツリーのnode status = "disabled"を設定するのが一般的な方法です。そのためLinuxはそのデバイスをレジスタやプローブにしません。 最低限の電力消費を実現するための推奨ソフトウェア構成や参考資料はありますか? A: AN14449 — i.MX 95 電力消費測定:測定された低消費電力ユースケース、BCU手順、DSM、Linuxサスペンド、BBSMの主要な参考資料です。 ご質問があれば、お気軽にお問い合わせください 素敵な一日をお過ごしください
查看全文
MCXW72のデバッグ認証応答 MCXW72のデバッグポートのロックを解除しようとしています。MCUXpressoのSecure Provisioning Toolでロック解除は正常に動作しますが、Debug Credential(DC)、DCK秘密鍵、デバイスから受け取ったDACに基づいて自分のアプリケーションを使ってポートのロック解除を試みています。 この分野のドキュメントは非常に不明瞭で(場合によっては誤りもあります)。 私の理解では、DARは以下の要素で構成されています。 DAR = DC + AB + UUID (DACより) + 署名 (リファレンス・マニュアルの図50ではUUIDとABフィールドの順序が誤っています。) OpenSSLを使って署名を計算したいのですが、どのデータを署名すべきか正確には判断できません。 a) DC + CV(DACから) b) DC + AB + CV (DACから) c) DC + AB + UUID (DACから) + CV (DACから) それとも全く別の何か? ドキュメントには署名がDARをチャレンジベクトル(CV)に結合すると記載されていますが、ハッシュ化と署名すべき正確なバイトシーケンスは明確に指定されていません。DAR署名を生成するために使われる正確なデータを教えていただけますか? MCXA セキュリティ(EdgeLock | セキュアブート | OTP) Re: Debug authentication Response for MCXW72 こんにちは、 @Surdej Secure Provisioning ToolはSecure Provisioning SDKの上に構築されています。詳細は https://spsdk.readthedocs.io/en/latest/ これはオープンソースなので、そこで答えが見つかります。
查看全文
Authentication of another bootloader while S32K312 MCU SecureBoot is enabled Hello, I would like to inquire if there is a way to re-authenticate when changing the FBL after activating Secureboot. When changing to a different FBL while Secureboot is enabled, the META Data values ​​generated via the HMAC Key change. As the FBL is changed, the HSE needs to recalculate the META Data using the HMAC Key; however, because the HMAC Key is deleted due to the new FBL, recalculating the META Data becomes impossible. Consequently, a reset occurs due to a verification failure at the FBL, making it impossible to launch the application. Is there a way to re-authenticate the changed FBL using the HMAC Key, thereby allowing both the FBL and the application to run normally?   Re: Authentication of another bootloader while S32K312 MCU SecureBoot is enabled Hi @jeongwoo  That is essentially the purpose of Secure Boot: to prevent execution of software that fails authentication. The key question is whether you still have access to the debug interface, or whether the issue must be recovered in the field without debugger access. In the field, if there is no alternate/recovery image that was designed with such functionality in advance (for example, importing an HMAC key, generating a new authentication tag, accepting a new externally generated authentication tag, or reinstalling/reconfiguring the SMR), then recovery is generally not possible. If you have access to the debug interface, the simplest solution is typically to calculate a new authentication tag externally and program the updated tag into flash using a debugger. This approach requires that the HSE_SMR_CFG_FLAG_INSTALL_AUTH flag was set when the SMR was installed. If HSE_SMR_CFG_FLAG_INSTALL_AUTH was not set, HSE uses the internally stored hash for verification. In that case, updating the authentication tag alone is not sufficient and the SMR must be reinstalled with the new image parameters. Regards, Lukas Re: Authentication of another bootloader while S32K312 MCU SecureBoot is enabled Hello Lukas, In the previous state, our controller does not have HSE_SMR_CFG_FLAG_INSTALL_AUTH set. I'm trying to apply the method you mentioned — reinstalling the SMR with new image parameters. Is the relevant part of Fota_S32k3_SecureBootProcess shown below correct? pSmrEntryInstall->accessMode = HSE_ACCESS_MODE_ONE_PASS; pSmrEntryInstall->entryIndex = 0u; pSmrEntryInstall->pSmrEntry = (HOST_ADDR)&smrEntry; pSmrEntryInstall->pSmrData = (HOST_ADDR)IVT.pAppImg_addr_0; /* pointing to active partition */ pSmrEntryInstall->smrDataLength = smrEntry.smrSize; pSmrEntryInstall->pAuthTag[0] = (HOST_ADDR)smrEntry.pInstAuthTag[0]; /* pointing to passive partition */ pSmrEntryInstall->pAuthTag[1] = (HOST_ADDR)smrEntry.pInstAuthTag[1]; /* pointing to passive partition */ pSmrEntryInstall->authTagLength[0] = HmacTagLength; pSmrEntryInstall->authTagLength[1] = HmacTagLength; If this is correct, when I run the HSE_SRV_ID_SMR_ENTRY_INSTALL service, the HseResponse is returned as 0xA5AA5317, which corresponds to: #define HSE_SRV_RSP_KEY_EMPTY ((hseSrvResponse_t)0xA5AA5317UL) indicating that the key is empty. (As I asked previously, I suspect this is displayed because that part has been erased.) I would greatly appreciate it if you could guide me on how to inject the key or otherwise resolve this issue. Thank you very much. Re: Authentication of another bootloader while S32K312 MCU SecureBoot is enabled Hi @jeongwoo  I can see no problem in those parameters. But you shared only hseSmrEntryInstallSrv_t but not hseSmrEntry_t (pSmrEntryInstall->pSmrEntry = (HOST_ADDR)&smrEntry;). Structure hseSmrEntry_t contains other important parameters needed for installation. To confirm if the key is erased or not, you can use service HSE_SRV_ID_GET_KEY_INFO, structure struct hseGetKeyInfoSrv_t. Using this service, you will get information in hseKeyInfo_t, so you can check the state of key. Regards, Lukas Re: Authentication of another bootloader while S32K312 MCU SecureBoot is enabled Hello Lukas, Thank you for your reply. I checked the smrEntry values you mentioned. When I set a breakpoint at the point where SecurebootState is 0, I confirmed that smrEntry was entirely 0. And when I set a breakpoint at the return part where Fota_S32k3_SecureBootProcess ends, I confirmed that the values appear. At the time of return, the SecureBootState value is 1. Has this information been helpful in solving the problem? 1) When a breakpoint is set at if(SecureBootState == 0) / Result: smrEntry = 0 2) A breakpoint at return secureBootProcessResult, the last part of the Fota_S32k3_SecureBootProcess function Regards, jeongwoo
查看全文
iMX95 DRAM速度 こんにちは、 現在のiMX95は最大6.4Gbpsまでしかサポートできません。 NXPは最大8.5Gbpsの速度でLPDDR5Xをサポートできるプロセッサをリリースするのでしょうか? ありがとうございます。 Re: iMX95 DRAM speed こんにちは@pengyong_zhangさん モデル名を教えてもらえますか?入手可能な暫定仕様書はどのようなものですか? ありがとうございます。 Re: iMX95 DRAM speed こんにちは、 @simonngさん バージョンIMX95以降のチップはLPDDR5X 8533MT/sをサポートします BR Re: iMX95 DRAM speed こんにちは、 @simonngさん 公式サイトでまだ情報が公開されていないため、チップの詳細はお伝えできません。 BR Re: iMX95 DRAM speed こんにちは@pengyong_zhangさん この新しいバージョンのチップはいつ発売されますか?DRAMの最大対応速度と最大密度はどれくらいですか?チャネルごとにCSは何本ですか? よろしくお願いします。
查看全文