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
aeace909
Commit
aeace909
authored
Mar 30, 2020
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for AmLogic Meson GXL S905X
parent
95cb0631
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
72 additions
and
0 deletions
+72
-0
Makefile
Makefile
+48
-0
build.xml
build.xml
+4
-0
linux.amlogics905x-clfs.groups
linux.amlogics905x-clfs.groups
+10
-0
linux.amlogics905x.groups
linux.amlogics905x.groups
+10
-0
No files found.
Makefile
View file @
aeace909
...
...
@@ -19,6 +19,7 @@ boot-orange-pi-plus-2e: boot-armv7
boot-orange-pi-pc-plus
:
boot-armv7
boot-terasic-de10-standard
:
boot-armv7
boot-raspberry-pi-3-b
:
boot-armv8
boot-amlogic-s905x
:
boot-armv8
boot-qemu-kvm64
:
boot-x86_64
boot-qemu-phenom
:
boot-x86_64
boot-qemu-core2duo
:
boot-x86_64
...
...
@@ -238,6 +239,53 @@ rpi3b:
swapoff swap
rm
-rf
swap
amlogics905x-clfs
:
dd
if
=
/dev/zero
of
=
swap
bs
=
1048576
count
=
1024
chmod
600 swap
mkswap swap
swapon swap
tar
xf linux-5.2.8.tar.xz
$(MAKE)
-C
linux-5.2.8 defconfig
/kernelconfig/initramfs/prepare
bash
-c
'files=`ls -1 /kernelconfig/amlogic-s905x` ; for config in $$files ; do cat /kernelconfig/amlogic-s905x/$$config >> linux-5.2.8/.config ; done'
$(MAKE)
-C
linux-5.2.8 oldconfig
$(MAKE)
-C
linux-5.2.8
$(MAKE)
-C
linux-5.2.8
install
modules_install dtbs_install
cp
-v
linux-5.2.8/.config /boot/config-5.2.8
ln
-svf
vmlinux-5.2.8 /boot/Image
ln
-svf
dtbs/5.2.8/amlogic/meson-gxl-s905x-p212.dtb /boot/machine.dtb
$(MAKE)
-C
../kmod tests
rm
-rf
/kernelconfig
rm
-rf
linux-5.2.8
swapoff swap
rm
-rf
swap
amlogics905x
:
dd
if
=
/dev/zero
of
=
swap
bs
=
1048576
count
=
1024
chmod
600 swap
mkswap swap
swapon swap
tar
xf linux-5.2.8.tar.xz
cp
-v
/boot/config-5.2.8 linux-5.2.8/.config
/kernelconfig/initramfs/prepare
bash
-c
'files=`ls -1 /kernelconfig/amlogic-s905x` ; for config in $$files ; do cat /kernelconfig/amlogic-s905x/$$config >> linux-5.2.8/.config ; done'
$(MAKE)
-C
linux-5.2.8 oldconfig
$(MAKE)
-C
linux-5.2.8
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.2.8
install
modules_install dtbs_install
cp
-v
linux-5.2.8/.config /boot/config-5.2.8
ln
-svf
vmlinux-5.2.8 /boot/Image
ln
-svf
dtbs/5.2.8/amlogic/meson-gxl-s905x-p212.dtb /boot/machine.dtb
rm
-f
/boot/
*
.old
rm
-rf
/kernelconfig
rm
-rf
linux-5.2.8
swapoff swap
rm
-rf
swap
kvm64-clfs
:
tar
xf linux-5.2.8.tar.xz
$(MAKE)
-C
linux-5.2.8 defconfig
...
...
build.xml
View file @
aeace909
...
...
@@ -122,6 +122,10 @@ CONFIG_CROSS_COMPILE="${CLFS_TARGET}"
<ant
antfile=
"packages/linux/build.xml"
target=
"boot-linux-armv8"
/>
</target>
<target
name=
"boot-linux-amlogic-s905x"
>
<ant
antfile=
"packages/linux/build.xml"
target=
"boot-linux-armv8"
/>
</target>
<target
name=
"boot-linux-armv8"
>
<property
name=
"makedir"
value=
"${builddir}/linux-5.2.8"
/>
<mkdir
dir=
"${makedir}"
/>
...
...
linux.amlogics905x-clfs.groups
0 → 100644
View file @
aeace909
kernel
/boot/(System\.map|config|vmlinux).*
dtb
/boot/dtbs/.*
etc
/etc/.*
modules
/lib/modules/.*
firmware
/lib/firmware/.*
linux.amlogics905x.groups
0 → 100644
View file @
aeace909
kernel
/boot/(System\.map|config|vmlinux).*
dtb
/boot/dtbs/.*
etc
/etc/.*
modules
/lib/modules/.*
firmware
/lib/firmware/.*
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