随笔分类 -  os

上一页 1 2 3 4 5 6 7 8 ··· 23 下一页

linux 驱动寄存器读写
摘要:linux driver write writel_relaxed readb()和writeb()系列函数 1 #define readb_relaxed(c) ({ u8 __r = __raw_readb(c); __r; }) 2 #define readw_relaxed(c) ({ u1 阅读全文

posted @ 2021-11-16 17:58 tycoon3 阅读(1027) 评论(0) 推荐(0)

could not get #clock-cells for
摘要:[ 0.431010] OF: tracing soc __of_get_address 1 [ 0.447918] OF: timer0: could not get #clock-cells for clk@1 [ 0.461946] OF: watchdog0: could not get # 阅读全文

posted @ 2021-11-16 15:50 tycoon3 阅读(618) 评论(0) 推荐(0)

linux 时钟
摘要:一般CPU频率(FCLK)高于内存、网卡等设备频率(HCLK),而串口、USB、I2C等设备频率(PCLK)更低。 分频: CPU工作于FCLK时钟;FCLK分倍频1/2或1/4等给内存、网卡、Nand flash等设备使用,即HCLK时钟;HCLK分倍频给串口、USB、I2C等低速设备,即PCLK 阅读全文

posted @ 2021-11-14 11:00 tycoon3 阅读(1177) 评论(0) 推荐(0)

find 可执行
摘要:for i in `find -type f`; do [ -x $i ] && echo "$i is executable"; done 阅读全文

posted @ 2021-11-02 19:18 tycoon3 阅读(29) 评论(0) 推荐(0)

GDB调试fork+exec创建的子进程的方法
摘要:[root@centos7 ~]# cat test.c #include <stdlib.h> #include <stdio.h> #include <unistd.h> int main() { int ret = 0; ret = fork(); if (ret == 0) { execv( 阅读全文

posted @ 2021-10-23 18:16 tycoon3 阅读(965) 评论(0) 推荐(0)

Solution for errors like "undefined reference to `timer_create'
摘要:main.c:(.text+0x5f10): undefined reference to `timer_create' main.c:(.text+0x5f3d): undefined reference to `timer_settime' main.c:(.text+0x5f75): unde 阅读全文

posted @ 2021-10-19 14:11 tycoon3 阅读(703) 评论(0) 推荐(0)

python 正态分布
摘要:import numpy as np import matplotlib.pyplot as plt import pandas as pd from scipy.stats import norm from scipy.stats import shapiro import statistics 阅读全文

posted @ 2021-10-19 10:54 tycoon3 阅读(382) 评论(0) 推荐(0)

linux-headers make
摘要:root@Ubuntu-riscv64:/usr/src/linux-5.14# make ARCH=riscv headers_install INSTALL ./usr/include root@Ubuntu-riscv64:/usr/src/linux-5.14# make ARCH=risc 阅读全文

posted @ 2021-10-15 11:10 tycoon3 阅读(704) 评论(0) 推荐(0)

Linux内核打实时补丁preempt_rt
摘要:补丁下载 内核代码 root@Ubuntu-riscv64:/usr/src/linux-5.14# head Makefile # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 14 SUBLEVEL = 0 EXTRAVERS 阅读全文

posted @ 2021-10-14 10:40 tycoon3 阅读(2994) 评论(0) 推荐(0)

rtems task
摘要:[root@centos7 hello_world_c]# aarch64-rtems6-gdb o-optimize/hello.exe GNU gdb (GDB) 10.1.90.20210409-git Copyright (C) 2021 Free Software Foundation, 阅读全文

posted @ 2021-10-13 12:14 tycoon3 阅读(160) 评论(0) 推荐(0)

rtems qemu
摘要:系统信息 [root@centos7 ~]# qemu-system-aarch64 -version QEMU emulator version 4.2.0 Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developer 阅读全文

posted @ 2021-10-12 15:13 tycoon3 阅读(795) 评论(0) 推荐(0)

ethercat PREEMPT SMP
摘要:[ 136.088255] ecrt_master_create_domain_err+0x18/0x100 [ec_master] [ 136.094454] ecrt_master_create_domain+0x20/0x38 [ec_master] [ 136.100195] hello_i 阅读全文

posted @ 2021-09-29 11:46 tycoon3 阅读(198) 评论(0) 推荐(0)

awk docker rmi image is referenced in multiple repositories
摘要:root@ubuntu:~/karmada# docker images | grep karmada gcr.io/karmada-controller-manager v0.7.0-111-g8effddd 8dba76916685 3 hours ago 67.7MB ubuntu:5000/ 阅读全文

posted @ 2021-08-17 14:35 tycoon3 阅读(54) 评论(0) 推荐(0)

dm9000
摘要:static void dm9000_rx(struct net_device *dev) { board_info_t *db = netdev_priv(dev); struct dm9000_rxhdr rxhdr; /* 该结构体按照DM9000的接收格式封装了dm9000接收的数据包信息 阅读全文

posted @ 2021-08-10 16:47 tycoon3 阅读(258) 评论(0) 推荐(0)

chroot
摘要:[root@localhost satimis]# chroot "$LFS" /tools/bin/env -i \ > HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \ > PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin 阅读全文

posted @ 2021-08-05 11:55 tycoon3 阅读(104) 评论(0) 推荐(0)

git tag
摘要:1018 git clone https://github.com/kubernetes/ingress-nginx.git 1023 git tag --list 1025 git checkout -b controller-v0.44.0 root@ubuntu:~/nginx_ingress 阅读全文

posted @ 2021-07-30 17:49 tycoon3 阅读(39) 评论(0) 推荐(0)

c++17 string_view
摘要:string_view: No such file or directory std::string_view is not available in GCC until version 7. root@ubuntu:~/c++# gcc --version gcc (Ubuntu/Linaro 5 阅读全文

posted @ 2021-07-02 15:21 tycoon3 阅读(739) 评论(0) 推荐(0)

Keepalived配置实现Haproxy高可用
摘要:demo1 root@cloud:/etc/haproxy# cat haproxy.cfg # # Example configuration for a possible web application. See the # full configuration options online. 阅读全文

posted @ 2021-06-25 17:57 tycoon3 阅读(135) 评论(0) 推荐(0)

tcpdump ipip
摘要:root@cloud:~# tcpdump -i enahisic2i0 "ip proto 4" and host 10.10.16.82 -ennvv tcpdump: listening on enahisic2i0, link-type EN10MB (Ethernet), capture 阅读全文

posted @ 2021-06-21 16:11 tycoon3 阅读(341) 评论(0) 推荐(0)

nslookuptool
摘要:https://www.nslookuptool.com/#A&baidu.com [root@bogon ~]# nslookup doh.pub Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: Name: doh.pub 阅读全文

posted @ 2021-06-08 15:57 tycoon3 阅读(48) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 ··· 23 下一页

导航