AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / unix / 问题

问题[yocto](unix)

Martin Hope
micmys
Asked: 2025-01-09 02:46:05 +0800 CST

systemd journald 在重启后无法正常工作(直到轮换)

  • 5
该问题已从 Stack Overflow迁移,因为它可以在 Unix & Linux Stack Exchange 上找到答案。2 天前迁移 。

我journald在使用 Yocto 构建的定制嵌入式 Linux 系统上遇到了奇怪的问题。

在新准备并启动的系统上,日志工作正常:

  • 使用--list-boots仅显示一个 (0) 条目
  • journalctl -n 5 -b显示最后 5 条日志

但是,发出reboot并重新登录后,当前启动变得不知何故变得不可见:

  • --list-boots仍然只显示一个条目
  • journalctl -b结果是-- No entries --
  • 检查system.journal文件journalctl --file显示它包含的最后条目来自上次关机(即重启后没有任何内容),调用 just journalctlwithout时会显示相同的日志-b

调用后,上述所有问题都得到了解决--rotate- 在目录中创建了新文件journal/,-b开始显示当前启动的日志,列出启动项按预期显示了另一个条目。在我看来,重启后文件似乎system.journal无法journald写入,而 roatating 以某种方式解决了这个问题。
有趣的是,这只发生在reboot命令(“软”重启)中。关闭设备电源然后再打开(poweroff先调用或不调用,甚至reboot在系统再次启动后切断电源),系统再次启动后journald工作正常,新启动被正确识别。

一些附加信息:

  • 日志存储在 SD 卡上的单独分区中,该分区已安装fstab并具有/var/log符号链接:
    lrwxrwxrwx 1 root root 6 Mar 9 2018 /var/log -> /log
  • 在重启/关机过程中卸载所述分区失败:(
    [FAILED] Failed unmounting /log
    我猜这对于解决问题至关重要,但不确定如何解决)
  • Yocto 版本是scarthgap,systemd255.4
  • 系统完全在 SD 卡上运行,根分区位于已安装的 RW 中,并且不使用 initramfs

我将非常感激关于如何解决或进一步调试这个问题的建议,此外(即使与主要问题无关)关于如何解决提到的日志分区卸载失败的建议(也许有一种方法可以延迟卸载直到journald停止之后?)。

谢谢

yocto
  • 1 个回答
  • 8 Views
Martin Hope
Lihis
Asked: 2024-10-08 12:25:16 +0800 CST

virtio FAT 分区上的 U-Boot 环境

  • 5

我正在通过 Yocto 的命令在 QEMU 中启动 U-Boot runqemu,并尝试让 U-Boot 从 FAT 分区加载环境。Yocto 是从master(312488228ad408fb0f29b2aa272e72cf87de8e93) 分支构建的MACHINE=genericarm64。

U-Boot 版本是 2024.07,它似乎包含添加从 virtio 接口加载环境的支持的提交,请参阅此StackOverflow 评论。

我已启用以下选项:

CONFIG_ENV_IS_IN_FAT=y
# CONFIG_ENV_IS_IN_FLASH is not set
CONFIG_ENV_FAT_INTERFACE="virtio"
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
CONFIG_ENV_FAT_FILE="uboot.env"

启用时会出现以下选项CONFIG_ENV_IS_IN_FAT:

CONFIG_SYS_MMC_ENV_DEV=0
CONFIG_SYS_MMC_ENV_PART=0

我假设设备和部件配置正确,CONFIG_ENV_FAT_DEVICE_AND_PART因为fatls virtio 0:1正确列出了分区内容。并且还启用了 FAT 支持:

CONFIG_FS_FAT=y
CONFIG_FAT_WRITE=y
CONFIG_FS_FAT_MAX_CLUSTSIZE=65536

但是我收到不支持 virtio 的错误:

Loading Environment from FAT... ** Bad device specification virtio 0 **

我是否遗漏了某些关键的东西?

yocto
  • 1 个回答
  • 25 Views
Martin Hope
Nathan
Asked: 2024-06-18 14:22:12 +0800 CST

运行 Azure 管道时出现不支持的区域设置错误

  • 5

当我尝试从 Azure 运行管道构建时,出现以下错误片段。

