1 Star 0 Fork 0

kuangfei2019/u-boot-orangepi-3b

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
orangepi-3b-build.sh 736 Bytes
一键复制 编辑 原始数据 按行查看 历史
w568w 提交于 2024-05-16 14:36 . change: make the build script more portable
#!/bin/bash
# Delete the current configuration, and all generated files
make mrproper
# Copy the proprietary blobs to a temporary directory
tmpdir=$(mktemp --directory)
cp --recursive rkbin "$tmpdir"
# Rockchip's proprietary TPL to initialize the DRAM
export ROCKCHIP_TPL="$tmpdir"/rkbin/bin/rk35/rk3566_ddr_1056MHz_v1.21.bin
# Rockchip's proprietary TF-A to initialize the secure environment
export BL31="$tmpdir"/rkbin/bin/rk35/rk3568_bl31_v1.44.elf
# Apply the default configuration for the Orange Pi 3B
make CROSS_COMPILE=aarch64-linux-gnu- orangepi-3b-rk3566_defconfig
# Build the kernel image and device tree
make CROSS_COMPILE=aarch64-linux-gnu- --jobs all
# Clean up the temporary directory
rm --recursive --force "$tmpdir"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kuangfei2019/u-boot-orangepi-3b.git
git@gitee.com:kuangfei2019/u-boot-orangepi-3b.git
kuangfei2019
u-boot-orangepi-3b
u-boot-orangepi-3b
master

搜索帮助