当前位置:网站首页>Using builderoot to learn and drive development
Using builderoot to learn and drive development
2022-07-18 09:07:00 【juno】
1、 What is? buildroot
Quote an official passage
Buildroot is a simple, efficient and easy-to-use tool to generate
embedded Linux systems through cross-compilation.
2、 Basic usage
When we download it from the official website buildroot After the source code of , There is nothing we want in it ( Kernel source code ,
programmatic C Code and so on , Don't panic at this time , We have no download errors . After doing the following , We can start learning
Drive developed .
3、 Download the source code
Find a place you like and execute the following commands , If not installed , Please install according to your own system wget Support
wget https://buildroot.org/downloads/buildroot-2022.02.3.tar.xz && tar xf buildroot-2022.02.3.tar.xz
At this point we will buildroot The environment decompression of is completed .
4、 Generate configuration
By doing this , If there is no error , Description has been successfully decompressed buildroot Source code . Next, execute with
Issue the command to generate the configuration we need .
make qemu_arm_vexpress_defconfig
If your system has installed relevant commands , And there is no error , At this point, you can start compiling the kernel and related environment .
make
Be careful , The length of the above compilation time and the configuration of your computer , Related to network speed , If you encounter a software package that cannot be downloaded , build
It is recommended to use download software such as Xunlei , Download the file to the computer , Save to dl Execute again in the corresponding directory under the directory
make
5、 Boot kernel
After successful compilation, there will be a prompt as follows
>>> Executing post-image script board/qemu/post-image.sh
At this point, execute the following command to start ARM It's a virtual environment .
./output/images/start-qemu.sh --serial-only
The kernel source code directory is output/build/linux-5.xx.xx/ in .
Modify the kernel configuration command as follows
make linux-menuconfig
After the modification , Execute the following command to update the kernel
make linux-rebuild && make
If there is no error , Start the virtual environment again , The kernel is the new configuration .
user name root, No password by default .
The default is vexpress-v2p-ca9.dts This device tree file . You can modify the experiment by yourself . After the modification
To be implemented make Relevant commands update the new configuration to the environment .
边栏推荐
- Jiulian technology development board is officially integrated into the openharmony backbone
- (2021 Niuke multi school V) B-boxes (probability expectation)
- ros(25):发布一个静态的里程计odom信息
- v-model与.sync修饰符的区别
- 《学习的底层逻辑》精华
- SQL也能做AI ?没错!MLOps Meetup V3 回顾|OpenMLBD+SQLFlow+Byzer
- 渲染与云渲染:一部电影的制作25%的时间是在“等”
- Google Earth engine app (GEE) - view every image of Amazon plain from 1984 to now
- 华泰证券网上开户安全吗,需要什么材料
- (codeforce319) b.psychos in a line (monotone stack)
猜你喜欢

MySQL 版本升级心得

实现有效的机器人教育培训管理模式

edusoho企培版 外部资讯抓取 有时无法获取图片问题/无法获取微信公众号图片

(codeforce453)A.Little Pony and Expected Maximum(数学期望)

【LeetCode】10. Maximum Subarray·最大子数组和

【LeetCode】9. Flood Fill·图像渲染

Innftnews | les billets NFT changeront la façon dont vous participez à l'événement

Interpreting the teaching principles of robot programming course

Steam课堂教育理念的延伸与扩展

QT make color selection control
随机推荐
华泰证券网上开户安全吗,需要什么材料
Interpreting the teaching principles of robot programming course
edusoho企培版不接云开启倍速播放
(2021牛客多校五)D-Double Strings(乘法原理+动态规划)
Pgbadger offline log analysis tool
[untitled]
(手工)【sqli-labs40、41】堆叠注入、盲注
解读机器人编程课的示教准则
洞悉数据库迷局,2022金仓创新产品发布会召开
edusoho企培版 外部资讯抓取 有时无法获取图片问题/无法获取微信公众号图片
Modify WiFi for Xiaomi camera
浅析综合型大厦视频监控平台建设的必要性和重点功能
Without training code, the reasoning performance is improved by 1.4 ~ 7.1 times, and the industry's first automatic model compression tool is open source
SSH learning notes
数字藏品的版权保护该如何进行
ROS (25): release a static odometer Odom information
国产版Postman工具,好用!
使用buildroot学习驱动开发
PGbadger 离线日志分析工具
[matlab project practice] digital signal processing system based on GUI