947 views|0 replies

410

Posts

3

Resources
The OP
 

【BIGTREETECH PI development board】 System source code compilation [Copy link]

 This post was last edited by TL-LED on 2023-8-2 14:41

In this article, we will learn how to compile the system source code of the development board.

1. Download source code

Download address:

链接已隐藏,如需查看请登录或者注册

2. Compilation

2.1. Install the software library

Install software command:

sudo apt-get install ccache debian-archive-keyring debootstrap device-tree-compiler dwarves 
sudo apt-get install gcc-arm-linux-gnueabihf jq libbison-dev libc6-dev-armhf-cross 
sudo apt-get install libelf-dev libfl-dev liblz4-tool libpython2.7-dev libusb-1.0-0-dev 
sudo apt-get install pigz pixz pv swig pkg-config python3-distutils qemu-user-static u-boot-tools 
sudo apt-get install distcc uuid-dev lib32ncurses-dev lib32stdc++6 apt-cacher-ng 
sudo apt-get install aptly aria2 libfdt-dev libssl-dev

The process is as follows:

2.2 Compilation

Copy the downloaded file to the Ubuntu system

Execute the compilation command: root@ubuntu:/opt/CB1-Kernel-kernel-5.16# ./build.sh

Select OS image

Error during compilation

The compilation environment used is ubuntu20.04, and the official one is ubuntu 22.04. It may be related to the system. Now I will reinstall the ubuntu22.04 version, build the environment and recompile the image. The compilation process is as follows

2.3. After compilation is completed, the generated image file

2.4、Burn the system

Copy the generated system files to the window system and burn the image

3. Operation

After the burning is completed, install the TF card into the development board and run the serial port output

Compilation and burning are completed and the system runs normally.

This post is from Domestic Chip Exchange
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews

Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list