摘要: 官网本身有详细教程,这里只是简单说一下。 0. 源码 hello.c和Makefile一起放在了 ~/buildroot-2020.08.1/dl/helloworld 文件夹 hello.c #include <stdio.h> int main() { printf("buildroot hel 阅读全文
posted @ 2020-10-29 18:28 园友1683564 阅读(3876) 评论(0) 推荐(0)
摘要: https://www.codeproject.com/Articles/874396/Crunching-Numbers-with-AVX-and-AVX Crunching Numbers with AVX and AVX2 Matt Scarpino Rate this: 4.92 (34 v 阅读全文
posted @ 2020-08-13 12:44 园友1683564 阅读(511) 评论(0) 推荐(0)
摘要: 特别推荐: https://www.codeproject.com/Articles/874396/Crunching-Numbers-with-AVX-and-AVX 1. 查看自己cpu支持指令集: 直接去官网查: https://ark.intel.com/content/www/cn/zh/ 阅读全文
posted @ 2020-08-13 12:38 园友1683564 阅读(6567) 评论(0) 推荐(0)
摘要: 更新:原帖内容有点过时了 直接用buildroot,换上国内源,一键制作所有东西。 make raspberrypi3_64_defconfig make 然后去output/images文件夹找 sdcard.img 就行了,直接刻录到sd卡,树莓派3b就能运行。 其他关于buildroot的使用 阅读全文
posted @ 2020-07-24 11:20 园友1683564 阅读(721) 评论(0) 推荐(0)
摘要: 环境: windows 7/10 一、下载QEMU,安装 https://www.qemu.org/download/#windows 我的电脑是64位,下载的 qemu-w64-setup-20200612.exe 安装时有选项,安装arm的即可,其他的cpu架构可以不装。 2024更新 下载地址 阅读全文
posted @ 2020-07-12 12:07 园友1683564 阅读(1424) 评论(0) 推荐(0)
摘要: 方法一: 使用buildroot-2020.08.1 全自动 https://buildroot.org/download.html 下载后在ubuntu内解压,在buildroot-2020.08.1目录下 make qemu_riscv64_virt_defconfig 然后 make menu 阅读全文
posted @ 2020-04-23 18:05 园友1683564 阅读(2592) 评论(0) 推荐(0)
摘要: 下载编译riscv-gnu-toolchain非常耗时又麻烦。但是如果仅仅是学习测试,可以试试第0种方法,节省大家时间。 声明:每个人电脑上已经安装过的东西不同,编译时会提示各种缺组件,缺什么安装什么,善用搜索引擎。方法都肯定都走得通。 一般就是这些 sudo apt-get install aut 阅读全文
posted @ 2020-04-13 17:16 园友1683564 阅读(7483) 评论(0) 推荐(0)