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
2235d2e5
Commit
2235d2e5
authored
Jul 28, 2019
by
Rabeeh Khoury
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updates for runme.sh
Signed-off-by:
Rabeeh Khoury
<
rabeeh@solid-run.com
>
parent
ee8e849b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
runme.sh
runme.sh
+11
-10
No files found.
runme.sh
View file @
2235d2e5
...
...
@@ -11,12 +11,10 @@ set -e
###############################################################################
RELEASE
=
LSDK-19.06
BOOT
=
sd
#BOOT=xspi
#BOOT_LOADER=u-boot
BOOT_LOADER
=
uefi
DDR_SPEED
=
3200
SERDES
=
8_5_2
# 8 10g
#BOOT_LOADER=uefi
#DDR_SPEED=3200
#SERDES=8_5_2 # 8x10g
#SERDES=13_5_2 # dual 100g
#SERDES=20_5_2 # dual 40g
###############################################################################
...
...
@@ -36,6 +34,7 @@ fi
if
[
"x
$SERDES
"
==
"x"
]
;
then
SERDES
=
8_5_2
fi
mkdir
-p
build images
ROOTDIR
=
`
pwd
`
PARALLEL
=
32
# Amount of parallel jobs for the builds
SPEED
=
2000_700_
${
DDR_SPEED
}
...
...
@@ -83,7 +82,6 @@ fi
echo
"Building boot loader"
cd
$ROOTDIR
mkdir
-p
build
###############################################################################
...
...
@@ -96,12 +94,11 @@ for i in $QORIQ_COMPONENTS; do
cd
$ROOTDIR
/build
git clone https://source.codeaurora.org/external/qoriq/qoriq-components/
$i
cd
$i
if
[
"x
$i
"
==
"xlinux"
&&
"x
$RELEASE
"
==
"xLSDK-19.06"
]
;
then
if
[
"x
$i
"
==
"xlinux"
]
&&
[
"x
$RELEASE
"
==
"xLSDK-19.06"
]
;
then
git checkout
-b
LSDK-19.06-V4.19 refs/tags/LSDK-19.06-V4.19
else
git checkout
-b
$RELEASE
refs/tags/
$RELEASE
fi
git am
$ROOTDIR
/patches/
$i
/
*
.patch
if
[
"x
$i
"
==
"xatf"
]
;
then
cd
$ROOTDIR
/build/atf/tools/fiptool
git clone https://github.com/NXP/ddr-phy-binary.git
...
...
@@ -113,6 +110,11 @@ for i in $QORIQ_COMPONENTS; do
git clone https://source.codeaurora.org/external/qoriq/qoriq-components/edk2-platforms
cd
edk2-platforms
git checkout
-b
$RELEASE
refs/tags/
$RELEASE
git am
$ROOTDIR
/patches/edk2-platforms/
*
.patch
fi
if
[[
-d
$ROOTDIR
/patches/
$i
/
]]
;
then
patch
-p1
<
$ROOTDIR
/patches/
$i
/
*
.diff
git am
$ROOTDIR
/patches/
$i
/
*
.patch
fi
fi
done
...
...
@@ -213,7 +215,7 @@ cat > kernel2160cex7.its << EOF
};
initrd {
description = "initrd for arm64";
data = /incbin/("ramdisk_rootfs_arm64.ext4.gz");
data = /incbin/("
../../patches/linux/
ramdisk_rootfs_arm64.ext4.gz");
type = "ramdisk";
arch = "arm64";
os = "linux";
...
...
@@ -256,7 +258,6 @@ mkimage -f kernel2160cex7.its kernel-lx2160acex7.itb
###############################################################################
echo
"Assembling image"
cd
$ROOTDIR
/
mkdir
-p
images
IMG
=
lx2160acex7_
${
SPEED
}
_
${
SERDES
}
_
${
BOOT
}
.img
#dd if=/dev/zero of=images/${IMG} bs=1M count=101
dd
if
=
/dev/zero
of
=
images/
${
IMG
}
bs
=
1M
count
=
1
...
...
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