2024-06-18T06:02:45.1075555Z Your configuration files at build have not been touched.
2024-06-18T06:02:45.3914362Z Traceback (most recent call last):
2024-06-18T06:02:45.3915081Z   File "/build/sources/poky/bitbake/bin/bitbake", line 28, in <module>
2024-06-18T06:02:45.3915488Z     bb.utils.check_system_locale()
2024-06-18T06:02:45.3915863Z   File "/build/sources/poky/bitbake/lib/bb/utils.py", line 619, in check_system_locale
2024-06-18T06:02:45.3916530Z     locale.setlocale(locale.LC_CTYPE, default_locale)
2024-06-18T06:02:45.3916923Z   File "/usr/lib/python3.10/locale.py", line 620, in setlocale
2024-06-18T06:02:45.3917257Z     return _setlocale(category, locale)
2024-06-18T06:02:45.3917582Z locale.Error: unsupported locale setting
2024-06-18T06:02:45.5578186Z Traceback (most recent call last):
2024-06-18T06:02:45.5578712Z   File "/build/sources/poky/bitbake/bin/bitbake", line 28, in <module>
2024-06-18T06:02:45.5579048Z     bb.utils.check_system_locale()
2024-06-18T06:02:45.5579380Z   File "/build/sources/poky/bitbake/lib/bb/utils.py", line 619, in check_system_locale
2024-06-18T06:02:45.5579767Z     locale.setlocale(locale.LC_CTYPE, default_locale)
2024-06-18T06:02:45.5580111Z   File "/usr/lib/python3.10/locale.py", line 620, in setlocale
2024-06-18T06:02:45.5580420Z     return _setlocale(category, locale)
2024-06-18T06:02:45.5580696Z locale.Error: unsupported locale setting

我点击了这些链接并正确设置了语言环境。

输出locale:

LANG=en_US.UTF-8
LANGUAGE=en_IN:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

输出locale -a:

C
C.utf8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IL
en_IL.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US
en_US.iso88591
en_US.iso885915
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
POSIX

在 中/etc/default/locale,/etc/locale-gen我可以正确看到“en_US.UTF-8”。我也尝试过locale-gen,sudo dpkg-reconfigure locales按照所附链接。

在服务器/终端本地,我能够运行 bitbake。我可以看到正确的 LC_CTYPE/LC_ALL 变量/值被正确设置/反映。

bitbake machine1-image当我登录终端时工作正常。

但是,当我从 Azure 管道对构建进行排队时,它会失败并出现错误。

**

  • 关注的链接:

** 区域设置问题:“设置区域设置失败。”

https://stackoverflow.com/questions/65525716/why-do-i-get-a-locale-error-even-though-it-is-set

如何手动正确设置语言环境?

https://stackoverflow.com/questions/42090237/change-locale-setting-in-yocto?rq=3

https://stackoverflow.com/questions/78006534/python-locale-raising-unsupported-locale-setting

其他详细信息:

IBM 服务器。

22.04LTS

柯克斯通/约克托

yocto
  • 1 个回答
  • 32 Views
Martin Hope
Nathan
Asked: 2024-04-12 13:34:10 +0800 CST

为 Kirkstone 构建 python3-scipy

  • 5

我正在尝试为 Yocto/Kirkstone 安装 python3-scipy。

我使用内置命令 pipoe 安装了该软件包。

pipoe --python python3 --package scipy --licenses MIT

该命令有效并且安装了相应的配方。

编译并构建图像。

bitbake kirkstone-image.bb

在工作目录中,我将其视为

观察到的输出:

cd /build/build/tmp/work/cortexa9t2hf-neon-linux-gnueabi/python3-scipy/1.13.0-r0/

tree image

└── usr
    └── lib
        └── python3.10
            └── site-packages
                └── UNKNOWN-0.0.0.dist-info
                    ├── LICENSES_bundled.txt
                    ├── LICENSE.txt
                    ├── METADATA
                    ├── RECORD
                    ├── top_level.txt
                    └── WHEEL

它的建设情况未知。

从这个 URL:https://docs.scipy.org/doc/scipy/dev/toolchain.html 我可以看到它支持我的 Python 版本。

python3-scipy 配方文件

SUMMARY = "Fundamental algorithms for scientific computing in Python"
HOMEPAGE = "https://scipy.org/"
AUTHOR = "None <None>"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5f477c3073ea2d02a70a764319f5f873"

SRC_URI = "https://files.pythonhosted.org/packages/fb/a3/328965862f41ba67d27ddd26205962007ec87d99eec6d364a29bf00ac093/scipy-1.13.0.tar.gz"
SRC_URI[md5sum] = "6c6c404e2cf783374587c9f012d622bc"
SRC_URI[sha256sum] = "58569af537ea29d3f78e5abd18398459f195546bb3be23d16677fb26616cc11e"

S = "${WORKDIR}/scipy-1.13.0"

DEPENDS += "python3-numpy-native python3-cython-native lapack openblas libgfortran gcc-runtime python3-pybind11-native python3-wheel-native python3-pythran-native"

RDEPENDS:${PN} += "openblas lapack libgfortran python3-numpy python3-pybind11 cmake"

CLEANBROKEN = "1"
DISTUTILS_BUILD_ARGS = "--fcompiler=gfortran"

#inherit setuptools3-base
#inherit setuptools3_legacy
#inherit setuptools3
inherit python_setuptools_build_meta
inherit pkgconfig

其他详细信息:

目标架构 - ARM

Yocto 版本 - Kirkstone

主机服务器 - Ubuntu 22.04LTS

Python 版本 - 3.10.7

yocto
  • 1 个回答
  • 32 Views
Martin Hope
Ja_cpp
Asked: 2023-12-19 23:40:12 +0800 CST

Yocto 项目构建:找不到版本“GLIBC_2.33”

  • 5

