Blog Navigation

2022-04-26
阅读 6 分钟
1.2k
Blog NavigationLinux Kernel0x01_LinuxKernel_内核的启动(一)之启动前准备[2022-7-5]0x02_LinuxKernel_内核的启动(二)SMP多核处理器启动过程分析 [TODO]0x21_LinuxKernel_内核活动(一)之系统调用 [2022-8-9]0x22_LinuxKernel_内核活动(二)中断体系结构(中断上文) [2022-7-27]0x23_LinuxKernel_内核活动(三)...

04_ARMv8指令集-运算指令集

2022-03-19
阅读 5 分钟
3.5k
加法指令ADD、ADDS、ADCS减法指令SUB、SUBS、SBC,SBCS,CMP位操作AND, ANDS, ORR、EOR、BFI、UBFX、SBFX1. 加法指令加法指令有ADD、ADDS、ADCS。 ADD一般性加法指令,ADCS带C标志位运算的加法指令,ADDS影响C标志位的加法运算。1.1 ADDa = a + b, 没有进位标志,也不会利用进位标志ADD (extended register) :Define: AD...

Starting with JLink debugger (ARMv8)

2022-03-05
阅读 2 分钟
1.8k
Note, the openocd installed by sudo apt-get install openocd is not work on ubuntu 20.04. The error prompted Error: invalid command name "dap". So you shall compile the openocd by yourself. Please refer to the link [链接] (Though it is targetting for ubuntu 16.04, the 20.04 still follow ...

ARMv8的ELF文件

2022-02-22
阅读 48 分钟
2.8k
1. 概述有几个涉及的专有名词概念段(segment)/节(section)单位存储到elf文件中代码段(code section): .code 或者 .text数据段(data section): .data这里面有几个一般性的规则:.bbs段是存储全局变量和局部静态变量未初始化的。.data段存储 已初始化全局变量和已初始化局部静态变量的位置。.指令、函数调用、局部...

关于ARM大小端模式和CPU有关还是编译器有关

2022-02-21
阅读 2 分钟
2.3k
ARMv7-A: In ARMv7-A, the mapping of instruction memory is always little-endian.

制作树莓派Raspberry PI镜像文件

2022-02-19
阅读 1 分钟
1.2k
Ref the website Raspberry PI softwareThis website includes some tools of images burning, various raspberry images. The tool is supported on mulit-platform, such as MAC-OS, Windows and Linux, and it is so easy to use to burn your images downloaded.

03_ARMv8指令集介绍加载与存储指令

2022-02-14
阅读 4 分钟
3.4k
Github地址:carloscn/uncle-ben-os at car_lab_01 (github.com)ARMv8指令集介绍A64指令集只能运行在aarch64所有A64汇编都是32 bits宽的关注指令的使用、有什么limitationA64能访问的地址数据是64位宽的A64支持全部的大写或者小写方式ARM官方大写应用使用小写寄存器命名Wn表示32bits宽的寄存器Xn表示64bits宽的寄存器WZR...

02. ARMv8 some basic concepts

2022-02-10
阅读 4 分钟
920
ARMv8Introduction新一代64位处理保持ARMv7兼容性New feature在programmer guide 2.1里面 引入那些feature:Large physical address 32位系统的没有enable的话,只支持4G。64bit virtual addressing使之虚拟地址空间可以超过4GBautomatic event sinaling支持原子操作的存储和访问的操作larger register files减少对栈的...

Linux内核同步机制

2022-01-17
阅读 5 分钟
889
信号量例子,纯信号量 {代码...} 信号量和互斥锁(副线程 阻塞),非阻塞mainloop {代码...}

Linux内核学习-2. 进程的管理和调度

2021-10-28
阅读 6 分钟
1.4k
硬实时进程:有严格的时间限制/Linux不支持硬实时/一些linux旁支版本RTLinux支持硬实时,主要原因是调度器没有做进内核中,内核作为一个独立的进程处理一些不仅要的任务。

vscode remote ssh 下载慢的解决方案

2021-08-27
阅读 1 分钟
5.5k
从vscode下载vscode-server时候的log里面抓到commit_id值commit_id=3866c3553be8b268c8a7f8c0482c0c0177aa8bfa

基于Mac Silicon M1 的OpenSSL 编译

2021-02-25
阅读 4 分钟
8.2k
I tend to shy away from dependencies when possible. But my app, Aether, has an unavoidable dependency on tqsllib, which in turn depends on OpenSSL. Originally, OpenSSL shipped with macOS, so using it was no big deal. Apple deprecated it years ago (for very good reasons) and recommends building it...

How to compile mbedtls library on Linux/Mac/Windows

2020-11-11
阅读 1 分钟
4k
[Brief] mbedtls library is arm security suite for embedded device. It can be MAKE on multi-platform as host linux, mac os even windows OS. This paper guide you configuring and compiling the mbedtls library on Linux/Mac/Windows OS and link the output binary library files on your C project.