[linux project] lichee nano linux burning
preface
lichee_ The nano master chip is Quanzhi FC1001S.
For the time being, this note takes lichee nano as an example, which may be directly adapted to various boards of FC1001S in the future.
Note: when using the lichee nano board and the image provided by lichee, you need to pay attention to the flash chip model of the board and modify the ...
Added by guanche on Tue, 04 Jan 2022 19:59:59 +0200
Call logic of crypto subsystem in Linux kernel
testmgr.c - crypto/testmgr.c - Linux source code (v5.15.11) - BootlinThe above code is a test program for providing cryptographic services inside the kernel, that is, the crypto subsystemCalling process: crypto API < - > crypto core < - > crypto_ register_ algIf a program in user mode wants to call a cryptographic algorithm in kerne ...
Added by spfoonnewb on Tue, 04 Jan 2022 18:36:15 +0200
awk of three swordsmen in text processing
1.awk working principle and basic usage
awk
:
Aho, Weinberger, Kernighan
, report generator, formatted text output,
GNU/Linux
Published
AWK is currently funded by the free software foundation(
FSF
)Development and maintenance, commonly known as
GNU AWK
There are several versions:
AWK: AWK originally from at & T ...
Added by robdavies on Tue, 04 Jan 2022 18:03:50 +0200
Prometheus is deployed in containers and monitors nodes with Grafan drawing tool
Prometheus is deployed in containers and monitors nodes with Grafan drawing tool
Install docker on the master host
Environmental description
host nameipmaster192.168.200.144client192.168.200.145
Configure docker CE source
[root@master ~]# cd /etc/yum.repos.d/
[root@master yum.repos.d]# curl -o docker-ce.repo https://mirrors.tuna.tsinghua.ed ...
Added by rationalrabbit on Tue, 04 Jan 2022 13:43:54 +0200
Linux command artifact: lsof
brief introduction
lsof(list open files) is a tool that lists the open files of the current system. In the linux environment, everything exists in the form of files. Through files, you can access not only conventional data, but also network connections and hardware. Therefore, for example, transmission control protocol (TCP) and user datagram ...
Added by nubby on Tue, 04 Jan 2022 10:40:20 +0200
Bidirectional circular linked list of Linux kernel data structure_ head
catalogue
summary
List in kernel_ Implementation of head
1.list_head structure
2.list_ Operation implemented by head
3.list_entry macro
list_ Use of head
epilogue
summary
The two-way circular linked list in Linux kernel is realized by separating abstract structure and data, that is, abstract linked list_head is embedded in the data st ...
Added by TheKiller on Tue, 04 Jan 2022 08:58:30 +0200
k8s cluster environment construction
k8s cluster environment construction
preface
Today, let's use kubeam to build a k8s cluster to prepare the environment for the microservice project we will write later. First, let's take a look
Construction steps
Turn off firewall
systemctl stop firewalld.service
systemctl disable firewalld.service
Modify selinux
setenforce 0 temporary ...
Added by dynodins on Tue, 04 Jan 2022 08:52:04 +0200
Serial port programming for Linux applications
/Disclaimer: I only reprinted this article when I saw that it was very helpful to me, but there were grammatical errors in this complete program. Now let me correct it/
Author :tiger-john WebSite :blog.csdn.net/tigerjb
Email : jibo.tiger@gmail.com
Update time: Monday, February 14, 2011
Tiger statement: I despise individuals or groups that ...
Added by Pawn on Tue, 04 Jan 2022 08:50:40 +0200
[network programming] 2. Byte order and address conversion
1, Byte order
1. Classification
Small end format: store low byte data in low address
Big end format: store high byte data in low address
Small segment storage format is adopted in linux
2. Features
The network protocol specifies that the communication byte order is the big end formatByte order needs to be considered only in multi byte d ...
Added by Chunk1978 on Tue, 04 Jan 2022 08:28:09 +0200
Linux serial driver and use
summary
Serial driver is different from IIC/SPI driver. It has no difference between host and device. There is only one serial driver.The official website will generally write the serial port driver. What we really need to do is to add the serial port node information to be used in the device tree.After the system is started, the serial po ...
Added by toivo on Tue, 04 Jan 2022 07:47:56 +0200