我需要使用Yocto project自定义层和设备树构建一个图像,以便在 Oclea 硬件上工作。我正在Ubuntu 20与ldd (Ubuntu GLIBC 2.31-0ubuntu9.14) 2.31

我发现文件系统 NTFS 可能是问题所在,但我在ext3/ext4.

这是运行构建时的完整输出:

./example-build.sh --platform s5l
You had no conf/local.conf file. This configuration file has therefore been
created for you from /media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/meta-poky/conf/local.conf.sample
You may wish to edit it to, for example, select a different MACHINE (target
hardware). See conf/local.conf for more information as common configuration
options are commented.

You had no conf/bblayers.conf file. This configuration file has therefore been
created for you from /media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/meta-poky/conf/bblayers.conf.sample
To add additional metadata layers into your configuration please add entries
to conf/bblayers.conf.

The Yocto Project has extensive documentation about OE including a reference
manual which can be found at:
    https://docs.yoctoproject.org

For more information about OpenEmbedded see the website:
    https://www.openembedded.org/


### Shell environment set up for builds. ###

You can now run 'bitbake <target>'

Common targets are:
    core-image-minimal
    core-image-full-cmdline
    core-image-sato
    core-image-weston
    meta-toolchain
    meta-ide-support

You can also run generated qemu images with a command like 'runqemu qemux86'

Other commonly useful commands are:
 - 'devtool' and 'recipetool' handle common recipe tasks
 - 'bitbake-layers' handles common layer tasks
 - 'oe-pkgdata-util' handles common target package tasks
Adding bitbake layers
NOTE: Starting bitbake server...
Loading cache: 100% |                                                                                                                                     | ETA:  --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |####################################################################################################################################| Time: 0:00:09
Parsing of 2657 .bb files complete (0 cached, 2657 parsed). 4107 targets, 361 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Multiple providers are available for runtime libgstcodecparsers-1.0 (gstreamer1.0-plugins-bad, gstreamer1.0-plugins-base, gstreamer1.0-plugins-good, gstreamer1.0-plugins-ugly, gstreamer1.0-rtsp-server)
Consider defining a PREFERRED_RPROVIDER entry to match libgstcodecparsers-1.0
NOTE: Multiple providers are available for runtime libgstvideo-1.0 (gstreamer1.0-plugins-bad, gstreamer1.0-plugins-base, gstreamer1.0-plugins-good, gstreamer1.0-plugins-ugly, gstreamer1.0-rtsp-server)
Consider defining a PREFERRED_RPROVIDER entry to match libgstvideo-1.0

Build Configuration:
BB_VERSION           = "2.0.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-20.04"
TARGET_SYS           = "aarch64-oclea-linux"
MACHINE              = "oclea-s5l"
DISTRO               = "oclea"
DISTRO_VERSION       = "1.0"
TUNE_FEATURES        = "aarch64 armv8a crc cortexa53"
TARGET_FPU           = ""
meta                 
meta-poky            
meta-yocto-bsp       = "HEAD:1861941037c4cca6fdfa3154f65d82ea96ab761f"
meta-oe              
meta-python          
meta-networking      
meta-multimedia      
meta-filesystems     
meta-webserver       = "HEAD:5f120a926b0fcd55cfe7565bb7ddf23661cad498"
meta-oclea-open      
meta-oclea-prebuilt  
meta-oclea-source    
meta-oclea-distro    = "HEAD:1861941037c4cca6fdfa3154f65d82ea96ab761f"

WARNING: Unable to get checksum for oclea-log SRC_URI entry oe-logs: [Errno 2] No such file or directory: '/media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/meta-oclea-open/recipes-core/oclea-log/src/oe-logs'
WARNING: Unable to get checksum for oclea-log SRC_URI entry oe-workdir: [Errno 2] No such file or directory: '/media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/meta-oclea-open/recipes-core/oclea-log/src/oe-workdir'
Initialising tasks: 100% |#################################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 2139 Local 2135 Mirrors 0 Missed 4 Current 0 (99% match, 0% complete)
NOTE: Executing Tasks
NOTE: oclea-log: compiling from external source tree /media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/meta-oclea-open/recipes-core/oclea-log/src/
WARNING: oclea-image-3.0.0-rc1 do_rootfs: QA Issue: The license listed BSD was not in the licenses collected for recipe cyw-supplicant [license-file-missing]
WARNING: oclea-image-3.0.0-rc1 do_rootfs: QA Issue: The license listed BSD was not in the licenses collected for recipe murata-binaries [license-file-missing]
ERROR: ota-7z-3.0.0-rc1 do_assemble_7z: ExecutionError('/media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/build/tmp/work/oclea_s5l-oclea-linux/ota-7z/3.0.0-rc1/temp/run.do_assemble_7z.291416', 1, None, None)
ERROR: Logfile of failure stored in: /media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/build/tmp/work/oclea_s5l-oclea-linux/ota-7z/3.0.0-rc1/temp/log.do_assemble_7z.291416
Log data follows:
| DEBUG: Executing shell function do_assemble_7z
| Device-trees      oclea_s5l_micro_som.dts     oclea_s5l_janus.dts     oclea_s5l_evk2.dts     oclea_s5l_breakout_evk_hydra.dts
| /media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/build/tmp/work/oclea_s5l-oclea-linux/ota-7z/3.0.0-rc1/host-tools/dtc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/build/tmp/work/oclea_s5l-oclea-linux/ota-7z/3.0.0-rc1/host-tools/dtc)
| /media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/build/tmp/work/oclea_s5l-oclea-linux/ota-7z/3.0.0-rc1/host-tools/dtc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/build/tmp/work/oclea_s5l-oclea-linux/ota-7z/3.0.0-rc1/host-tools/dtc)
| WARNING: exit code 1 from a shell command.
ERROR: Task (/media/data/Data/Oclea_project/oclea-yocto-sdk-3.0.0-rc1/oclea-yocto-sdk/poky/meta-oclea-distro/recipes-bsp/ota-7z/ota-7z.bb:do_assemble_7z) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5031 tasks of which 5004 didn't need to be rerun and 1 failed.
yocto
  • 1 个回答
  • 37 Views
