Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux
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
certo
linux
Commits
0b31cf48
Commit
0b31cf48
authored
Jan 26, 2025
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for iWave G35M
parent
c3cf3383
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
124122 additions
and
0 deletions
+124122
-0
Makefile
Makefile
+52
-0
build.xml
build.xml
+4
-0
linux-5.12.10-iwaveg35m.patch
linux-5.12.10-iwaveg35m.patch
+2302
-0
linux-5.12.10-xilinx.patch
linux-5.12.10-xilinx.patch
+121764
-0
No files found.
Makefile
View file @
0b31cf48
...
...
@@ -22,6 +22,7 @@ boot-orange-pi-pc-plus: boot-armv7
boot-odroid-hc2
:
boot-armv7
boot-orange-pi-3-lts
:
boot-armv8
boot-terasic-de10-standard
:
boot-armv7
boot-iwave-g35m
:
boot-armv8
boot-raspberry-pi-3-b
:
boot-armv8
boot-raspberry-pi-4-b
:
boot-armv8
boot-amlogic-s905x
:
boot-armv8
...
...
@@ -284,6 +285,57 @@ terasicde10standard:
rm
-rf
/kernelconfig
rm
-rf
linux-5.12.10
iwaveg35m-clfs
:
dd
if
=
/dev/zero
of
=
swap
bs
=
1048576
count
=
1024
chmod
600 swap
mkswap swap
swapon swap
tar
xf linux-5.12.10.tar.xz
patch
-Np1
-d
linux-5.12.10 < linux-5.12.10-xilinx.patch
patch
-Np1
-d
linux-5.12.10 < linux-5.12.10-iwaveg35m.patch
$(MAKE)
-C
linux-5.12.10 zynqmp_iwg35m_defconfig
/kernelconfig/initramfs/prepare
bash
-c
'files=`ls -1 /kernelconfig/iwave-g35m` ; for config in $$files ; do cat /kernelconfig/iwave-g35m/$$config >> linux-5.12.10/.config ; done'
$(MAKE)
-C
linux-5.12.10 oldconfig
$(MAKE)
-C
linux-5.12.10
$(MAKE)
-C
linux-5.12.10
install
modules_install dtbs_install
cp
-v
linux-5.12.10/.config /boot/config-5.12.10
ln
-svf
vmlinux-5.12.10 /boot/Image
ln
-svf
dtbs/5.12.10/xilinx/iwaveg35m.dtb /boot/machine.dtb
$(MAKE)
-C
../kmod tests
rm
-rf
/kernelconfig
rm
-rf
linux-5.12.10
swapoff swap
rm
-rf
swap
iwaveg35m
:
dd
if
=
/dev/zero
of
=
swap
bs
=
1048576
count
=
1024
chmod
600 swap
mkswap swap
swapon swap
tar
xf linux-5.12.10.tar.xz
patch
-Np1
-d
linux-5.12.10 < linux-5.12.10-xilinx.patch
patch
-Np1
-d
linux-5.12.10 < linux-5.12.10-iwaveg35m.patch
cp
-v
/boot/config-5.12.10 linux-5.12.10/.config
/kernelconfig/initramfs/prepare
bash
-c
'files=`ls -1 /kernelconfig/iwave-g35m` ; for config in $$files ; do cat /kernelconfig/iwave-g35m/$$config >> linux-5.12.10/.config ; done'
$(MAKE)
-C
linux-5.12.10 oldconfig
$(MAKE)
-C
linux-5.12.10
rm
-rf
/lib/modules
rm
-rf
/boot/dtbs
rm
-f
/boot/config
*
rm
-f
/boot/vmlinux
*
rm
-f
/boot/System.map
*
$(MAKE)
-C
linux-5.12.10
install
modules_install dtbs_install
cp
-v
linux-5.12.10/.config /boot/config-5.12.10
ln
-svf
vmlinux-5.12.10 /boot/Image
ln
-svf
dtbs/5.12.10/xilinx/iwaveg35m.dtb /boot/machine.dtb
rm
-f
/boot/
*
.old
rm
-rf
/kernelconfig
rm
-rf
linux-5.12.10
swapoff swap
rm
-rf
swap
rpi3b-clfs
:
dd
if
=
/dev/zero
of
=
swap
bs
=
1048576
count
=
1024
chmod
600 swap
...
...
build.xml
View file @
0b31cf48
...
...
@@ -122,6 +122,10 @@ CONFIG_CROSS_COMPILE="${CLFS_TARGET}"
<delete
dir=
"${makedir}"
/>
</target>
<target
name=
"boot-linux-iwave-g35m"
>
<ant
antfile=
"packages/linux/build.xml"
target=
"boot-linux-armv8"
/>
</target>
<target
name=
"boot-linux-raspberry-pi-3-b"
>
<ant
antfile=
"packages/linux/build.xml"
target=
"boot-linux-armv8"
/>
</target>
...
...
linux-5.12.10-iwaveg35m.patch
0 → 100644
View file @
0b31cf48
This diff is collapsed.
Click to expand it.
linux-5.12.10-xilinx.patch
0 → 100644
View file @
0b31cf48
This diff is collapsed.
Click to expand it.
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