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
4a1e749b
Commit
4a1e749b
authored
Jul 13, 2023
by
Josua Mayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add nxp mdio-proxy kernel module to support marvell phy firmware utility
parent
63bbd52b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
runme.sh
runme.sh
+14
-1
No files found.
runme.sh
View file @
4a1e749b
...
...
@@ -220,7 +220,7 @@ cd $ROOTDIR
###############################################################################
# source code cloning
###############################################################################
QORIQ_COMPONENTS
=
"u-boot atf rcw restool mc-utils linux dpdk cst"
QORIQ_COMPONENTS
=
"u-boot atf rcw restool mc-utils linux dpdk cst
mdio-proxy-module
"
for
i
in
$QORIQ_COMPONENTS
;
do
if
[[
!
-d
$ROOTDIR
/build/
$i
]]
;
then
echo
"Cloning https://github.com/nxp-qoriq/
$i
release
$RELEASE
"
...
...
@@ -355,6 +355,7 @@ echo "Building the kernel"
cd
$ROOTDIR
/build/linux
./scripts/kconfig/merge_config.sh
arch
/arm64/configs/defconfig
arch
/arm64/configs/lsdk.config
$ROOTDIR
/configs/linux/lx2k_additions.config
make
-j
${
PARALLEL
}
all
#Image dtbs
KRELEASE
=
`
make kernelrelease
`
cat
>
kernel2160cex7.its
<<
EOF
/dts-v1/;
...
...
@@ -422,6 +423,18 @@ cp $ROOTDIR/build/linux/arch/arm64/boot/Image.gz $ROOTDIR/images/tmp/boot
cp
$ROOTDIR
/build/linux/arch/arm64/boot/dts/freescale/fsl-lx216
*
.dtb
$ROOTDIR
/images/tmp/boot
# Build mdio-proxy kernel module
if
[[
-d
${
ROOTDIR
}
/build/mdio-proxy-module
]]
;
then
cd
"
${
ROOTDIR
}
/build/mdio-proxy-module"
make
-C
"
${
ROOTDIR
}
/build/linux"
CROSS_COMPILE
=
"
$CROSS_COMPILE
"
ARCH
=
arm64
M
=
"
$PWD
"
modules
install
-v
-m644
-D
mdio-proxy.ko
"
${
ROOTDIR
}
/images/tmp/lib/modules/
${
KRELEASE
}
/kernel/extra/mdio-proxy.ko"
fi
# regenerate modules dependencies
depmod
-b
"
${
ROOTDIR
}
/images/tmp"
-F
"
${
ROOTDIR
}
/build/linux/System.map"
${
KRELEASE
}
if
[[
$DISTRO
==
ubuntu
]]
;
then
mkdir
-p
$ROOTDIR
/build/ubuntu
cd
$ROOTDIR
/build/ubuntu
...
...
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