Martin Hope
frankfalse
Asked: 2022-10-06 13:44:50 +0800 CST

如何在基于 yocto 的 Linux 发行版上安装 NTP 客户端?

  • 1

我正在通过zeus yocto 发行版开发基于 yocto 的 Linux 发行版。我需要在分发中添加一个 NTP 客户端,但我不需要在映像中安装 NTP 服务器。

我找到了秘诀:
meta-openembedded/meta-networking/recipes-support /ntp/ntp_4.2.8p15.bb
这与网络时间协议 (NTP) 相关。

该配方包含以下有关它的信息:

摘要 = “网络时间协议守护程序和实用程序”
描述 = “网络时间协议 (NTP) 用于将计算机客户端或服务器的时间同步到另一个服务器或参考时间源,例如无线电或卫星接收器或调制解调器。 "

前面的信息没有解释配方是否安装了 NTP 服务器或 NTP 客户端或两者。

我需要的是一个 NTP 客户端应用程序,它能够连接到可配置的 NTP 服务器并获取当前日期和时间。

以下指令:

IMAGE_INSTALL += "ntp"

不适合,因为将调用的 NTP 服务器添加到 yocto 映像中ntpd。

我必须添加到图像中以包含客户端 NTP 的包是什么?是包含在以前的食谱中还是我必须找到不同的食谱?

谢谢

ntp yocto
  • 1 个回答
  • 35 Views
Martin Hope
EagleOne
Asked: 2022-03-10 01:05:01 +0800 CST

离线设置账号过期

  • 0

我需要设置一个帐户不活动到期日期(例如 1 年)。

如一些教程中所示,这样做的一种方法是使用usermod命令。

由于一些限制,我需要离线进行,在运行我的嵌入式(poky)发行版之前修改一些配置文件。

我应该对哪个配置文件进行哪些更改才能具有与此类usermod命令相同的效果?

yocto accounts
  • 1 个回答
  • 38 Views
Martin Hope
Dushara
Asked: 2021-12-23 13:29:57 +0800 CST

启动期间串行 getty 服务停止

  • 1

我正在开发一个运行基于 Yocto 的 Linux 发行版的嵌入式设备。

其他人似乎在不同的条件下遇到了这个确切的问题,但似乎没有找到解决方案。

我采用了库存的 OpenSTLinux 发行版并开始一层一层地删除(例如 X11),并且在此过程中破坏了一些带走串行登录控制台的东西。

奇怪的是,写入 sdcard 映像后第一次启动设备时出现登录提示。但是,在随后的引导中,登录提示不再存在。

