上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 164 下一页

2021年11月8日

摘要: cat hello.s .data /* Data segment: define our message string and calculate its length. */ msg: .ascii "Hello, ARM64!\n" len = . - msg .text /* Our app 阅读全文
posted @ 2021-11-08 11:25 tycoon3 阅读(701) 评论(0) 推荐(0)

2021年11月4日

摘要: 特权模式(privilege mode) /* * Only the HART supporting privilege mode specified in the * scratch->next_mode should be allowed to become the coldboot * HAR 阅读全文
posted @ 2021-11-04 16:50 tycoon3 阅读(186) 评论(0) 推荐(0)

2021年11月2日

摘要: for i in `find -type f`; do [ -x $i ] && echo "$i is executable"; done 阅读全文
posted @ 2021-11-02 19:18 tycoon3 阅读(29) 评论(0) 推荐(0)

2021年11月1日

摘要: [root@centos7 linux-5.14]# ls /dev/watchdog /dev/watchdog [root@centos7 opensbi]# ls /sys/bus/amba/ devices drivers drivers_autoprobe drivers_probe ue 阅读全文
posted @ 2021-11-01 15:23 tycoon3 阅读(316) 评论(0) 推荐(0)

2021年10月27日

摘要: # 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 阅读(179) 评论(0) 推荐(0)

2021年10月23日

摘要: [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)

2021年10月21日

摘要: 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 阅读(243) 评论(0) 推荐(0)
摘要: $ git clone https://gitee.com/mirrors/riscv-gnu-toolchain 进入源码目录: $ cd riscv-gnu-toolchain 注意上面 clone 的主仓库并不包含子仓库的内容,所以需要继续更新子仓库。注意这里首先排除了 qemu 这个子仓库, 阅读全文
posted @ 2021-10-21 09:54 tycoon3 阅读(319) 评论(0) 推荐(0)

2021年10月20日

摘要: 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 阅读(419) 评论(0) 推荐(0)
摘要: 编译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 阅读(7417) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 164 下一页

导航