macos 使用串口终端

2023-11-04

其实很简单。
先用ls看看/dev/tty.*哪个是具体的串口,我这里使用的edison的板子,所以插到macos上后可以看到的设备节点为:
这里写图片描述
只需要使用screen 命令即可,具体的命令格式如下:
screen /dev/tty.usbserial-A90401CM 115200
然后就可以了。

U-Boot 2014.04 (Jun 06 2016 - 14:40:07)

       Watchdog enabled
DRAM:  980.6 MiB
MMC:   tangier_sdhci: 0
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
Target:blank
Partitioning already done...
Flashing already done...
GADGET DRIVER: usb_dnl_dfu
reading vmlinuz
5461344 bytes read in 135 ms (38.6 MiB/s)
Valid Boot Flag
Setup Size = 0x00003c00
Magic signature found
Using boot protocol version 2.0c
Linux kernel version 3.10.98-poky-edison+ (neck@flax) #1 SMP PREEMPT Mon Jun 6 14:32:08 PDT 2016
Building boot_params at 0x00090000
Loading bzImage at address 00100000 (5445984 bytes)
Magic signature found
Kernel command line: "rootwait root=PARTUUID=012b3303-34ac-284d-99b4-34e03a2335f4 rootfstype=ext4 console=ttyMFD2 earlyprintk=ttyMFD2,keep loglevel=4 g_multi.ethernet_config=rndis systemd.unit=multi-user.target hardware_id=00 g_multi.iSerialNumber=0aa4e0381c237650668e48d7b44665c2 g_multi.dev_addr=02:00:86:46:65:c2 platform_mrfld_audio.audio_codec=dummy"

Starting kernel ...

[    1.633005] snd_soc_sst_platform: Enter:sst_soc_probe
[    2.117265] pmic_ccsm pmic_ccsm: Error reading battery profile from battid frmwrk
[    2.126027] pmic_ccsm pmic_ccsm: Battery Over heat exception

Welcome to Linux!

[    2.835415] systemd[1]: [/lib/systemd/system/wyliodrin-server.service:3] Failed to add dependency on redis, ignoring: Invalid argument
[    2.838605] systemd[1]: [/lib/systemd/system/wyliodrin-hypervisor.service:3] Failed to add dependency on redis, ignoring: Invalid a         Expecting device dev-ttyMFD2.device...
[  OK  ] Reached target Remote File Systems.
         Expecting device sys-subsystem-net-devices-wlan0.device...
         Expecting device dev-disk-by\x2dpartlabel-factory.device...
[  OK  ] Reached target Paths.
[  OK  ] Reached target Swap.
[  OK  ] Set up automount boot.automount.
[  OK  ] Created slice Root Slice.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Listening on Delayed Shutdown Socket.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Journal Socket.
[  OK  ] Created slice System Slice.
         Mounting Temporary Directory...
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-getty.slice.
         Starting Create list of required static device nodes...rrent kernel...
         Starting udev Coldplug all Devices...
         Starting Load Kernel Modules...
         Mounting Debug File System...
         Mounting POSIX Message Queue File System...
         Starting Apply Kernel Variables...
         Starting Journal Service...
[  OK  ] Started Journal Service.
[  OK  ] Reached target Slices.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Set up automount home.automount.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted Temporary Directory.
[  OK  ] Started Create list of required static device nodes ...current kernel.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started udev Coldplug all Devices.
         Mounting Configuration File System...
         Mounting FUSE Control File System...
         Starting Load/Save Random Seed...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Configuration File System.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /var/volatile...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Mounted /var/volatile.
