Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
u-boot
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
RockPi
u-boot
Commits
099ca194
Unverified
Commit
099ca194
authored
Aug 11, 2019
by
Rohan Garg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial import of our own CI file for the RockPi
parent
797eee36
Pipeline
#8251
passed with stages
in 6 minutes and 47 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
0 deletions
+54
-0
.gitlab-ci-rockpi.yml
.gitlab-ci-rockpi.yml
+54
-0
No files found.
.gitlab-ci-rockpi.yml
0 → 100644
View file @
099ca194
# SPDX-License-Identifier: GPL-2.0+
variables
:
APT_OPTIONS
:
-y --allow-unauthenticated
ARCH
:
arm64
CROSS_COMPILE
:
aarch64-linux-gnu-
stages
:
-
build
-
pack
# Retry jobs after runner system failures
.retry
:
&retry
retry
:
max
:
2
when
:
-
runner_system_failure
build
:
stage
:
build
image
:
debian:testing
before_script
:
-
echo "deb http://deb.debian.org/debian testing main contrib non-free" > /etc/apt/sources.list
-
echo "deb-src http://deb.debian.org/debian testing main contrib non-free" >> /etc/apt/sources.list
-
apt-get update && apt-get $APT_OPTIONS build-dep u-boot && apt-get $APT_OPTIONS install python3-pyelftools gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
script
:
-
echo "CONFIG_NET_RANDOM_ETHADDR=y" >> configs/rock-pi-4-rk3399_defconfig
-
make rock-pi-4-rk3399_defconfig
-
make -j$(nproc)
artifacts
:
name
:
u-boot
paths
:
-
$CI_PROJECT_DIR/u-boot-dtb.bin
pack
:
stage
:
pack
image
:
debian:testing
dependencies
:
-
build
artifacts
:
name
:
bootloader
paths
:
-
$CI_PROJECT_DIR/rkbin/*.img
before_script
:
-
apt-get update && apt-get -y install git u-boot-tools
-
git clone --depth 1 https://github.com/rockchip-linux/rkbin.git
script
:
-
cd rkbin
# Pack idbloader
-
mkimage -n rk3399 -T rksd -d bin/rk33/rk3399_ddr_800MHz_*.bin idbloader.img
-
cat bin/rk33/rk3399_miniloader_v*.bin >> idbloader.img
# Pack u-boot
-
./tools/loaderimage --pack --uboot ../u-boot-dtb.bin uboot.img 0x200000 --size 1024
1
# Pack ATF
-
./tools/trust_merger --size 1024 1 RKTRUST/RK3399TRUST.ini
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment