platform bus (Linux Driver Development)
Briefly introduce the led driver, input device driver, i2c driver and spi driver in platform driver
1.Platform led driver
The simplest example of understanding the platform can be understood as three parts, which are composed of driver layer, system core layer and device driver: Driver layer: hardware device registration part. System core la ...
Added by petezaman on Sun, 13 Feb 2022 08:43:31 +0200
shell programming -- judgment, selection, loop, interrupt, IFS
1, Judgment: if
1. Single branch mode
if Condition test
then
Command sequence
fi
if Condition test ; then
Command sequence
fi
Case:
[root@localhost jiaofan]# cat b.sh
#!/bin/bash
if [ -z $1 ]
then
echo "Error: service name not entered"
echo "Usage: script name server name"
fi
if systemctl is-active $1 &> /dev/null ; then
ec ...
Added by Thikho on Sun, 13 Feb 2022 05:46:07 +0200
Compile jdk image with Supervisor+Dockerfile
1, Bash script set command
1. Introduction
Set command is an important part of bash script, but it is often ignored, resulting in problems in the security and maintainability of the script. When bash executes the script, it will create a new Shell. If there is an error in the execution process, bash will ignore the error and continue to e ...
Added by mikesmith76 on Sun, 13 Feb 2022 02:04:02 +0200
Qt android development environment construction
I recommend a free open course of zero sound college. Personally, I think the teacher speaks well. I share it with you:
Linux, Nginx, ZeroMQ, MySQL, Redis, fastdfs, MongoDB, ZK, streaming media, CDN, P2P, K8S, Docker, TCP/IP, collaboration, DPDK and other technical contents, learn immediately
Recently, I'm working on Qt Android related ...
Added by fat creative on Sat, 12 Feb 2022 18:49:59 +0200
Analysis of USB network card sending and receiving data
preface
Network subsystem is the top priority of Linux kernel. Today, we start with the network card driver and start the exploration of the network subsystem.
hardware environment
Raspberry pie 3B + is equipped with Gigabit network card LAN7515, but it uses USB2 0 channel (the maximum theoretical speed is 480Mbps), and the official Etherne ...
Added by br on Sat, 12 Feb 2022 18:26:25 +0200
[shell series] necessary tools for environmental management
catalogue
1, What is a shell
2, Application scenario of shell script
3, Common shell scripts
4, Summary
1, What is a shell
Shell is an application program, which connects users and Linux kernel, so that users can use Linux kernel more efficiently, safely and at low cost. This is the essence of shell.
In short, we operate Linux through ...
Added by shams on Sat, 12 Feb 2022 15:59:38 +0200
vulnhub shooting range - the planes: Earth
THE PLANETS:EARTH
prepare
Attacker: kali
Target: the planes: Earth NAT 192.168.91.0 network segment
Download connection
[https://www.vulnhub.com/entry/the-planets-earth,755/]
Information collection and utilization
Host discovery
https://github.com/czheisenberg/MyCode/blob/master/Scan/scapy/ping.py
As shown in the figure, use python s ...
Added by pureDesi on Sat, 12 Feb 2022 12:46:46 +0200
Shell script -- condition judgment
Logic control - condition judgment
1, Realization of conditional judgment
ifcase
2, Simple structure of if
if condition ; then
Actions performed
Actions performed
fi
1. Writing of conditions
shell command
Determine the execution status code of the command [expression]
Numeric expressionCharacter expressionFile directory expre ...
Added by greenie__ on Sat, 12 Feb 2022 11:17:48 +0200
Development and application of fcitx function plug-in
Add plug-ins to Fcitx framework
Fcitx plug-ins can be divided into four categories:
1.Frontend
2.Input Method
3.Module
4.User Interface
Frontend plug-in is responsible for interface key messages and passing them to Fcitx framework,
InputMethod plug-in is responsible for converting keyboard input into their language information, which is ...
Added by jwhite68 on Sat, 12 Feb 2022 08:41:06 +0200
[punctual atom MP157 serial] Chapter 24 LED driving experiment under the device tree - extracted from [punctual atom] STM32MP1 embedded Linux Driver Development Guide v1 seven
1) Experimental platform: punctual atom STM32MP157 development board 2) Purchase link: https://item.taobao.com/item.htm?&id=629270721801 3) Full set of experimental source code + manual + video download address: http://www.openedv.com/thread-318813-1-1.html 4) Official station B of punctual atom: https://space.bilibili.com/394620890 5) Punc ...
Added by michibk on Sat, 12 Feb 2022 07:12:32 +0200