Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-ls1028a-uboot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reform
reform-ls1028a-uboot
Commits
275389ea
Verified
Commit
275389ea
authored
1 year ago
by
minute
Browse files
Options
Downloads
Patches
Plain Diff
add build script and gitignore
parent
2adb8b9b
No related branches found
No related tags found
No related merge requests found
Pipeline
#1256
failed
1 year ago
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+28
-0
28 additions, 0 deletions
.gitignore
.gitlab-ci.yml
+11
-0
11 additions, 0 deletions
.gitlab-ci.yml
build.sh
+31
-0
31 additions, 0 deletions
build.sh
with
70 additions
and
0 deletions
.gitignore
0 → 100644
+
28
−
0
View file @
275389ea
*.bin
*.o
*.cmd
*.su
*.lex.c
*.tab.c
*.tab.h
*.tmp
*.dtb
System.map
.binman_stamp
.config
.config.old
lib/asm-offsets.s
u-boot
u-boot-elf.lds
u-boot.cfg
u-boot.cfg.configs
u-boot.elf
u-boot.lds
u-boot.map
u-boot.srec
u-boot.sym
include/config/
include/generated/
atf/
arch/arm/lib/asm-offsets.s
arch/arm/lib/lib.a
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
0 → 100644
+
11
−
0
View file @
275389ea
image
:
debian:bookworm
build
:
script
:
|
set -exu
apt-get update
apt-get --yes install --no-install-recommends gcc-aarch64-linux-gnu build-essential bison flex device-tree-compiler git ca-certificates libssl-dev
./build.sh
artifacts
:
paths
:
-
flash.bin
This diff is collapsed.
Click to expand it.
build.sh
0 → 100755
+
31
−
0
View file @
275389ea
#!/bin/bash
set
-exu
export
CROSS_COMPILE
=
aarch64-linux-gnu-
export
ARCH
=
arm64
export
LDFLAGS
=
--no-warn-rwx-segments
# build Reset Configuration Word
cd
rcw/ls1028a-mnt-reform2
make
cd
../..
# build u-boot
# TODO: customize dts/config
# TODO: what about the gpio settings at boot?
make ls1028ardb_tfa_defconfig
make
-j
$(
nproc
)
# build ARM Trusted Firmware
git clone https://source.mnt.re/reform/reform-ls1028a-atf.git atf
export
DDR_BIST
=
no
export
DDR_DEBUG
=
yes
export
DDR_PHY_DEBUG
=
yes
cd
atf
make
-j
$(
nproc
)
PLAT
=
ls1028ardb fip pbl
BOOT_MODE
=
sd
RCW
=
../rcw/ls1028a-mnt-reform2/R_PSPH_0xb8be/rcw_1500_sdboot.bin
BL33
=
../u-boot-dtb.bin
cd
..
cp
atf/build/ls1028ardb/release/bl2_sd.pbl ./flash.bin
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment