Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lx2160a_build
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Boxiang Sun
lx2160a_build
Commits
4ec41a94
Commit
4ec41a94
authored
Jul 29, 2019
by
Rabeeh Khoury
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make UEFI build RELEASE/DEBUG a variable
parent
96cf503a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
runme.sh
runme.sh
+9
-5
No files found.
runme.sh
View file @
4ec41a94
...
@@ -11,6 +11,7 @@ set -e
...
@@ -11,6 +11,7 @@ set -e
###############################################################################
###############################################################################
RELEASE
=
LSDK-19.06
RELEASE
=
LSDK-19.06
#UEFI_RELEASE=DEBUG
#BOOT=xspi
#BOOT=xspi
#BOOT_LOADER=uefi
#BOOT_LOADER=uefi
#DDR_SPEED=3200
#DDR_SPEED=3200
...
@@ -34,6 +35,9 @@ fi
...
@@ -34,6 +35,9 @@ fi
if
[
"x
$SERDES
"
==
"x"
]
;
then
if
[
"x
$SERDES
"
==
"x"
]
;
then
SERDES
=
8_5_2
SERDES
=
8_5_2
fi
fi
if
[
"x
$UEFI_RELEASE
"
==
"x"
]
;
then
UEFI_RELEASE
=
RELEASE
fi
mkdir
-p
build images
mkdir
-p
build images
ROOTDIR
=
`
pwd
`
ROOTDIR
=
`
pwd
`
PARALLEL
=
32
# Amount of parallel jobs for the builds
PARALLEL
=
32
# Amount of parallel jobs for the builds
...
@@ -164,9 +168,9 @@ if [ "x$BOOT_LOADER" == "xuefi" ]; then
...
@@ -164,9 +168,9 @@ if [ "x$BOOT_LOADER" == "xuefi" ]; then
# build -p "$PACKAGES_PATH/Platform/NXP/LX2160aCex7Pkg/LX2160aCex7Pkg.dsc" -a AARCH64 -t GCC49 -b DEBUG clean
# build -p "$PACKAGES_PATH/Platform/NXP/LX2160aCex7Pkg/LX2160aCex7Pkg.dsc" -a AARCH64 -t GCC49 -b DEBUG clean
# build -p "$PACKAGES_PATH/Platform/NXP/LX2160aCex7Pkg/LX2160aCex7Pkg.dsc" -a AARCH64 -t GCC49 -b RELEASE clean
# build -p "$PACKAGES_PATH/Platform/NXP/LX2160aCex7Pkg/LX2160aCex7Pkg.dsc" -a AARCH64 -t GCC49 -b
$UEFI_
RELEASE clean
build
-p
"
$PACKAGES_PATH
/Platform/NXP/LX2160aCex7Pkg/LX2160aCex7Pkg.dsc"
-a
AARCH64
-t
GCC49
-b
RELEASE
-y
build.log
build
-p
"
$PACKAGES_PATH
/Platform/NXP/LX2160aCex7Pkg/LX2160aCex7Pkg.dsc"
-a
AARCH64
-t
GCC49
-b
$UEFI_
RELEASE
-y
build.log
export
BL33
=
$ROOTDIR
/build/uefi/Build/LX2160aCex7Pkg/
RELEASE
_GCC49/FV/LX2160ACEX7_EFI.fd
export
BL33
=
$ROOTDIR
/build/uefi/Build/LX2160aCex7Pkg/
${
UEFI_RELEASE
}
_GCC49/FV/LX2160ACEX7_EFI.fd
# Return to the newer linaro gcc
# Return to the newer linaro gcc
export
PATH
=
$PATH_SAVED
export
PATH
=
$PATH_SAVED
...
@@ -294,8 +298,8 @@ dd if=$ROOTDIR/build/mc-utils/config/lx2160a/CEX7/${DPC} of=images/${IMG} bs=512
...
@@ -294,8 +298,8 @@ dd if=$ROOTDIR/build/mc-utils/config/lx2160a/CEX7/${DPC} of=images/${IMG} bs=512
# Device tree (UEFI) at 0x7800
# Device tree (UEFI) at 0x7800
if
[
"x
${
BOOT_LOADER
}
"
==
"xuefi"
]
;
then
if
[
"x
${
BOOT_LOADER
}
"
==
"xuefi"
]
;
then
dd
if
=
$ROOTDIR
/build/uefi/Build/LX2160aCex7Pkg/
RELEASE
_GCC49/AARCH64/Platform/NXP/LX2160aCex7Pkg/DeviceTree/DeviceTree/OUTPUT/fsl-lx2160a-cex7.dtb
of
=
images/
${
IMG
}
bs
=
512
seek
=
30720
conv
=
notrunc
dd
if
=
$ROOTDIR
/build/uefi/Build/LX2160aCex7Pkg/
${
UEFI_RELEASE
}
_GCC49/AARCH64/Platform/NXP/LX2160aCex7Pkg/DeviceTree/DeviceTree/OUTPUT/fsl-lx2160a-cex7.dtb
of
=
images/
${
IMG
}
bs
=
512
seek
=
30720
conv
=
notrunc
dd
if
=
$ROOTDIR
/build/uefi/Build/LX2160aCex7Pkg/
RELEASE
_GCC49/FV/LX2160ACEX7NV_EFI.fd
of
=
images/
${
IMG
}
bs
=
512
seek
=
10240
conv
=
notrunc
dd
if
=
$ROOTDIR
/build/uefi/Build/LX2160aCex7Pkg/
${
UEFI_RELEASE
}
_GCC49/FV/LX2160ACEX7NV_EFI.fd
of
=
images/
${
IMG
}
bs
=
512
seek
=
10240
conv
=
notrunc
fi
fi
# Kernel at 0x8000
# Kernel at 0x8000
dd
if
=
$ROOTDIR
/build/linux/kernel-lx2160acex7.itb
of
=
images/
${
IMG
}
bs
=
512
seek
=
32768
conv
=
notrunc
dd
if
=
$ROOTDIR
/build/linux/kernel-lx2160acex7.itb
of
=
images/
${
IMG
}
bs
=
512
seek
=
32768
conv
=
notrunc
...
...
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