您的位置:首页 > 文旅 > 美景 > 第2章 编译SDK

第2章 编译SDK

2024/10/7 2:19:32 来源:https://blog.csdn.net/sscb0521/article/details/140664137  浏览:    关键词:第2章 编译SDK

安装编译依赖

sudo apt-get update
sudo apt-get install clang-format astyle libncurses5-dev build-essential python-configparser sconssudo apt-get install repo git ssh make gcc libssl-dev liblz4-tool \
expect g++ patchelf chrpath gawk texinfo chrpath diffstat binfmt-support \
qemu-user-static live-build bison flex fakeroot cmake gcc-multilib g++-multilib
unzip \
device-tree-compiler python-pip ncurses-dev pyelftools \

 

 

将SDK压缩包拷贝到ubuntu

解压压缩包

tar -vxf rk356x_amp_20240515.tar.xz

完成后会生成rk356x_amp 文件夹

 

编译uboot

./build.sh uboot

编译Kernel
 ./build.sh kernel

 

 整体编译

./build.sh all

 

./build.sh

在./build.sh all的基础上增加打包

编译打包完成后会在 rockdev 目录下生成 update.img

清除编译

./build.sh cleanall
 

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com