当前位置:网站首页>Raspberry Pie: serial port login does not display print information
Raspberry Pie: serial port login does not display print information
2022-07-24 09:44:00 【Jiang tengxia】
1. HDMI Start raspberry pie
2. open terminal A serial port
Input :
cat /proc/cmdline

If not serial=ttyAMA0,115200 That means the problem is here ( Not configured correctly ).
3. see cmdline.txt The configuration file
cat /boot/cmdline.txt
ls -a /dev/ttyAMA0 # see ttyAMA0
4. Cover config.txt
# Additional overlays and parameters are documented /boot/overlays/README
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
[all]
#dtoverlay=vc4-fkms-v3d
dtoverlay=pi3-disable-bt // Stop Bluetooth , Remove the use of serial port
start_x=1
gpu_mem=128
5. modify cmdline.txt file
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
6. HDMI Start raspberry pie ->terminal
cat /proc/cmdline # Keep looking at

success !!!
What if there is no extra monitor ?
1、 Take out the raspberry pie SD card , Plug it into the card reader , Open the above two files on the computer , Just modify it
边栏推荐
- PHP caching system - PHP uses Memcache
- MySQL query database capacity size
- Vscode failed to use SSH Remote Connection (and a collection of other problems)
- At the moment of the epidemic, we need to work harder, aoligui
- Re6: reading paper licin: a heterogeneous graph based approach for automatic legal stat identification fro
- Definition and initialization of cv:: mat
- Hucang integrated e-commerce project (I): introduction to the project background and structure
- Openstack network neutron knowledge point "openstack"
- With 8 years of product experience, I have summarized these practical experience of continuous and efficient research and development
- Onpropertychange property
猜你喜欢

【笔记】什么是内核/用户空间 从CPU如何运行程序讲起
![[example] v-contextmenu right click menu component](/img/d7/9287b24a6d9ada01a7f258dd34f0f8.jpg)
[example] v-contextmenu right click menu component

Do you really understand the concept of buffer? Take you to uncover the buffer zone~
![[don't bother with reinforcement learning] video notes (I) 2. Summary of reinforcement learning methods](/img/7e/cb5bf37de4482facda723f3de7deb6.jpg)
[don't bother with reinforcement learning] video notes (I) 2. Summary of reinforcement learning methods

Dark king | analysis of zego low illumination image enhancement technology

It's eleven again. Those jokes about nagging programmers going home for blind dates

详解LinkedList

What is the cloud native mid platform business architecture?
![Cyclicbarrier and countdownlatch [concurrent programming]](/img/38/3305a0cdb6de40e1370cc93c8e5014.png)
Cyclicbarrier and countdownlatch [concurrent programming]
![[C language] implementation of three versions of address book small project (including source code)](/img/3b/926001332ec05378de4c35dc28ed55.png)
[C language] implementation of three versions of address book small project (including source code)
随机推荐
Detailed explanation of the whole process of R & D demand splitting | agile practice
What are the 6% annualized products?
[don't bother with reinforcement learning] video notes (I) 2. Summary of reinforcement learning methods
Ue5 film and television animation rendering MRQ layered learning notes
Spark Learning: implement compact table command
MySQL status view qps/tps/ cache hit rate view
Vim: use tags file to extend the automatic code completion function of YCM for the third-party library of C language
Why add where exists() to the update select statement? And update with a with statement
Account 1-3
Openstack network neutron knowledge point "openstack"
Vector control of permanent magnet synchronous motor (I) -- mathematical model
Scarcity in Web3: how to become a winner in a decentralized world
Is it safe for Oriental Fortune futures to open an online account, and will it be cheated?
IdentityServer4入门
PHP debugging tool - socketlog installation and usage
Leetcode question brushing series -- 174. Dungeon games
It's eleven again. Those jokes about nagging programmers going home for blind dates
[MySQL] - deep understanding of index
Nuggets manufacturing industry, digital commerce cloud supply chain collaborative management system to achieve full chain intelligent management and control
Getting started with sorting - insert sorting and Hill sorting