引导消息(通过串行端口打印)表明:

  • 控制台参数传递给内核
  • 有问题的串行端口已正确初始化
  • 串行 Getty 实例已启动,但立即停止
Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.61 (oe-user@oe-host) (arm-ostl-linux-gnueabi-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP PREEMPT Thu Aug 26 12:51:21 1
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: STMicroelectronics STM32MP157F-DK2 Discovery Board
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created DMA memory pool at 0x10000000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node mcuram2@10000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x10040000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node vdev0vring0@10040000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x10041000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node vdev0vring1@10041000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x10042000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node vdev0buffer@10042000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x10048000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node mcu_rsc_table@10048000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x30000000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node mcuram@30000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x38000000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node retram@38000000, compatible id shared-dma-pool
[    0.000000] cma: Reserved 128 MiB at 0xc7800000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000c0000000-0x00000000dfffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000c0000000-0x00000000d3ffffff]
[    0.000000]   node   0: [mem 0x00000000d4000000-0x00000000d7ffffff]
[    0.000000]   node   0: [mem 0x00000000d8000000-0x00000000dfcfffff]
[    0.000000]   node   0: [mem 0x00000000dfd00000-0x00000000dffeffff]
[    0.000000]   node   0: [mem 0x00000000dfff0000-0x00000000dfffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000c0000000-0x00000000dfffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 20 pages/cpu s51788 r8192 d21940 u81920
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920

[    0.000000] Kernel command line: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw    console=ttySTM0,115200


[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 297404K/524288K available (11264K kernel code, 1207K rwdata, 3308K rodata, 1024K init, 239K bss, 95812K reserved, 131072K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x388/0x560 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000024] Switching to timer-based delay loop, resolution 41ns
[    0.001420] Console: colour dummy device 80x30
[    0.001477] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.001503] pid_max: default: 32768 minimum: 301
[    0.001721] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001743] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002888] CPU: Testing write buffer coherency: ok
[    0.003300] /cpus/cpu@0 missing clock-frequency property
[    0.003342] /cpus/cpu@1 missing clock-frequency property
[    0.003359] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.004407] Setting up static identity map for 0xc0100000 - 0xc0100060
[    0.004588] rcu: Hierarchical SRCU implementation.
[    0.005816] smp: Bringing up secondary CPUs ...
[    0.006874] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.007094] smp: Brought up 1 node, 2 CPUs
[    0.007120] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.007132] CPU: All CPU(s) started in SVC mode.
[    0.007882] devtmpfs: initialized
[    0.037995] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.038325] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.038358] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.044500] pinctrl core: initialized pinctrl subsystem
[    0.046193] NET: Registered protocol family 16
[    0.049095] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.050729] thermal_sys: Registered thermal governor 'step_wise'
[    0.051131] cpuidle: using governor menu
[    0.051484] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.051503] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.051847] Serial: AMBA PL011 UART driver
[    0.095434] stm32-pm-domain pm_domain: domain core-ret-power-domain registered
[    0.095479] stm32-pm-domain pm_domain: subdomain core-power-domain registered
[    0.095494] stm32-pm-domain pm_domain: domains probed
[    0.118494] SCSI subsystem initialized
[    0.119253] usbcore: registered new interface driver usbfs
[    0.119330] usbcore: registered new interface driver hub
[    0.119409] usbcore: registered new device driver usb
[    0.119669] pps_core: LinuxPPS API ver. 1 registered
[    0.119684] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.119716] PTP clock support registered
[    0.120538] arm-scmi firmware:scmi0: SCMI Notifications - Core Enabled.
[    0.120621] arm-scmi firmware:scmi0: SCMI Protocol v2.0 'ST:' Firmware version 0x0
[    0.123567] clocksource: Switched to clocksource arch_sys_counter
[    1.235280] simple-framebuffer dfd00000.framebuffer: framebuffer at 0xdfd00000, 0xbb800 bytes, mapped to 0x(ptrval)
[    1.235313] simple-framebuffer dfd00000.framebuffer: format=r5g6b5, mode=480x800x16, linelength=960
[    1.235745] simple-framebuffer dfd00000.framebuffer: fb0: simplefb registered!
[    1.247748] NET: Registered protocol family 2
[    1.248000] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.249208] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.249362] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    1.249423] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    1.249502] TCP: Hash tables configured (established 4096 bind 4096)
[    1.249666] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.249714] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.250289] NET: Registered protocol family 1
[    1.251232] RPC: Registered named UNIX socket transport module.
[    1.251258] RPC: Registered udp transport module.
[    1.251269] RPC: Registered tcp transport module.
[    1.251280] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.251624] Trying to unpack rootfs image as initramfs...
[    1.547733] Freeing initrd memory: 3548K
[    1.548702] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    1.550424] Initialise system trusted keyrings
[    1.550811] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    1.559823] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.561119] NFS: Registering the id_resolver key type
[    1.561177] Key type id_resolver registered
[    1.561189] Key type id_legacy registered
[    1.561340] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.561356] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.561538] ntfs: driver 2.1.32 [Flags: R/O].
[    1.561806] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
[    1.562580] fuse: init (API version 7.32)
[    1.563491] NET: Registered protocol family 38
[    1.563518] Key type asymmetric registered
[    1.563531] Asymmetric key parser 'x509' registered
[    1.563687] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    1.563705] io scheduler mq-deadline registered
[    1.563717] io scheduler kyber registered
[    1.575020] STM32 USART driver initialized
[    1.594625] brd: module loaded
[    1.599100] random: fast init done
[    1.603858] random: crng init done
[    1.606905] loop: module loaded
[    1.611950] libphy: Fixed MDIO Bus: probed
[    1.613824] CAN device driver interface
[    1.615651] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    1.615738] usbcore: registered new interface driver pegasus
[    1.615812] usbcore: registered new interface driver asix
[    1.615866] usbcore: registered new interface driver ax88179_178a
[    1.615917] usbcore: registered new interface driver cdc_ether
[    1.615984] usbcore: registered new interface driver smsc75xx
[    1.616061] usbcore: registered new interface driver smsc95xx
[    1.616114] usbcore: registered new interface driver net1080
[    1.616166] usbcore: registered new interface driver cdc_subset
[    1.616216] usbcore: registered new interface driver zaurus
[    1.616292] usbcore: registered new interface driver cdc_ncm
[    1.617608] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.617668] ehci-platform: EHCI generic platform driver
[    1.618061] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.618100] ohci-platform: OHCI generic platform driver
[    1.618735] usbcore: registered new interface driver usb-storage
[    1.622124] i2c /dev entries driver
[    1.626527] stm32-cpufreq stm32-cpufreq: Failed to get chip info: -517
[    1.627688] sdhci: Secure Digital Host Controller Interface driver
[    1.627708] sdhci: Copyright(c) Pierre Ossman
[    1.627718] Synopsys Designware Multimedia Card Interface Driver
[    1.628129] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.629272] ledtrig-cpu: registered to indicate activity on CPUs
[    1.629504] SMCCC: SOC_ID: ID = jep106:0020:0500 Revision = 0x00002001
[    1.629917] usbcore: registered new interface driver usbhid
[    1.629933] usbhid: USB HID core driver
[    1.631216] remoteproc remoteproc0: releasing m4
[    1.633687] NET: Registered protocol family 17
[    1.633733] can: controller area network core
[    1.633848] NET: Registered protocol family 29
[    1.633862] can: raw protocol
[    1.633877] can: broadcast manager protocol
[    1.633897] can: netlink gateway - max_hops=1
[    1.634634] Key type dns_resolver registered
[    1.634797] ThumbEE CPU extension supported.
[    1.634826] Registering SWP/SWPB emulation handler
[    1.635245] registered taskstats version 1
[    1.635271] Loading compiled-in X.509 certificates
[    1.671331] stm32-mdma 58000000.dma-controller: STM32 MDMA driver registered
[    1.674576] stm32-dma 48000000.dma-controller: STM32 DMA driver registered
[    1.676863] stm32-dma 48001000.dma-controller: STM32 DMA driver registered
[    1.685886] stm_thermal 50028000.thermal: stm_thermal_probe: Driver initialized successfully
[    1.692265] remoteproc remoteproc0: releasing m4
[    1.693045] /soc/interrupt-controller@5000d000: bank0
[    1.693069] /soc/interrupt-controller@5000d000: bank1
[    1.693085] /soc/interrupt-controller@5000d000: bank2
[    1.697079] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOA bank added
[    1.698997] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOB bank added
[    1.700879] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOC bank added
[    1.702782] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOD bank added
[    1.704755] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOE bank added
[    1.706924] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOF bank added
[    1.708740] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOG bank added
[    1.710511] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOH bank added
[    1.712226] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOI bank added
[    1.712535] stm32mp157-pinctrl soc:pin-controller@50002000: Pinctrl STM32 initialized
[    1.715425] stm32mp157-pinctrl soc:pin-controller-z@54004000: GPIOZ bank added
[    1.715464] stm32mp157-pinctrl soc:pin-controller-z@54004000: Pinctrl STM32 initialized
[    1.718602] 4000e000.serial: ttySTM3 at MMIO 0x4000e000 (irq = 61, base_baud = 4000000) is a stm32-usart
[    1.718929] serial serial0: tty port ttySTM3 registered
[    1.720797] stm32-usart 40010000.serial: interrupt mode for rx (no dma)
[    1.720823] stm32-usart 40010000.serial: interrupt mode for tx (no dma)