[  OK  ] Reached target Local File Systems.
         Starting Trigger Flushing of Journal to Persistent Storage...
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Found device /sys/subsystem/net/devices/wlan0.
[  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
[  OK  ] Found device /dev/disk/by-partlabel/factory.
[  OK  ] Found device /dev/ttyMFD2.
         Mounting Mount for factory...
[  OK  ] Created slice system-systemd\x2drfkill.slice.
         Starting Load/Save RF Kill Switch Status of rfkill2...
         Starting Load/Save RF Kill Switch Status of rfkill0...
         Starting Load/Save RF Kill Switch Status of rfkill1...
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Mounted Mount for factory.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Started Load/Save RF Kill Switch Status of rfkill2.
[  OK  ] Started Load/Save RF Kill Switch Status of rfkill0.
[  OK  ] Started Load/Save RF Kill Switch Status of rfkill1.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Created slice system-systemd\x2dfsck.slice.
         Starting File System Check on /dev/disk/by-partlabel/home...
[  OK  ] Reached target Sound Card.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Timers.
         Starting Restore Sound Card State...
         Starting Console System Startup Logging...
[  OK  ] Listening on sshd.socket.
[  OK  ] Started Console System Startup Logging.
[    8.188685] systemd-fsck[180]: /dev/mmcblk0p10: recovering journal
[    8.228646] systemd-fsck[180]: /dev/mmcblk0p10: clean, 15/87120 files, 14185/348155 blocks
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Edison PWR button handler...
[  OK  ] Started Edison PWR button handler.
         Starting Edison sketch check service...
[  OK  ] Started Edison sketch check service.
         Starting WPA supplicant service...
         Starting Daemon to load edison mcu app binary...
[  OK  Application available at (physical) address 0x04819000
        VRL mapped to 0xff217000
        App size = 11508 bytes

        App Authentication feature is disabled!
        Resetting IPC

*** Ready to receive application ***
         Starting Telephony service...
         Starting OpenSSH Key Generation...
         Starting Start or stop WiFI AP Mode in Edison...
[  OK  ] Started Start or stop WiFI AP Mode in Edison.
         Starting Wyliodrin hypervisor...
         Starting Bluetooth rf kill event daemon...
[  OK  ] Started Bluetooth rf kill event daemon.
         Starting Daemon to handle arduino sketches...
[  OK  ] Started Daemon to handle arduino sketches.
         Starting Daemon to reset sketches...
[  OK  ] Started Daemon to reset sketches.
         Starting Wyliodrin server...
         Starting Login Service...
         Starting D-Bus System Message Bus...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Telephony service.
         Starting Network Service...
         Starting Watchdog sample daemon...
[  OK  ] Started Watchdog sample daemon.
         Starting Crashlog service...
[  OK  ] Started Crashlog service.
         Starting Cleanjournal service...
[  OK  ] Started Cleanjournal service.
         Starting Permit User Sessions...
[  OK  ] Started Network Service.
[  OK  ] Started File System Check on /dev/disk/by-partlabel/home.
[  OK  ] Started OpenSSH Key Generation.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Login Service.
         Starting Bluetooth service...
         Starting Daemon to receive the wpa_supplicant event...
[  OK  ] Started Daemon to receive the wpa_supplicant event.
         Starting Serial Getty on ttyMFD2...
[  OK  ] Started Serial Getty on ttyMFD2.
         Starting Getty on tty1...
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
         Mounting /home...
[  OK  ] Reached target Network.
         Starting Mosquitto - lightweight server implementati...SN protocols...
         Starting Zero-configuration networking...
         Starting Network Name Resolution...
[  OK  ] Mounted /home.
[  OK  ] Started Network Name Resolution.
[  OK  ] Started Mosquitto - lightweight server implementatio...T-SN protocols.
[  OK  ] Started Zero-configuration networking.
[  OK  ] Started Bluetooth service.
[  OK  ] Started Restore Sound Card State.
         Starting PulseAudio Sound System...
         Starting Daemon to receive the wpa_supplicant event...
[  OK  ] Started Daemon to receive the wpa_supplicant event.
         Starting Hostname Service...
         Starting The Edison status and configuration service...
[  OK  ] Started The Edison status and configuration service.
         Starting Intel_XDK_Daemon...
[  OK  ] Started Intel_XDK_Daemon.
[  OK  ] Started WPA supplicant service.
[  OK  ] Started Hostname Service.
[  OK  ] Created slice user-0.slice.
         Starting User Manager for UID 0...
         Stopping Daemon to receive the wpa_supplicant event...
[  OK  ] Stopped Daemon to receive the wpa_supplicant event.
         Starting Daemon to receive the wpa_supplicant event...
[  OK  ] Started Daemon to receive the wpa_supplicant event.
[  OK  ] Started User Manager for UID 0.
[  OK  ] Started PulseAudio Sound System.
[  OK  ] Started Wyliodrin hypervisor.
[  OK  ] Started Wyliodrin server.
[  OK  ] Reached target Multi-User System.
         Starting Redis Server...
[  OK  ] Started Redis Server.

Poky (Yocto Project Reference Distro) 1.7.3 zw001 ttyMFD2

zw001 login: 12345678
Password:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

macos 使用串口终端 的相关文章

随机推荐

  • vue 的指令

    目录 一 vue 的指令 1 v text 2 v html 3 v show 4 v if v esle if v else 1 v if 2 v if 与 v show 5 v for 1 v for 渲染一个数组 2 v for 渲染
  • node-sass安装后,启动本地环境爆出,Error: Node Sass does not yet support your current environment: Windows 64-bit

    最近有个很老的项目各种依赖库都很老 在本地环境中出现 Error Node Sass does not yet support your current environment Windows 64 bit with Unsupported
  • springboot运行出现 错误: 找不到或无法加载主类 com.xxxx.xxxx.Application

    项目打成jar包放在服务器上之后就未在使用 今天打开一运行居然报错 错误 找不到或无法加载主类 com fdway omui OmUiApplication 解决办法 1 项目 右键 Debug As 或 Run As Maven inst
  • 一些有趣的 js 功能函数

    一些有趣的 js 功能函数 数组 生成数组 打乱数组 数组简单数据去重 数组唯一值数据去重 多数组取交集 查找最大值索引 查找最小值索引 找到最接近的数值 压缩多个数组 拉链函数 矩阵交换行和列 数字转换 进制转换 正则 手机号格式化 去除
  • Docx:docx.opc.exceptions.PackageNotFoundError: Package not found at

    Docx docx opc exceptions PackageNotFoundError Package not found at https blog csdn net python reported article details 1
  • java finalize方法总结、GC执行finalize的过程

    注 本文的目的并不是鼓励使用finalize方法 而是大致理清其作用 问题以及GC执行finalize的过程 1 finalize的作用 finalize 是Object的protected方法 子类可以覆盖该方法以实现资源清理工作 GC在
  • 记一次计算机网络工程实验(1) 利用VLAN划分不同网段

    一学期没上过计算机网络工程的课 今天是第一次去做实验 把经验记在这里 免得过几天又忘了 安装Cisco Packet Tracer 首先需要下载和安装这次实验的工具 Cisco Packet Tracer 这是一个模拟路由器 交换机和各种终
  • Tomcat遇到闪退和Using CATALINA_OPTS:问题如何解决

    Tomcat遇到闪退和Using CATALINA OPTS 问题如何解决 最快的方法直接重新下载tomcat 链接 https pan baidu com s 1h12kdt5ZESJDdxY4AkcVjQ pwd oqsz 提取码 oq
  • 关于日期的正则表达式

    QTP是quicktest Professional的简称 是一种自动测试工具 QTP自带教程中有关于日期的正则表达式的例子 即对时间 月 日 年采用正则表达式方法进行检查 但经常是测试失败 例子中提供的表达式为 0 1 0 9 0 3 0
  • Vue3-ElemenPlu,全栈开发后台系统-JWT方案讲解第三章-Koa架构设计接口方面实现mongdb安装配置工具函数的封装前台首页实现

    第三章 Koa架构设计 usr bin env node Module dependencies var app require app var debug require debug
  • elasticsearch script实战

    写在前面 大家在开发elasticsearch的时候都会遇到很多去怪的需求 如果我们已知的RestAPI无法帮助我们完成搜索 是就需要我们自己动手写脚本来辅助搜索 完成需求 浅谈elasticsearch script脚本使用机制 通过阅读
  • angular:angular重用策略与ionic重用策略浅谈

    angular默认重用策略 同一个路由地址互相跳转会复用 否则会重新创建component 无任何重用 ionic默认重用策略 同一个路由地址会复用 在离开当前路由时会缓存路由地址对应的组件 当再次遇到相同路由地址时会恢复 但是复用后 如果
  • Vue移动框鼠标拖拽自定义指令

    在Vue中通过自定义指令 实现指定的模块带有鼠标拖拽移动效果 移动框自定指令 Vue directive drag bind el gt let initX null let initY null el style cursor move
  • 3-3 OneHot编码

    3 3 OneHot编码 请参考 数据准备和特征工程 中的相关章节 调试如下代码 基础知识 import pandas as pd g pd DataFrame gender man woman woman man woman g gend
  • 【华为机试刷题笔记】HJ16-购物单

    王强决定把年终奖用于购物 他把想买的物品分为两类 主件与附件 附件是从属于某个主件的 下表就是一些主件与附件的例子 主件 附件 电脑 打印机 扫描仪 书柜 图书 书桌 台灯 文具 工作椅 无 如果要买归类为附件的物品 必须先买该附件所属的主
  • Django高级扩展之celery使用

    Celery是一个简单 灵活 可靠的分布式系统 用于处理大量消息 同时为操作提供维护此类系统所需的工具 是一个专注于实时处理的任务队列 同时还支持任务调度 目录 应用场景 问题 解决 celery架构图 安装 配置celery Settin
  • 每日一题 day 58(DP topic)

    文章目录 problem wrong approach approach memorize dp problem 518 Coin Change 2 You are given an integer array coins represen
  • git每次都弹窗提示输入用户名和密码的解决方法

    每次进行git操作时总是要输入用户名密码很麻烦 解决方法是 加上用户本地凭证 命令如下 git config global credential helper store 然后再进行git操作 比如 git pull 打个比方 然后会拉起输
  • 什么是僵尸进程(Zombie)?

    分析Android系统启动过程的时候 init进程调用 signal handler init 函数用于设置子进程信号处理函数 它被定义在 system core init signal handler cpp中 主要用于防止init的子进
  • macos 使用串口终端

    其实很简单 先用ls看看 dev tty 哪个是具体的串口 我这里使用的edison的板子 所以插到macos上后可以看到的设备节点为 只需要使用screen 命令即可 具体的命令格式如下 screen dev tty usbserial