摘要:# 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
阅读全文
摘要:[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(
阅读全文
摘要: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
阅读全文
摘要:$ git clone https://gitee.com/mirrors/riscv-gnu-toolchain 进入源码目录: $ cd riscv-gnu-toolchain 注意上面 clone 的主仓库并不包含子仓库的内容,所以需要继续更新子仓库。注意这里首先排除了 qemu 这个子仓库,
阅读全文
摘要:git config --global url."https://github.com.cnpmjs.org/".insteadOf "https://github.com/" 查看git配置信息 git config --global --list [root@centos7 arm]# git
阅读全文
摘要:编译riscv gcc 下载完毕后,就要开始编译。首先在riscv-gnu-toolchain根目录下,创建build目录。用于编译riscv gcc。 riscv gcc可以编译成以下几个版本 riscv32-unknown-elf-gcc riscv64-unknown-elf-gcc risc
阅读全文
摘要:main.c:(.text+0x5f10): undefined reference to `timer_create' main.c:(.text+0x5f3d): undefined reference to `timer_settime' main.c:(.text+0x5f75): unde
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:[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
阅读全文
摘要:补丁下载 内核代码 root@Ubuntu-riscv64:/usr/src/linux-5.14# head Makefile # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 14 SUBLEVEL = 0 EXTRAVERS
阅读全文
摘要:[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,
阅读全文
摘要:系统信息 [root@centos7 ~]# qemu-system-aarch64 -version QEMU emulator version 4.2.0 Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developer
阅读全文
摘要:[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
阅读全文