[    1.720858] 40010000.serial: ttySTM0 at MMIO 0x40010000 (irq = 62, base_baud = 4000000) is a stm32-usart
[    2.965639] printk: console [ttySTM0] enabled


...
Welcome to ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 3.1.11-snapshot-20211216 (dunfell)!

[    5.867882] systemd[1]: Set hostname to <stm32mp1>.
[    5.882917] systemd[1]: Hardware watchdog 'STM32 Independent Watchdog', version 0
[    5.890326] systemd[1]: Set hardware watchdog to 32s.


[    6.505443] systemd[1]: Unnecessary job for /dev/ttySTM0 was removed.


[    6.517357] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[    6.557278] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    6.597028] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    6.634855] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password �…ts to Console Directory Watch.
[    6.674597] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R�…uests to Wall Directory Watch.
[    6.714486] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[    6.744085] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    6.784102] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    6.814158] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    6.884002] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[    6.924179] systemd[1]: Reached target RPC Port Mapper.
[  OK  ] Reached target RPC Port Mapper.
[    6.965725] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    7.026252] systemd[1]: Listening on Process Core Dump Socket.
[  OK  ] Listening on Process Core Dump Socket.
[    7.064801] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    7.113194] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[    7.121650] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    7.155508] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    7.195987] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[    7.235479] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    7.274985] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    7.315694] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    7.333008] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    7.384647] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    7.437495] systemd[1]: Mounting Temporary Directory (/tmp)...
         Mounting Temporary Directory (/tmp)...
[    7.485149] systemd[1]: Starting Create list of static device nodes for the current kernel...
         Starting Create list of st�…odes for the current kernel...
[    7.545605] systemd[1]: Starting RPC Bind...
         Starting RPC Bind...
[    7.574602] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    7.592953] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    7.627247] systemd[1]: Condition check resulted in Load Kernel Modules being skipped.
[    7.640351] systemd[1]: Mounting FUSE Control File System...
         Mounting FUSE Control File System...
