10 2021 档案

Converting flat binary into ARM ELF format
摘要:# The part .data=0x08000000 should be replaced with the correct base offset of the ROM. # The value 0x08000000 is valid for STM32. arm-none-eabi-objco 阅读全文

posted @ 2021-10-27 14:08 tycoon3 阅读(151) 评论(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 阅读(899) 评论(0) 推荐(0) 编辑

ricfv debug
摘要:dts [root@centos7 images]# qemu-system-riscv64 -machine virt -machine dumpdtb=riscv64-virt.dtb -bios fw_jump.elf [root@centos7 images]# dtc -I dtb -O 阅读全文

posted @ 2021-10-21 16:38 tycoon3 阅读(208) 评论(0) 推荐(0) 编辑

git riscv-gnu-toolchain
摘要:$ git clone https://gitee.com/mirrors/riscv-gnu-toolchain 进入源码目录: $ cd riscv-gnu-toolchain 注意上面 clone 的主仓库并不包含子仓库的内容,所以需要继续更新子仓库。注意这里首先排除了 qemu 这个子仓库, 阅读全文

posted @ 2021-10-21 09:54 tycoon3 阅读(298) 评论(0) 推荐(0) 编辑

github 代理加速
摘要:git config --global url."https://github.com.cnpmjs.org/".insteadOf "https://github.com/" 查看git配置信息 git config --global --list [root@centos7 arm]# git 阅读全文

posted @ 2021-10-20 12:55 tycoon3 阅读(387) 评论(0) 推荐(0) 编辑

risc-v gcc 工具链编译
摘要:编译riscv gcc 下载完毕后,就要开始编译。首先在riscv-gnu-toolchain根目录下,创建build目录。用于编译riscv gcc。 riscv gcc可以编译成以下几个版本 riscv32-unknown-elf-gcc riscv64-unknown-elf-gcc risc 阅读全文

posted @ 2021-10-20 10:50 tycoon3 阅读(6927) 评论(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 阅读(662) 评论(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 阅读(373) 评论(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 阅读(678) 评论(0) 推荐(0) 编辑

rtems-examples triple_period
摘要:[root@centos7 rtems-examples]# cd classic_api/triple_period/ [root@centos7 triple_period]# ls init.c Makefile system.h tasks.c wscript [root@centos7 t 阅读全文

posted @ 2021-10-14 11:45 tycoon3 阅读(67) 评论(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 阅读(2881) 评论(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 阅读(126) 评论(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 阅读(709) 评论(0) 推荐(0) 编辑

qemu-system-aarch64: command not found
摘要:[root@centos7 ~]# uname -a Linux centos7 4.14.0-115.el7a.0.1.aarch64 #1 SMP Sun Nov 25 20:54:21 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux [root@cento 阅读全文

posted @ 2021-10-12 14:58 tycoon3 阅读(1430) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示