[    7.660372] systemd[1]: Mounting Kernel Configuration File System...
         Mounting Kernel Configuration File System...
[    7.684598] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    7.732844] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
[    7.744149] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[    7.775175] systemd[1]: Starting udev Coldplug all Devices...
         Starting udev Coldplug all Devices...
[    7.846450] systemd[1]: Started RPC Bind.
[  OK  ] Started RPC Bind.
[    7.884892] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted Temporary Directory (/tmp).
[  OK  ] Started Create list of sta�… nodes for the current kernel.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Apply Kernel Variables.
         Starting Flush Journal to Persistent Storage...
[    8.261556] systemd-journald[257]: Received client request to flush runtime journal.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /var/volatile...
         Starting udev Kernel Device Manager...
[  OK  ] Mounted /var/volatile.
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on dropbear.socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Kernel Logging Service.
[  OK  ] Started System Logging Service.
[    9.739841] Bluetooth: Core ver 2.22
[    9.742261] NET: Registered protocol family 31
[    9.771239] st,stm32-i2s 4000b000.audio-controller: No cache defaults, reading back from HW
[  OK  ] Started D-Bus System Message Bus.
[    9.808251] stm32-cryp 54001000.cryp: will run requests pump with realtime priority
[    9.816453] Bluetooth: HCI device and connection manager initialized
[    9.821463] Bluetooth: HCI socket layer initialized
[    9.834299] stm32-hash 54002000.hash: will run requests pump with realtime priority
[  OK  ] Started Gett[    9.899739] stm32-cryp 54001000.cryp: Initialized
y on tty1.
[    9.914298] Bluetooth: L2CAP socket layer initialized
[    9.918052] Bluetooth: SCO socket layer initialized
         Starting IPv6 Packet Filtering Framework...
         Starting IPv4 Packet Filtering Framework...


[  OK  ] Started Serial Getty on ttySTM0.
[   10.030315] Bluetooth: HCI UART driver ver 2.3
[   10.043752] stm32-hash 54002000.hash: Init HASH done HW ver 23 DMA mode 1
[   10.051633] stm32-crc32 58009000.crc: Initialized
         Stopping Serial Getty on ttySTM0...


         Starting Login Service...
[   10.129884] Bluetooth: HCI UART protocol H4 registered
[   10.144424] galcore: loading out-of-tree module taints kernel.
[  OK  ] Started TEE Supplicant.
[   10.171541] Bluetooth: HCI UART protocol Broadcom registered
[  OK  ] Started IPv6 Packet Filtering Framework.
[  OK  ] Started IPv4 Packet Filtering Framework.
[   10.351280] Galcore version 6.4.3.279124
[   10.363263] cfg80211: Loading compiled-in X.509 certificates for regulatory database


[  OK  ] Stopped Serial Getty on ttySTM0.


[   10.480989] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   10.551612] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   10.564325] cfg80211: failed to load regulatory.db
[   10.567851] Bluetooth: hci0: BCM: chip id 94
[   10.572661] Bluetooth: hci0: BCM: features 0x2e
[   10.579068] Bluetooth: hci0: BCM43430A1
[   10.581554] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0000
[   10.593980] Bluetooth: hci0: BCM43430A1 'brcm/BCM43430A1.hcd' Patch
[   10.719466] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[   10.944323] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[   11.034191] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Feb 16 2020 22:39:24 version 7.45.98.97 (r724416 CY) FWID 01-bf41ed64
[   11.246819] Bluetooth: hci0: BCM4343WA1 37.4MHz Murata Type-1DX BT4.2-0093
[   11.252320] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0395
[   11.337201] cs42l51 0-004a: Cirrus Logic CS42L51, Revision: 01
[  OK  ] Started Login Service.
[  OK  ] Created slice system-systemd\x2dbacklight.slice.
[  OK  ] Reached target Bluetooth.
[  OK  ] Reached target Login Prompts.
[  OK  ] Reached target Network (Pre).
[  OK  ] Reached target Sound Card.
[  OK  ] Reached target Hardware activated USB gadget.
         Starting Load/Save Screen �…of backlight:5a000000.dsi.0...
         Starting Network Service...
[FAILED] Failed to start Load/Save �…s of backlight:5a000000.dsi.0.
See 'systemctl status systemd-backlight�…ht:5a000000.dsi.0.service' for details.
[  OK  ] Started Network Service.
         Starting Network Name Resolutio[   12.423795] stm32-dwmac 5800a000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
n...
[   12.438978] dwmac4: Master AXI performs any burst length
[   12.442981] stm32-dwmac 5800a000.ethernet eth0: No Safety Features support found
[   12.451037] stm32-dwmac 5800a000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[   12.460125] stm32-dwmac 5800a000.ethernet eth0: registered PTP clock
[   12.468558] stm32-dwmac 5800a000.ethernet eth0: configuring for phy/rgmii-id link mode
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Network.
[  OK  ] Reached target Host and Network Name Lookups.
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Reached target Multi-User System.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.
[   16.716957] stm32-dwmac 5800a000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   16.724237] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   33.753839] usb33: supplied by vdd_usb
[   33.756433] vref: supplied by vdd
[   33.759707] vref: disabling
[   33.762296] vdda: disabling

The status of the Getty service indicates that it has stopped due to the serial device being inactive:

$ systemctl status [email protected]

● [email protected] - Serial Getty on ttySTM0
     Loaded: loaded (/lib/systemd/system/[email protected]; enabled; vendor preset: disabled)
     Active: inactive (dead) since Wed 2021-12-22 20:15:56 UTC; 3min 35s ago
       Docs: man:agetty(8)
             man:systemd-getty-generator(8)
             http://0pointer.de/blog/projects/serial-console.html
    Process: 321 ExecStart=/sbin/agetty -8 --autologin root -L ttySTM0 115200 $TERM (code=killed, signal=HUP)
   Main PID: 321 (code=killed, signal=HUP)

Dec 22 20:15:56 stm32mp1 systemd[1]: Started Serial Getty on ttySTM0.
Dec 22 20:15:56 stm32mp1 systemd[1]: [email protected]: Unit is bound to inactive unit dev-ttySTM0.device. Stopping, too.
Dec 22 20:15:56 stm32mp1 systemd[1]: Stopping Serial Getty on ttySTM0...
Dec 22 20:15:56 stm32mp1 systemd[1]: [email protected]: Succeeded.
Dec 22 20:15:56 stm32mp1 systemd[1]: Stopped Serial Getty on ttySTM0.

However, the device listing indicates that it is available and active:

$ systemctl --all --full -t device

UNIT                                                                                           LOAD   ACTIVE SUB     DESCRIPTION                                     
...
dev-ttySTM0.device                                                                             loaded active plugged /dev/ttySTM0                                          
...

Could anyone suggest what the issue might be?

Or could you suggest what else I can do to find the source of the problem?

Thank you.

systemd yocto
  • 1 个回答
  • 531 Views
Martin Hope
codeScriber
Asked: 2021-09-27 05:01:25 +0800 CST

yocto linux 上的 sshd 持续断开我的连接

  • 0

我们在 IMX8 设备 (NXP) 上有自己的 yocto 映像。设备互联网由 simcon EU 4G 调制解调器和 IOT sim (Monogoto) 提供服务。使用 libqmi 创建的连接 id 并成功创建了 wwan0。

  • sshd 配方保持不变(防止 root 登录除外)
  • 对设备的 ssh 访问是按需的,当请求 ngrok 转发 TCP 端口 22 并且在 ngrok 站点上我可以看到我要连接的 URI。

尝试连接时,我成功了。但是,当我尝试使用具有大输出的命令(如 dmesg)或将大型测试文件复制粘贴到 vi 时,终端挂起并且连接关闭。如果我使用 ngrok 连接到普通 PC,则连接保持打开就好了。我想可能是调制解调器。所以我使用类似 USB 的调制解调器(EC25e - 相同的 SIM 提供商)连接到我的 ubuntu,ssh 连接没问题。试图比较和更改sshd_config设置,但我的笔记本电脑版本和 (NXP) 之间的所有设置都不同Compulab并且被更改似乎没有帮助。

关于为什么断开连接的任何想法?有铅吗?谢谢。

sshd yocto
  • 1 个回答
  • 69 Views
Martin Hope
JonasVautherin
Asked: 2019-09-16 08:16:37 +0800 CST

USB 以太网

  • 2

我是 Yocto 的新手,正在玩core-minimal-image并试图在我的小猎犬上运行它。我想通过 USB 端口通过 SSH 连接到我的 Pocketbeagle。我知道这是可能的,因为为该板提供的默认图像正是这样做的。

我在 github 上找到了一个pocketbeagle-meta ,并正在使用它来构建。查看内核配置,我看到它设置了一堆与 USB 相关的选项,即:

CONFIG_USB_USBNET=m
CONFIG_USB_NET_AX8817X=m
CONFIG_USB_NET_AX88179_178A=m
CONFIG_USB_NET_CDCETHER=m
CONFIG_USB_NET_CDC_EEM=m
CONFIG_USB_NET_CDC_NCM=m

闪烁默认图像并将其插入我的计算机会导致电路板通电,但我的计算机无法识别任何 USB 设备(使用 进行检查dmesg,没有任何反应)。

所以我尝试加载cdc_ether内核模块,添加:

KERNEL_MODULE_AUTOLOAD += "cdc_ether"

到core-image-minimal.bb,但这并没有改变任何东西。

通过 USB 将我的 pocketbeagle 识别为以太网设备,我缺少什么?

yocto
  • 1 个回答
  • 1323 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    模块 i915 可能缺少固件 /lib/firmware/i915/*

    • 3 个回答
  • Marko Smith

    无法获取 jessie backports 存储库

    • 4 个回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    user12345 无法获取 jessie backports 存储库 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl 为什么大多数 systemd 示例都包含 WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve